- Migration
- JSON Schema
Swaggerplus JSON Schema anyOf
Add to a Schema Object in an OpenAPI 2.0 API description document to use newer `anyOf` JSON Schema constructs. This allows converting OpenAPI 2.0 to OpenAPI 3.0 for tools which work with OpenAPI 3.0.
{"components":{"schemas":{"x-anyOf":[{"schemaObject1":{}},{"schemaObject2":{}},{"schemaObject3":{}},"..."]}}}