mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-04-30 05:45:37 +08:00
fix: attempt client gh workflow fix #2
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
"lint:prettier": "prettier --check ./src/**/*.{ts}",
|
||||
"open": "http-server -o 9222 -o index.html",
|
||||
"prep-openapi": "rimraf ./.tmp && rimraf ./src/generated && swagger-cli bundle --dereference -o ./.tmp/openapi-temp.json ../docs/openapi.yaml && shx sed -i '^.*\\$schema.*$' '' ./.tmp/openapi-temp.json > ./.tmp/openapi.json",
|
||||
"generate-openapi": "npm run prep-openapi && openapi-generator-cli generate --skip-validate-spec -g typescript-fetch --additional-properties=withInterfaces=true,typescriptThreePlus=true,supportsES6=true,legacyDiscriminatorBehavior=false,enumPropertyNaming=original,modelPropertyNaming=original -i ./.tmp/openapi.json -o ./src/generated > ./.tmp/gen.log",
|
||||
"generate-openapi": "npm run prep-openapi && npx @openapitools/openapi-generator-cli generate --skip-validate-spec -g typescript-fetch --additional-properties=withInterfaces=true,typescriptThreePlus=true,supportsES6=true,legacyDiscriminatorBehavior=false,enumPropertyNaming=original,modelPropertyNaming=original -i ./.tmp/openapi.json -o ./src/generated > ./.tmp/gen.log",
|
||||
"generate:docs": "typedoc"
|
||||
},
|
||||
"prettier": "@blockstack/prettier-config",
|
||||
|
||||
Reference in New Issue
Block a user