Optional and required path segmetns depending on method type. #7273
Unanswered
Kusnierz-Maciej
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have method using dotnet minimal api that is GET with required path segment
/abc/{id:guid}I have 2nd method that is of type POST that has optional path segment
/abc/{id:guid?}.But Kiota only generates the abc[..] array that requires to pass the
id.How to be able to generate kiota client that will allow me to GET with required id and POST with optional Id?
Beta Was this translation helpful? Give feedback.
All reactions