Skip to content

Conversation

@gadomski
Copy link
Member

@gadomski gadomski commented May 19, 2025

What I'm changing

  • Use {"type": "string"} for the OpenAPI docs for datetime, too

How I did it

  • Also added an example

image

@gadomski gadomski merged commit 33c205c into main May 19, 2025
4 checks passed
@gadomski gadomski deleted the issues/113-swagger-docs branch May 19, 2025 17:32
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.

DatetimeInterval Pydantic Model rendered incorrectly in FastAPI Generate Swagger Docs

3 participants