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

add cli flag --pdl to determine whether parse operations in dependency #1605

Merged
merged 5 commits into from
Jul 18, 2023

Conversation

sdghchj
Copy link
Member

@sdghchj sdghchj commented Jun 9, 2023

Describe the PR
Add cli flag --pdl to determine whether parse operations in dependency

swag init --pd            // for backward compatibility, only parse models indepedency
swag init --pdl 3        // 0 disabled, 1 only parse models, 2 only parse operations, 3 parse all

Relation issue
#1451

@codecov
Copy link

codecov bot commented Jun 9, 2023

Codecov Report

Patch coverage: 78.57% and no project coverage change.

Comparison is base (e73a0d0) 83.76% compared to head (3e3eaff) 83.76%.

❗ Current head 3e3eaff differs from pull request most recent head b43eb93. Consider uploading reports for the commit b43eb93 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1605   +/-   ##
=======================================
  Coverage   83.76%   83.76%           
=======================================
  Files          19       19           
  Lines        3752     3752           
=======================================
  Hits         3143     3143           
  Misses        521      521           
  Partials       88       88           
Impacted Files Coverage Δ
gen/gen.go 92.60% <ø> (ø)
packages.go 89.12% <50.00%> (ø)
parser.go 93.82% <77.77%> (ø)
golist.go 90.24% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sdghchj sdghchj requested a review from ubogdan June 25, 2023 09:12
@ubogdan ubogdan merged commit 7534a13 into master Jul 18, 2023
9 checks passed
@ubogdan ubogdan deleted the cli_pd_operations branch July 18, 2023 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants