...

Text file src/github.com/go-openapi/analysis/fixtures/external/definitions.yml

Documentation: github.com/go-openapi/analysis/fixtures/external

     1definitions:
     2  named:
     3    type: string
     4  tag:
     5    type: object
     6    properties:
     7      id:
     8        type: integer
     9        format: int64
    10      value:
    11        type: string
    12      audit:
    13        $ref: "#/definitions/record"
    14  record:
    15    type: object
    16    properties:
    17      createdAt:
    18        type: string
    19        format: date-time
    20  
    21  nestedThing:
    22    type: object
    23    properties:
    24      record:
    25        type: array
    26        items:
    27          - type: string
    28            format: date-time
    29          - type: object
    30            properties:
    31              createdAt:
    32                type: string
    33                format: date-time
    34          - allOf:
    35              - type: string
    36                format: date
    37              - type: object
    38                additionalProperties:
    39                  type: object
    40                  properties:
    41                    id:
    42                      type: integer
    43                      format: int64
    44                    value:
    45                      type: string
    46            properties:
    47              value:
    48                type: string
    49              name:
    50                $ref: "definitions2.yml#/coordinate"

View as plain text