-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Properties without @Schema annotation of type LocalTime missing in openapi.json #2992
Comments
ref #2992 - add support for LocalTime and custom system and primitive types
Thanks for reporting this; it's indeed a bug, fixed in latest
or
in any bootstrap code. in this case, the outcome would be something like;
Closing ticket, please reopen if you're still experiencing issues. |
Do you have an ETA for 2.0.6? Thanks. |
org.joda.time.LocalDateTime should be added to DATE_TIME group. |
I opened #3212 to address |
fixed in #3212, thanks! |
I use
swagger-annotations (2.0.5)
to generate myopenapi.json
file.When using a property of type
java.time.LocalTime
nameda
, it produces the following (shown in Swagger UI):When I have 2 or more properties of type
java.time.LocalTime
and these properties are not annotated with@Schema
and a name attribute, then only the last one is present in theopenapi.json
file.I.e.:
with corresponding getters and setters on an API model only outputs the last property of type
java.time.LocalTime
:Usually I do not annotate my properties with
@Schema
when not needed.Do I miss something here or is this a bug?
Thanks!
The text was updated successfully, but these errors were encountered: