Skip to content

[Possible Bug] FastAPI returning the openapi version as 3.1.0, but it should be 3.0.0 #9789

Answered by jgould22
lagartoxa asked this question in Questions
Discussion options

You must be logged in to vote

I think your swagger-ui.js is cached and the cached one is version 4.

FastAPI uses swagger ui 5 now ( a recent change ) that supports 3.1

0.97 uses version 4

Try and make sure that JS is the correct one (seen here)

Replies: 3 comments 18 replies

Comment options

You must be logged in to vote
1 reply
@lagartoxa
Comment options

Answer selected by Kludex
Comment options

You must be logged in to vote
15 replies
@mdegis
Comment options

@tiangolo
Comment options

@abrahan-munro
Comment options

@johnthagen
Comment options

@masalim2
Comment options

Comment options

You must be logged in to vote
2 replies
@wimvc1
Comment options

@JimmyDore
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem