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
I have a Spring 3.4.3 Application that has as dependencies both
springdoc-openapi-starter-webmvc-api 2.8.5
springdoc-openapi-starter-webmvc-ui 2.8.5
The UI is available at the address /swagger-ui/index.html, but i receive the following error:
Unable to render this definition
The provided definition does not specify a valid version field.
Please indicate a valid Swagger or OpenAPI version field. Supported version fields are swagger: "2.0" and those that match openapi: 3.0.n (for example, openapi: 3.0.0).
At the address /v3/api-docs i can see the OpenAPI Definition, which uses the Version 3.1.0:
Hello
I have a Spring 3.4.3 Application that has as dependencies both
The UI is available at the address
/swagger-ui/index.html
, but i receive the following error:At the address
/v3/api-docs
i can see the OpenAPI Definition, which uses the Version 3.1.0:To Reproduce
Steps to reproduce the behavior:
openapi: 3.1.0
/swagger-ui/index.html
, an Error saying thatThe provided definition does not specify a valid version field.
is shownExpected behavior
Screenshots
Swagger UI:

OpenAPI Definition:

The text was updated successfully, but these errors were encountered: