Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature openapi3 #479

Merged
merged 34 commits into from
Feb 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
f704a23
translated swagger file to openapi3, added clkwithblocks upload support
Feb 5, 2020
d577c16
api file name changed
Feb 5, 2020
fb51125
api filename change
Feb 5, 2020
72f5ec8
shiny new openapi filename
Feb 5, 2020
6ea62a3
fix indentation
Feb 5, 2020
76afa6e
we need a newer version of connexion to support openapi3
Feb 5, 2020
8ecfb2d
new endpoint for uploading binary clks
Feb 5, 2020
b13f71f
modify tests to use new binary clks endpoint
Feb 5, 2020
7d0a963
openapi filename change
Feb 5, 2020
11bab45
Merge commit '03e491d6ce89e8def6151edff9b5398bbceaeadd' into feature_…
Feb 6, 2020
32bad8e
updated descriptions
Feb 6, 2020
9217096
fighting connexion again...
Feb 7, 2020
6d06aa9
I don't think the swagger-ui provides value
Feb 7, 2020
68481c9
clarifying the request format
Feb 10, 2020
87c90eb
translated swagger file to openapi3, added clkwithblocks upload support
Feb 5, 2020
9f3872b
api file name changed
Feb 5, 2020
395aeda
api filename change
Feb 5, 2020
3b70e7b
shiny new openapi filename
Feb 5, 2020
00d5bc4
fix indentation
Feb 5, 2020
f76a9a7
we need a newer version of connexion to support openapi3
Feb 5, 2020
d86a84b
new endpoint for uploading binary clks
Feb 5, 2020
d2ca6c6
modify tests to use new binary clks endpoint
Feb 5, 2020
ec70193
openapi filename change
Feb 5, 2020
eef4c4a
updated descriptions
Feb 6, 2020
bbdfae5
fighting connexion again...
Feb 7, 2020
777e42a
I don't think the swagger-ui provides value
Feb 7, 2020
9da2a74
clarifying the request format
Feb 10, 2020
6d6e3de
Merge branch 'feature_openapi3' of github.com:data61/anonlink-entity-…
Feb 10, 2020
798ed6f
changed to new binary upload endpoint
Feb 10, 2020
3486bc6
Merge branch 'develop' into feature_openapi3
wilko77 Feb 10, 2020
ff203c4
stop warning messages about missing swagger-ui
Feb 11, 2020
b60617b
feedback from PR
Feb 11, 2020
9d27fa2
merging...
Feb 11, 2020
919a427
clarify description
Feb 12, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion backend/entityservice/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
from entityservice.settings import Config as config
from entityservice.utils import fmt_bytes, iterable_to_stream

con_app.add_api(pathlib.Path("swagger.yaml"),
con_app.add_api(pathlib.Path("openapi.yaml"),
base_path='/',
options={'swagger_ui': False},
strict_validation=config.CONNEXION_STRICT_VALIDATION,
validate_responses=config.CONNEXION_RESPONSE_VALIDATION)

Expand Down
Loading