-
Notifications
You must be signed in to change notification settings - Fork 16
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
REST API docs via OpenAPI #316
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks for adding this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great!!
I think all of our API is going through query parameters right now. Do we want to change any of those to path parameters on the backend?
I added quite a few comments on the content of the API/server that are unrelated to this PR, so feel free to ignore them and just consider them left there for us to think about updating on the backend.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks great! Thank you! I had few minor corrections.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great!
@greglucas @sdhoyt I pushed some changes that hopefully reflect what we are likely to merge in with #317 and IMAP-Science-Operations-Center/sds-data-manager#228. There will still likely be some tweaks we will want to make, but I think this is a good starting point. We should discuss this at our next meeting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
…enapi REST API docs via OpenAPI
Change Summary
Overview
This PR adds a new documentation page that describes our REST API. It is mostly auto-generated using OpenAPI, though I added some customized examples.
New Dependencies
sphinxcontrib-openapi
--sphinx
extension to support auto-generated OpenAPI docsNew Files
docs/source/rest-api/index.rst
docs/source/rest-api/openapi.yml
Updated Files
docs/source/conf.py
sphinxcontrib-openapi
extensiondocs/source/index.rst
pyproject.toml
andpoetry.lock
sphinxcontrib-openapi
dependency