Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenAPI Tools
openapi-generator
Commits
4a6fea4b
Commit
4a6fea4b
authored
3 years ago
by
code1x1
Browse files
Options
Download
Email Patches
Plain Diff
Fix response type string in javascript mustache template
parent
37a44290
github/fork/code1x1/bugfix/BUG-javascript-ApiClient-Fix-request-responseType-10833
1 merge request
!10916
Fix response type string in javascript mustache template ISSUE #10833
Pipeline
#586
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/openapi-generator/src/main/resources/Javascript/ApiClient.mustache
+1
-1
...enerator/src/main/resources/Javascript/ApiClient.mustache
with
1 addition
and
1 deletion
+1
-1
modules/openapi-generator/src/main/resources/Javascript/ApiClient.mustache
+
1
-
1
View file @
4a6fea4b
...
...
@@ -519,7 +519,7 @@
if (returnType === 'Blob') {
request.responseType('blob');
} else if (returnType === 'String') {
request.responseType('
string
');
request.responseType('
text
');
}
// Attach previously saved cookies, if enabled
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets