github.com/w3security/vervet/v5@v5.3.1-0.20230618081846-5bd9b5d799dc/testdata/competing-specs/special_projects/2023-03-13/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: 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 - { 20 $ref: "https://raw.githubusercontent.com/w3security/sweater-comb/v1.2.2/components/parameters/version.yaml#/Version", 21 } 22 - name: org_id 23 in: path 24 required: true 25 description: The id of the org containing the project 26 schema: 27 type: string 28 - name: project_id 29 in: path 30 required: true 31 description: The id of the project 32 schema: 33 type: string 34 - name: focus_type 35 in: query 36 required: true 37 description: The special project's focus 38 schema: 39 type: string 40 enum: 41 - buzzwords 42 - skunkworks 43 - bad-ideas 44 - good-ideas 45 - name: x-private-matter 46 in: header 47 description: It's a secret to everybody 48 schema: 49 type: string 50 responses: 51 "400": 52 { 53 $ref: "https://raw.githubusercontent.com/w3security/sweater-comb/v1.2.2/components/responses/400.yaml#/400", 54 } 55 "401": 56 { 57 $ref: "https://raw.githubusercontent.com/w3security/sweater-comb/v1.2.2/components/responses/401.yaml#/401", 58 } 59 "404": 60 { 61 $ref: "https://raw.githubusercontent.com/w3security/sweater-comb/v1.2.2/components/responses/404.yaml#/404", 62 } 63 "500": 64 { 65 $ref: "https://raw.githubusercontent.com/w3security/sweater-comb/v1.2.2/components/responses/500.yaml#/500", 66 } 67 "204": 68 description: "Project was deleted" 69 headers: 70 w3security-version-requested: 71 { 72 $ref: "https://raw.githubusercontent.com/w3security/sweater-comb/v1.2.2/components/headers/headers.yaml#/VersionRequestedResponseHeader", 73 } 74 w3security-version-served: 75 { 76 $ref: "https://raw.githubusercontent.com/w3security/sweater-comb/v1.2.2/components/headers/headers.yaml#/VersionServedResponseHeader", 77 } 78 w3security-request-id: 79 { 80 $ref: "https://raw.githubusercontent.com/w3security/sweater-comb/v1.2.2/components/headers/headers.yaml#/RequestIdResponseHeader", 81 }