Azure / Azure/data-api-builder
[Bug]: nullable properties not supported in openapi doc
- 主要言語
- C#
- スター
- 1.5k
- フォーク
- 372
- 平均マージ
- 3日 22時間
- マージ済み PR(30日)
- 9
説明
### 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
コントリビューションガイド
調査の方向性
まず、Azure SQL とリンクされた OpenAPI 3.1 リファレンスを比較に使用し、バージョン 1.2.11 に対して nullable properties の REST OpenAPI ドキュメントを再現します。生成されたドキュメントのどこで property の nullability が表現されているかを追跡し、続いて、結果の schema がそれを保持し、期待される OpenAPI 3.1 の動作と一致することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- azure, csharp, openapi
- 領域
- api, databases
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100