Discussions

Ask a Question
Back to All

Support for Discriminator

Hi there,

so we're working hard to port our API spec (currently in redoc) to ReadMe (to make use of the new API reference section). However, I can't find any information on whether or not you allow the discriminator in the request body?

We have a situation that depending on a given parameter selected, the user needs to send different fields. In redocly they have a cool drop-down menu that you select and then the required fields are displayed depending on what you have selected.

Is there something similar in ReadMe?

Cheers,

Dom