File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
modules/swagger-codegen/src/main/resources/typescript-angularjs
samples/client/petstore/typescript-angularjs Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -73,9 +73,11 @@ export class {{classname}} {
7373 let httpRequestParams: ng.IRequestConfig = {
7474 method: ' {{httpMethod}}' ,
7575 url: localVarPath,
76- {{#bodyParam} }data: { {paramName} },
76+ {{#bodyParam} }
77+ data: { {paramName} },
7778 { {/bodyParam} }
78- { {#hasFormParams} }data: this.$httpParamSerializer(formParams),
79+ { {#hasFormParams} }
80+ data: this.$httpParamSerializer(formParams),
7981 { {/hasFormParams} }
8082 params: queryParameters,
8183 headers: headerParams
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ git_remote=`git remote`
3636if [ " $git_remote " = " " ]; then # git remote not defined
3737
3838 if [ " $GIT_TOKEN " = " " ]; then
39- echo " [INFO] \$ GIT_TOKEN (environment variable) is not set. Using the git crediential in your environment."
39+ echo " [INFO] \$ GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
4040 git remote add origin https://github.com/${git_user_id} /${git_repo_id} .git
4141 else
4242 git remote add origin https://${git_user_id} :${GIT_TOKEN} @github.com/${git_user_id} /${git_repo_id} .git
You can’t perform that action at this time.
0 commit comments