# OpenAPI Petstore
# This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
# OpenAPI spec version: 1.0.0
# Generated by OpenAPI Generator: https://openapi-generator.tech
#

# package petstore

# store_api

type mutation {
  # Delete purchase order by ID
  # For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors
  # @param String! orderId ID of the order that needs to be deleted
  # @return [null]
  DeleteOrder(orderId: String!): null

  # Place an order for a pet
  # @param Order body order placed for purchasing the pet
  # @return [Order]
  PlaceOrder(body: Order): Order

}

type query {
  # Returns pet inventories by status
  # Returns a map of status codes to quantities
  # @return [Int!]
  GetInventory(): Int!

  # Find purchase order by ID
  # For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generated exceptions
  # @param Int! orderId ID of pet that needs to be fetched
  # @return [Order]
  GetOrderById(orderId: Int!): Order

}

