Based on this stackoverflow post, I have tried different variations to get values in a requestBody to be marked as required but they do not work. In comparison, using openapi-generator with the typescript-fetch generator and the openapi-typescript library works (sometimes).
I like the approach kiota has taken for building a fetch wrapper and I am leaning strongly toward using it. Here are the variations that I have tried using:
Hi @azan-n
Thanks for using kiota and for the detailed analysis.
This discussion is already happening at #3911 so I'm going to go ahead and close this issue as duplicate.
Please share your views on that thread :)
Based on this stackoverflow post, I have tried different variations to get values in a requestBody to be marked as required but they do not work. In comparison, using openapi-generator with the
typescript-fetch
generator and theopenapi-typescript
library works (sometimes).I like the approach kiota has taken for building a fetch wrapper and I am leaning strongly toward using it. Here are the variations that I have tried using:
1
2
3
4
Please advise on how I should proceed. I'm more than willing to submit a PR to make this work.