redoc icon indicating copy to clipboard operation
redoc copied to clipboard

Allow description for the oneOf selectors

Open monolithed opened this issue 7 years ago • 5 comments

paths:
  /method:
    post:
      description: My DEFAULT description
        requestBody:
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/RequestOne'
                  - $ref: '#/components/schemas/RequestTwo'

components:
  schemas:
    RequestOne:
      description: My OPTIONAL description for the first method

    RequestSecond:
      description: My OPTIONAL description for the second method

It would be nice to change the description section at the top level of the method as well.

monolithed avatar Dec 18 '18 14:12 monolithed

Related to https://github.com/Redocly/redoc/issues/833

RomanHotsiy avatar Jun 27 '20 15:06 RomanHotsiy

Any updates on this issue?

valasatava avatar Nov 25 '20 20:11 valasatava

Any updates?

Zerogoki00 avatar May 03 '23 09:05 Zerogoki00

any updates?

makeevolution avatar Jul 27 '24 08:07 makeevolution

Any updates?

KostadinovK avatar Apr 07 '25 08:04 KostadinovK