Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update spec for response code to be a string per common usage #938

Closed
wants to merge 3 commits into from

Conversation

mbryzek
Copy link
Collaborator

@mbryzek mbryzek commented Jul 10, 2024

We are now seeing validation errors requiring the format of response code to be an object:

"value": 200

This is related to undocumented behavior for non discriminated union types spanning primitive types and defined models. Update the service spec to document the response code as a string - we continue to validate proper integer or the keyword "default".

@mbryzek mbryzek closed this Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant