Commit caba0c0
Fix OpenAPI provider generation and doc retrieval (v1.6.1)
Fixes based on decompiling wm.server.openapi:generateProvider:
- Both sourceUri AND openapiUrl are required (not just one)
- For inline specs: set both to "inline" and pass openapiContent
- IS cannot fetch remote URLs reliably -- recommend downloading
the spec externally and passing content inline
- Supports both JSON and YAML OpenAPI 3.0 specs (both tested E2E)
- Fixed getOpenAPIDoc to include openapi.json format parameter
Updated tool descriptions with correct usage guidance.
Full E2E: create folder -> generate from inline JSON spec ->
retrieve OpenAPI doc -> cleanup.
151/151 E2E tests passing.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 48de4ae commit caba0c0
5 files changed
Lines changed: 18 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2358 | 2358 | | |
2359 | 2359 | | |
2360 | 2360 | | |
2361 | | - | |
| 2361 | + | |
| 2362 | + | |
| 2363 | + | |
2362 | 2364 | | |
2363 | 2365 | | |
2364 | 2366 | | |
| |||
2371 | 2373 | | |
2372 | 2374 | | |
2373 | 2375 | | |
2374 | | - | |
| 2376 | + | |
2375 | 2377 | | |
2376 | 2378 | | |
2377 | 2379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
461 | | - | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
462 | 471 | | |
463 | 472 | | |
464 | 473 | | |
| |||
0 commit comments