Swagger schemes with "oneOf" keyword doesn't displayed correctly

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?

Hello @Evgeny_Levchenya,

You are right, we do provide this functionality in request body, but not in response body at this moment. I’ll have this improved and I’ll let you know once it’s available.

1 Like

How much time it may take? I’m blocked to have API Reference publicly available without this feature

We already have a working solution for it, but it’s under test. Please allow a day or two.

1 Like

This should now be resolved!

1 Like

Thanks a lot. It was quick

1 Like