Discussions
Is there a plan to support the null type in OAS 3.1?
about 2 years ago by Clif Reeder
One of the changes from OpenAPI 3.0 to 3.1 was removing the nullable
keyword in favor of allowing type
to be an array, and having null
as a type there. The places our schema uses this seem to render in the docs unexpectedly, as "nullstring" in the response detail view, and ""Unknown Type: null,string"" in the example response.
null
is not listed in the docs as a supported data type - is that expected to be added as part of OAS 3.1 support?