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
java.lang.NumberFormatException: For input string: "post"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
at java.base/java.lang.Integer.parseInt(Integer.java:668)
at java.base/java.lang.Integer.parseInt(Integer.java:786)
at io.swagger.v3.parser.converter.SwaggerConverter.convert(SwaggerConverter.java:1140)
at io.swagger.v3.parser.converter.SwaggerConverter.convert(SwaggerConverter.java:608)
at io.swagger.v3.parser.converter.SwaggerConverter.convert(SwaggerConverter.java:531)
at io.swagger.v3.parser.converter.SwaggerConverter.convert(SwaggerConverter.java:250)
at io.swagger.v3.parser.converter.SwaggerConverter.readResult(SwaggerConverter.java:104)
at io.swagger.v3.parser.converter.SwaggerConverter.readLocation(SwaggerConverter.java:85)
at io.swagger.v3.parser.OpenAPIV3Parser.read(OpenAPIV3Parser.java:124)
at io.swagger.v3.parser.OpenAPIV3Parser.read(OpenAPIV3Parser.java:113)
at redacted
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Running:
new OpenAPIV3Parser().read("swagger.json");
with swagger-parser-v2-converter-2.1.20.jar.
For the attached input. swagger.json
The text was updated successfully, but these errors were encountered:
The following is thrown:
Running:
with
swagger-parser-v2-converter-2.1.20.jar
.For the attached input.
swagger.json
The text was updated successfully, but these errors were encountered: