Open praveen5330 opened 6 years ago
Hi @Praveen,
Can you please validate the swagger file in editor.swagger.io
Returns null for invalid swagger file.
Thanks, Mohammed Rizwan
Hello @ymohdriz
Thanks for replying, I have verified it and it validated successfully.
I do model the apis in 'editor.swagger.io' and then down load the client version of it as a json and trying to read it through "SwaggerParser".
The way i mentioned the swagger json file path while reading is correct? or any changes required in mentioning the path of json file?.
Please suggest me.
Thanks, Praveen Reddy
Hello @ymohdriz
I am using the below dependencies, but it seems like below jar are incompatible. Getting java.lang.NoClassDefFoundError: io/swagger/oas/models/PathItem.
Could you please give us the required dependencies list to use the swagger parser.
Thanks, Praveen
Hi praveen I'm also Getting java.lang.NoClassDefFoundError: io/swagger/oas/models/PathItem。 Please suggest me. Thanks, Nee
I am trying to use swagger parser in my Spring Boot application. Below are the steps I have followed.
When this code gets executed, the parser could not read the file. I found that the "swagger" is null.
Could any one please let me the right way to read the json from a location.
Your support will be greatly appreciated.
Thanks in advance.