forked from loafle/openapi-generator-original
Squashed commit of the following:
commit c5a0d0f7394aa742fa336fff7e7c1d3049761868 Merge:8c4991ba3ef8ff8c8760Author: 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 commitf8ff8c8760Author: Nathan Baulch <nathan.baulch@gmail.com> Date: Thu Aug 5 14:12:47 2021 +1000 Reorder tags that handle missing values commitf5d8a33709Author: Nathan Baulch <nathan.baulch@gmail.com> Date: Thu Aug 5 14:08:59 2021 +1000 Use dot notation where possible commit493d14921eAuthor: Nathan Baulch <nathan.baulch@gmail.com> Date: Thu Aug 5 14:10:49 2021 +1000 Remove empty tags commit32480dc53fAuthor: Nathan Baulch <nathan.baulch@gmail.com> Date: Thu Aug 5 10:41:58 2021 +1000 Remove redundant sections commita8edabd722Author: Nathan Baulch <nathan.baulch@gmail.com> Date: Wed Aug 4 22:02:22 2021 +1000 Trim extra EOF new lines commite89bd7458eAuthor: Nathan Baulch <nathan.baulch@gmail.com> Date: Wed Aug 4 21:59:26 2021 +1000 Trim trailing whitespace
This commit is contained in:
@@ -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)) {
|
||||
|
||||
@@ -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 = [];
|
||||
|
||||
@@ -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 = [];
|
||||
|
||||
@@ -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 = [];
|
||||
|
||||
@@ -179,4 +179,3 @@ Class | Method | HTTP request | Description
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user