Commit de76056
authored
Fix some small openAPI issues (#3299)
## Problem
The current **openAPI** spec validation is failing when calling
`openapi-spec-validator out/openapi/*`
```bash
openapi-spec-validator out/openapi/*
out/openapi/config.json: Validation Error: Path parameter 'action' for 'post' operation in '/api/v2/action' was not resolved
8
```
## Solution
The **PUT** and **PATCH** for **/api/v2/config** as well as the POST for
**/api/v2/action** receives the value as the body content and does not
receive an specific param.2 files changed
Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | 217 | | |
220 | 218 | | |
221 | 219 | | |
| |||
232 | 230 | | |
233 | 231 | | |
234 | 232 | | |
| 233 | + | |
235 | 234 | | |
236 | 235 | | |
237 | 236 | | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | 237 | | |
242 | 238 | | |
243 | 239 | | |
| |||
410 | 406 | | |
411 | 407 | | |
412 | 408 | | |
| 409 | + | |
413 | 410 | | |
414 | 411 | | |
415 | 412 | | |
416 | 413 | | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | 414 | | |
421 | 415 | | |
422 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
1 | 8 | | |
2 | 9 | | |
3 | 10 | | |
| |||
0 commit comments