Use annotation from the model to create OpenApiInfo
まだ誰も着手していません。
評価
調査の方向性
まずメインスキーマでの Core.Description と Core.SchemaVersion に対する ODL のサポートを確認し、次に現在の OpenApiInfo の生成を調査します。これらのアノテーションがサポートされたら、タイトル、バージョン、説明に使用し、アノテーションがない場合はデフォルト値を維持します。
索引モデルが issue の本文から書いたものです。
説明
The OASIS OData to OpenApi v3.0 says:
4.2.1 Field title
The value of title is the value of the unqualified annotation Core.Description (see [OData-VocCore]) of the main schema or the entity container of the OData service.
If no Core.Description is present, a default title has to be provided as this is a required OpenAPI field.
4.2.2 Field version
The value of version is the value of the annotation Core.SchemaVersion (see [OData-VocCore]) of the main schema.
If no Core.SchemaVersion is present, a default version has to be provided as this is a required OpenAPI field.
4.2.3 Field description
The value of description is the value of the annotation Core.LongDescription (see [OData-VocCore]) of the main schema or the entity container.
While this field is optional, it prominently appears in OpenAPI exploration tools, so a default description should be provided if no Core.LongDescription annotation is present.
However, the ODL doesn't support "Core.Description" on main schema and Core.SchemaVersion. Once it supports, please update using the annotation.
- 主要言語
- C#
- スター
- 240
- フォーク
- 70
- 平均マージ
- 7時間 59分
- マージ済み PR(30日)
- 13
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/OpenAPI.NET.OData のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
microsoft/OpenAPI.NET.OData#661 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
microsoft/OpenAPI.NET.OData#852 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
microsoft/OpenAPI.NET.OData#833 ·
-
status:needs-more-information
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
microsoft/OpenAPI.NET.OData#723 · コメント 1 件 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
microsoft/OpenAPI.NET.OData#720 ·
microsoft/OpenAPI.NET.OData の issue をすべて見る
似ている issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
sillsdev/languageforge-lexbox#2665 ·
-
bug documentation frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
azurenoops/spin_agent#975 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
dotnet/AspNetCore.Docs#37699 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
SubtitleEdit/subtitleedit#15108 · コメント 1 件 ·