Is there any way I can support oneOf in asp.net core webapi.
Can I support two different schemas in the request body?
https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/#oneof
Is there any way I can support oneOf in asp.net core webapi.
Can I support two different schemas in the request body?
https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/#oneof
Use Kiota: https://learn.microsoft.com/en-us/openapi/kiota/overview
Example:
dotnet kiota generate --openapi http://.../swagger.json -l CSharp --output TestApiSdk -c TestApi -n Test.Api.Client