{
  "apiVersion":"0.2",
  "swaggerVersion":"1.1",
  "basePath":"http://petstore.swagger.wordnik.com:80/api",
  "resourcePath":"/store",
  "apis":[
    {
      "path":"/store.{format}/order/{orderId}",
      "description":"Operations about store",
      "operations":[
        {
          "httpMethod":"GET",
          "summary":"Find purchase order by ID",
          "notes":"For valid response try integer IDs with value <= 5. Anything above 5 or nonintegers will generate API errors",
          "responseClass":"Order",
          "nickname":"getOrderById",
          "parameters":[
            {
              "name":"orderId",
              "description":"ID of pet that needs to be fetched",
              "paramType":"path",
              "required":true,
              "allowMultiple":false,
              "dataType":"string"
            }
          ],
          "errorResponses":[
            {
              "code":400,
              "reason":"Invalid ID supplied"
            },
            {
              "code":404,
              "reason":"Order not found"
            }
          ]
        },
        {
          "httpMethod":"DELETE",
          "summary":"Delete purchase order by ID",
          "notes":"For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors",
          "responseClass":"void",
          "nickname":"deleteOrder",
          "parameters":[
            {
              "name":"orderId",
              "description":"ID of the order that needs to be deleted",
              "paramType":"path",
              "required":true,
              "allowMultiple":false,
              "dataType":"string"
            }
          ],
          "errorResponses":[
            {
              "code":400,
              "reason":"Invalid ID supplied"
            },
            {
              "code":404,
              "reason":"Order not found"
            }
          ]
        }
      ]
    },
    {
      "path":"/store.{format}/order",
      "description":"Operations about store",
      "operations":[
        {
          "httpMethod":"POST",
          "summary":"Place an order for a pet",
          "responseClass":"void",
          "nickname":"placeOrder",
          "parameters":[
            {
              "description":"order placed for purchasing the pet",
              "paramType":"body",
              "required":true,
              "allowMultiple":false,
              "dataType":"Order"
            }
          ],
          "errorResponses":[
            {
              "code":400,
              "reason":"Invalid order"
            }
          ]
        }
      ]
    }
  ],
  "models":{
    "Order":{
      "id":"Order",
      "properties":{
        "id":{
          "type":"long"
        },
        "petId":{
          "type":"long"
        },
        "status":{
          "allowableValues":{
            "valueType":"LIST",
            "values":[
              "placed",
              " approved",
              " delivered"
            ],
            "valueType":"LIST"
          },
          "description":"Order Status",
          "type":"string"
        },
        "quantity":{
          "type":"int"
        },
        "shipDate":{
          "type":"Date"
        }
      }
    }
  }
}