github.com/josephspurrier/go-swagger@v0.2.1-0.20221129144919-1f672a142a00/fixtures/bugs/1084/fixture-1084.yaml (about)

     1  swagger: "2.0"
     2  info:
     3    version: 0.0.0
     4    title: 'Issue 1084'
     5  definitions:
     6    instant:
     7      type: string
     8      format: date-time
     9    birthday:
    10      type: string
    11      format: date
    12      default: 1982-01-10
    13    elapsed:
    14      type: string
    15      format: duration
    16    witness:
    17      type: string
    18      format: uri
    19    numerical:
    20      type: integer
    21      format: uint32
    22      default: 15
    23    logical:
    24      type: boolean
    25    complicated:
    26      type: object
    27      properties:
    28        p1:
    29          type: string
    30        p2:
    31          type: string
    32          format: date
    33    lessComplicated:
    34      type: array
    35      items: 
    36        type: string 
    37        format: duration
    38  paths:
    39    /time:
    40      get:
    41        description: get server time
    42        operationId: getTime
    43        responses:
    44          '200':
    45            description: getTime success
    46            schema:
    47              $ref: "#/definitions/instant"
    48          default:
    49            description : getTime error