Adding Example for FastApi OpenAPI documentation #715
Labels
kind/feature
A request for a new feature.
level/intermediate
priority/medium
topic: dx
Improvements or issues relating to developer experience
topic: generation
Problem
Currently for my pydantic models, I use the example field to document FastAPI:
= Field(..., example="This is my example for SwaggerUI")
Suggested solution
Would it be possible through comment in the schema.prisma to add these examples?
Alternatives
Open to any solution.
Additional context
I want to completely remove my custom pydantic object definitions and rely on your generated models and partials (which I find amazing!)
The text was updated successfully, but these errors were encountered: