swagger-api / swagger-petstore

http://petstore.swagger.io
Apache License 2.0
257 stars 359 forks source link

trying to get swagger.json #117

Open ozkanpakdil opened 8 months ago

ozkanpakdil commented 8 months ago

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.

IvanovIlya116 commented 5 months ago

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