-
Notifications
You must be signed in to change notification settings - Fork 422
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
Generate Swagger API declaration #631
Comments
…service Moved ``utils.current_service(request)`` to reified request method (ref Kinto#631)
Yes it is 💃 |
Some notes/ideas: Instead of generating the Swagger from the source code, which seems very hard based on the services definitions only. We could edit it by hand and then make sure it remains up-to-date with a plugin like pyramid-swagger Editing it by hand can be tedious in our case since we have many properties that are repeated accross the API. We can imagine to edit by hand several small pieces of yaml/json and have a way to assemble them towards a final big spec file. Also, depending on settings or what plugins are installed the list of endpoints may change... I wonder how that should come into play. |
Add OpenAPI/Swagger spec (fixes #631)
We talked about it at Djangocong, it would be really good to add automatic functional tests and documentation.
Refs mozilla-services/cliquet#257
The text was updated successfully, but these errors were encountered: