msumit commented on a change in pull request #14739:
URL: https://github.com/apache/airflow/pull/14739#discussion_r594851559



##########
File path: clients/gen/go.sh
##########
@@ -35,48 +30,11 @@ go_config=(
     "enumClassPrefix=true"
 )
 
-SPEC_PATH=$(realpath "$1")
-readonly SPEC_PATH
-
-if [ ! -d "$2" ]; then
-    echo "$2 is not a valid directory or does not exist."
-    exit 1
-fi
-
-OUTPUT_DIR=$(realpath "$2")
-readonly  OUTPUT_DIR
-
-# create openapi ignore file to keep generated code clean
-cat <<EOF > "${OUTPUT_DIR}/.openapi-generator-ignore"
-.travis.yml
-git_push.sh
-EOF
-
-set -ex
-IFS=','
+validate_input "$@"
 
 gen_client go \
     --package-name airflow \
     --git-repo-id airflow-client-go/airflow \
     --additional-properties "${go_config[*]}"
 
-# patch generated client to support problem HTTP API
-# this patch can be removed after following upstream patch gets merged:
-# https://github.com/OpenAPITools/openapi-generator/pull/6793

Review comment:
       I believe there would be an addition of some more APIs, and a little bit 
of diff import structure as well, so we should go with `1.1.0` at least. 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to