diff --git a/samples/client/petstore/java/webclient-nulable-arrays/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/webclient-nulable-arrays/src/main/java/org/openapitools/client/ApiClient.java index 711e3ce865b..087da74084b 100644 --- a/samples/client/petstore/java/webclient-nulable-arrays/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/webclient-nulable-arrays/src/main/java/org/openapitools/client/ApiClient.java @@ -690,7 +690,7 @@ public class ApiClient extends JavaTimeFormatter { * @param headerParams The header parameters * @param cookieParams the cookie parameters */ - private void updateParamsForAuth(String[] authNames, MultiValueMap queryParams, HttpHeaders headerParams, MultiValueMap cookieParams) { + protected void updateParamsForAuth(String[] authNames, MultiValueMap queryParams, HttpHeaders headerParams, MultiValueMap cookieParams) { for (String authName : authNames) { Authentication auth = authentications.get(authName); if (auth == null) { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ApiClient.java index ba5abc0153a..2320997a57c 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ApiClient.java @@ -711,7 +711,7 @@ public class ApiClient extends JavaTimeFormatter { * @param headerParams The header parameters * @param cookieParams the cookie parameters */ - private void updateParamsForAuth(String[] authNames, MultiValueMap queryParams, HttpHeaders headerParams, MultiValueMap cookieParams) { + protected void updateParamsForAuth(String[] authNames, MultiValueMap queryParams, HttpHeaders headerParams, MultiValueMap cookieParams) { for (String authName : authNames) { Authentication auth = authentications.get(authName); if (auth == null) { diff --git a/samples/documentation/html.md/.openapi-generator/VERSION b/samples/documentation/html.md/.openapi-generator/VERSION index d99e7162d01..4b448de535c 100644 --- a/samples/documentation/html.md/.openapi-generator/VERSION +++ b/samples/documentation/html.md/.openapi-generator/VERSION @@ -1 +1 @@ -5.0.0-SNAPSHOT \ No newline at end of file +5.3.0-SNAPSHOT \ No newline at end of file diff --git a/samples/documentation/html.md/index.html b/samples/documentation/html.md/index.html index 63ef7f704b0..0c79800a1e0 100644 --- a/samples/documentation/html.md/index.html +++ b/samples/documentation/html.md/index.html @@ -180,7 +180,7 @@ font-style: italic;

An API with more Markdown in summary, description, and other text

-

Not really a pseudo-randum number generator API. This API uses Markdown in text:

+

Not really a pseudo-random number generator API. This API uses Markdown in text:

  1. in this API description
  2. in operation summaries
  3. diff --git a/samples/documentation/html/.openapi-generator/VERSION b/samples/documentation/html/.openapi-generator/VERSION index d99e7162d01..4b448de535c 100644 --- a/samples/documentation/html/.openapi-generator/VERSION +++ b/samples/documentation/html/.openapi-generator/VERSION @@ -1 +1 @@ -5.0.0-SNAPSHOT \ No newline at end of file +5.3.0-SNAPSHOT \ No newline at end of file diff --git a/samples/documentation/html/index.html b/samples/documentation/html/index.html index 3d50eb596c6..2d744efa666 100644 --- a/samples/documentation/html/index.html +++ b/samples/documentation/html/index.html @@ -1323,8 +1323,6 @@ font-style: italic;
  4. Pet - a Pet
  5. Tag - Pet Tag
  6. User - a User
  7. -
  8. inline_object -
  9. -
  10. inline_object_1 -
@@ -1394,21 +1392,5 @@ font-style: italic;
userStatus (optional)
Integer User Status format: int32
-
-

inline_object - Up

-
-
-
name (optional)
String Updated name of the pet
-
status (optional)
String Updated status of the pet
-
-
-
-

inline_object_1 - Up

-
-
-
additionalMetadata (optional)
String Additional data to pass to server
-
file (optional)
File file to upload format: binary
-
-
diff --git a/samples/documentation/html2/.openapi-generator/VERSION b/samples/documentation/html2/.openapi-generator/VERSION index d99e7162d01..4b448de535c 100644 --- a/samples/documentation/html2/.openapi-generator/VERSION +++ b/samples/documentation/html2/.openapi-generator/VERSION @@ -1 +1 @@ -5.0.0-SNAPSHOT \ No newline at end of file +5.3.0-SNAPSHOT \ No newline at end of file diff --git a/samples/documentation/html2/index.html b/samples/documentation/html2/index.html index 8b2d69320c3..cce1eb7dd34 100644 --- a/samples/documentation/html2/index.html +++ b/samples/documentation/html2/index.html @@ -766,7 +766,7 @@ ul.nav-tabs { .json-schema-view.collapsed .description, .json-schema-view.collapsed .property, json-schema-view.collapsed .description, json-schema-view.collapsed .property { display: none } -.json-schema-view.collapsed .closeing.brace, json-schema-view.collapsed .closeing.brace { +.json-schema-view.collapsed .closing.brace, json-schema-view.collapsed .closing.brace { display: inline-block } .json-schema-view.collapsed .toggle-handle, json-schema-view.collapsed .toggle-handle { @@ -831,7 +831,7 @@ ul.nav-tabs { .json-schema-view.json-schema-view-dark.collapsed .description, .json-schema-view.json-schema-view-dark.collapsed .property, json-schema-view[json-schema-view-dark].collapsed .description, json-schema-view[json-schema-view-dark].collapsed .property { display: none } -.json-schema-view.json-schema-view-dark.collapsed .closeing.brace, json-schema-view[json-schema-view-dark].collapsed .closeing.brace { +.json-schema-view.json-schema-view-dark.collapsed .closing.brace, json-schema-view[json-schema-view-dark].collapsed .closing.brace { display: inline-block } .json-schema-view.json-schema-view-dark.collapsed .toggle-handle, json-schema-view[json-schema-view-dark].collapsed .toggle-handle { @@ -880,33 +880,6 @@ ul.nav-tabs { "xml" : { "name" : "Category" } -}; - defs["inline_object"] = { - "type" : "object", - "properties" : { - "name" : { - "type" : "string", - "description" : "Updated name of the pet" - }, - "status" : { - "type" : "string", - "description" : "Updated status of the pet" - } - } -}; - defs["inline_object_1"] = { - "type" : "object", - "properties" : { - "additionalMetadata" : { - "type" : "string", - "description" : "Additional data to pass to server" - }, - "file" : { - "type" : "string", - "description" : "file to upload", - "format" : "binary" - } - } }; defs["Order"] = { "title" : "Pet Order", @@ -982,6 +955,7 @@ ul.nav-tabs { "status" : { "type" : "string", "description" : "pet status in the store", + "deprecated" : true, "enum" : [ "available", "pending", "sold" ] } }, @@ -1181,11 +1155,39 @@ ul.nav-tabs {
-
curl -X POST\
-\
- -H "Accept: application/xml,application/json"\
- -H "Content-Type: application/json,application/xml"\
- "http://petstore.swagger.io/v2/pet"
+
curl -X POST \
+ \
+ -H "Accept: application/xml,application/json" \
+ -H "Content-Type: application/json,application/xml" \
+ "http://petstore.swagger.io/v2/pet" \
+ -d '{
+  "photoUrls" : [ "photoUrls", "photoUrls" ],
+  "name" : "doggie",
+  "id" : 0,
+  "category" : {
+    "name" : "name",
+    "id" : 6
+  },
+  "tags" : [ {
+    "name" : "name",
+    "id" : 1
+  }, {
+    "name" : "name",
+    "id" : 1
+  } ],
+  "status" : "available"
+}' \
+ -d '<Pet>
+  <id>123456789</id>
+  <name>doggie</name>
+  <photoUrls>
+    <photoUrls>aeiou</photoUrls>
+  </photoUrls>
+  <tags>
+  </tags>
+  <status>aeiou</status>
+</Pet>'
+
import org.openapitools.client.*;
@@ -1203,11 +1205,11 @@ public class PetApiExample {
         // Configure OAuth2 access token for authorization: petstore_auth
         OAuth petstore_auth = (OAuth) defaultClient.getAuthentication("petstore_auth");
         petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
-        
+
         // Create an instance of the API class
         PetApi apiInstance = new PetApi();
         Pet pet = ; // Pet | 
-        
+
         try {
             Pet result = apiInstance.addPet(pet);
             System.out.println(result);
@@ -1227,7 +1229,7 @@ public class PetApiExample {
     public static void main(String[] args) {
         PetApi apiInstance = new PetApi();
         Pet pet = ; // Pet | 
-        
+
         try {
             Pet result = apiInstance.addPet(pet);
             System.out.println(result);
@@ -1307,7 +1309,7 @@ namespace Example
         {
             // Configure OAuth2 access token for authorization: petstore_auth
             Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-            
+
             // Create an instance of the API class
             var apiInstance = new PetApi();
             var pet = new Pet(); // Pet | 
@@ -1357,7 +1359,7 @@ $WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
 my $api_instance = WWW::OPenAPIClient::PetApi->new();
 my $pet = WWW::OPenAPIClient::Object::Pet->new(); # Pet | 
 
-eval { 
+eval {
     my $result = $api_instance->addPet(pet => $pet);
     print Dumper($result);
 };
@@ -1380,7 +1382,7 @@ openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
 api_instance = openapi_client.PetApi()
 pet =  # Pet | 
 
-try: 
+try:
     # Add a new pet to the store
     api_response = api_instance.add_pet(pet)
     pprint(api_response)
@@ -1607,9 +1609,10 @@ $(document).ready(function() {
 
                         
-
curl -X DELETE\
-\
- "http://petstore.swagger.io/v2/pet/{petId}"
+
curl -X DELETE \
+ \
+ "http://petstore.swagger.io/v2/pet/{petId}"
+
import org.openapitools.client.*;
@@ -1627,12 +1630,12 @@ public class PetApiExample {
         // Configure OAuth2 access token for authorization: petstore_auth
         OAuth petstore_auth = (OAuth) defaultClient.getAuthentication("petstore_auth");
         petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
-        
+
         // Create an instance of the API class
         PetApi apiInstance = new PetApi();
         Long petId = 789; // Long | Pet id to delete
         String apiKey = apiKey_example; // String | 
-        
+
         try {
             apiInstance.deletePet(petId, apiKey);
         } catch (ApiException e) {
@@ -1652,7 +1655,7 @@ public class PetApiExample {
         PetApi apiInstance = new PetApi();
         Long petId = 789; // Long | Pet id to delete
         String apiKey = apiKey_example; // String | 
-        
+
         try {
             apiInstance.deletePet(petId, apiKey);
         } catch (ApiException e) {
@@ -1733,7 +1736,7 @@ namespace Example
         {
             // Configure OAuth2 access token for authorization: petstore_auth
             Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-            
+
             // Create an instance of the API class
             var apiInstance = new PetApi();
             var petId = 789;  // Long | Pet id to delete (default to null)
@@ -1784,7 +1787,7 @@ my $api_instance = WWW::OPenAPIClient::PetApi->new();
 my $petId = 789; # Long | Pet id to delete
 my $apiKey = apiKey_example; # String | 
 
-eval { 
+eval {
     $api_instance->deletePet(petId => $petId, apiKey => $apiKey);
 };
 if ($@) {
@@ -1807,7 +1810,7 @@ api_instance = openapi_client.PetApi()
 petId = 789 # Long | Pet id to delete (default to null)
 apiKey = apiKey_example # String |  (optional) (default to null)
 
-try: 
+try:
     # Deletes a pet
     api_instance.delete_pet(petId, apiKey=apiKey)
 except ApiException as e:
@@ -1968,10 +1971,11 @@ Pet id to delete
 
                         
-
curl -X GET\
-\
- -H "Accept: application/xml,application/json"\
- "http://petstore.swagger.io/v2/pet/findByStatus?status="
+
curl -X GET \
+ \
+ -H "Accept: application/xml,application/json" \
+ "http://petstore.swagger.io/v2/pet/findByStatus?status="
+
import org.openapitools.client.*;
@@ -1989,11 +1993,11 @@ public class PetApiExample {
         // Configure OAuth2 access token for authorization: petstore_auth
         OAuth petstore_auth = (OAuth) defaultClient.getAuthentication("petstore_auth");
         petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
-        
+
         // Create an instance of the API class
         PetApi apiInstance = new PetApi();
         array[String] status = ; // array[String] | Status values that need to be considered for filter
-        
+
         try {
             array[Pet] result = apiInstance.findPetsByStatus(status);
             System.out.println(result);
@@ -2013,7 +2017,7 @@ public class PetApiExample {
     public static void main(String[] args) {
         PetApi apiInstance = new PetApi();
         array[String] status = ; // array[String] | Status values that need to be considered for filter
-        
+
         try {
             array[Pet] result = apiInstance.findPetsByStatus(status);
             System.out.println(result);
@@ -2093,7 +2097,7 @@ namespace Example
         {
             // Configure OAuth2 access token for authorization: petstore_auth
             Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-            
+
             // Create an instance of the API class
             var apiInstance = new PetApi();
             var status = new array[String](); // array[String] | Status values that need to be considered for filter (default to null)
@@ -2143,7 +2147,7 @@ $WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
 my $api_instance = WWW::OPenAPIClient::PetApi->new();
 my $status = []; # array[String] | Status values that need to be considered for filter
 
-eval { 
+eval {
     my $result = $api_instance->findPetsByStatus(status => $status);
     print Dumper($result);
 };
@@ -2166,7 +2170,7 @@ openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
 api_instance = openapi_client.PetApi()
 status =  # array[String] | Status values that need to be considered for filter (default to null)
 
-try: 
+try:
     # Finds Pets by status
     api_response = api_instance.find_pets_by_status(status)
     pprint(api_response)
@@ -2372,10 +2376,11 @@ Status values that need to be considered for filter
 
                         
-
curl -X GET\
-\
- -H "Accept: application/xml,application/json"\
- "http://petstore.swagger.io/v2/pet/findByTags?tags="
+
curl -X GET \
+ \
+ -H "Accept: application/xml,application/json" \
+ "http://petstore.swagger.io/v2/pet/findByTags?tags="
+
import org.openapitools.client.*;
@@ -2393,11 +2398,11 @@ public class PetApiExample {
         // Configure OAuth2 access token for authorization: petstore_auth
         OAuth petstore_auth = (OAuth) defaultClient.getAuthentication("petstore_auth");
         petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
-        
+
         // Create an instance of the API class
         PetApi apiInstance = new PetApi();
         array[String] tags = ; // array[String] | Tags to filter by
-        
+
         try {
             array[Pet] result = apiInstance.findPetsByTags(tags);
             System.out.println(result);
@@ -2417,7 +2422,7 @@ public class PetApiExample {
     public static void main(String[] args) {
         PetApi apiInstance = new PetApi();
         array[String] tags = ; // array[String] | Tags to filter by
-        
+
         try {
             array[Pet] result = apiInstance.findPetsByTags(tags);
             System.out.println(result);
@@ -2497,7 +2502,7 @@ namespace Example
         {
             // Configure OAuth2 access token for authorization: petstore_auth
             Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-            
+
             // Create an instance of the API class
             var apiInstance = new PetApi();
             var tags = new array[String](); // array[String] | Tags to filter by (default to null)
@@ -2547,7 +2552,7 @@ $WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
 my $api_instance = WWW::OPenAPIClient::PetApi->new();
 my $tags = []; # array[String] | Tags to filter by
 
-eval { 
+eval {
     my $result = $api_instance->findPetsByTags(tags => $tags);
     print Dumper($result);
 };
@@ -2570,7 +2575,7 @@ openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
 api_instance = openapi_client.PetApi()
 tags =  # array[String] | Tags to filter by (default to null)
 
-try: 
+try:
     # Finds Pets by tags
     api_response = api_instance.find_pets_by_tags(tags)
     pprint(api_response)
@@ -2776,10 +2781,11 @@ Tags to filter by
 
                         
-
curl -X GET\
--H "api_key: [[apiKey]]"\
- -H "Accept: application/xml,application/json"\
- "http://petstore.swagger.io/v2/pet/{petId}"
+
curl -X GET \
+-H "api_key: [[apiKey]]" \
+ -H "Accept: application/xml,application/json" \
+ "http://petstore.swagger.io/v2/pet/{petId}"
+
import org.openapitools.client.*;
@@ -2799,11 +2805,11 @@ public class PetApiExample {
         api_key.setApiKey("YOUR API KEY");
         // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
         //api_key.setApiKeyPrefix("Token");
-        
+
         // Create an instance of the API class
         PetApi apiInstance = new PetApi();
         Long petId = 789; // Long | ID of pet to return
-        
+
         try {
             Pet result = apiInstance.getPetById(petId);
             System.out.println(result);
@@ -2823,7 +2829,7 @@ public class PetApiExample {
     public static void main(String[] args) {
         PetApi apiInstance = new PetApi();
         Long petId = 789; // Long | ID of pet to return
-        
+
         try {
             Pet result = apiInstance.getPetById(petId);
             System.out.println(result);
@@ -2909,7 +2915,7 @@ namespace Example
             Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
             // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
             // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");
-            
+
             // Create an instance of the API class
             var apiInstance = new PetApi();
             var petId = 789;  // Long | ID of pet to return (default to null)
@@ -2963,7 +2969,7 @@ $WWW::OPenAPIClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
 my $api_instance = WWW::OPenAPIClient::PetApi->new();
 my $petId = 789; # Long | ID of pet to return
 
-eval { 
+eval {
     my $result = $api_instance->getPetById(petId => $petId);
     print Dumper($result);
 };
@@ -2988,7 +2994,7 @@ openapi_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
 api_instance = openapi_client.PetApi()
 petId = 789 # Long | ID of pet to return (default to null)
 
-try: 
+try:
     # Find pet by ID
     api_response = api_instance.get_pet_by_id(petId)
     pprint(api_response)
@@ -3208,11 +3214,39 @@ ID of pet to return
 
                         
-
curl -X PUT\
-\
- -H "Accept: application/xml,application/json"\
- -H "Content-Type: application/json,application/xml"\
- "http://petstore.swagger.io/v2/pet"
+
curl -X PUT \
+ \
+ -H "Accept: application/xml,application/json" \
+ -H "Content-Type: application/json,application/xml" \
+ "http://petstore.swagger.io/v2/pet" \
+ -d '{
+  "photoUrls" : [ "photoUrls", "photoUrls" ],
+  "name" : "doggie",
+  "id" : 0,
+  "category" : {
+    "name" : "name",
+    "id" : 6
+  },
+  "tags" : [ {
+    "name" : "name",
+    "id" : 1
+  }, {
+    "name" : "name",
+    "id" : 1
+  } ],
+  "status" : "available"
+}' \
+ -d '<Pet>
+  <id>123456789</id>
+  <name>doggie</name>
+  <photoUrls>
+    <photoUrls>aeiou</photoUrls>
+  </photoUrls>
+  <tags>
+  </tags>
+  <status>aeiou</status>
+</Pet>'
+
import org.openapitools.client.*;
@@ -3230,11 +3264,11 @@ public class PetApiExample {
         // Configure OAuth2 access token for authorization: petstore_auth
         OAuth petstore_auth = (OAuth) defaultClient.getAuthentication("petstore_auth");
         petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
-        
+
         // Create an instance of the API class
         PetApi apiInstance = new PetApi();
         Pet pet = ; // Pet | 
-        
+
         try {
             Pet result = apiInstance.updatePet(pet);
             System.out.println(result);
@@ -3254,7 +3288,7 @@ public class PetApiExample {
     public static void main(String[] args) {
         PetApi apiInstance = new PetApi();
         Pet pet = ; // Pet | 
-        
+
         try {
             Pet result = apiInstance.updatePet(pet);
             System.out.println(result);
@@ -3334,7 +3368,7 @@ namespace Example
         {
             // Configure OAuth2 access token for authorization: petstore_auth
             Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-            
+
             // Create an instance of the API class
             var apiInstance = new PetApi();
             var pet = new Pet(); // Pet | 
@@ -3384,7 +3418,7 @@ $WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
 my $api_instance = WWW::OPenAPIClient::PetApi->new();
 my $pet = WWW::OPenAPIClient::Object::Pet->new(); # Pet | 
 
-eval { 
+eval {
     my $result = $api_instance->updatePet(pet => $pet);
     print Dumper($result);
 };
@@ -3407,7 +3441,7 @@ openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
 api_instance = openapi_client.PetApi()
 pet =  # Pet | 
 
-try: 
+try:
     # Update an existing pet
     api_response = api_instance.update_pet(pet)
     pprint(api_response)
@@ -3678,10 +3712,11 @@ $(document).ready(function() {
 
                         
-
curl -X POST\
-\
- -H "Content-Type: application/x-www-form-urlencoded"\
- "http://petstore.swagger.io/v2/pet/{petId}"
+
curl -X POST \
+ \
+ -H "Content-Type: application/x-www-form-urlencoded" \
+ "http://petstore.swagger.io/v2/pet/{petId}"
+
import org.openapitools.client.*;
@@ -3699,13 +3734,13 @@ public class PetApiExample {
         // Configure OAuth2 access token for authorization: petstore_auth
         OAuth petstore_auth = (OAuth) defaultClient.getAuthentication("petstore_auth");
         petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
-        
+
         // Create an instance of the API class
         PetApi apiInstance = new PetApi();
         Long petId = 789; // Long | ID of pet that needs to be updated
         String name = name_example; // String | Updated name of the pet
         String status = status_example; // String | Updated status of the pet
-        
+
         try {
             apiInstance.updatePetWithForm(petId, name, status);
         } catch (ApiException e) {
@@ -3726,7 +3761,7 @@ public class PetApiExample {
         Long petId = 789; // Long | ID of pet that needs to be updated
         String name = name_example; // String | Updated name of the pet
         String status = status_example; // String | Updated status of the pet
-        
+
         try {
             apiInstance.updatePetWithForm(petId, name, status);
         } catch (ApiException e) {
@@ -3810,7 +3845,7 @@ namespace Example
         {
             // Configure OAuth2 access token for authorization: petstore_auth
             Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-            
+
             // Create an instance of the API class
             var apiInstance = new PetApi();
             var petId = 789;  // Long | ID of pet that needs to be updated (default to null)
@@ -3864,7 +3899,7 @@ my $petId = 789; # Long | ID of pet that needs to be updated
 my $name = name_example; # String | Updated name of the pet
 my $status = status_example; # String | Updated status of the pet
 
-eval { 
+eval {
     $api_instance->updatePetWithForm(petId => $petId, name => $name, status => $status);
 };
 if ($@) {
@@ -3888,7 +3923,7 @@ petId = 789 # Long | ID of pet that needs to be updated (default to null)
 name = name_example # String | Updated name of the pet (optional) (default to null)
 status = status_example # String | Updated status of the pet (optional) (default to null)
 
-try: 
+try:
     # Updates a pet in the store with form data
     api_instance.update_pet_with_form(petId, name=name, status=status)
 except ApiException as e:
@@ -4073,11 +4108,12 @@ Updated status of the pet
 
                         
-
curl -X POST\
-\
- -H "Accept: application/json"\
- -H "Content-Type: multipart/form-data"\
- "http://petstore.swagger.io/v2/pet/{petId}/uploadImage"
+
curl -X POST \
+ \
+ -H "Accept: application/json" \
+ -H "Content-Type: multipart/form-data" \
+ "http://petstore.swagger.io/v2/pet/{petId}/uploadImage"
+
import org.openapitools.client.*;
@@ -4095,13 +4131,13 @@ public class PetApiExample {
         // Configure OAuth2 access token for authorization: petstore_auth
         OAuth petstore_auth = (OAuth) defaultClient.getAuthentication("petstore_auth");
         petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
-        
+
         // Create an instance of the API class
         PetApi apiInstance = new PetApi();
         Long petId = 789; // Long | ID of pet to update
         String additionalMetadata = additionalMetadata_example; // String | Additional data to pass to server
         File file = BINARY_DATA_HERE; // File | file to upload
-        
+
         try {
             ApiResponse result = apiInstance.uploadFile(petId, additionalMetadata, file);
             System.out.println(result);
@@ -4123,7 +4159,7 @@ public class PetApiExample {
         Long petId = 789; // Long | ID of pet to update
         String additionalMetadata = additionalMetadata_example; // String | Additional data to pass to server
         File file = BINARY_DATA_HERE; // File | file to upload
-        
+
         try {
             ApiResponse result = apiInstance.uploadFile(petId, additionalMetadata, file);
             System.out.println(result);
@@ -4211,7 +4247,7 @@ namespace Example
         {
             // Configure OAuth2 access token for authorization: petstore_auth
             Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
-            
+
             // Create an instance of the API class
             var apiInstance = new PetApi();
             var petId = 789;  // Long | ID of pet to update (default to null)
@@ -4267,7 +4303,7 @@ my $petId = 789; # Long | ID of pet to update
 my $additionalMetadata = additionalMetadata_example; # String | Additional data to pass to server
 my $file = BINARY_DATA_HERE; # File | file to upload
 
-eval { 
+eval {
     my $result = $api_instance->uploadFile(petId => $petId, additionalMetadata => $additionalMetadata, file => $file);
     print Dumper($result);
 };
@@ -4292,7 +4328,7 @@ petId = 789 # Long | ID of pet to update (default to null)
 additionalMetadata = additionalMetadata_example # String | Additional data to pass to server (optional) (default to null)
 file = BINARY_DATA_HERE # File | file to upload (optional) (default to null)
 
-try: 
+try:
     # uploads an image
     api_response = api_instance.upload_file(petId, additionalMetadata=additionalMetadata, file=file)
     pprint(api_response)
@@ -4528,8 +4564,9 @@ file to upload
 
                         
-
curl -X DELETE\
- "http://petstore.swagger.io/v2/store/order/{orderId}"
+
curl -X DELETE \
+ "http://petstore.swagger.io/v2/store/order/{orderId}"
+
import org.openapitools.client.*;
@@ -4542,11 +4579,11 @@ import java.util.*;
 
 public class StoreApiExample {
     public static void main(String[] args) {
-        
+
         // Create an instance of the API class
         StoreApi apiInstance = new StoreApi();
         String orderId = orderId_example; // String | ID of the order that needs to be deleted
-        
+
         try {
             apiInstance.deleteOrder(orderId);
         } catch (ApiException e) {
@@ -4565,7 +4602,7 @@ public class StoreApiExample {
     public static void main(String[] args) {
         StoreApi apiInstance = new StoreApi();
         String orderId = orderId_example; // String | ID of the order that needs to be deleted
-        
+
         try {
             apiInstance.deleteOrder(orderId);
         } catch (ApiException e) {
@@ -4630,7 +4667,7 @@ namespace Example
     {
         public void main()
         {
-            
+
             // Create an instance of the API class
             var apiInstance = new StoreApi();
             var orderId = orderId_example;  // String | ID of the order that needs to be deleted (default to null)
@@ -4672,7 +4709,7 @@ use WWW::OPenAPIClient::StoreApi;
 my $api_instance = WWW::OPenAPIClient::StoreApi->new();
 my $orderId = orderId_example; # String | ID of the order that needs to be deleted
 
-eval { 
+eval {
     $api_instance->deleteOrder(orderId => $orderId);
 };
 if ($@) {
@@ -4691,7 +4728,7 @@ from pprint import pprint
 api_instance = openapi_client.StoreApi()
 orderId = orderId_example # String | ID of the order that needs to be deleted (default to null)
 
-try: 
+try:
     # Delete purchase order by ID
     api_instance.delete_order(orderId)
 except ApiException as e:
@@ -4836,10 +4873,11 @@ ID of the order that needs to be deleted
 
                         
-
curl -X GET\
--H "api_key: [[apiKey]]"\
- -H "Accept: application/json"\
- "http://petstore.swagger.io/v2/store/inventory"
+
curl -X GET \
+-H "api_key: [[apiKey]]" \
+ -H "Accept: application/json" \
+ "http://petstore.swagger.io/v2/store/inventory"
+
import org.openapitools.client.*;
@@ -4859,10 +4897,10 @@ public class StoreApiExample {
         api_key.setApiKey("YOUR API KEY");
         // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
         //api_key.setApiKeyPrefix("Token");
-        
+
         // Create an instance of the API class
         StoreApi apiInstance = new StoreApi();
-        
+
         try {
             map['String', 'Integer'] result = apiInstance.getInventory();
             System.out.println(result);
@@ -4881,7 +4919,7 @@ public class StoreApiExample {
 public class StoreApiExample {
     public static void main(String[] args) {
         StoreApi apiInstance = new StoreApi();
-        
+
         try {
             map['String', 'Integer'] result = apiInstance.getInventory();
             System.out.println(result);
@@ -4964,7 +5002,7 @@ namespace Example
             Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
             // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
             // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");
-            
+
             // Create an instance of the API class
             var apiInstance = new StoreApi();
 
@@ -5015,7 +5053,7 @@ $WWW::OPenAPIClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
 # Create an instance of the API class
 my $api_instance = WWW::OPenAPIClient::StoreApi->new();
 
-eval { 
+eval {
     my $result = $api_instance->getInventory();
     print Dumper($result);
 };
@@ -5039,7 +5077,7 @@ openapi_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
 # Create an instance of the API class
 api_instance = openapi_client.StoreApi()
 
-try: 
+try:
     # Returns pet inventories by status
     api_response = api_instance.get_inventory()
     pprint(api_response)
@@ -5180,9 +5218,10 @@ pub fn main() {
 
                         
-
curl -X GET\
- -H "Accept: application/xml,application/json"\
- "http://petstore.swagger.io/v2/store/order/{orderId}"
+
curl -X GET \
+ -H "Accept: application/xml,application/json" \
+ "http://petstore.swagger.io/v2/store/order/{orderId}"
+
import org.openapitools.client.*;
@@ -5195,11 +5234,11 @@ import java.util.*;
 
 public class StoreApiExample {
     public static void main(String[] args) {
-        
+
         // Create an instance of the API class
         StoreApi apiInstance = new StoreApi();
         Long orderId = 789; // Long | ID of pet that needs to be fetched
-        
+
         try {
             Order result = apiInstance.getOrderById(orderId);
             System.out.println(result);
@@ -5219,7 +5258,7 @@ public class StoreApiExample {
     public static void main(String[] args) {
         StoreApi apiInstance = new StoreApi();
         Long orderId = 789; // Long | ID of pet that needs to be fetched
-        
+
         try {
             Order result = apiInstance.getOrderById(orderId);
             System.out.println(result);
@@ -5288,7 +5327,7 @@ namespace Example
     {
         public void main()
         {
-            
+
             // Create an instance of the API class
             var apiInstance = new StoreApi();
             var orderId = 789;  // Long | ID of pet that needs to be fetched (default to null)
@@ -5332,7 +5371,7 @@ use WWW::OPenAPIClient::StoreApi;
 my $api_instance = WWW::OPenAPIClient::StoreApi->new();
 my $orderId = 789; # Long | ID of pet that needs to be fetched
 
-eval { 
+eval {
     my $result = $api_instance->getOrderById(orderId => $orderId);
     print Dumper($result);
 };
@@ -5352,7 +5391,7 @@ from pprint import pprint
 api_instance = openapi_client.StoreApi()
 orderId = 789 # Long | ID of pet that needs to be fetched (default to null)
 
-try: 
+try:
     # Find purchase order by ID
     api_response = api_instance.get_order_by_id(orderId)
     pprint(api_response)
@@ -5572,10 +5611,19 @@ ID of pet that needs to be fetched
 
                         
-
curl -X POST\
- -H "Accept: application/xml,application/json"\
- -H "Content-Type: application/json"\
- "http://petstore.swagger.io/v2/store/order"
+
curl -X POST \
+ -H "Accept: application/xml,application/json" \
+ -H "Content-Type: application/json" \
+ "http://petstore.swagger.io/v2/store/order" \
+ -d '{
+  "petId" : 6,
+  "quantity" : 1,
+  "id" : 0,
+  "shipDate" : "2000-01-23T04:56:07.000+00:00",
+  "complete" : false,
+  "status" : "placed"
+}'
+
import org.openapitools.client.*;
@@ -5588,11 +5636,11 @@ import java.util.*;
 
 public class StoreApiExample {
     public static void main(String[] args) {
-        
+
         // Create an instance of the API class
         StoreApi apiInstance = new StoreApi();
         Order order = ; // Order | 
-        
+
         try {
             Order result = apiInstance.placeOrder(order);
             System.out.println(result);
@@ -5612,7 +5660,7 @@ public class StoreApiExample {
     public static void main(String[] args) {
         StoreApi apiInstance = new StoreApi();
         Order order = ; // Order | 
-        
+
         try {
             Order result = apiInstance.placeOrder(order);
             System.out.println(result);
@@ -5681,7 +5729,7 @@ namespace Example
     {
         public void main()
         {
-            
+
             // Create an instance of the API class
             var apiInstance = new StoreApi();
             var order = new Order(); // Order | 
@@ -5725,7 +5773,7 @@ use WWW::OPenAPIClient::StoreApi;
 my $api_instance = WWW::OPenAPIClient::StoreApi->new();
 my $order = WWW::OPenAPIClient::Object::Order->new(); # Order | 
 
-eval { 
+eval {
     my $result = $api_instance->placeOrder(order => $order);
     print Dumper($result);
 };
@@ -5745,7 +5793,7 @@ from pprint import pprint
 api_instance = openapi_client.StoreApi()
 order =  # Order | 
 
-try: 
+try:
     # Place an order for a pet
     api_response = api_instance.place_order(order)
     pprint(api_response)
@@ -5960,10 +6008,21 @@ $(document).ready(function() {
 
                         
-
curl -X POST\
--H "api_key: [[apiKey]]"\
- -H "Content-Type: application/json"\
- "http://petstore.swagger.io/v2/user"
+
curl -X POST \
+-H "api_key: [[apiKey]]" \
+ -H "Content-Type: application/json" \
+ "http://petstore.swagger.io/v2/user" \
+ -d '{
+  "firstName" : "firstName",
+  "lastName" : "lastName",
+  "password" : "password",
+  "userStatus" : 6,
+  "phone" : "phone",
+  "id" : 0,
+  "email" : "email",
+  "username" : "username"
+}'
+
import org.openapitools.client.*;
@@ -5983,11 +6042,11 @@ public class UserApiExample {
         api_key.setApiKey("YOUR API KEY");
         // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
         //api_key.setApiKeyPrefix("Token");
-        
+
         // Create an instance of the API class
         UserApi apiInstance = new UserApi();
         User user = ; // User | 
-        
+
         try {
             apiInstance.createUser(user);
         } catch (ApiException e) {
@@ -6006,7 +6065,7 @@ public class UserApiExample {
     public static void main(String[] args) {
         UserApi apiInstance = new UserApi();
         User user = ; // User | 
-        
+
         try {
             apiInstance.createUser(user);
         } catch (ApiException e) {
@@ -6088,7 +6147,7 @@ namespace Example
             Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
             // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
             // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");
-            
+
             // Create an instance of the API class
             var apiInstance = new UserApi();
             var user = new User(); // User | 
@@ -6140,7 +6199,7 @@ $WWW::OPenAPIClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
 my $api_instance = WWW::OPenAPIClient::UserApi->new();
 my $user = WWW::OPenAPIClient::Object::User->new(); # User | 
 
-eval { 
+eval {
     $api_instance->createUser(user => $user);
 };
 if ($@) {
@@ -6164,7 +6223,7 @@ openapi_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
 api_instance = openapi_client.UserApi()
 user =  # User | 
 
-try: 
+try:
     # Create user
     api_instance.create_user(user)
 except ApiException as e:
@@ -6304,10 +6363,21 @@ $(document).ready(function() {
 
                         
-
curl -X POST\
--H "api_key: [[apiKey]]"\
- -H "Content-Type: application/json"\
- "http://petstore.swagger.io/v2/user/createWithArray"
+
curl -X POST \
+-H "api_key: [[apiKey]]" \
+ -H "Content-Type: application/json" \
+ "http://petstore.swagger.io/v2/user/createWithArray" \
+ -d '{
+  "firstName" : "firstName",
+  "lastName" : "lastName",
+  "password" : "password",
+  "userStatus" : 6,
+  "phone" : "phone",
+  "id" : 0,
+  "email" : "email",
+  "username" : "username"
+}'
+
import org.openapitools.client.*;
@@ -6327,11 +6397,11 @@ public class UserApiExample {
         api_key.setApiKey("YOUR API KEY");
         // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
         //api_key.setApiKeyPrefix("Token");
-        
+
         // Create an instance of the API class
         UserApi apiInstance = new UserApi();
         array[User] user = ; // array[User] | 
-        
+
         try {
             apiInstance.createUsersWithArrayInput(user);
         } catch (ApiException e) {
@@ -6350,7 +6420,7 @@ public class UserApiExample {
     public static void main(String[] args) {
         UserApi apiInstance = new UserApi();
         array[User] user = ; // array[User] | 
-        
+
         try {
             apiInstance.createUsersWithArrayInput(user);
         } catch (ApiException e) {
@@ -6432,7 +6502,7 @@ namespace Example
             Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
             // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
             // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");
-            
+
             // Create an instance of the API class
             var apiInstance = new UserApi();
             var user = new array[User](); // array[User] | 
@@ -6484,7 +6554,7 @@ $WWW::OPenAPIClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
 my $api_instance = WWW::OPenAPIClient::UserApi->new();
 my $user = [WWW::OPenAPIClient::Object::array[User]->new()]; # array[User] | 
 
-eval { 
+eval {
     $api_instance->createUsersWithArrayInput(user => $user);
 };
 if ($@) {
@@ -6508,7 +6578,7 @@ openapi_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
 api_instance = openapi_client.UserApi()
 user =  # array[User] | 
 
-try: 
+try:
     # Creates list of users with given input array
     api_instance.create_users_with_array_input(user)
 except ApiException as e:
@@ -6651,10 +6721,21 @@ $(document).ready(function() {
 
                         
-
curl -X POST\
--H "api_key: [[apiKey]]"\
- -H "Content-Type: application/json"\
- "http://petstore.swagger.io/v2/user/createWithList"
+
curl -X POST \
+-H "api_key: [[apiKey]]" \
+ -H "Content-Type: application/json" \
+ "http://petstore.swagger.io/v2/user/createWithList" \
+ -d '{
+  "firstName" : "firstName",
+  "lastName" : "lastName",
+  "password" : "password",
+  "userStatus" : 6,
+  "phone" : "phone",
+  "id" : 0,
+  "email" : "email",
+  "username" : "username"
+}'
+
import org.openapitools.client.*;
@@ -6674,11 +6755,11 @@ public class UserApiExample {
         api_key.setApiKey("YOUR API KEY");
         // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
         //api_key.setApiKeyPrefix("Token");
-        
+
         // Create an instance of the API class
         UserApi apiInstance = new UserApi();
         array[User] user = ; // array[User] | 
-        
+
         try {
             apiInstance.createUsersWithListInput(user);
         } catch (ApiException e) {
@@ -6697,7 +6778,7 @@ public class UserApiExample {
     public static void main(String[] args) {
         UserApi apiInstance = new UserApi();
         array[User] user = ; // array[User] | 
-        
+
         try {
             apiInstance.createUsersWithListInput(user);
         } catch (ApiException e) {
@@ -6779,7 +6860,7 @@ namespace Example
             Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
             // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
             // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");
-            
+
             // Create an instance of the API class
             var apiInstance = new UserApi();
             var user = new array[User](); // array[User] | 
@@ -6831,7 +6912,7 @@ $WWW::OPenAPIClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
 my $api_instance = WWW::OPenAPIClient::UserApi->new();
 my $user = [WWW::OPenAPIClient::Object::array[User]->new()]; # array[User] | 
 
-eval { 
+eval {
     $api_instance->createUsersWithListInput(user => $user);
 };
 if ($@) {
@@ -6855,7 +6936,7 @@ openapi_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
 api_instance = openapi_client.UserApi()
 user =  # array[User] | 
 
-try: 
+try:
     # Creates list of users with given input array
     api_instance.create_users_with_list_input(user)
 except ApiException as e:
@@ -6998,9 +7079,10 @@ $(document).ready(function() {
 
                         
-
curl -X DELETE\
--H "api_key: [[apiKey]]"\
- "http://petstore.swagger.io/v2/user/{username}"
+
curl -X DELETE \
+-H "api_key: [[apiKey]]" \
+ "http://petstore.swagger.io/v2/user/{username}"
+
import org.openapitools.client.*;
@@ -7020,11 +7102,11 @@ public class UserApiExample {
         api_key.setApiKey("YOUR API KEY");
         // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
         //api_key.setApiKeyPrefix("Token");
-        
+
         // Create an instance of the API class
         UserApi apiInstance = new UserApi();
         String username = username_example; // String | The name that needs to be deleted
-        
+
         try {
             apiInstance.deleteUser(username);
         } catch (ApiException e) {
@@ -7043,7 +7125,7 @@ public class UserApiExample {
     public static void main(String[] args) {
         UserApi apiInstance = new UserApi();
         String username = username_example; // String | The name that needs to be deleted
-        
+
         try {
             apiInstance.deleteUser(username);
         } catch (ApiException e) {
@@ -7125,7 +7207,7 @@ namespace Example
             Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
             // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
             // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");
-            
+
             // Create an instance of the API class
             var apiInstance = new UserApi();
             var username = username_example;  // String | The name that needs to be deleted (default to null)
@@ -7177,7 +7259,7 @@ $WWW::OPenAPIClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
 my $api_instance = WWW::OPenAPIClient::UserApi->new();
 my $username = username_example; # String | The name that needs to be deleted
 
-eval { 
+eval {
     $api_instance->deleteUser(username => $username);
 };
 if ($@) {
@@ -7201,7 +7283,7 @@ openapi_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
 api_instance = openapi_client.UserApi()
 username = username_example # String | The name that needs to be deleted (default to null)
 
-try: 
+try:
     # Delete user
     api_instance.delete_user(username)
 except ApiException as e:
@@ -7346,9 +7428,10 @@ The name that needs to be deleted
 
                         
-
curl -X GET\
- -H "Accept: application/xml,application/json"\
- "http://petstore.swagger.io/v2/user/{username}"
+
curl -X GET \
+ -H "Accept: application/xml,application/json" \
+ "http://petstore.swagger.io/v2/user/{username}"
+
import org.openapitools.client.*;
@@ -7361,11 +7444,11 @@ import java.util.*;
 
 public class UserApiExample {
     public static void main(String[] args) {
-        
+
         // Create an instance of the API class
         UserApi apiInstance = new UserApi();
         String username = username_example; // String | The name that needs to be fetched. Use user1 for testing.
-        
+
         try {
             User result = apiInstance.getUserByName(username);
             System.out.println(result);
@@ -7385,7 +7468,7 @@ public class UserApiExample {
     public static void main(String[] args) {
         UserApi apiInstance = new UserApi();
         String username = username_example; // String | The name that needs to be fetched. Use user1 for testing.
-        
+
         try {
             User result = apiInstance.getUserByName(username);
             System.out.println(result);
@@ -7454,7 +7537,7 @@ namespace Example
     {
         public void main()
         {
-            
+
             // Create an instance of the API class
             var apiInstance = new UserApi();
             var username = username_example;  // String | The name that needs to be fetched. Use user1 for testing. (default to null)
@@ -7498,7 +7581,7 @@ use WWW::OPenAPIClient::UserApi;
 my $api_instance = WWW::OPenAPIClient::UserApi->new();
 my $username = username_example; # String | The name that needs to be fetched. Use user1 for testing.
 
-eval { 
+eval {
     my $result = $api_instance->getUserByName(username => $username);
     print Dumper($result);
 };
@@ -7518,7 +7601,7 @@ from pprint import pprint
 api_instance = openapi_client.UserApi()
 username = username_example # String | The name that needs to be fetched. Use user1 for testing. (default to null)
 
-try: 
+try:
     # Get user by user name
     api_response = api_instance.get_user_by_name(username)
     pprint(api_response)
@@ -7735,9 +7818,10 @@ The name that needs to be fetched. Use user1 for testing.
 
                         
-
curl -X GET\
- -H "Accept: application/xml,application/json"\
- "http://petstore.swagger.io/v2/user/login?username=&password="
+
curl -X GET \
+ -H "Accept: application/xml,application/json" \
+ "http://petstore.swagger.io/v2/user/login?username=username_example&password=password_example"
+
import org.openapitools.client.*;
@@ -7750,12 +7834,12 @@ import java.util.*;
 
 public class UserApiExample {
     public static void main(String[] args) {
-        
+
         // Create an instance of the API class
         UserApi apiInstance = new UserApi();
         String username = username_example; // String | The user name for login
         String password = password_example; // String | The password for login in clear text
-        
+
         try {
             'String' result = apiInstance.loginUser(username, password);
             System.out.println(result);
@@ -7776,7 +7860,7 @@ public class UserApiExample {
         UserApi apiInstance = new UserApi();
         String username = username_example; // String | The user name for login
         String password = password_example; // String | The password for login in clear text
-        
+
         try {
             'String' result = apiInstance.loginUser(username, password);
             System.out.println(result);
@@ -7848,7 +7932,7 @@ namespace Example
     {
         public void main()
         {
-            
+
             // Create an instance of the API class
             var apiInstance = new UserApi();
             var username = username_example;  // String | The user name for login (default to null)
@@ -7895,7 +7979,7 @@ my $api_instance = WWW::OPenAPIClient::UserApi->new();
 my $username = username_example; # String | The user name for login
 my $password = password_example; # String | The password for login in clear text
 
-eval { 
+eval {
     my $result = $api_instance->loginUser(username => $username, password => $password);
     print Dumper($result);
 };
@@ -7916,7 +8000,7 @@ api_instance = openapi_client.UserApi()
 username = username_example # String | The user name for login (default to null)
 password = password_example # String | The password for login in clear text (default to null)
 
-try: 
+try:
     # Logs user into the system
     api_response = api_instance.login_user(username, password)
     pprint(api_response)
@@ -8061,7 +8145,7 @@ The password for login in clear text
       }
     },
     "X-Expires-After" : {
-      "description" : "date in UTC when toekn expires",
+      "description" : "date in UTC when token expires",
       "style" : "simple",
       "explode" : false,
       "schema" : {
@@ -8132,7 +8216,7 @@ The password for login in clear text
                                                   XMinusExpiresMinusAfter
                                                   Date
                                                   date-time
-                                                  date in UTC when toekn expires
+                                                  date in UTC when token expires
                                               
                                       
                                   
@@ -8195,9 +8279,10 @@ The password for login in clear text
-
curl -X GET\
--H "api_key: [[apiKey]]"\
- "http://petstore.swagger.io/v2/user/logout"
+
curl -X GET \
+-H "api_key: [[apiKey]]" \
+ "http://petstore.swagger.io/v2/user/logout"
+
import org.openapitools.client.*;
@@ -8217,10 +8302,10 @@ public class UserApiExample {
         api_key.setApiKey("YOUR API KEY");
         // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
         //api_key.setApiKeyPrefix("Token");
-        
+
         // Create an instance of the API class
         UserApi apiInstance = new UserApi();
-        
+
         try {
             apiInstance.logoutUser();
         } catch (ApiException e) {
@@ -8238,7 +8323,7 @@ public class UserApiExample {
 public class UserApiExample {
     public static void main(String[] args) {
         UserApi apiInstance = new UserApi();
-        
+
         try {
             apiInstance.logoutUser();
         } catch (ApiException e) {
@@ -8317,7 +8402,7 @@ namespace Example
             Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
             // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
             // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");
-            
+
             // Create an instance of the API class
             var apiInstance = new UserApi();
 
@@ -8366,7 +8451,7 @@ $WWW::OPenAPIClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
 # Create an instance of the API class
 my $api_instance = WWW::OPenAPIClient::UserApi->new();
 
-eval { 
+eval {
     $api_instance->logoutUser();
 };
 if ($@) {
@@ -8389,7 +8474,7 @@ openapi_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
 # Create an instance of the API class
 api_instance = openapi_client.UserApi()
 
-try: 
+try:
     # Logs out current logged in user session
     api_instance.logout_user()
 except ApiException as e:
@@ -8481,10 +8566,21 @@ pub fn main() {
 
                         
-
curl -X PUT\
--H "api_key: [[apiKey]]"\
- -H "Content-Type: application/json"\
- "http://petstore.swagger.io/v2/user/{username}"
+
curl -X PUT \
+-H "api_key: [[apiKey]]" \
+ -H "Content-Type: application/json" \
+ "http://petstore.swagger.io/v2/user/{username}" \
+ -d '{
+  "firstName" : "firstName",
+  "lastName" : "lastName",
+  "password" : "password",
+  "userStatus" : 6,
+  "phone" : "phone",
+  "id" : 0,
+  "email" : "email",
+  "username" : "username"
+}'
+
import org.openapitools.client.*;
@@ -8504,12 +8600,12 @@ public class UserApiExample {
         api_key.setApiKey("YOUR API KEY");
         // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
         //api_key.setApiKeyPrefix("Token");
-        
+
         // Create an instance of the API class
         UserApi apiInstance = new UserApi();
         String username = username_example; // String | name that need to be deleted
         User user = ; // User | 
-        
+
         try {
             apiInstance.updateUser(username, user);
         } catch (ApiException e) {
@@ -8529,7 +8625,7 @@ public class UserApiExample {
         UserApi apiInstance = new UserApi();
         String username = username_example; // String | name that need to be deleted
         User user = ; // User | 
-        
+
         try {
             apiInstance.updateUser(username, user);
         } catch (ApiException e) {
@@ -8614,7 +8710,7 @@ namespace Example
             Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
             // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
             // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");
-            
+
             // Create an instance of the API class
             var apiInstance = new UserApi();
             var username = username_example;  // String | name that need to be deleted (default to null)
@@ -8669,7 +8765,7 @@ my $api_instance = WWW::OPenAPIClient::UserApi->new();
 my $username = username_example; # String | name that need to be deleted
 my $user = WWW::OPenAPIClient::Object::User->new(); # User | 
 
-eval { 
+eval {
     $api_instance->updateUser(username => $username, user => $user);
 };
 if ($@) {
@@ -8694,7 +8790,7 @@ api_instance = openapi_client.UserApi()
 username = username_example # String | name that need to be deleted (default to null)
 user =  # User | 
 
-try: 
+try:
     # Updated user
     api_instance.update_user(username, user)
 except ApiException as e:
@@ -8939,7 +9035,7 @@ return /******/ (function(modules) { // webpackBootstrap
 	var DATE_STRING_REGEX = /(^\d{1,4}[\.|\\/|-]\d{1,2}[\.|\\/|-]\d{1,4})(\s*(?:0?[1-9]:[0-5]|1(?=[012])\d:[0-5])\d\s*[ap]m)?$/;
 	var PARTIAL_DATE_REGEX = /\d{2}:\d{2}:\d{2} GMT-\d{4}/;
 	var JSON_DATE_REGEX = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/;
-	// When toggleing, don't animated removal or addition of more than a few items
+	// When toggling, don't animated removal or addition of more than a few items
 	var MAX_ANIMATED_TOGGLE_ITEMS = 10;
 	var requestAnimationFrame = window.requestAnimationFrame || function (cb) { cb(); return 0; };
 	;
@@ -9368,7 +9464,7 @@ return /******/ (function(modules) { // webpackBootstrap
 /***/ function(module, exports, __webpack_require__) {
 
 	// style-loader: Adds some css to the DOM by adding a