Schema specification for java.time #2339
Unanswered
claudioweiler
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @claudioweiler , generally speaking, the code scanner will place reusable schemas under |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm migrating my OpenAPI specification from Swagger to MicroProfile.
I have some
java.time
objects that are generating schema definition differently, and I can't find why.Let's stick with
java.time.LocalDate
for this scenario.On Swagger it was generated always inline, as:
And on MicroProfile it is generated as:
MicroProfile schemas are better handled as it shows examples, but it switch in generating schema inlined and referenced, like this:
So, my questions are:
Beta Was this translation helpful? Give feedback.
All reactions