github.com/w3security/vervet/v5@v5.3.1-0.20230618081846-5bd9b5d799dc/testdata/competing-specs/projects/2021-08-20/spec.yaml (about)

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