Re: Jackson PropertyNamingStrategy in jersey generated API

2017-10-19 Thread Francesco Tumanischvili
Hi Andrew, You can use a custom converter, possibly the quickest option would be something like: class MyFactory extends ObjectMapperFactory{ public ObjectMapper createMapper() { ObjectMapper mapper = ObjectMapperFactory.createJson();

Re: Fetching resource list, Please wait

2017-10-19 Thread Ron Ratovsky
That’s a question to Swashbuckle… From: on behalf of Andy Philpotts Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Thursday, October 19, 2017 at 12:03 To: Swagger

Re: Fetching resource list, Please wait

2017-10-19 Thread Andy Philpotts
Wow, so I have to look at the source of that, I see a lot of this sort of thing: OK, so that begs a question, where do I look now... "put": null, "post": null, "delete": null, "options": null, "head": null, "patch": null,

Re: Fetching resource list, Please wait

2017-10-19 Thread Ron Ratovsky
Actually no. The only place `null` is a valid value is as a value of extension. Having it anywhere else in the definition is invalid and will break tooling. From: on behalf of Andy Philpotts Reply-To:

Re: Fetching resource list, Please wait

2017-10-19 Thread Ron Ratovsky
That doesn’t look good at all. `null` is not a valid value, and that’s a partial JSON. From: on behalf of Andy Philpotts Reply-To: "swagger-swaggersocket@googlegroups.com" Date:

Re: Various Swagger 1.5.16 issues with JAXB, Jersey 1.x/2.x and Swagger-UI 2.x and 3.x

2017-10-19 Thread Ron Ratovsky
Thanks for the elaborate investigation. Since there’s a ticket opened for the second issue you mentioned, would you mind opening one for the first issue? From: on behalf of Michael Günnewig Reply-To:

Fetching resource list, Please wait

2017-10-19 Thread Andy Philpotts
Running on Windows, in Visual Studio, using the nuget SwashBuckle 5.6.0 When I visit the swagger UI I see the main window, but the only content is this message "fetching resource list: http://localhost:53649/swagger/docs/v1; Please wait." The javascript console says "Unable to get

Re: swagger + java rest repositores

2017-10-19 Thread Eitan Herman
sure. in java we use rest-repository (spring data rest ) https://projects.spring.io/spring-data-rest/ it means we don't code controllers it's made dynamically by spring. but those controllers (services) are not listed in swagger. so how can i see them too? all the crud services in best practice

Re: swagger + java rest repositores

2017-10-19 Thread Ron Ratovsky
Hi Eitan, the question isn’t very clear. Can you clarify what you mean? From: on behalf of Eitan Herman Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Thursday, October

Various Swagger 1.5.16 issues with JAXB, Jersey 1.x/2.x and Swagger-UI 2.x and 3.x

2017-10-19 Thread Michael Günnewig
Hi all. I stumbled about a couple issues with using Swagger.io together with Jersey 1.x and 2.x. The issues can be seen using he following resource methods and the used model classes: @ApiOperation(value="Return List", notes="Let Jersey/JAXB do the element wrapping") @GET

Re: OpenApi 3 & latest swagger-ui

2017-10-19 Thread Julien Sié
Thanks Ron, I will. On Tuesday, October 17, 2017 at 8:49:26 PM UTC+2, Ron wrote: > > It should support cookies. If you experience something else, please file a > ticket on the project, providing the details requested in the issue > template. > > > > > > > > *From: