-
Notifications
You must be signed in to change notification settings - Fork 41
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
Upgrade REST API spec to OpenAPI 3 #649
Conversation
Codecov ReportBase: 99.54% // Head: 99.55% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #649 +/- ##
=======================================
Coverage 99.54% 99.55%
=======================================
Files 87 87
Lines 5968 6006 +38
=======================================
+ Hits 5941 5979 +38
Misses 27 27
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There are still problems with parameter handling |
e421709
to
0b115e0
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
We currently specify the REST API using Swagger 2.0. This has long ago been superseded by OpenAPI 3.0, which is nowadays also well supported by the Connexion framework.
This PR updates the REST API spec for OpenAPI 3.0 and renames the directory it is stored in from
swagger
toopenapi
. I used the Swagger Editor for an initial conversion, but I had to make several fixes until I got it working. Also there are minor changes to the implementation code inrest.py
that were necessary to make the new spec work.Fixes #644