File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ projectfolder="$(realpath $(dirname ${BASH_SOURCE[0]}))"
5
5
6
6
# Generate source types from OpenAPI spec
7
7
echo " Generating type source.."
8
- cd ${projectfolder} && ${GOPATH} /bin/oapi-codegen -config types.cfg .yaml openapi.yaml && cd - > /dev/null
8
+ cd ${projectfolder} && ${GOPATH} /bin/oapi-codegen -config config/ types.yaml openapi.yaml && cd - > /dev/null
9
9
10
10
# Generate endpoint bindings source from OpenAPI spec
11
11
echo " Generating endpoint bindings source.."
12
- cd ${projectfolder} && ${GOPATH} /bin/oapi-codegen -config endpoint.cfg .yaml openapi.yaml && cd - > /dev/null
12
+ cd ${projectfolder} && ${GOPATH} /bin/oapi-codegen -config config/ endpoint.yaml openapi.yaml && cd - > /dev/null
13
13
14
14
echo " Done."
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments