Skip to content

[OpenAPI] Add a CLI to configure export parameters #4426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

swallez
Copy link
Member

@swallez swallez commented May 29, 2025

The work on the API reference docs requires a specialized version of the OpenAPI export (e.g. merging operations in PR #4415). This PR adds CLI arguments to the OpenAPI export so that we can easily produce several versions.

The native (main.rs) and the wasm (compiler-wasm-lib/lib.rs) main entry points now use the same CLI parameters. The clap library isn't compatible with wasm and has been replaced by argh, which is also smaller.

PR #4415 is dependent on this one to add the "merge operations" CLI flag.

@swallez swallez requested a review from l-trotta May 29, 2025 11:59
@swallez swallez requested a review from a team as a code owner May 29, 2025 11:59
Copy link
Contributor

@l-trotta l-trotta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants