forked from loafle/openapi-generator-original
Update samples for several language (just whitespace changes, reordering, VERSION) (#5828)
* Update samples for several languages. Just whitespace changes and some reordering where the order doesn't matter. * Adding generated .swagger-codegen/VERSION files.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"sfdxSource": true,
|
||||
"version": "1.0.0",
|
||||
"sourceFolder": "src/",
|
||||
"folders": [
|
||||
"src/classes"
|
||||
],
|
||||
"files": [
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -41,6 +41,7 @@ void ApiResponse::validate()
|
||||
|
||||
web::json::value ApiResponse::toJson() const
|
||||
{
|
||||
|
||||
web::json::value val = web::json::value::object();
|
||||
|
||||
if(m_CodeIsSet)
|
||||
@@ -62,6 +63,8 @@ web::json::value ApiResponse::toJson() const
|
||||
|
||||
void ApiResponse::fromJson(web::json::value& val)
|
||||
{
|
||||
|
||||
|
||||
if(val.has_field(U("code")))
|
||||
{
|
||||
setCode(ModelBase::int32_tFromJson(val[U("code")]));
|
||||
|
||||
@@ -78,9 +78,9 @@ public:
|
||||
protected:
|
||||
int32_t m_Code;
|
||||
bool m_CodeIsSet;
|
||||
utility::string_t m_Type;
|
||||
utility::string_t m_Type;
|
||||
bool m_TypeIsSet;
|
||||
utility::string_t m_Message;
|
||||
utility::string_t m_Message;
|
||||
bool m_MessageIsSet;
|
||||
};
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ void Category::validate()
|
||||
|
||||
web::json::value Category::toJson() const
|
||||
{
|
||||
|
||||
web::json::value val = web::json::value::object();
|
||||
|
||||
if(m_IdIsSet)
|
||||
@@ -56,6 +57,8 @@ web::json::value Category::toJson() const
|
||||
|
||||
void Category::fromJson(web::json::value& val)
|
||||
{
|
||||
|
||||
|
||||
if(val.has_field(U("id")))
|
||||
{
|
||||
setId(ModelBase::int64_tFromJson(val[U("id")]));
|
||||
|
||||
@@ -71,7 +71,7 @@ public:
|
||||
protected:
|
||||
int64_t m_Id;
|
||||
bool m_IdIsSet;
|
||||
utility::string_t m_Name;
|
||||
utility::string_t m_Name;
|
||||
bool m_NameIsSet;
|
||||
};
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@ void Order::validate()
|
||||
|
||||
web::json::value Order::toJson() const
|
||||
{
|
||||
|
||||
web::json::value val = web::json::value::object();
|
||||
|
||||
if(m_IdIsSet)
|
||||
@@ -80,6 +81,8 @@ web::json::value Order::toJson() const
|
||||
|
||||
void Order::fromJson(web::json::value& val)
|
||||
{
|
||||
|
||||
|
||||
if(val.has_field(U("id")))
|
||||
{
|
||||
setId(ModelBase::int64_tFromJson(val[U("id")]));
|
||||
|
||||
@@ -99,15 +99,15 @@ public:
|
||||
protected:
|
||||
int64_t m_Id;
|
||||
bool m_IdIsSet;
|
||||
int64_t m_PetId;
|
||||
int64_t m_PetId;
|
||||
bool m_PetIdIsSet;
|
||||
int32_t m_Quantity;
|
||||
int32_t m_Quantity;
|
||||
bool m_QuantityIsSet;
|
||||
utility::datetime m_ShipDate;
|
||||
utility::datetime m_ShipDate;
|
||||
bool m_ShipDateIsSet;
|
||||
utility::string_t m_Status;
|
||||
utility::string_t m_Status;
|
||||
bool m_StatusIsSet;
|
||||
bool m_Complete;
|
||||
bool m_Complete;
|
||||
bool m_CompleteIsSet;
|
||||
};
|
||||
|
||||
|
||||
@@ -42,6 +42,7 @@ void Pet::validate()
|
||||
|
||||
web::json::value Pet::toJson() const
|
||||
{
|
||||
|
||||
web::json::value val = web::json::value::object();
|
||||
|
||||
if(m_IdIsSet)
|
||||
@@ -84,6 +85,8 @@ web::json::value Pet::toJson() const
|
||||
|
||||
void Pet::fromJson(web::json::value& val)
|
||||
{
|
||||
|
||||
|
||||
if(val.has_field(U("id")))
|
||||
{
|
||||
setId(ModelBase::int64_tFromJson(val[U("id")]));
|
||||
|
||||
@@ -96,13 +96,13 @@ public:
|
||||
protected:
|
||||
int64_t m_Id;
|
||||
bool m_IdIsSet;
|
||||
std::shared_ptr<Category> m_Category;
|
||||
std::shared_ptr<Category> m_Category;
|
||||
bool m_CategoryIsSet;
|
||||
utility::string_t m_Name;
|
||||
std::vector<utility::string_t> m_PhotoUrls;
|
||||
std::vector<std::shared_ptr<Tag>> m_Tags;
|
||||
utility::string_t m_Name;
|
||||
std::vector<utility::string_t> m_PhotoUrls;
|
||||
std::vector<std::shared_ptr<Tag>> m_Tags;
|
||||
bool m_TagsIsSet;
|
||||
utility::string_t m_Status;
|
||||
utility::string_t m_Status;
|
||||
bool m_StatusIsSet;
|
||||
};
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ void Tag::validate()
|
||||
|
||||
web::json::value Tag::toJson() const
|
||||
{
|
||||
|
||||
web::json::value val = web::json::value::object();
|
||||
|
||||
if(m_IdIsSet)
|
||||
@@ -56,6 +57,8 @@ web::json::value Tag::toJson() const
|
||||
|
||||
void Tag::fromJson(web::json::value& val)
|
||||
{
|
||||
|
||||
|
||||
if(val.has_field(U("id")))
|
||||
{
|
||||
setId(ModelBase::int64_tFromJson(val[U("id")]));
|
||||
|
||||
@@ -71,7 +71,7 @@ public:
|
||||
protected:
|
||||
int64_t m_Id;
|
||||
bool m_IdIsSet;
|
||||
utility::string_t m_Name;
|
||||
utility::string_t m_Name;
|
||||
bool m_NameIsSet;
|
||||
};
|
||||
|
||||
|
||||
@@ -51,6 +51,7 @@ void User::validate()
|
||||
|
||||
web::json::value User::toJson() const
|
||||
{
|
||||
|
||||
web::json::value val = web::json::value::object();
|
||||
|
||||
if(m_IdIsSet)
|
||||
@@ -92,6 +93,8 @@ web::json::value User::toJson() const
|
||||
|
||||
void User::fromJson(web::json::value& val)
|
||||
{
|
||||
|
||||
|
||||
if(val.has_field(U("id")))
|
||||
{
|
||||
setId(ModelBase::int64_tFromJson(val[U("id")]));
|
||||
|
||||
@@ -113,19 +113,19 @@ public:
|
||||
protected:
|
||||
int64_t m_Id;
|
||||
bool m_IdIsSet;
|
||||
utility::string_t m_Username;
|
||||
utility::string_t m_Username;
|
||||
bool m_UsernameIsSet;
|
||||
utility::string_t m_FirstName;
|
||||
utility::string_t m_FirstName;
|
||||
bool m_FirstNameIsSet;
|
||||
utility::string_t m_LastName;
|
||||
utility::string_t m_LastName;
|
||||
bool m_LastNameIsSet;
|
||||
utility::string_t m_Email;
|
||||
utility::string_t m_Email;
|
||||
bool m_EmailIsSet;
|
||||
utility::string_t m_Password;
|
||||
utility::string_t m_Password;
|
||||
bool m_PasswordIsSet;
|
||||
utility::string_t m_Phone;
|
||||
utility::string_t m_Phone;
|
||||
bool m_PhoneIsSet;
|
||||
int32_t m_UserStatus;
|
||||
int32_t m_UserStatus;
|
||||
bool m_UserStatusIsSet;
|
||||
};
|
||||
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -59,11 +59,9 @@ Class | Method | HTTP request | Description
|
||||
- [ArrayOfNumberOnly](docs/ArrayOfNumberOnly.md)
|
||||
- [ArrayTest](docs/ArrayTest.md)
|
||||
- [Capitalization](docs/Capitalization.md)
|
||||
- [Cat](docs/Cat.md)
|
||||
- [Category](docs/Category.md)
|
||||
- [ClassModel](docs/ClassModel.md)
|
||||
- [Client](docs/Client.md)
|
||||
- [Dog](docs/Dog.md)
|
||||
- [EnumArrays](docs/EnumArrays.md)
|
||||
- [EnumClass](docs/EnumClass.md)
|
||||
- [EnumTest](docs/EnumTest.md)
|
||||
@@ -88,6 +86,8 @@ Class | Method | HTTP request | Description
|
||||
- [SpecialModelName](docs/SpecialModelName.md)
|
||||
- [Tag](docs/Tag.md)
|
||||
- [User](docs/User.md)
|
||||
- [Cat](docs/Cat.md)
|
||||
- [Dog](docs/Dog.md)
|
||||
|
||||
|
||||
## Documentation For Authorization
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -239,11 +239,9 @@ use WWW::SwaggerClient::Object::ArrayOfArrayOfNumberOnly;
|
||||
use WWW::SwaggerClient::Object::ArrayOfNumberOnly;
|
||||
use WWW::SwaggerClient::Object::ArrayTest;
|
||||
use WWW::SwaggerClient::Object::Capitalization;
|
||||
use WWW::SwaggerClient::Object::Cat;
|
||||
use WWW::SwaggerClient::Object::Category;
|
||||
use WWW::SwaggerClient::Object::ClassModel;
|
||||
use WWW::SwaggerClient::Object::Client;
|
||||
use WWW::SwaggerClient::Object::Dog;
|
||||
use WWW::SwaggerClient::Object::EnumArrays;
|
||||
use WWW::SwaggerClient::Object::EnumClass;
|
||||
use WWW::SwaggerClient::Object::EnumTest;
|
||||
@@ -267,6 +265,8 @@ use WWW::SwaggerClient::Object::ReadOnlyFirst;
|
||||
use WWW::SwaggerClient::Object::SpecialModelName;
|
||||
use WWW::SwaggerClient::Object::Tag;
|
||||
use WWW::SwaggerClient::Object::User;
|
||||
use WWW::SwaggerClient::Object::Cat;
|
||||
use WWW::SwaggerClient::Object::Dog;
|
||||
|
||||
````
|
||||
|
||||
@@ -292,11 +292,9 @@ use WWW::SwaggerClient::Object::ArrayOfArrayOfNumberOnly;
|
||||
use WWW::SwaggerClient::Object::ArrayOfNumberOnly;
|
||||
use WWW::SwaggerClient::Object::ArrayTest;
|
||||
use WWW::SwaggerClient::Object::Capitalization;
|
||||
use WWW::SwaggerClient::Object::Cat;
|
||||
use WWW::SwaggerClient::Object::Category;
|
||||
use WWW::SwaggerClient::Object::ClassModel;
|
||||
use WWW::SwaggerClient::Object::Client;
|
||||
use WWW::SwaggerClient::Object::Dog;
|
||||
use WWW::SwaggerClient::Object::EnumArrays;
|
||||
use WWW::SwaggerClient::Object::EnumClass;
|
||||
use WWW::SwaggerClient::Object::EnumTest;
|
||||
@@ -320,6 +318,8 @@ use WWW::SwaggerClient::Object::ReadOnlyFirst;
|
||||
use WWW::SwaggerClient::Object::SpecialModelName;
|
||||
use WWW::SwaggerClient::Object::Tag;
|
||||
use WWW::SwaggerClient::Object::User;
|
||||
use WWW::SwaggerClient::Object::Cat;
|
||||
use WWW::SwaggerClient::Object::Dog;
|
||||
|
||||
# for displaying the API response data
|
||||
use Data::Dumper;
|
||||
@@ -383,11 +383,9 @@ Class | Method | HTTP request | Description
|
||||
- [WWW::SwaggerClient::Object::ArrayOfNumberOnly](docs/ArrayOfNumberOnly.md)
|
||||
- [WWW::SwaggerClient::Object::ArrayTest](docs/ArrayTest.md)
|
||||
- [WWW::SwaggerClient::Object::Capitalization](docs/Capitalization.md)
|
||||
- [WWW::SwaggerClient::Object::Cat](docs/Cat.md)
|
||||
- [WWW::SwaggerClient::Object::Category](docs/Category.md)
|
||||
- [WWW::SwaggerClient::Object::ClassModel](docs/ClassModel.md)
|
||||
- [WWW::SwaggerClient::Object::Client](docs/Client.md)
|
||||
- [WWW::SwaggerClient::Object::Dog](docs/Dog.md)
|
||||
- [WWW::SwaggerClient::Object::EnumArrays](docs/EnumArrays.md)
|
||||
- [WWW::SwaggerClient::Object::EnumClass](docs/EnumClass.md)
|
||||
- [WWW::SwaggerClient::Object::EnumTest](docs/EnumTest.md)
|
||||
@@ -411,6 +409,8 @@ Class | Method | HTTP request | Description
|
||||
- [WWW::SwaggerClient::Object::SpecialModelName](docs/SpecialModelName.md)
|
||||
- [WWW::SwaggerClient::Object::Tag](docs/Tag.md)
|
||||
- [WWW::SwaggerClient::Object::User](docs/User.md)
|
||||
- [WWW::SwaggerClient::Object::Cat](docs/Cat.md)
|
||||
- [WWW::SwaggerClient::Object::Dog](docs/Dog.md)
|
||||
|
||||
|
||||
# DOCUMENTATION FOR AUTHORIZATION
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
+1
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -28,6 +28,7 @@ h2. Endpoints
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 405
|
||||
*Message:* Invalid input
|
||||
@@ -60,6 +61,7 @@ h2. Endpoints
|
||||
|petId |Pet id to delete |(/) | | |
|
||||
|
||||
|
||||
|
||||
h5. Header Parameters
|
||||
||Name||Description||Required||Default||Pattern||
|
||||
|
||||
@@ -104,6 +106,7 @@ h2. Endpoints
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 200
|
||||
*Message:* successful operation
|
||||
@@ -161,6 +164,7 @@ array[Pet]
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 200
|
||||
*Message:* successful operation
|
||||
@@ -218,6 +222,7 @@ array[Pet]
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 200
|
||||
*Message:* successful operation
|
||||
@@ -286,6 +291,7 @@ Pet
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 400
|
||||
*Message:* Invalid ID supplied
|
||||
@@ -351,6 +357,7 @@ Pet
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 405
|
||||
*Message:* Invalid input
|
||||
@@ -388,6 +395,7 @@ Pet
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 200
|
||||
*Message:* successful operation
|
||||
@@ -428,6 +436,7 @@ ApiResponse
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 400
|
||||
*Message:* Invalid ID supplied
|
||||
@@ -520,6 +529,7 @@ map[String, Integer]
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 200
|
||||
*Message:* successful operation
|
||||
@@ -588,6 +598,7 @@ Order
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 200
|
||||
*Message:* successful operation
|
||||
@@ -642,6 +653,7 @@ Order
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 0
|
||||
*Message:* successful operation
|
||||
@@ -679,6 +691,7 @@ Order
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 0
|
||||
*Message:* successful operation
|
||||
@@ -716,6 +729,7 @@ Order
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 0
|
||||
*Message:* successful operation
|
||||
@@ -753,6 +767,7 @@ Order
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 400
|
||||
*Message:* Invalid username supplied
|
||||
@@ -804,6 +819,7 @@ Order
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 200
|
||||
*Message:* successful operation
|
||||
@@ -868,11 +884,13 @@ User
|
||||
h5. Query Parameters
|
||||
||Name||Description||Required||Default||Pattern||
|
||||
|username |The user name for login |(/) | | |
|
||||
|
||||
|password |The password for login in clear text |(/) | | |
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 200
|
||||
*Message:* successful operation
|
||||
@@ -967,6 +985,7 @@ String
|
||||
||Name||Description||Required||Default||Pattern||
|
||||
|username |name that need to be deleted |(/) | | |
|
||||
|
||||
|
||||
h5. Body Parameter
|
||||
||Name||Description||Required||Default||Pattern||
|
||||
|body |Updated user object |(/) | | |
|
||||
@@ -976,6 +995,7 @@ String
|
||||
|
||||
|
||||
|
||||
|
||||
h4. Responses
|
||||
*Status Code:* 400
|
||||
*Message:* Invalid user supplied
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -108,8 +108,8 @@
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"type" : "string",
|
||||
"default" : "available",
|
||||
"enum" : [ "available", "pending", "sold" ]
|
||||
"enum" : [ "available", "pending", "sold" ],
|
||||
"default" : "available"
|
||||
},
|
||||
"collectionFormat" : "csv"
|
||||
} ],
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -108,11 +108,11 @@ paths:
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
default: "available"
|
||||
enum:
|
||||
- "available"
|
||||
- "pending"
|
||||
- "sold"
|
||||
default: "available"
|
||||
collectionFormat: "csv"
|
||||
responses:
|
||||
200:
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -108,11 +108,11 @@ paths:
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
default: "available"
|
||||
enum:
|
||||
- "available"
|
||||
- "pending"
|
||||
- "sold"
|
||||
default: "available"
|
||||
collectionFormat: "csv"
|
||||
responses:
|
||||
200:
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -109,11 +109,11 @@ paths:
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
default: "available"
|
||||
enum:
|
||||
- "available"
|
||||
- "pending"
|
||||
- "sold"
|
||||
default: "available"
|
||||
collectionFormat: "csv"
|
||||
responses:
|
||||
200:
|
||||
@@ -623,10 +623,10 @@ paths:
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
default: "$"
|
||||
enum:
|
||||
- ">"
|
||||
- "$"
|
||||
default: "$"
|
||||
- name: "enum_form_string"
|
||||
in: "formData"
|
||||
description: "Form parameter enum test (string)"
|
||||
@@ -644,10 +644,10 @@ paths:
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
default: "$"
|
||||
enum:
|
||||
- ">"
|
||||
- "$"
|
||||
default: "$"
|
||||
- name: "enum_header_string"
|
||||
in: "header"
|
||||
description: "Header parameter enum test (string)"
|
||||
@@ -665,10 +665,10 @@ paths:
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
default: "$"
|
||||
enum:
|
||||
- ">"
|
||||
- "$"
|
||||
default: "$"
|
||||
- name: "enum_query_string"
|
||||
in: "query"
|
||||
description: "Query parameter enum test (string)"
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -112,8 +112,8 @@
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"type" : "string",
|
||||
"default" : "available",
|
||||
"enum" : [ "available", "pending", "sold" ]
|
||||
"enum" : [ "available", "pending", "sold" ],
|
||||
"default" : "available"
|
||||
},
|
||||
"collectionFormat" : "csv"
|
||||
} ],
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -108,8 +108,8 @@
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"type" : "string",
|
||||
"default" : "available",
|
||||
"enum" : [ "available", "pending", "sold" ]
|
||||
"enum" : [ "available", "pending", "sold" ],
|
||||
"default" : "available"
|
||||
},
|
||||
"collectionFormat" : "csv"
|
||||
} ],
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
+2
-2
@@ -67,7 +67,7 @@ public interface PetApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid status value", response = Pet.class, responseContainer = "List") })
|
||||
public Response findPetsByStatus( @NotNull @QueryParam("status") List<String> status,@Context SecurityContext securityContext);
|
||||
public Response findPetsByStatus( @NotNull @QueryParam("status") List<String> status,@Context SecurityContext securityContext);
|
||||
@GET
|
||||
@Path("/findByTags")
|
||||
|
||||
@@ -82,7 +82,7 @@ public interface PetApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid tag value", response = Pet.class, responseContainer = "List") })
|
||||
public Response findPetsByTags( @NotNull @QueryParam("tags") List<String> tags,@Context SecurityContext securityContext);
|
||||
public Response findPetsByTags( @NotNull @QueryParam("tags") List<String> tags,@Context SecurityContext securityContext);
|
||||
@GET
|
||||
@Path("/{petId}")
|
||||
|
||||
|
||||
+1
-1
@@ -80,7 +80,7 @@ public interface UserApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = String.class),
|
||||
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid username/password supplied", response = String.class) })
|
||||
public Response loginUser( @NotNull @QueryParam("username") String username, @NotNull @QueryParam("password") String password,@Context SecurityContext securityContext);
|
||||
public Response loginUser( @NotNull @QueryParam("username") String username, @NotNull @QueryParam("password") String password,@Context SecurityContext securityContext);
|
||||
@GET
|
||||
@Path("/logout")
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -67,7 +67,7 @@ public interface PetApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid status value", response = Pet.class, responseContainer = "List") })
|
||||
public Response findPetsByStatus( @NotNull @QueryParam("status") List<String> status,@Context SecurityContext securityContext);
|
||||
public Response findPetsByStatus( @NotNull @QueryParam("status") List<String> status,@Context SecurityContext securityContext);
|
||||
@GET
|
||||
@Path("/findByTags")
|
||||
|
||||
@@ -82,7 +82,7 @@ public interface PetApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid tag value", response = Pet.class, responseContainer = "List") })
|
||||
public Response findPetsByTags( @NotNull @QueryParam("tags") List<String> tags,@Context SecurityContext securityContext);
|
||||
public Response findPetsByTags( @NotNull @QueryParam("tags") List<String> tags,@Context SecurityContext securityContext);
|
||||
@GET
|
||||
@Path("/{petId}")
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ public interface UserApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = String.class),
|
||||
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid username/password supplied", response = String.class) })
|
||||
public Response loginUser( @NotNull @QueryParam("username") String username, @NotNull @QueryParam("password") String password,@Context SecurityContext securityContext);
|
||||
public Response loginUser( @NotNull @QueryParam("username") String username, @NotNull @QueryParam("password") String password,@Context SecurityContext securityContext);
|
||||
@GET
|
||||
@Path("/logout")
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
2.2.3-SNAPSHOT
|
||||
+1
@@ -88,3 +88,4 @@ public class AdditionalPropertiesClass {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -88,3 +88,4 @@ public class Animal {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -51,3 +51,4 @@ public class AnimalFarm extends ArrayList<Animal> {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -69,3 +69,4 @@ public class ArrayOfArrayOfNumberOnly {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -69,3 +69,4 @@ public class ArrayOfNumberOnly {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -107,3 +107,4 @@ public class ArrayTest {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -162,3 +162,4 @@ public class Capitalization {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -67,3 +67,4 @@ public class Cat extends Animal {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -85,3 +85,4 @@ public class Category {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -70,3 +70,4 @@ public class ClassModel {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -66,3 +66,4 @@ public class Client {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -67,3 +67,4 @@ public class Dog extends Animal {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -149,3 +149,4 @@ public enum ArrayEnumEnum {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -217,3 +217,4 @@ public enum EnumNumberEnum {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -312,3 +312,4 @@ public class FormatTest {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -85,3 +85,4 @@ public class HasOnlyReadOnly {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -119,3 +119,4 @@ public enum InnerEnum {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -110,3 +110,4 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -89,3 +89,4 @@ public class Model200Response {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -104,3 +104,4 @@ public class ModelApiResponse {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -70,3 +70,4 @@ public class ModelReturn {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -128,3 +128,4 @@ public class Name {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -67,3 +67,4 @@ public class NumberOnly {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -194,3 +194,4 @@ public enum StatusEnum {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -105,3 +105,4 @@ public class OuterComposite {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -199,3 +199,4 @@ public enum StatusEnum {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -85,3 +85,4 @@ public class ReadOnlyFirst {
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user