How to inline nullable object types with a reference to not nullable? #410
-
Hello, I have DEFINITIONS_FOR_ALL_OBJECTS set. In the $defs, I get "definitionName" or "definitionName-nullable" or both, depending on the presence of the What I want, is to always have only "definitionName" in the $defs, and nullable field definition inlined as What is the simplest way? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi @bmaizel, So far, there was no simple way. EDIT: after applying the fix in #417, this has been released in v4.33.0 |
Beta Was this translation helpful? Give feedback.
-
I just tried it with a snapshot. |
Beta Was this translation helpful? Give feedback.
-
Works as expected in 4.33.0 |
Beta Was this translation helpful? Give feedback.
Hi @bmaizel,
So far, there was no simple way.
I've created a new
Option.INLINE_NULLABLE_SCHEMAS
in #412 now in response to your question.EDIT: after applying the fix in #417, this has been released in v4.33.0