Skip to content

Commit

Permalink
feat: remove-open-api-latest (#481)
Browse files Browse the repository at this point in the history
- remove old go generate payments,webhooks, search
- froze fctl membership'sdk generation to v6.6.0
- Update fctl membership'sdk
- remove old auth task who was using the latest openapigeneration
- froze openapitools/openapi-generator-cli:v6.6.0 on ledger sdk generation
  • Loading branch information
Dav-14 authored Aug 11, 2023
1 parent 3685e36 commit 6bb1245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ tasks:
msg: Please specify generator as first cli arg (ie "task template -- go")
cmds:
- >
docker run --rm -w /local -v ${PWD}:/local openapitools/openapi-generator-cli:latest author
docker run --rm -w /local -v ${PWD}:/local openapitools/openapi-generator-cli:v6.6.0 author
template -g {{.CLI_ARGS}} -o templates/{{.CLI_ARGS}}
sdk:generate:
Expand All @@ -160,7 +160,7 @@ tasks:
- wget https://raw.githubusercontent.com/formancehq/ledger/{{.VERSION}}/pkg/api/controllers/swagger.yaml -O swagger.yaml
- sed -i -e "s/LEDGER_VERSION/{{.VERSION}}/g" swagger.yaml
- >
docker run --rm -w /local -v ${PWD}:/local openapitools/openapi-generator-cli:latest generate
docker run --rm -w /local -v ${PWD}:/local openapitools/openapi-generator-cli:v6.6.0 generate
-i ./swagger.yaml
-g {{ (split "-" .CLI_ARGS)._0 }}
-c ./configs/{{.CLI_ARGS}}.yaml
Expand Down

0 comments on commit 6bb1245

Please sign in to comment.