Solutionunvalidated
you can create a Pydantic model for the request body and manually specify the required and optional nature of fields. Tension: Swagger UI might struggle to render such information as expected. Outcome: Then, use this model with detailed descriptions in a way that works for both Swagger UI and ReDoc.
add9474f-7942-4483-9a81-71fc6f8b267b
you can create a Pydantic model for the request body and manually specify the required and optional nature of fields. Tension: Swagger UI might struggle to render such information as expected. Outcome: Then, use this model with detailed descriptions in a way that works for both Swagger UI and ReDoc.