Skip to content

Conversation

@smorimoto
Copy link
Collaborator

Fixes #1099 (again)

@smorimoto smorimoto added the bug Something isn't working label Mar 24, 2025
Copilot AI review requested due to automatic review settings March 24, 2025 09:05
@changeset-bot
Copy link

changeset-bot bot commented Mar 24, 2025

🦋 Changeset detected

Latest commit: c124f88

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 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 addresses CLI argument definition issues and refines the client generation logic. Key changes include:

  • Documenting patch releases via changeset files.
  • Updating the "extract-request-params" CLI argument to include an explicit boolean type.
  • Adjusting the client generation logic in index.ts to rely solely on the "no-client" argument and explicitly initializing customConfig.

Reviewed Changes

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

File Description
.changeset/easy-paths-check.md Documents a patch for the updated generateClient logic
.changeset/early-kings-marry.md Documents a patch for the CLI argument type update
.changeset/moody-dodos-brake.md Documents a patch for initializing customConfig in the command run
index.ts Updates CLI argument definitions and refines generateClient logic
Comments suppressed due to low confidence (1)

index.ts:318

  • Ensure that the removal of the 'axios' condition is intentional and that this change has been verified against any existing usage to avoid unintended regressions.
generateClient: !args["no-client"],

@smorimoto smorimoto merged commit 49be7e1 into main Mar 24, 2025
5 checks passed
@smorimoto smorimoto deleted the fix-cli-again branch March 24, 2025 09:07
@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.

Release v13.0.24 doesn't start the CLI

2 participants