- Migration
- JSON Schema
Swaggerplus JSON Schema nullable
Add to a Schema Object in an OpenAPI 2.0 API description document to use the `nullable` JSON Schema construct. This allows converting OpenAPI 2.0 to OpenAPI 3.0 for tools which work with OpenAPI 3.0.
{"components":{"schemas":{"book":{"title":"Book","description":"Representation of a published book.","properties":{"title":{"x-nullable":false,"schema":{"type":"string"}}}}}}}