Skip to content

Fix default value for no-client option in generateCommand to false #1118

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

Closes #1117

@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 16:54
Copy link

changeset-bot bot commented Mar 24, 2025

🦋 Changeset detected

Latest commit: 00f8995

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

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 pull request fixes the default value for the "no-client" option in generateCommand to false, ensuring consistent behavior across the API generation process.

  • Updated the changeset file to document the patch.
  • Changed the default value in index.ts from a dynamic negation of codeGenBaseConfig.generateClient to a constant false.

Reviewed Changes

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

File Description
.changeset/dark-memes-help.md Added changeset entry summarizing the fix
index.ts Updated the default value for the "no-client" option

@smorimoto smorimoto merged commit a40ba58 into main Mar 24, 2025
5 checks passed
@smorimoto smorimoto deleted the fix-no-client-again branch March 24, 2025 17:00
@github-actions github-actions bot mentioned this pull request Mar 24, 2025
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.

Generating with --no-client flag includes a client
1 participant