|
1 | 1 | {
|
2 |
| - "/apis/{fqdn}/v1/{resource}": { |
| 2 | + "/apis/{fqdn}/{version}/{resource}": { |
3 | 3 | "get": {
|
4 | 4 | "operationId": "listThirdPartyResource",
|
5 | 5 | "summary": "Gets Resources",
|
|
22 | 22 | "description": "The Third party Resource fqdn",
|
23 | 23 | "type": "string"
|
24 | 24 | },
|
| 25 | + { |
| 26 | + "name": "version", |
| 27 | + "in": "path", |
| 28 | + "required": true, |
| 29 | + "description": "The Third party Resource version", |
| 30 | + "type": "string" |
| 31 | + }, |
25 | 32 | {
|
26 | 33 | "name": "resource",
|
27 | 34 | "in": "path",
|
|
40 | 47 | }
|
41 | 48 | }
|
42 | 49 | },
|
43 |
| - "/apis/{fqdn}/v1/namespaces/{namespace}/{resource}": { |
| 50 | + "/apis/{fqdn}/{version}/namespaces/{namespace}/{resource}": { |
44 | 51 | "post": {
|
45 | 52 | "operationId": "createThirdPartyResource",
|
46 | 53 | "summary": "Create a Resource",
|
|
63 | 70 | "description": "The Third party Resource fqdn",
|
64 | 71 | "type": "string"
|
65 | 72 | },
|
| 73 | + { |
| 74 | + "name": "version", |
| 75 | + "in": "path", |
| 76 | + "required": true, |
| 77 | + "description": "The Third party Resource version", |
| 78 | + "type": "string" |
| 79 | + }, |
66 | 80 | {
|
67 | 81 | "name": "resource",
|
68 | 82 | "in": "path",
|
|
90 | 104 | }
|
91 | 105 | }
|
92 | 106 | },
|
93 |
| - "/apis/{fqdn}/v1/namespaces/{namespace}/{resource}/{name}": { |
| 107 | + "/apis/{fqdn}/{version}/namespaces/{namespace}/{resource}/{name}": { |
94 | 108 | "get": {
|
95 | 109 | "operationId": "getThirdPartyResource",
|
96 | 110 | "summary": "Gets a specific Resource",
|
|
120 | 134 | "description": "The Third party Resource fqdn",
|
121 | 135 | "type": "string"
|
122 | 136 | },
|
| 137 | + { |
| 138 | + "name": "version", |
| 139 | + "in": "path", |
| 140 | + "required": true, |
| 141 | + "description": "The Third party Resource version", |
| 142 | + "type": "string" |
| 143 | + }, |
123 | 144 | {
|
124 | 145 | "name": "resource",
|
125 | 146 | "in": "path",
|
|
199 | 220 | "description": "The Resource's namespace",
|
200 | 221 | "type": "string"
|
201 | 222 | },
|
| 223 | + { |
| 224 | + "name": "name", |
| 225 | + "in": "path", |
| 226 | + "required": true, |
| 227 | + "description": "The Resource's name", |
| 228 | + "type": "string" |
| 229 | + }, |
202 | 230 | {
|
203 | 231 | "name": "fqdn",
|
204 | 232 | "in": "path",
|
205 | 233 | "required": true,
|
206 | 234 | "description": "The Third party Resource fqdn",
|
207 | 235 | "type": "string"
|
208 | 236 | },
|
| 237 | + { |
| 238 | + "name": "version", |
| 239 | + "in": "path", |
| 240 | + "required": true, |
| 241 | + "description": "The Third party Resource version", |
| 242 | + "type": "string" |
| 243 | + }, |
209 | 244 | {
|
210 | 245 | "name": "resource",
|
211 | 246 | "in": "path",
|
|
0 commit comments