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

OpenAPI 3: "attribute does not allow null values" in ResponseValidation #392

Open
aaron-collier opened this issue Apr 10, 2023 · 1 comment

Comments

@aaron-collier
Copy link

I have a property in a response defined as:

        filename:
          nullable: true
          type: string

but when empty:

{"id":"invalid_response","message":"...properties/filename does not allow null values"}
@geemus
Copy link
Member

geemus commented Nov 8, 2024

@aaron-collier Hey, I was trying to pin this down today without much luck so far. Could you share a bit broader chunk of schema that reproduces the error?

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

No branches or pull requests

2 participants