I need to pass array in GET, parametrs like at documentation:

swagger: '2.0'
info:
  version: 0.1.2
 title: api
basePath: /api
consumes:
  - application/x-www-form-urlencoded
  - application/json
produces:
  - application/json
paths:
  /users:
    get:
      tags:
        - users
      description: request
      parameters:
        - name: orderBy
          in: query
          required: false
          type: array
          items:
            type: string
          collectionFormat: multi
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/result'
        default:
          description: Error
          schema:
            $ref: "#/definitions/ErrorResponse"

When I press "add item", new swagger-editor show error:

😱 

*Could not render this component, see the console.*Local swagger-ui show 
this error too (I need to work in it). If I press "Execute" input-box 
appears, but if I change collectionFormat, curl does not change.

I tested it in old editor, it show input-box immediately after press "add 
item", but i don't know how work collectionFormat.

Help please :(

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to