fix: useUnionTypes for TS oapi codegen
This commit is contained in:
parent
0942df1fa4
commit
0c94930bca
1 changed files with 1 additions and 1 deletions
|
|
@ -1,3 +1,3 @@
|
||||||
npx openapi-typescript-codegen --input ..\..\api\openapi.yaml --output ./src/api --client axios
|
npx openapi-typescript-codegen --input ..\..\api\openapi.yaml --output ./src/api --client axios --useUnionTypes
|
||||||
oapi-codegen --config=api/oapi-codegen.yaml .\api\openapi.yaml
|
oapi-codegen --config=api/oapi-codegen.yaml .\api\openapi.yaml
|
||||||
sqlc generate -f .\sql\sqlc.yaml
|
sqlc generate -f .\sql\sqlc.yaml
|
||||||
Loading…
Add table
Add a link
Reference in a new issue