payload
property has following code:
"oneOf": [
{
"$ref": "#/components/schemas/authorization_completed_event_payload"
},
{
"$ref": "#/components/schemas/authorization_failed_event_payload"
},
{
"$ref": "#/components/schemas/individual_status_updated_event_payload"
},
{
"$ref": "#/components/schemas/transaction_event_payload"
},
{
"$ref": "#/components/schemas/individual_email_updated_event_payload"
},
{
"$ref": "#/components/schemas/individual_phone_number_updated_event_payload"
},
{
"$ref": "#/components/schemas/individual_name_updated_event_payload"
},
{
"$ref": "#/components/schemas/individual_date_of_birth_updated_event_payload"
},
{
"$ref": "#/components/schemas/individual_address_updated_event_payload"
},
{
"$ref": "#/components/schemas/card_status_changed_payload"
},
{
"$ref": "#/components/schemas/card_issued_payload"
},
{
"$ref": "#/components/schemas/pending_action_event_payload"
}
]
Swagger Editor displays it correctly.
Summary:
OpenAPI spec is valid (verified with Swagger Editor) and displays correctly, but I didn’t managed to display oneOf
schemes correctly in DeveloperHub. Is it possible to fix it somehow?