swagger-petstore icon indicating copy to clipboard operation
swagger-petstore copied to clipboard

trying to get swagger.json

Open ozkanpakdil opened this issue 2 years ago • 1 comments

when I try the latest code from master it is not generating swagger json so I went in tags and checkout swagger-petstore-swagger-petstore-v2-1.0.6 when I run it with mvn package jetty:run it works in port 8002 and when I request the page it give error below

image

how can I fix it ?

I am just trying to reach swagger json and its responses. for my project https://github.com/ozkanpakdil/swaggerific. I was using https://petstore.swagger.io/ but sometimes it starts responding empty arrays , I just need some data.

ozkanpakdil avatar Mar 02 '24 09:03 ozkanpakdil

I took the project from the main branch, in pom.xml version of the project is 1.0.20-SNAPSHOT. If you need swagger.json, then you can find it here http://localhost:8080/api/v3/openapi.json . The file you need is openapi.json. You should also read the README file. Снимок экрана 2024-05-14 в 14 54 03

IvanovIlya116 avatar May 14 '24 11:05 IvanovIlya116