Skip to content

Fix default value for no-client argument in command configuration #1108

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

Merged
merged 1 commit into from
Mar 24, 2025

Conversation

smorimoto
Copy link
Collaborator

Fixes #1105
Fixes #1099

Signed-off-by: Sora Morimoto <sora@morimoto.io>
@smorimoto smorimoto added the bug Something isn't working label Mar 24, 2025
@Copilot Copilot AI review requested due to automatic review settings March 24, 2025 09:17
Copy link

changeset-bot bot commented Mar 24, 2025

🦋 Changeset detected

Latest commit: 1e3b70e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
swagger-typescript-api Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@smorimoto smorimoto merged commit b870bf4 into main Mar 24, 2025
4 checks passed
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes the default value for the "no-client" argument in the command configuration based on issues #1105 and #1099. Key changes include:

  • Updating the default value for "no-client" in index.ts to the inverse of codeGenBaseConfig.generateClient.
  • Adding/updating changeset files to document the fix.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.changeset/five-moles-wonder.md Adds a changeset documenting the patch fix.
index.ts Updates the default logic for the "no-client" argument.
.changeset/easy-paths-check.md Adjusts wording in the changeset for clarity.
Comments suppressed due to low confidence (1)

index.ts:140

  • Ensure that tests are updated or added to verify that the new default behavior for the 'no-client' argument accurately reflects the intended inversion logic.
default: !codeGenBaseConfig.generateClient,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Axios it not generated Release v13.0.24 doesn't start the CLI
1 participant