Set ErrorResponsesAsDefault
to true
for PowerShell Style
#953
Labels
type: bug
Something isn't working
ErrorResponsesAsDefault
to true
for PowerShell Style
#953
Describe the bug
The current OpenAPI defines error responses on error codes instead of
default
. This change breaks AutoREST, which expectsdefault
to contain the error responses.microsoft/OpenAPI.NET.OData#167 added
ErrorResponsesAsDefault
, which defaults totrue
. Consider using this default to avoid breaking existing tooling that relies ondefault
.To Reproduce
Inspect the responses object of the current (v1.0.10-preview based) OpenAPI file.
Expected behavior
Additional Context
#928 is still blocking PowerShell from being able to test recent changes made OpenAPI.Net.Odata v1.0.10-preview.
The text was updated successfully, but these errors were encountered: