swagger2markup
swagger2markup copied to clipboard
Swagger v3 cannot use swagger2markup(1.3.3)
Thanks for raising a Swagger2Markup issue. Please provide a brief description of your problem along with the Swagger2Markup version you are using. If possible, please also consider putting together a complete Swagger specification that reproduces the issue. It's better if the Swagger specification is small and isolate the issue.
Swagger2Markup version: 1.3.3
Problem description:
<!--swagger-->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-boot-starter</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>io.github.swagger2markup</groupId>
<artifactId>swagger2markup</artifactId>
<version>1.3.3</version>
</dependency>
<dependency>
<groupId>nl.jworks.markdown_to_asciidoc</groupId>
<artifactId>markdown_to_asciidoc</artifactId>
<version>1.0</version>
<scope>compile</scope>
</dependency>
when I used Swagger v3, swagger2markup(1.3.3) throw exception "java.lang.IllegalArgumentException: Failed to read the Swagger source".
And I find the problem that it cannot get the 'swagger' when I debug in the Swagger20Parser class.
"JsonNode swaggerNode = rootNode.get("swagger");"
Looking forward to reply, thanks!
+1