We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Related to this swagger-api/swagger-inflector#371 and these PRs I suppose:
I'm using spring boot and I cannot set an example for a given field in a request body as explicitly null
null
For example:
@Schema(description = "Some field") public String field
always ends up either as "string". I tried passing the defaultValue and nullable args to the annotation, but the best I could get is "null"
"string"
defaultValue
nullable
"null"
Actual:
{ "field" : "string" }
or
{ "field" : "null" }
Expected:
{ "field" : null }
How can I accomplish this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Related to this swagger-api/swagger-inflector#371 and these PRs I suppose:
I'm using spring boot and I cannot set an example for a given field in a request body as explicitly
null
For example:
always ends up either as
"string"
. I tried passing thedefaultValue
andnullable
args to the annotation, but the best I could get is"null"
Actual:
or
Expected:
How can I accomplish this?
The text was updated successfully, but these errors were encountered: