You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generation of client aborts using OpenAPI 3.1.0 document #864
Describe the bug
I am having an OpenAPI document generated from FastAPI backend. The OpenAPI version is 3.1.0. Generation of client is aborting with:
Error(s) encountered while generating, client was not created
Failed to parse OpenAPI document
For further information visit https://errors.pydantic.dev/2.3/v/literal_error
openapi.`literal['3.0.2']`
Input should be '3.0.2' [type=literal_error, input_value='3.1.0', input_type=str]
For further information visit https://errors.pydantic.dev/2.3/v/literal_error
openapi.`literal['3.0.3']`
Input should be '3.0.3' [type=literal_error, input_value='3.1.0', input_type=str]
For further information visit https://errors.pydantic.dev/2.3/v/literal_error
OpenAPI Spec File
Any OpenAPI spec starting with {"openapi":"3.1.0"
Desktop (please complete the following information):
Activity
dbanty commentedon Sep 26, 2023
Follow #818 and #856 for updates on 3.1.0 support.