Loading common-openapi/generateOpenapi.sh +3 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,9 @@ echo "\n------ Checking for docker image --------" echo "------ Getting spec and config files--------" # Get project prefix (e.g., gs030) from the project path project_prefix=$(echo $1 | grep -o 'gs[0-9]\{3\}') echo $project_prefix echo $1 echo $2 # Get all config files for this project configs=$(grep -A20 "^[[:space:]]*$project_prefix:" "$2" | grep "config_file" | sed 's/.*config_file:[[:space:]]*"\(.*\)".*/\1/') Loading Loading
common-openapi/generateOpenapi.sh +3 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,9 @@ echo "\n------ Checking for docker image --------" echo "------ Getting spec and config files--------" # Get project prefix (e.g., gs030) from the project path project_prefix=$(echo $1 | grep -o 'gs[0-9]\{3\}') echo $project_prefix echo $1 echo $2 # Get all config files for this project configs=$(grep -A20 "^[[:space:]]*$project_prefix:" "$2" | grep "config_file" | sed 's/.*config_file:[[:space:]]*"\(.*\)".*/\1/') Loading