Forum Discussion

zhas-off's avatar
zhas-off
New Member
2 years ago

When describing body response

responses:

    '200':

      description: OK

      content:

        application/json:

          schema:

            $ref: '../schemas.yaml#/components/schemas/ValidationResponse'

          examples:

            change route:

              value:

                [

                  {

                    type: 'sometype',

                    method: 'somemethod',

                    args: []

                  }

                ]

When I am describing this values, my last "args" row ends with a comma like this:

[

{

"type": "sometype",

"method": "somemethod",

"args": [ ],

}

]

How can I remove this comma?

No RepliesBe the first to reply