Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swagger.json is not build with jersery-jaxrs #1544

Closed
LingLong opened this issue Nov 13, 2015 · 3 comments
Closed

swagger.json is not build with jersery-jaxrs #1544

LingLong opened this issue Nov 13, 2015 · 3 comments

Comments

@LingLong
Copy link

Hello Swagger-Team,

i use Swagger to display the resources of my jersey-jaxrs application.
I prepend that everything worked fine for me with Swagger 1.3 !
Recently I try to upgrade Swagger to 1.5 an now it seems that swagger.json is not build anymore.

Got Error: Cannot read swagger.json from ... (with statuscode 404)

This is my dependency
pom

I do not have a web.xml so I use the SwaggerBeanConfig like this:
swaggerbeanconfig

I think there is a Versionproblem
(I use Swagger-UI-2.1.1)
Thanks for help/fix!

Greetings

@webron
Copy link
Contributor

webron commented Nov 13, 2015

Which URL do you use to open your swagger.json?
Which application server do you use to run your application? If it is tomcat or tomcat-based, what is the application context that you use?

@LingLong
Copy link
Author

I use a Grizzly-Server, url= http://localhost/simulation/api-docs
http://localhost/simulation/api-docs
also http://localhost:8080/simulation http://localhost:8080/simulation
/api-docs/swagger.json and so on, does not work.

-----Original-Nachricht-----
Betreff: Re: [swagger-core] swagger.json is not build with jersery-jaxrs
(#1544)
Datum: 2015-11-13T21:00:30+0100
Von: "Ron" notifications@github.com
An: "swagger-api/swagger-core" swagger-core@noreply.github.com

Which URL do you use to open your swagger.json?
Which application server do you use to run your application? If it is
tomcat or tomcat-based, what is the application context that you use?

Reply to this email directly or view it on GitHub
#1544 (comment)
.

@webron
Copy link
Contributor

webron commented Dec 1, 2015

swagger-core 1.5 doesn't support Grizzly at the moment. Please follow #1103.

@webron webron closed this as completed Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants