forked from loafle/openapi-generator-original
Fix return_type parameter examples in ruby-client (#1399)
* Fix return_type parameter examples * $ bin/openapi3/ruby-client-petstore.sh
This commit is contained in:
committed by
William Cheng
parent
c7349c7f88
commit
9db62f459a
@@ -137,7 +137,7 @@ module {{moduleName}}
|
||||
# Deserialize the response to the given return type.
|
||||
#
|
||||
# @param [Response] response HTTP response
|
||||
# @param [String] return_type some examples: "User", "Array[User]", "Hash[String,Integer]"
|
||||
# @param [String] return_type some examples: "User", "Array<User>", "Hash<String, Integer>"
|
||||
def deserialize(response, return_type)
|
||||
body = response.body
|
||||
|
||||
|
||||
@@ -143,7 +143,7 @@ module Petstore
|
||||
# Deserialize the response to the given return type.
|
||||
#
|
||||
# @param [Response] response HTTP response
|
||||
# @param [String] return_type some examples: "User", "Array[User]", "Hash[String,Integer]"
|
||||
# @param [String] return_type some examples: "User", "Array<User>", "Hash<String, Integer>"
|
||||
def deserialize(response, return_type)
|
||||
body = response.body
|
||||
|
||||
|
||||
Reference in New Issue
Block a user