Squashed commit of the following:

commit c5a0d0f7394aa742fa336fff7e7c1d3049761868
Merge: 8c4991ba3e f8ff8c8760
Author: William Cheng <wing328hk@gmail.com>
Date:   Tue Aug 17 18:28:12 2021 +0800

    Merge branch 'mustache-linting' of https://github.com/NathanBaulch/openapi-generator into NathanBaulch-mustache-linting

commit f8ff8c8760
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Thu Aug 5 14:12:47 2021 +1000

    Reorder tags that handle missing values

commit f5d8a33709
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Thu Aug 5 14:08:59 2021 +1000

    Use dot notation where possible

commit 493d14921e
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Thu Aug 5 14:10:49 2021 +1000

    Remove empty tags

commit 32480dc53f
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Thu Aug 5 10:41:58 2021 +1000

    Remove redundant sections

commit a8edabd722
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Wed Aug 4 22:02:22 2021 +1000

    Trim extra EOF new lines

commit e89bd7458e
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Wed Aug 4 21:59:26 2021 +1000

    Trim trailing whitespace
This commit is contained in:
William Cheng
2021-08-17 18:37:51 +08:00
parent 7edddb6531
commit 0204bf4ae2
2184 changed files with 6677 additions and 7219 deletions

View File

@@ -165,7 +165,7 @@ class Controller extends AbstractController
{
// Figure out what the client accepts
$accept = preg_split("/[\s,]+/", $accept);
if (in_array('*/*', $accept) || in_array('application/*', $accept)) {
// Prefer JSON if the client has no preference
if (in_array('application/json', $produced)) {

View File

@@ -110,7 +110,7 @@ class PetController extends Controller
// Set authentication method 'petstore_auth'
$handler->setpetstore_auth($securitypetstore_auth);
// Make the call to the business logic
$responseCode = 200;
$responseHeaders = [];
@@ -194,7 +194,7 @@ class PetController extends Controller
// Set authentication method 'petstore_auth'
$handler->setpetstore_auth($securitypetstore_auth);
// Make the call to the business logic
$responseCode = 204;
$responseHeaders = [];
@@ -282,7 +282,7 @@ class PetController extends Controller
// Set authentication method 'petstore_auth'
$handler->setpetstore_auth($securitypetstore_auth);
// Make the call to the business logic
$responseCode = 200;
$responseHeaders = [];
@@ -372,7 +372,7 @@ class PetController extends Controller
// Set authentication method 'petstore_auth'
$handler->setpetstore_auth($securitypetstore_auth);
// Make the call to the business logic
$responseCode = 200;
$responseHeaders = [];
@@ -457,7 +457,7 @@ class PetController extends Controller
// Set authentication method 'api_key'
$handler->setapi_key($securityapi_key);
// Make the call to the business logic
$responseCode = 200;
$responseHeaders = [];
@@ -555,7 +555,7 @@ class PetController extends Controller
// Set authentication method 'petstore_auth'
$handler->setpetstore_auth($securitypetstore_auth);
// Make the call to the business logic
$responseCode = 200;
$responseHeaders = [];
@@ -653,7 +653,7 @@ class PetController extends Controller
// Set authentication method 'petstore_auth'
$handler->setpetstore_auth($securitypetstore_auth);
// Make the call to the business logic
$responseCode = 204;
$responseHeaders = [];
@@ -749,7 +749,7 @@ class PetController extends Controller
// Set authentication method 'petstore_auth'
$handler->setpetstore_auth($securitypetstore_auth);
// Make the call to the business logic
$responseCode = 200;
$responseHeaders = [];

View File

@@ -85,7 +85,7 @@ class StoreController extends Controller
try {
$handler = $this->getApiHandler();
// Make the call to the business logic
$responseCode = 204;
$responseHeaders = [];
@@ -155,7 +155,7 @@ class StoreController extends Controller
// Set authentication method 'api_key'
$handler->setapi_key($securityapi_key);
// Make the call to the business logic
$responseCode = 200;
$responseHeaders = [];
@@ -234,7 +234,7 @@ class StoreController extends Controller
try {
$handler = $this->getApiHandler();
// Make the call to the business logic
$responseCode = 200;
$responseHeaders = [];
@@ -327,7 +327,7 @@ class StoreController extends Controller
try {
$handler = $this->getApiHandler();
// Make the call to the business logic
$responseCode = 200;
$responseHeaders = [];

View File

@@ -100,7 +100,7 @@ class UserController extends Controller
// Set authentication method 'api_key'
$handler->setapi_key($securityapi_key);
// Make the call to the business logic
$responseCode = 204;
$responseHeaders = [];
@@ -184,7 +184,7 @@ class UserController extends Controller
// Set authentication method 'api_key'
$handler->setapi_key($securityapi_key);
// Make the call to the business logic
$responseCode = 204;
$responseHeaders = [];
@@ -268,7 +268,7 @@ class UserController extends Controller
// Set authentication method 'api_key'
$handler->setapi_key($securityapi_key);
// Make the call to the business logic
$responseCode = 204;
$responseHeaders = [];
@@ -340,7 +340,7 @@ class UserController extends Controller
// Set authentication method 'api_key'
$handler->setapi_key($securityapi_key);
// Make the call to the business logic
$responseCode = 204;
$responseHeaders = [];
@@ -419,7 +419,7 @@ class UserController extends Controller
try {
$handler = $this->getApiHandler();
// Make the call to the business logic
$responseCode = 200;
$responseHeaders = [];
@@ -513,7 +513,7 @@ class UserController extends Controller
try {
$handler = $this->getApiHandler();
// Make the call to the business logic
$responseCode = 200;
$responseHeaders = [];
@@ -575,7 +575,7 @@ class UserController extends Controller
// Set authentication method 'api_key'
$handler->setapi_key($securityapi_key);
// Make the call to the business logic
$responseCode = 204;
$responseHeaders = [];
@@ -665,7 +665,7 @@ class UserController extends Controller
// Set authentication method 'api_key'
$handler->setapi_key($securityapi_key);
// Make the call to the business logic
$responseCode = 204;
$responseHeaders = [];

View File

@@ -179,4 +179,3 @@ Class | Method | HTTP request | Description

View File

@@ -28,7 +28,7 @@ class JmsSerializer implements SerializerInterface
public function deserialize($data, $type, $format)
{
if ($format == 'string') {
return $this->deserializeString($data, $type);
return $this->deserializeString($data, $type);
}
// If we end up here, let JMS serializer handle the deserialization

View File

@@ -55,4 +55,3 @@ git pull origin master
# Pushes (Forces) the changes in the local repository up to the remote repository
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
git push origin master 2>&1 | grep -v 'To https'