update ruby petstore samples

This commit is contained in:
wing328 2017-12-07 23:55:51 +08:00
parent 2d56f247ce
commit fb69703fe0
36 changed files with 37 additions and 37 deletions

View File

@ -270,13 +270,13 @@ end
api_instance = Petstore::FakeApi.new
number = 3.4 # Float | None
number = 8.14 # Float | None
double = 1.2 # Float | None
pattern_without_delimiter = "pattern_without_delimiter_example" # String | None
byte = "byte_example" # String | None
byte = "B" # String | None
opts = {
integer: 56, # Integer | None

View File

@ -39,7 +39,7 @@ git_remote=`git remote`
if [ "$git_remote" = "" ]; then # git remote not defined
if [ "$GIT_TOKEN" = "" ]; then
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git crediential in your environment."
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
else
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git

View File

@ -59,7 +59,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -57,7 +57,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
if @class_name.nil?

View File

@ -39,7 +39,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -63,7 +63,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -49,7 +49,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -49,7 +49,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -69,7 +69,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -88,7 +88,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -65,7 +65,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
if @class_name.nil?

View File

@ -55,7 +55,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -47,7 +47,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -47,7 +47,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -65,7 +65,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
if @class_name.nil?

View File

@ -78,7 +78,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -92,7 +92,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -143,7 +143,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
if !@integer.nil? && @integer > 100

View File

@ -55,7 +55,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -47,7 +47,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -80,7 +80,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -65,7 +65,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -55,7 +55,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -47,7 +47,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -71,7 +71,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
if @name.nil?

View File

@ -47,7 +47,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -111,7 +111,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -39,7 +39,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -63,7 +63,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -39,7 +39,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -39,7 +39,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -113,7 +113,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
if @name.nil?

View File

@ -55,7 +55,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -47,7 +47,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -55,7 +55,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties

View File

@ -104,7 +104,7 @@ module Petstore
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
return invalid_properties