Re: Can't get swagger.json

2017-09-21 Thread Dali
Finally i found the solution. I registred explicitely ApiListingResource & SwaggerSerializers ResourceConfig resourceConfig = new ResourceConfig(); resourceConfig.packages("com.fiftyfive.services.apis", "io.swagger.jaxrs.listing"); ServletContainer servletContainer = new ServletContai

Re: Can't get swagger.json

2017-01-02 Thread Dali
: > > You’d need to check you application logs to see why you’re getting 500. > You might need to bump up the log levels. > > > > > > > > *From: *> on behalf of Dali < > moh...@fifty-five.com > > *Reply-To: *"swagger-sw...@googlegroups.com " &

Re: Can't get swagger.json

2016-12-30 Thread Dali
wrote: > > You’d need to check you application logs to see why you’re getting 500. > You might need to bump up the log levels. > > > > > > > > *From: *> on behalf of Dali < > moh...@fifty-five.com > > *Reply-To: *"swagger-sw...@googlegrou

Re: Can't get swagger.json

2016-12-29 Thread Dali
). > > ApiListingResource is just a JAX-RS resource like your own – which should > be exposed at the root of the other resources. > > > > You’re also using a really old version of swagger-core – that version has > many known issues, some of which are critical. >

Re: Can't get swagger.json

2016-12-28 Thread Dali
UTC+1, Ron wrote: > > Which version of swagger-core do you use? > > What URL do you use to access your API? > > The swagger.json? > > > > > > > > *From: *> on behalf of Dali < > moh...@fifty-five.com > > *Reply-To: *"swagger-sw...@googl

Re: Can't get swagger.json

2016-12-28 Thread Dali
gt; > > > > *From: *> on behalf of Dali < > moh...@fifty-five.com > > *Reply-To: *"swagger-sw...@googlegroups.com " < > swagger-sw...@googlegroups.com > > *Date: *Tuesday, 27 December 2016 at 10:16 > *To: *Swagger > > *Subject: *Can&#

Can't get swagger.json

2016-12-27 Thread Dali
ass); register(ApiListingResource.class); register(SwaggerSerializers.class); } } I'm using jersey 2.22 and swagger 1.5. My API classes (and swagger annotations) are under my.resources.packages My Api calls works All help appreciated Regards, Dali -- You received this message