interagent / committee

A collection of Rack middleware to support JSON Schema.
MIT License
883 stars 135 forks source link

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

Open aaron-collier opened 1 year ago

aaron-collier commented 1 year ago

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 commented 2 weeks ago

@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?