Skip to content

Commit f6c738e

Browse files
martynavautopp
authored andcommitted
Add #send to ruby reserved word list (#3146)
1 parent e3fe12e commit f6c738e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/RubyClientCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public RubyClientCodegen() {
9191
// local variable names used in API methods (endpoints)
9292
for (String word : Arrays.asList(
9393
"local_var_path", "query_params", "header_params", "_header_accept", "_header_accept_result",
94-
"_header_content_type", "form_params", "post_body", "auth_names")) {
94+
"_header_content_type", "form_params", "post_body", "auth_names", "send")) {
9595
reservedWords.add(word.toLowerCase(Locale.ROOT));
9696
}
9797

0 commit comments

Comments
 (0)