In openapi2, nullable was not a field attribute, so it was added into x-airr so that code would know if null was allowed or not. With openapi3, nullable is a field attribute, however the extension fields are still using the older x-airr setting. This can cause openapi3 middleware to fail if it validates requests or responses because nullable: false is the default.
In openapi2,
nullable
was not a field attribute, so it was added intox-airr
so that code would know if null was allowed or not. With openapi3,nullable
is a field attribute, however the extension fields are still using the olderx-airr
setting. This can cause openapi3 middleware to fail if it validates requests or responses becausenullable: false
is the default.