Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

document design principle around nullability

オープン
#20 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@darrelmiller がすでに取り組んでいます。

2023年8月25日 から。

評価

この issue はまだ評価されていません。

説明

We keep getting questions about nullability when we project the client.
We should document the facts that:

  • we project a nullable return type for the root of the response, even if the description doesn't say it's nullable. This is so the client can survive change in service behaviour without being refreshed. (e.g. the service starts returning 204)
  • we project properties on models as nullable. This is to account for services that allow selection/projection via query parameters where the returned payload might omit described properties.
  • we project request bodies as nullable or not depending on the required property in the description
主要言語
言語のデータがありません
スター
22
フォーク
50
平均マージ
4日 8時間
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MicrosoftDocs/openapi-docs のほかの issue

MicrosoftDocs/openapi-docs の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。