Commit 0f949b0
Extends OpenAPISpecGeneratorPlugin to include default values for parameters (#1323)
* refactor: Fix null exception as key cannot be null
* feat: Add IncludeParameters property to list params be included with their values as defaults
* refactor: Use deconstruction
* feat: Add matched IncludeParameters into spec with their default values
* Fix includeParameters description
* Update openapispecgeneratorplugin.schema.json
Co-authored-by: Copilot <[email protected]>
* fix: Update null check to use pattern matching for query parameters
---------
Co-authored-by: Waldek Mastykarz <[email protected]>
Co-authored-by: Copilot <[email protected]>1 parent eb78ef9 commit 0f949b0
File tree
2 files changed
+33
-9
lines changed- DevProxy.Plugins/Generation
- schemas/v1.0.0
2 files changed
+33
-9
lines changedLines changed: 25 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
319 | 321 | | |
320 | 322 | | |
321 | 323 | | |
322 | | - | |
323 | | - | |
324 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
325 | 327 | | |
326 | | - | |
| 328 | + | |
327 | 329 | | |
328 | | - | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
329 | 333 | | |
330 | | - | |
| 334 | + | |
331 | 335 | | |
332 | | - | |
| 336 | + | |
333 | 337 | | |
334 | | - | |
335 | | - | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
336 | 351 | | |
| 352 | + | |
337 | 353 | | |
338 | 354 | | |
339 | 355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
33 | 41 | | |
34 | 42 | | |
35 | 43 | | |
| |||
0 commit comments