github.com/kaisawind/go-swagger@v0.19.0/fixtures/bugs/1111/arrayParam.json (about)

     1  {
     2      "swagger": "2.0",
     3      "host": "localhost",
     4      "info": {
     5          "description": "",
     6          "version": "",
     7          "title": "",
     8          "termsOfService": ""
     9      },
    10      "basePath": "/api/v1/",
    11      "paths": {
    12          "/clusters/elasticsearch/{cluster_id}/instances/{instance_ids}/_start": {
    13              "post": {
    14                  "operationId": "start-es-cluster-instances",
    15                  "parameters": [
    16                      {
    17                          "name": "cluster_id",
    18                          "in": "path",
    19                          "description": "Identifier for the Elasticsearch cluster",
    20                          "required": true,
    21                          "type": "string"
    22                      },
    23                      {
    24                          "name": "instance_ids",
    25                          "in": "path",
    26                          "description": "Optional comma-delimited list of instance identifiers of the Elasticsearch cluster, otherwise will apply to all instances",
    27                          "required": true,
    28                          "type": "array",
    29                          "items": {
    30                              "type": "string"
    31                          },
    32                          "collectionFormat": "csv"
    33                      }
    34                  ],
    35                  "responses": {
    36                      "202": {
    37                          "description": "The start command was issued successfully, use the \"GET\" command on the /{cluster_id} resource to monitor progress"
    38                      }
    39                  }
    40              }
    41          }
    42      }
    43  }