Open eriskooo opened 3 years ago
Could you please provide the structure of your project or better yet, a link to the repo, so I can take closer look.
Hi,
it seems, that problem is related to swagger, I've generated something like this and even https://editor.swagger.io/ cannot render fields properly
... requestDate: format: date-time description: chargeback request date in UTC type: string
object which contains this date field has an example used not at field, but as custom object
@APIResponses(value = {
@APIResponse(responseCode = "200", description = "OK",
content = @Content(schema = @Schema(implementation = ChargebackDetailResponse.class,
example = CHARGES_FOR_TRIP_ID))),
CHARGES_FOR_TRIP_ID contains String with json -> if I put invisible char (\u0007) into date field, it is rendered properly
(\"requestDate\": \"2021-02-28T20:19:19.77\u0007\",\n")
ZonedDateTime is rendered perfectly, Instant and LocalDateTime has an issue.
Many thanks for any help
Hello,
I am unable to succesfully generate openapi definition via maven build, generated files json+yaml does not contains any definitions
{ "openapi" : "3", "info" : { "title" : "Generated API", "version" : "1.0" }, "paths" : { } }
======================= my pom.xml
could you plz help me why maven plugin is unable to find any controller ?