Describe the bug
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).
Expected behavior
Should open the swagger UI with API doc
Screenshots
Desktop (please complete the following information):
OS: Ubuntu
Additional context
I've tried to add swagger: '2.0' and openapi: '3.0.0', but it doesn't work.
We only support openapi: '3.0.0'. I try to replicate your error based on that screenshot and I don't get that message. Could you share more lines of your code?
Describe the bug 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).
Expected behavior Should open the swagger UI with API doc
Screenshots
Desktop (please complete the following information):
Additional context I've tried to add
swagger: '2.0'
andopenapi: '3.0.0'
, but it doesn't work.