Repository navigation
Improve Swagger documentation for task endpoints - #8
Open
RodrigoOBC wants to merge 2 commits into
Open
RodrigoOBC wants to merge 2 commits into
RodrigoOBC wants to merge 2 commits into
Conversation
- Update FastAPI app initialization with title, description, and version. - Add OpenAPI schema and HTTP behavior tests without MongoDB dependency. - Modify task models to include detailed descriptions and examples. - Improve task router with enhanced response descriptions and validation. - Update CI workflow to include API documentation tests.
Member
|
Hi @RodrigoOBC! Thank you for the contribution! Could you please rewrite the PR to use examples in English, so we can keep this repo in line with the rest of our examples? |
Translate Swagger/OpenAPI summaries, descriptions, response examples, and model field documentation from Portuguese to English. Update API docs tests to match the translated contract.
Author
Thank you for the feedback! I've rewritten the examples in English to match the rest of the repository. Please let me know if any further changes are needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change improves the interactive API documentation by clarifying the parameters, fields, examples, and responses for each task endpoint.
Known issue
Deleting an existing task may return 500 after removing it instead of the intended 204 response. This behavior is documented but not fixed by this change.
Testing