phpinnacle / intellij-redoc

IntelliJ OpenAPI 3.0 documentation renderer
MIT License
8 stars 1 forks source link

Redoc don't work on yaml files #7

Open agutierrezrodriguez opened 4 years ago

agutierrezrodriguez commented 4 years ago

Detailed description

Bug: Redoc tab doesn't appear in a swagger yaml file

Context

Why is this change important to you? How would you use it? Because I cant see the changes in a yaml spec file.

How can it benefit other users? This affects to all users with a yaml swagger specification.

Your environment

Include as many relevant details about the environment you experienced the bug in and how to reproduce it.

agutierrezrodriguez commented 4 years ago

The problem seems that my specification is 3.0.2 instead of 3.0.0.

Please upgrade openapi header to 3.0.1 and 3.0.2 too.

andrew-demb commented 4 years ago

I think you can send PR with changes to this file https://github.com/phpinnacle/intellij-redoc/blob/08d10305b60e5a264404c570131458250b863433/src/main/java/com/phpinnacle/redoc/RedocApplication.java#L40