Fix code generation
Change-Id: I30daab2f891147c80ed88d76f95e0ef3ad4fdc87
diff --git a/capif/generate.sh b/capif/generate.sh
index 51993da..cf6a3ad 100755
--- a/capif/generate.sh
+++ b/capif/generate.sh
@@ -53,6 +53,9 @@
cd $cwd
+go get github.com/deepmap/oapi-codegen/cmd/oapi-codegen
+PATH=$PATH:~/go/bin
+
oapi-codegen --config internal/readonly/common/generator_settings.yaml internal/readonly/api/TS29122_CommonData.yaml
oapi-codegen --config internal/readonly/common29571/generator_settings.yaml internal/readonly/api/TS29571_CommonData.yaml
oapi-codegen --config internal/readonly/publishserviceapi/generator_settings_types.yaml internal/readonly/api/TS29222_CAPIF_Publish_Service_API.yaml