forked from loafle/openapi-generator-original
fix test cases
This commit is contained in:
@@ -328,7 +328,7 @@ class UserApi
|
||||
}.merge(opts)
|
||||
|
||||
#resource path
|
||||
path = "/user/{username}".sub('{format}','json').sub('{' + 'username' + '}', username)
|
||||
path = "/user/{username}".sub('{format}','json').sub('{' + 'username' + '}', username.to_s)
|
||||
|
||||
|
||||
# pull querystring keys from options
|
||||
@@ -381,7 +381,7 @@ class UserApi
|
||||
}.merge(opts)
|
||||
|
||||
#resource path
|
||||
path = "/user/{username}".sub('{format}','json').sub('{' + 'username' + '}', username)
|
||||
path = "/user/{username}".sub('{format}','json').sub('{' + 'username' + '}', username.to_s)
|
||||
|
||||
|
||||
# pull querystring keys from options
|
||||
@@ -451,7 +451,7 @@ class UserApi
|
||||
}.merge(opts)
|
||||
|
||||
#resource path
|
||||
path = "/user/{username}".sub('{format}','json').sub('{' + 'username' + '}', username)
|
||||
path = "/user/{username}".sub('{format}','json').sub('{' + 'username' + '}', username.to_s)
|
||||
|
||||
|
||||
# pull querystring keys from options
|
||||
|
||||
Reference in New Issue
Block a user