We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you have a list oneOf types validator defaults them to object and fails:
schema
utctime: oneOf: - type: string enum: [always, now] - type: string format: date-time
request
{'utctime': 'now'}
Yields: openapi_core.schema.media_types.exceptions.InvalidMediaTypeValue: Value of now not an object.
Now should be of type string not object.
The text was updated successfully, but these errors were encountered:
Same problem here.
Sorry, something went wrong.
I have the same issue.
I have the same issue too.
Could we please have any update on this?
No branches or pull requests
If you have a list oneOf types validator defaults them to object and fails:
schema
request
Yields: openapi_core.schema.media_types.exceptions.InvalidMediaTypeValue: Value of now not an object.
Now should be of type string not object.
The text was updated successfully, but these errors were encountered: