Open MokkeMeguru opened 2 years ago
In OpenAPI 3.0.x, we should use nullable property instead of use null type,
nullable
null type
https://swagger.io/docs/specification/data-models/data-types/
however, In OpenAPI 3.1, we should use null type instead of nullable https://github.com/OAI/OpenAPI-Specification/issues/2244
So that, I want to know which is better opinion in spec-tools
null
ref: https://github.com/metosin/spec-tools/blob/master/docs/06_openapi.md
If you give me advice, I'll write some PR if I can.
In OpenAPI 3.0.x, we should use
nullable
property instead of usenull type
,https://swagger.io/docs/specification/data-models/data-types/
however, In OpenAPI 3.1, we should use
null type
instead ofnullable
https://github.com/OAI/OpenAPI-Specification/issues/2244So that, I want to know which is better opinion in spec-tools
nullable
)null
)ref: https://github.com/metosin/spec-tools/blob/master/docs/06_openapi.md
If you give me advice, I'll write some PR if I can.