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:
meganemura
2018-11-12 15:26:05 +09:00
committed by William Cheng
parent c7349c7f88
commit 9db62f459a
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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