github.com/go-swagger/go-swagger@v0.31.0/fixtures/bugs/2919/edge-api/client/protocols.yml (about)

     1  ---
     2  paths:
     3    protocols:
     4      get:
     5        summary: Return a list of the listening Edge protocols
     6        security: [ ]
     7        tags:
     8          - Informational
     9        operationId: listProtocols
    10        responses:
    11          '200':
    12            $ref: '#/responses/listProtocols'
    13  
    14  responses:
    15    listProtocols:
    16      description: A list of supported Edge protocols
    17      schema:
    18        $ref: '#/definitions/listProtocolsEnvelope'
    19  
    20  definitions:
    21    listProtocolsEnvelope:
    22      type: object
    23      required:
    24        - meta
    25        - data
    26      properties:
    27        meta:
    28          $ref: '../shared/standard-responses.yml#/definitions/meta'
    29        data:
    30          $ref: '#/definitions/listProtocols'
    31    listProtocols:
    32      type: object
    33      additionalProperties:
    34        $ref: '#/definitions/protocol'
    35    protocol:
    36      type: object
    37      required:
    38        - address
    39      properties:
    40        address:
    41          type: string