Skip to content

Add schema example to ValidationResponse for better API documentation#49

Open
Maragani-Mani2001 wants to merge 1 commit intomainfrom
improve-response-schema-docs
Open

Add schema example to ValidationResponse for better API documentation#49
Maragani-Mani2001 wants to merge 1 commit intomainfrom
improve-response-schema-docs

Conversation

@Maragani-Mani2001
Copy link
Collaborator

This PR improves the API documentation for the startup-validator service.
Added a schema example to the ValidationResponse model so that FastAPI automatically shows a sample response in the API docs.
This makes it easier for developers to understand the structure of the /validate-idea response.

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.

1 participant