Skip to content

Commit

Permalink
Feature openapi3 with blocking data upload support (#479)
Browse files Browse the repository at this point in the history
* translated swagger file to openapi3, added clkwithblocks upload support

* api file name changed

* api filename change

* shiny new openapi filename

* fix indentation

* we need a newer version of connexion to support openapi3

* new endpoint for uploading binary clks

* modify tests to use new binary clks endpoint

* openapi filename change

* updated descriptions

* fighting connexion again...

* I don't think the swagger-ui provides value

* clarifying the request format

* translated swagger file to openapi3, added clkwithblocks upload support

* changed to new binary upload endpoint

* stop warning messages about missing swagger-ui

* feedback from PR

* clarify description
  • Loading branch information
wilko77 authored Feb 12, 2020
1 parent 21d20e0 commit 81d6850
Show file tree
Hide file tree
Showing 12 changed files with 1,165 additions and 976 deletions.
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

0 comments on commit 81d6850

Please sign in to comment.