Skip to content
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

extends ts gen cmd args: url(base url) and body(custom http request body). #4630

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chaosannals
Copy link

extends ts gen cmd args: url(base url) and body(custom http request body).

@kevwan kevwan added good first issue Good for newcomers area/goctl Categorizes issue or PR as related to goctl. labels Feb 9, 2025
Copy link

codecov bot commented Feb 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.57%. Comparing base (8690859) to head (7562da1).
Report is 260 commits behind head on master.

Additional details and impacted files

see 8 files with indirect coverage changes

@@ -18,9 +16,6 @@ func genRequest(dir string) error {
}

filename := filepath.Join(abs, "gocliRequest.ts")
if pathx.FileExists(filename) {
Copy link
Contributor

Choose a reason for hiding this comment

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

why to remove the existance check?

@kevwan
Copy link
Contributor

kevwan commented Feb 9, 2025

Also, please remove the unused variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/goctl Categorizes issue or PR as related to goctl. good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants