mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-18 22:47:12 +00:00
[Bash] Minor improvements (#4274)
* minor improvements to bash generator * test bash * fix path * test bash in travis * fix pom
This commit is contained in:
@@ -68,7 +68,7 @@ _petstore-cli()
|
||||
# The list of available operation in the REST service
|
||||
# It's modelled as an associative array for efficient key lookup
|
||||
declare -A operations
|
||||
operations["123Test@$%SpecialTags"]=1
|
||||
operations["call123TestSpecialTags"]=1
|
||||
operations["createXmlItem"]=1
|
||||
operations["fakeOuterBooleanSerialize"]=1
|
||||
operations["fakeOuterCompositeSerialize"]=1
|
||||
@@ -82,6 +82,7 @@ _petstore-cli()
|
||||
operations["testGroupParameters"]=1
|
||||
operations["testInlineAdditionalProperties"]=1
|
||||
operations["testJsonFormData"]=1
|
||||
operations["testQueryParameterCollectionFormat"]=1
|
||||
operations["testClassname"]=1
|
||||
operations["addPet"]=1
|
||||
operations["deletePet"]=1
|
||||
@@ -108,7 +109,7 @@ _petstore-cli()
|
||||
# An associative array of operations to their parameters
|
||||
# Only include path, query and header parameters
|
||||
declare -A operation_parameters
|
||||
operation_parameters["123Test@$%SpecialTags"]=""
|
||||
operation_parameters["call123TestSpecialTags"]=""
|
||||
operation_parameters["createXmlItem"]=""
|
||||
operation_parameters["fakeOuterBooleanSerialize"]=""
|
||||
operation_parameters["fakeOuterCompositeSerialize"]=""
|
||||
@@ -122,6 +123,7 @@ _petstore-cli()
|
||||
operation_parameters["testGroupParameters"]="required_string_group= required_int64_group= string_group= int64_group= required_boolean_group: boolean_group: "
|
||||
operation_parameters["testInlineAdditionalProperties"]=""
|
||||
operation_parameters["testJsonFormData"]=""
|
||||
operation_parameters["testQueryParameterCollectionFormat"]="pipe= ioutil= http= url= context= "
|
||||
operation_parameters["testClassname"]=""
|
||||
operation_parameters["addPet"]=""
|
||||
operation_parameters["deletePet"]="petId= api_key: "
|
||||
|
||||
Reference in New Issue
Block a user