taxonomy-editor
taxonomy-editor copied to clipboard
feat: updated existing APIs to enable to generate OpenAPI documentation
What
- Added BaseModel and Body Parameters to the documentation, by updating existing APIs to enable to generate OpenAPI documentation
Closes
Change API to enable auto OpenAPI documentation #77
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 !
I think we have to go further to describe the API more deeply (on the response side).
Do you mean adding response description as give in this documentation: https://fastapi.tiangolo.com/advanced/additional-responses/#additional-response-with-model?
Did you test everything is still working after your changes ?
All the tests cases did pass. And the APIs are working fine.