Skip to content

Give an option to mark not required fields as nullable #635

@gyz0072004

Description

@gyz0072004

Checklist

  • Conversion: I have checked my source definition is valid OpenAPI 2.0

Detailed Description

Our API would return NULL value for optional fields in swagger definition. It's acceptable in OpenAPI 2.0. However, because the transformed OpenAPI 3.0 definition doesn't mark the field as nullable, the field becomes not nullable. We would like the toolkit to support auto marking the fields as nullable

Other stuff

swagger2openapi: 7.0.8

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions