github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/2919/edge-api/shared/version.yml (about)

     1  ---
     2  paths:
     3    root:
     4      get:
     5        summary: Returns version information
     6        security: [ ]
     7        tags:
     8          - Informational
     9        operationId: listRoot
    10        responses:
    11          '200':
    12            $ref: '#/responses/listVersion'
    13    version:
    14      get:
    15        summary: Returns version information
    16        security: [ ]
    17        tags:
    18          - Informational
    19        operationId: listVersion
    20        responses:
    21          '200':
    22            $ref: '#/responses/listVersion'
    23  responses:
    24    listVersion:
    25      description: Version information for the controller
    26      schema:
    27        $ref: '#/definitions/listVersionEnvelope'
    28  
    29  definitions:
    30    listVersionEnvelope:
    31      type: object
    32      required:
    33        - meta
    34        - data
    35      properties:
    36        meta:
    37          $ref: 'standard-responses.yml#/definitions/meta'
    38        data:
    39          $ref: '#/definitions/version'
    40    version:
    41      type: object
    42      properties:
    43        buildDate:
    44          type: string
    45          example: '2020-02-11 16:09:08'
    46        revision:
    47          type: string
    48          example: 'ea556fc18740'
    49        runtimeVersion:
    50          type: string
    51          example: 'go1.13.5'
    52        version:
    53          type: string
    54          example: 'v0.9.0'
    55        apiVersions:
    56          type: object
    57          additionalProperties:
    58            type: object
    59            additionalProperties:
    60              $ref: '#/definitions/apiVersion'
    61    apiVersion:
    62      type: object
    63      required:
    64        - path
    65      properties:
    66        version:
    67          type: string
    68        path:
    69          type: string
    70        apiBaseUrls:
    71          type: array
    72          items:
    73            type: string
    74    versionInfo:
    75      type: object
    76      required:
    77        - os
    78        - version
    79        - arch
    80        - buildDate
    81        - revision
    82      properties:
    83        os:
    84          type: string
    85        version:
    86          type: string
    87        arch:
    88          type: string
    89        buildDate:
    90          type: string
    91        revision:
    92          type: string