github.com/snyk/vervet/v5@v5.11.1-0.20240202085829-ad4dd7fb6101/testdata/competing-specs/special_projects/2023-03-13/spec.yaml (about)

     1  openapi: 3.0.3
     2  x-snyk-api-stability: experimental
     3  info:
     4    title: Registry
     5    version: 3.0.0
     6  servers:
     7    - url: /api/v3
     8      description: Snyk Registry
     9  tags:
    10    - name: Special Projects
    11      description: Special Projects
    12  paths:
    13    /orgs/{org_id}/projects/{project_id}:
    14      delete:
    15        tags: ["Special Projects"]
    16        description: Delete an organization's special project.
    17        operationId: deleteOrgsProject
    18        parameters:
    19          - { $ref: 'https://raw.githubusercontent.com/snyk/sweater-comb/v1.2.2/components/parameters/version.yaml#/Version' }
    20          - name: org_id
    21            in: path
    22            required: true
    23            description: The id of the org containing the project
    24            schema:
    25              type: string
    26          - name: project_id
    27            in: path
    28            required: true
    29            description: The id of the project
    30            schema:
    31              type: string
    32          - name: focus_type
    33            in: query
    34            required: true
    35            description: The special project's focus
    36            schema:
    37              type: string
    38              enum:
    39                - buzzwords
    40                - skunkworks
    41                - bad-ideas
    42                - good-ideas
    43          - name: x-private-matter
    44            in: header
    45            description: It's a secret to everybody
    46            schema:
    47              type: string
    48        responses:
    49          '400': { $ref: 'https://raw.githubusercontent.com/snyk/sweater-comb/v1.2.2/components/responses/400.yaml#/400' }
    50          '401': { $ref: 'https://raw.githubusercontent.com/snyk/sweater-comb/v1.2.2/components/responses/401.yaml#/401' }
    51          '404': { $ref: 'https://raw.githubusercontent.com/snyk/sweater-comb/v1.2.2/components/responses/404.yaml#/404' }
    52          '500': { $ref: 'https://raw.githubusercontent.com/snyk/sweater-comb/v1.2.2/components/responses/500.yaml#/500' }
    53          '204':
    54            description: 'Project was deleted'
    55            headers:
    56              snyk-version-requested: { $ref: 'https://raw.githubusercontent.com/snyk/sweater-comb/v1.2.2/components/headers/headers.yaml#/VersionRequestedResponseHeader' }
    57              snyk-version-served: { $ref: 'https://raw.githubusercontent.com/snyk/sweater-comb/v1.2.2/components/headers/headers.yaml#/VersionServedResponseHeader' }
    58              snyk-request-id: { $ref: 'https://raw.githubusercontent.com/snyk/sweater-comb/v1.2.2/components/headers/headers.yaml#/RequestIdResponseHeader' }