Skip to content

feat: support hosted openapi cli sources#150

Merged
jxom merged 2 commits into
mainfrom
jxom/openapi-url-source
May 27, 2026
Merged

feat: support hosted openapi cli sources#150
jxom merged 2 commits into
mainfrom
jxom/openapi-url-source

Conversation

@jxom
Copy link
Copy Markdown
Member

@jxom jxom commented May 27, 2026

Adds hosted API support for OpenAPI-backed CLIs through Fetch.fromRequest(...). The helper carries the base URL used for forwarding requests and for resolving relative OpenAPI spec paths.

Root CLIs can now generate commands from openapi, and mounted fetch-backed command groups can load specs from JSON URLs. Help output lists generated OpenAPI commands for both root and mounted usage.

Includes a minor changeset for incur.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 27, 2026

Open in StackBlitz

npm i https://pkg.pr.new/incur@150

commit: eaec6f9

@jxom jxom marked this pull request as ready for review May 27, 2026 04:03
@jxom jxom merged commit bfc05ac into main May 27, 2026
3 of 5 checks passed
@jxom jxom deleted the jxom/openapi-url-source branch May 27, 2026 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant