2016-07-10 12 views
0

Ich habe fruchtlos auf wie eine Spezifikation POST Körper mit einer Liste darin zu suchen. Wie mache ich es? Hier ist, was ich habe:Swagger POST body Liste

/groups: 
    post: 
     summary: Creates a group 
     parameters: 
     - name: body 
      in: body 
      schema: 
      properties: 
       name: 
       type: string 
       description: 
       type: string 
       groupType: 
       type: string 
       enum: [ "open", "closed", "secret" ] 
       users: 
       type: string list # <--------- a list of strings 
     responses: 
     201: 
      description: Group created 
     default: 
      description: Group creation failed 

Antwort

Verwandte Themen