NavigationProperty has all possible methods, while base endpoint only has GET available.
まだ誰も着手していません。
評価
調査の方向性
Business Central EDMX を使って変換を再現し、ベースエンドポイントとその NavigationProperty エンドポイントについて生成されたメソッドを比較します。RequireDerivedTypesConstraintForBoundOperations を含む ConvertSettings から始め、OoasUtil が使用するコンバーターのエントリポイントを調査します。ネストされたエンドポイントが、実際に利用可能なメソッドだけを公開すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Im pretty new to C# development, so let me know if i need to include more details!
I am trying to use metadata (edmx file) from Business Central to generate swaggerUI docs for our custom API, but im having issues with navigation properties.
The base endpoint gets converted properly, only showing the valid methods for the endpoint:
But the NavigationProperty endpoints seem to get generated with no regard to the base endpoint:
I tried to use the "RequireDerivedTypesConstraintForBoundOperations" parameter in the ConvertSettings of the OoasUtil tool, with no luck.
Is there a way for me to either configure the converter or edit my edmx file in order to only show actually available methods for "nested" endpoints?
NavigationProperty for EntityType company:
EntitySet for custLedgerEntries endpoint:
- 主要言語
- 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
-
type/automation type/tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
t/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
ci-failure-cause test-failure
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
area:auth FE mvp P3
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
klasolsson81/jobbliggaren#1788 ·