You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am working on a schema that was failing validation in Postman documentation tab, and finally found why it was failing.
I have this property in the schema
siteLogo:
type: string
and this example
siteLogo: null
Even when adding nullable: true in my schema the validation fails.
If I replace the example by siteLogo: '', it passes.
Am i missing something, or the nullable property is not supported?
The text was updated successfully, but these errors were encountered:
@fabiendeborde Yes, It seems nullable keyword is not supported yet. The reason for it is we use JSON schema validation (we first convert OpenAPI schema to JSON schema for validation) and nullable is not supported by JSON schema.
@VShingala
Thank you for your answer. I was not sure if I had missed something.
From what I have read, the null type is supported in OpenAPI 3.1.
Between nullable property and null type, I have no idea which is easier to implement, but I hope you can add this feature in a somewhat near future.
Hello,
I am working on a schema that was failing validation in Postman documentation tab, and finally found why it was failing.
I have this property in the schema
and this example
Even when adding
nullable: true
in my schema the validation fails.If I replace the example by
siteLogo: ''
, it passes.Am i missing something, or the nullable property is not supported?
The text was updated successfully, but these errors were encountered: