Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: FingerLeader <[email protected]>
  • Loading branch information
FingerLeader committed Nov 25, 2024
1 parent a5032e8 commit 710cc4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ addcopy: ## Add copyright to all files
generate-v1beta1-client: generate-v1beta1-serverless-client generate-v1beta1-iam-client generate-v1beta1-dedicated-client ## Generate v1beta1 client

.PHONY: generate-v1beta1-serverless-client
generate-v1beta1-serverless-client: install-openapi-generator ## Generate v1beta1 client
generate-v1beta1-serverless-client: install-openapi-generator ## Generate serverless client
@echo "==> Generating serverless branch client"
rm -rf pkg/tidbcloud/v1beta1/serverless/branch
cd tools/openapi-generator && npx openapi-generator-cli generate --inline-schema-options RESOLVE_INLINE_ENUMS=true --additional-properties=withGoMod=false,enumClassPrefix=true,disallowAdditionalPropertiesIfNotPresent=false --global-property=apiTests=false,apiDocs=false,modelDocs=false,modelTests=false -i ../../pkg/tidbcloud/v1beta1/serverless/branch.swagger.json -g go -o ../../pkg/tidbcloud/v1beta1/serverless/branch --package-name branch
Expand Down

0 comments on commit 710cc4c

Please sign in to comment.