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();
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
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,
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:
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:
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:
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
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
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
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
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:
11 matches
Mail list logo