[
https://issues.apache.org/jira/browse/CAMEL-18659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-18659:
--------------------------------
Fix Version/s: 3.x
> camel-openapi-java - Support for nullable
> -----------------------------------------
>
> Key: CAMEL-18659
> URL: https://issues.apache.org/jira/browse/CAMEL-18659
> Project: Camel
> Issue Type: Improvement
> Components: camel-openapi-java
> Affects Versions: 3.12.0, 3.13.0
> Reporter: M
> Priority: Minor
> Fix For: 3.x
>
>
> Hi,
> I marked field with @Schema annotation like below:
> {color:#bbb529}@Schema(example = "1234", nullable = true)
> private Long id;{color}
> I got output:
> {code:java}
> "id" : {
> "format" : "int64",
> "type" : "integer",
> "example" : 1234
> } {code}
> when my expectation is:
> {code:java}
> "id" : {
> "format" : "int64",
> "type" : "integer",
> "nullable" : true,
> "example" : 1234
> } {code}
> Or maybe I'm doing something wrong ;).
> Open-api 3.0.2.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)