Skip to content

Commit b77eb3a

Browse files
move codegen config
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
1 parent 32ec16b commit b77eb3a

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

index/server/codegen.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ projectfolder="$(realpath $(dirname ${BASH_SOURCE[0]}))"
55

66
# Generate source types from OpenAPI spec
77
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
99

1010
# Generate endpoint bindings source from OpenAPI spec
1111
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
1313

1414
echo "Done."
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)