data-api-builder icon indicating copy to clipboard operation
data-api-builder copied to clipboard

[Bug]: nullable properties not supported in openapi doc

Open ErikEJ opened this issue 1 year ago • 2 comments

What happened?

It looks like the OpenAPI document does not honor nullability of properties despite this being supported in OpenApi 3.1:

https://www.openapis.org/blog/2021/02/16/migrating-from-openapi-3-0-to-3-1-0

See https://github.com/ErikEJ/EFCorePowerTools/issues/2597

Version

1.2.11

What database are you using?

Azure SQL

What hosting model are you using?

Local (including CLI)

Which API approach are you accessing DAB through?

REST

Relevant log output

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

ErikEJ avatar Oct 30 '24 13:10 ErikEJ

requires upgrading from openapi3.0 to 3.1

abhishekkumams avatar Dec 02 '24 17:12 abhishekkumams

@abhishekkumams Looks like this will happen in .NET 10

ErikEJ avatar Feb 26 '25 07:02 ErikEJ