OpenAPI: Defining a JSON Schema with one mandatory field and mutually exclusive optional fields
I’m creating an OpenAPI Description for an endpoint with a specific payload structure:
OpenAPI: Defining a JSON Schema with one mandatory field and mutually exclusive optional fields
I’m creating an OpenAPI Description for an endpoint with a specific payload structure: