forked from loafle/openapi-generator-original
[Bash] Fix matching of header parameters (#9370)
This commit is contained in:
@@ -979,7 +979,7 @@ case $key in
|
||||
body_parameters[${body_key}]=${body_value}
|
||||
fi
|
||||
;;
|
||||
+\([^=]\):*)
|
||||
+([^=]):*)
|
||||
# Parse header arguments and convert them into curl
|
||||
# only after the operation argument
|
||||
if [[ "$operation" ]]; then
|
||||
|
||||
@@ -3820,7 +3820,7 @@ case $key in
|
||||
body_parameters[${body_key}]=${body_value}
|
||||
fi
|
||||
;;
|
||||
+\([^=]\):*)
|
||||
+([^=]):*)
|
||||
# Parse header arguments and convert them into curl
|
||||
# only after the operation argument
|
||||
if [[ "$operation" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user