oneOf, anyOf, allOf, not - Swagger
swagger.io › docs › specificationoneOf, anyOf, allOf, not OpenAPI 3.0 provides several keywords which you can use to combine schemas. You can use these keywords to create a complex schema, or validate a value against multiple criteria. oneOf – validates the value against exactly one of the subschemas allOf – validates the value against all the subschemas