Sha256: 5f8e918df3ec718289d51bd8d3cd1ff00ef12ba09f59e8bf1e9e30868a617324

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

swagger: 2.0
info:
  version: 1.0.0
  title: Swagger Petstore
  license:
    name: MIT
host: petstore.swagger.wordnik.com
basePath: /v1
schemes:
  - http
consumes:
  - application/json
produces:
  - application/json
paths:
  /pets:
    get:
      summary: List all pets
      x-my-custom-param: whatever the hell I want!
      operationId: listPets
      responses:
        200:
          description: An paged array of pets
          headers:
            x-next:
              type: string
              description: A link to the next page of responses
          schema:
            $ref: Pets
        default:
          description: unexpected error
          schema:
            $ref: Error

definitions:
  Pet:
    required:
      - id
      - name
    properties:
      id:
        type: integer
        format: int64
      name:
        type: string
      tag:
        type: string
  Pets:
    type: array
    items:
      $ref: Pet
  Error:
    required:
      - code
      - message
    properties:
      code:
        type: integer
        format: int32
      message:
        type: string

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
swagger-parser-0.2.6 spec/fixtures/custom-properties.yaml
swagger-parser-0.2.5 spec/fixtures/custom-properties.yaml