...

Text file src/github.com/go-openapi/analysis/fixtures/bugs/1851/definitions-3.yaml

Documentation: github.com/go-openapi/analysis/fixtures/bugs/1851

     1definitions:
     2  ServerStatus:
     3    type: string
     4    enum: [OK, Not OK]
     5
     6  Server:
     7    type: object
     8    properties:
     9      Name:
    10        type: string
    11      Status:
    12        $ref: '#/definitions/ServerStatus'
    13      # introduce a circular ref here
    14      SiblingServer:
    15        $ref: '#/definitions/Server'
    16      # introduce a nest ref here
    17      RemoteProps:
    18        $ref: 'definitions-31.yaml#/definitions/RemoteProperty'
    19        # TODO: same with absolute ref (e.g. http://...)

View as plain text