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

chore: add fastapi response model to every endpoints, add openapi documentation for API response #295

Merged
merged 1 commit into from Jan 2, 2023

Conversation

croumegous
Copy link
Collaborator

Close #233

Added response model on every endpoint.
Changed empty 200 response to 204

Copy link
Collaborator

@yk yk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow thank you :)

@yk yk merged commit 2df4e7a into LAION-AI:main Jan 2, 2023
@croumegous croumegous mentioned this pull request Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use fastapi response_model for API documentation
2 participants