-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: updated existing APIs to enable to generate OpenAPI documentation #157
base: main
Are you sure you want to change the base?
feat: updated existing APIs to enable to generate OpenAPI documentation #157
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.
Hey @Jagrutiti! There are some changes that I have requested, which can be easily rectified. Thanks for the contribution!
Co-authored-by: Aadarsh A <[email protected]>
Co-authored-by: Aadarsh A <[email protected]>
Co-authored-by: Aadarsh A <[email protected]>
Co-authored-by: Aadarsh A <[email protected]>
Co-authored-by: Aadarsh A <[email protected]>
Co-authored-by: Aadarsh A <[email protected]>
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.
Thanks for the PR :-)
Some comments, I think we should improve a bit before merging.
BTW what is this taxonomy-editor-frontend/build directory you added ?
Sorry I misread this, it was removed, but it makes your tests fail… you should not remove the build/.empty file, it is important indeed ! |
…nto change-to-enable-openapi-doc
…nto change-to-enable-openapi-doc
…rutiti/taxonomy-editor into change-to-enable-openapi-doc
Co-authored-by: Alex Garel <[email protected]>
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.
@Jagrutiti ok, thanks, that's a good first step.
I think we have to go further to describe the API more deeply (on the response side). Did you test everything is still working after your changes ?
Co-authored-by: Alex Garel <[email protected]>
…rutiti/taxonomy-editor into change-to-enable-openapi-doc
Do you mean adding response description as give in this documentation: https://fastapi.tiangolo.com/advanced/additional-responses/#additional-response-with-model?
All the tests cases did pass. And the APIs are working fine. |
What
Closes
Change API to enable auto OpenAPI documentation #77