0

I have diff thing that is not shown in my swagger UI but it is written in my yaml file in the code. I use spring doc for the génération of the UI. for exemple i have multiple response http 200, 201 and i only see the 200 the description is not show also. i have ok instead of my description,...swaggerui-image

responses:
        200:
          description: 'The assessment already exist'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssessmentResponse'
        201:
          description: 'The assessment is created'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssessmentResponse'

i would like to show the multiple http 200 and the description.

0 Answers0