Skip to content
New issue

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

Add nullable : true to all properties that can have null values #626

Open
daveneti opened this issue Feb 23, 2025 · 0 comments
Open

Add nullable : true to all properties that can have null values #626

daveneti opened this issue Feb 23, 2025 · 0 comments

Comments

@daveneti
Copy link

In OpenAPI 3.x any property that can have a null value should be marked nullable : true.

See

Here are the proposed rules:

  • DbIds - required and nullable: false
  • PUIs - non-required and nullable: false
  • Names - depends on the Entity, but if required, then nullable: false
  • Other properties - See the JSON schema to see if 'null' is one of the allowed schemas.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant