-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Open
Description
Description
Expect default nullable=false to generate @JsonInclude(JsonInclude.Include.NON_NULL) excluding non-null fields from being returned. This is the default behavior in swagger-codegen.
openapi-generator version
4.1.2
OpenAPI declaration file content or url
type: integer
nullable: falseCommand line used for generation
mvn clean install
Steps to reproduce
Define API response in yml using OpenAPI 3 spec. Run maven to create generated classes.
Related issues/PRs
None.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels