diff --git a/scripts/generate-go.sh b/scripts/generate-go.sh index eefc9ba2..c3a18f24 100644 --- a/scripts/generate-go.sh +++ b/scripts/generate-go.sh @@ -143,3 +143,9 @@ then OUTPUT_PATH="app-services-sdk-go/smarteventsmgmt/apiv1alpha/client" generate_sdk $OPENAPI_FILENAME $OUTPUT_PATH $PACKAGE_NAME fi + +# this hack is due to the api generator not ignoring the correct files +# so we need to revert the changes it does on these files. It ignores +# the other mod files but for some reason it decides to change this +git restore app-services-sdk-go/accountmgmt/apiv1/client/go.mod +git restore app-services-sdk-go/accountmgmt/apiv1/client/go.sum \ No newline at end of file