github.com/hsdp/go-swagger@v0.19.0/fixtures/bugs/910/fixture-910-2.yaml (about)

     1  swagger: "2.0"
     2  
     3  info:
     4    title: MyTest
     5    description: MyTest
     6    version: "1.0.0"
     7  
     8  definitions:
     9    myTestObject:
    10              type: object
    11              properties:
    12                foo:
    13                  type: object
    14                bar:
    15                  type: integer
    16                  format: int64
    17                baz:
    18                  type: integer
    19                  format: int64
    20                quux:
    21                  type: array
    22                  items:
    23                    type: string
    24              required:
    25                - foo
    26                - bar
    27  paths:
    28    /mytest:
    29      get:
    30        description: my test
    31        responses:
    32          200:
    33            description: my test
    34            schema:
    35              $ref: '#/definitions/myTestObject'