{
  "apiVersion": "1.0.0",
  "swaggerVersion": "1.2",
  "info": {
    "title": "Complex Parameters test"
  },
  "apis": [
    {
      "path": "/",
      "operations": [
        {
          "method": "POST",
          "summary": "POST to root",
          "parameters": [
            {
              "name": "document",
              "paramType": "body",
              "description": "The document",
              "required": true,
              "type": "integer",
              "defaultValue": 0,
              "minimum": 0,
              "maximum": 100
            }
          ],
          "responseMessages": [
            {
              "code": 200,
              "message": "POST successful"
            }
          ]
        },
        {
          "method": "GET",
          "summary": "GET from root",
          "parameters": [
            {
              "name": "documentId",
              "paramType": "query",
              "description": "The document ID",
              "required": false,
              "type": "string",
              "defaultValue": "latest"
            }
          ],
          "responseMessages": [
            {
              "code": 200,
              "message": "GET successful"
            }
          ]
        }
      ]
    }
  ],
  "models": {
  }
}
