quart-schema icon indicating copy to clipboard operation
quart-schema copied to clipboard

Support "examples" documentation

Open tyree731 opened this issue 6 months ago • 0 comments

As far as I can tell, nothing in this module allows you to specify example responses for different models. It would be nice if, perhaps through some decorator applied to a method on a pydantic model, one could provide an example response that the API might return, having that example response propagated through to the openapi spec and documentation.

tyree731 avatar Jan 05 '24 18:01 tyree731