github.com/snyk/vervet/v5@v5.11.1-0.20240202085829-ad4dd7fb6101/testdata/resources/users/2023-06-02/spec.yaml (about)

     1  openapi: 3.0.3
     2  x-snyk-api-stability: experimental
     3  x-snyk-api-lifecycle: sunset
     4  info:
     5    title: Registry
     6    version: 3.0.0
     7  servers:
     8    - url: /api/v3
     9      description: Snyk Registry
    10  tags:
    11    - name: Users
    12      description: Users
    13    - name: Something
    14      description: Something
    15  paths:
    16    /users:
    17      get:
    18        x-snyk-api-lifecycle: sunset
    19        tags: ["Users"]
    20        description: get users.
    21        operationId: getUsers
    22        responses:
    23          '400': { $ref: 'https://raw.githubusercontent.com/snyk/sweater-comb/v1.2.2/components/responses/400.yaml#/400' }
    24          '401': { $ref: 'https://raw.githubusercontent.com/snyk/sweater-comb/v1.2.2/components/responses/401.yaml#/401' }
    25          '404': { $ref: 'https://raw.githubusercontent.com/snyk/sweater-comb/v1.2.2/components/responses/404.yaml#/404' }
    26          '500': { $ref: 'https://raw.githubusercontent.com/snyk/sweater-comb/v1.2.2/components/responses/500.yaml#/500' }
    27          '200':
    28            description: 'we got some users'
    29            headers:
    30              snyk-version-requested: { $ref: 'https://raw.githubusercontent.com/snyk/sweater-comb/v1.2.2/components/headers/headers.yaml#/VersionRequestedResponseHeader' }
    31              snyk-version-served: { $ref: 'https://raw.githubusercontent.com/snyk/sweater-comb/v1.2.2/components/headers/headers.yaml#/VersionServedResponseHeader' }
    32              snyk-request-id: { $ref: 'https://raw.githubusercontent.com/snyk/sweater-comb/v1.2.2/components/headers/headers.yaml#/RequestIdResponseHeader' }