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

Add swagger and redoc docs to api #3300

Merged

Conversation

hardyoyo
Copy link
Contributor

These dynamically-generated API docs are helpful when working with building out the API. The spec version has been set to 0.0.1 to make clear this is a draft API.

- Add /api/schema path to call get_schema_view
- Add /api/swagger_ui path to provide a Swagger_UI view of the OpenAPI
  spec
- Add /api/redoc path to provide a Redoc view of the OpenAPI spec
@ajrbyers ajrbyers merged commit ebb6e78 into openlibhums:master Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants