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

OpenAPI 3.0 server #60

Closed
rgreinho opened this issue Sep 15, 2018 · 1 comment · Fixed by #70
Closed

OpenAPI 3.0 server #60

rgreinho opened this issue Sep 15, 2018 · 1 comment · Fixed by #70

Comments

@rgreinho
Copy link
Member

Issue Type

  • Feature request

Current Behavior

It looks like DRF does not support OpenAPI 3.0. drf-yasg only support OpenAPI 2.0 and the author does not seem eager to implement version 3.0.

Expected Behavior

Generate a server from a well defined openapi.yml document.

Possible Solution

Connexion from Zalando seems to be the more promising framework. They recently finalized supporting OpenAPI 3.0 #420, #621 and are ironing out the last quirks before the next release #678.

Openapi-generator supports OpenApi 3.0 and has the ability to generate a python server using the connexion framework.

Quart is an ASGI framework implement the same interface as FLASK. It comes with an OpenAPI plugin.

Pyswagger is another active project.

Other projects without v3 support:

@rgreinho
Copy link
Member Author

It will fix #28 as well.

rgreinho added a commit to rgreinho/api that referenced this issue Nov 11, 2018
`connexion` is a framework that automagically handles HTTP requests
based on OpenAPI Specification. The routes and the documentation are
autogenerated. Models are being validated against the specification.

* Remove all django files
* Update requirements
* Create function to generate and configure a connexion app
* Implement a way to manage the settings similar to what was done for
  DRF
* Fix the unit tests
* Fix integration tests
* Update the docker image
* Fix the wheel package
* Update and clean up Makefile
* Update the GitHub PR template

Fixes request-yo-racks#60
rgreinho added a commit to rgreinho/api that referenced this issue Nov 11, 2018
`connexion` is a framework that automagically handles HTTP requests
based on OpenAPI Specification. The routes and the documentation are
autogenerated. Models are being validated against the specification.

* Remove all django files
* Update requirements
* Create function to generate and configure a connexion app
* Implement a way to manage the settings similar to what was done for
  DRF
* Fix the unit tests
* Fix integration tests
* Update the docker image
* Fix the wheel package
* Update and clean up Makefile
* Update the GitHub PR template

Fixes request-yo-racks#60
rgreinho added a commit to rgreinho/api that referenced this issue Nov 11, 2018
`connexion` is a framework that automagically handles HTTP requests
based on OpenAPI Specification. The routes and the documentation are
autogenerated. Models are being validated against the specification.

* Remove all django files
* Update requirements
* Create function to generate and configure a connexion app
* Implement a way to manage the settings similar to what was done for
  DRF
* Fix the unit tests
* Fix integration tests
* Update the docker image
* Fix the wheel package
* Update and clean up Makefile
* Update the GitHub PR template

Fixes request-yo-racks#60
rgreinho added a commit that referenced this issue Nov 11, 2018
`connexion` is a framework that automagically handles HTTP requests
based on OpenAPI Specification. The routes and the documentation are
autogenerated. Models are being validated against the specification.

* Remove all django files
* Update requirements
* Create function to generate and configure a connexion app
* Implement a way to manage the settings similar to what was done for
  DRF
* Fix the unit tests
* Fix integration tests
* Update the docker image
* Fix the wheel package
* Update and clean up Makefile
* Update the GitHub PR template

Fixes #60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant