forked from loafle/openapi-generator-original
[php-slim4] Set required PHP version to 7.2 (#6530)
* Bump required PHP version to 7.2 * Update rest dependencies to meet php 7.2 Latest phpunit 9 requires PHP 7.3, so I've set phpunit 8 as a fallback. * Fix TestCase inheritance * Add phpunit cache file to gitignore * Put license @phpdoc into separate mustache * Bump readme PHP version to 7.2 * Bump @phpdoc PHP version to 7.2 * Update Zend Diactoros with suggested package * Refresh samples * Remove broken tests These tests will be fixed in next PR which moves Mock feature to external repo. * Point root Travis CI environment to PHP 7.3
This commit is contained in:
parent
90f904a669
commit
e282a052bf
@ -85,7 +85,7 @@ before_install:
|
|||||||
#- sudo apt-get update
|
#- sudo apt-get update
|
||||||
#- sudo apt-get install dart
|
#- sudo apt-get install dart
|
||||||
# switch to php7
|
# switch to php7
|
||||||
- phpenv global 7.1
|
- phpenv global 7.3
|
||||||
- php -v
|
- php -v
|
||||||
# install perl module
|
# install perl module
|
||||||
#- cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
|
#- cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
|
||||||
|
@ -13,13 +13,13 @@ This server has been generated with [Nyholm PSR-7](https://github.com/Nyholm/psr
|
|||||||
This server has been generated with [Guzzle PSR-7](https://github.com/guzzle/psr7) implementation and [Guzzle HTTP Factory](https://github.com/http-interop/http-factory-guzzle).
|
This server has been generated with [Guzzle PSR-7](https://github.com/guzzle/psr7) implementation and [Guzzle HTTP Factory](https://github.com/http-interop/http-factory-guzzle).
|
||||||
{{/isGuzzlePsr7}}
|
{{/isGuzzlePsr7}}
|
||||||
{{#isZendDiactoros}}
|
{{#isZendDiactoros}}
|
||||||
This server has been generated with [Zend Diactoros](https://github.com/zendframework/zend-diactoros).
|
This server has been generated with [Laminas (Zend) PSR-7 implementation](https://github.com/laminas/laminas-diactoros).
|
||||||
{{/isZendDiactoros}}
|
{{/isZendDiactoros}}
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
* Web server with URL rewriting
|
* Web server with URL rewriting
|
||||||
* PHP 7.1 or newer
|
* PHP 7.2 or newer
|
||||||
|
|
||||||
This package contains `.htaccess` for Apache configuration.
|
This package contains `.htaccess` for Apache configuration.
|
||||||
If you use another server(Nginx, HHVM, IIS, lighttpd) check out [Web Servers](https://www.slimframework.com/docs/v3/start/web-servers.html) doc.
|
If you use another server(Nginx, HHVM, IIS, lighttpd) check out [Web Servers](https://www.slimframework.com/docs/v3/start/web-servers.html) doc.
|
||||||
|
@ -1,36 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
{{>licenseInfo}}
|
||||||
* SlimRouter
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{invokerPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**{{#apiInfo}}{{#appName}}
|
|
||||||
* {{{appName}}}
|
|
||||||
*
|
|
||||||
{{/appName}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*/
|
*/{{#apiInfo}}
|
||||||
namespace {{invokerPackage}};
|
namespace {{invokerPackage}};
|
||||||
|
|
||||||
use Slim\Factory\AppFactory;
|
use Slim\Factory\AppFactory;
|
||||||
|
@ -1,36 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
{{>licenseInfo}}
|
||||||
* {{abstractNamePrefix}}Authenticator{{abstractNameSuffix}}
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{invokerPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**{{#apiInfo}}{{#appName}}
|
|
||||||
* {{{appName}}}
|
|
||||||
*
|
|
||||||
{{/appName}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*/
|
*/{{#apiInfo}}
|
||||||
namespace {{authPackage}};
|
namespace {{authPackage}};
|
||||||
|
|
||||||
use Psr\Container\ContainerInterface;
|
use Psr\Container\ContainerInterface;
|
||||||
|
@ -1,31 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
{{>licenseInfo}}
|
||||||
* {{classname}}
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{apiPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
{{#appName}}
|
|
||||||
* {{{appName}}}
|
|
||||||
*
|
|
||||||
{{/appName}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
|
@ -1,37 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
{{#operations}}/**
|
{{>licenseInfo}}
|
||||||
* {{userClassname}}Test
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{apiPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
{{#appName}}
|
|
||||||
* {{{appName}}}
|
|
||||||
*
|
|
||||||
{{/appName}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
* Please update the test case below to test the endpoint.
|
* Please update the test case below to test the endpoint.
|
||||||
*/
|
*/{{#operations}}
|
||||||
namespace {{apiPackage}};
|
namespace {{apiPackage}};
|
||||||
|
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
@ -52,28 +27,28 @@ class {{userClassname}}Test extends TestCase
|
|||||||
/**
|
/**
|
||||||
* Setup before running any test cases
|
* Setup before running any test cases
|
||||||
*/
|
*/
|
||||||
public static function setUpBeforeClass()
|
public static function setUpBeforeClass(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Setup before running each test case
|
* Setup before running each test case
|
||||||
*/
|
*/
|
||||||
public function setUp()
|
public function setUp(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean up after running each test case
|
* Clean up after running each test case
|
||||||
*/
|
*/
|
||||||
public function tearDown()
|
public function tearDown(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean up after running all test cases
|
* Clean up after running all test cases
|
||||||
*/
|
*/
|
||||||
public static function tearDownAfterClass()
|
public static function tearDownAfterClass(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
{{#operation}}
|
{{#operation}}
|
||||||
|
@ -8,27 +8,27 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1",
|
"php": "^7.2",
|
||||||
"slim/slim": "^4.0",
|
"slim/slim": "^4.5.0",
|
||||||
"dyorg/slim-token-authentication": "dev-slim4",
|
"dyorg/slim-token-authentication": "dev-slim4",
|
||||||
{{#isSlimPsr7}}
|
{{#isSlimPsr7}}
|
||||||
"slim/psr7": "^0.4.0"
|
"slim/psr7": "^1.1.0"
|
||||||
{{/isSlimPsr7}}
|
{{/isSlimPsr7}}
|
||||||
{{#isNyholmPsr7}}
|
{{#isNyholmPsr7}}
|
||||||
"nyholm/psr7": "^1.1.0",
|
"nyholm/psr7": "^1.3.0",
|
||||||
"nyholm/psr7-server": "^0.3.0"
|
"nyholm/psr7-server": "^0.4.1"
|
||||||
{{/isNyholmPsr7}}
|
{{/isNyholmPsr7}}
|
||||||
{{#isGuzzlePsr7}}
|
{{#isGuzzlePsr7}}
|
||||||
"guzzlehttp/psr7": "^1.6.1",
|
"guzzlehttp/psr7": "^1.6.1",
|
||||||
"http-interop/http-factory-guzzle": "^1.0.0"
|
"http-interop/http-factory-guzzle": "^1.0.0"
|
||||||
{{/isGuzzlePsr7}}
|
{{/isGuzzlePsr7}}
|
||||||
{{#isZendDiactoros}}
|
{{#isZendDiactoros}}
|
||||||
"zendframework/zend-diactoros": "^2.1.3"
|
"laminas/laminas-diactoros": "^2.3.0"
|
||||||
{{/isZendDiactoros}}
|
{{/isZendDiactoros}}
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^6.0 || ^7.0",
|
"phpunit/phpunit": "^8.0 || ^9.0",
|
||||||
"overtrue/phplint": "^1.0",
|
"overtrue/phplint": "^2.0.2",
|
||||||
"squizlabs/php_codesniffer": "^3.5"
|
"squizlabs/php_codesniffer": "^3.5"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
@ -46,8 +46,6 @@
|
|||||||
],
|
],
|
||||||
"test-apis": "phpunit --testsuite Apis",
|
"test-apis": "phpunit --testsuite Apis",
|
||||||
"test-models": "phpunit --testsuite Models",
|
"test-models": "phpunit --testsuite Models",
|
||||||
"test-mock": "phpunit --testsuite Mock",
|
|
||||||
"test-utils": "phpunit --testsuite Utils",
|
|
||||||
"phpcs": "phpcs",
|
"phpcs": "phpcs",
|
||||||
"phplint": "phplint ./ --exclude=vendor"
|
"phplint": "phplint ./ --exclude=vendor"
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,7 @@ composer.lock
|
|||||||
|
|
||||||
# Do not commit local PHPUnit config
|
# Do not commit local PHPUnit config
|
||||||
/phpunit.xml
|
/phpunit.xml
|
||||||
|
/.phpunit.result.cache
|
||||||
|
|
||||||
# Do not commit local PHP_CodeSniffer config
|
# Do not commit local PHP_CodeSniffer config
|
||||||
/phpcs.xml
|
/phpcs.xml
|
@ -1,15 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
{{#apiInfo}}/**
|
{{>licenseInfo}}
|
||||||
* {{appName}}
|
|
||||||
*
|
/**
|
||||||
* PHP version 7.1
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
*
|
* https://github.com/openapitools/openapi-generator
|
||||||
* @package {{apiPackage}}
|
*/{{#apiInfo}}
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @version {{appVersion}}
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
require_once __DIR__ . '/vendor/autoload.php';
|
require_once __DIR__ . '/vendor/autoload.php';
|
||||||
|
|
||||||
|
@ -1,36 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
{{>licenseInfo}}
|
||||||
* JsonBodyParserMiddleware
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{invokerPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**{{#apiInfo}}{{#appName}}
|
|
||||||
* {{{appName}}}
|
|
||||||
*
|
|
||||||
{{/appName}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*/
|
*/{{#apiInfo}}
|
||||||
namespace {{invokerPackage}}\Middleware;
|
namespace {{invokerPackage}}\Middleware;
|
||||||
|
|
||||||
use Psr\Http\Message\ResponseInterface;
|
use Psr\Http\Message\ResponseInterface;
|
||||||
|
23
modules/openapi-generator/src/main/resources/php-slim4-server/licenseInfo.mustache
vendored
Normal file
23
modules/openapi-generator/src/main/resources/php-slim4-server/licenseInfo.mustache
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
/**
|
||||||
|
{{#appName}}
|
||||||
|
* {{{appName}}}
|
||||||
|
{{/appName}}
|
||||||
|
* PHP version 7.2
|
||||||
|
*
|
||||||
|
* @package {{invokerPackage}}
|
||||||
|
* @author OpenAPI Generator team
|
||||||
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
{{#appDescription}}
|
||||||
|
* {{{appDescription}}}
|
||||||
|
{{/appDescription}}
|
||||||
|
{{#version}}
|
||||||
|
* The version of the OpenAPI document: {{{version}}}
|
||||||
|
{{/version}}
|
||||||
|
{{#infoEmail}}
|
||||||
|
* Contact: {{{infoEmail}}}
|
||||||
|
{{/infoEmail}}
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
@ -1,19 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
{{#models}}{{#model}}/**
|
{{>licenseInfo}}
|
||||||
* {{classname}}
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{modelPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/{{#models}}{{#model}}
|
||||||
namespace {{modelPackage}};
|
namespace {{modelPackage}};
|
||||||
|
|
||||||
use {{interfacesPackage}}\{{interfaceNamePrefix}}Model{{interfaceNameSuffix}};
|
use {{interfacesPackage}}\{{interfaceNamePrefix}}Model{{interfaceNameSuffix}};
|
||||||
|
@ -1,36 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
{{>licenseInfo}}
|
||||||
* {{interfaceNamePrefix}}Model{{interfaceNameSuffix}}
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{invokerPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**{{#apiInfo}}{{#appName}}
|
|
||||||
* {{{appName}}}
|
|
||||||
*
|
|
||||||
{{/appName}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*/
|
*/{{#apiInfo}}
|
||||||
namespace {{interfacesPackage}};
|
namespace {{interfacesPackage}};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,39 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
{{#models}}
|
{{>licenseInfo}}
|
||||||
{{#model}}
|
|
||||||
/**
|
|
||||||
* {{classname}}Test
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{modelPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
{{#appName}}
|
|
||||||
* {{{appName}}}
|
|
||||||
*
|
|
||||||
{{/appName}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
* Please update the test case below to test the model.
|
* Please update the test case below to test the model.
|
||||||
*/
|
*/{{#models}}
|
||||||
|
{{#model}}
|
||||||
namespace {{modelPackage}};
|
namespace {{modelPackage}};
|
||||||
|
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
@ -54,28 +28,28 @@ class {{classname}}Test extends TestCase
|
|||||||
/**
|
/**
|
||||||
* Setup before running any test cases
|
* Setup before running any test cases
|
||||||
*/
|
*/
|
||||||
public static function setUpBeforeClass()
|
public static function setUpBeforeClass(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Setup before running each test case
|
* Setup before running each test case
|
||||||
*/
|
*/
|
||||||
public function setUp()
|
public function setUp(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean up after running each test case
|
* Clean up after running each test case
|
||||||
*/
|
*/
|
||||||
public function tearDown()
|
public function tearDown(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean up after running all test cases
|
* Clean up after running all test cases
|
||||||
*/
|
*/
|
||||||
public static function tearDownAfterClass()
|
public static function tearDownAfterClass(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,36 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
{{>licenseInfo}}
|
||||||
* {{traitNamePrefix}}ModelUtils{{traitNameSuffix}}
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{invokerPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**{{#apiInfo}}{{#appName}}
|
|
||||||
* {{{appName}}}
|
|
||||||
*
|
|
||||||
{{/appName}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*/
|
*/{{#apiInfo}}
|
||||||
namespace {{utilsPackage}};
|
namespace {{utilsPackage}};
|
||||||
|
|
||||||
use {{utilsPackage}}\{{traitNamePrefix}}StringUtils{{traitNameSuffix}};
|
use {{utilsPackage}}\{{traitNamePrefix}}StringUtils{{traitNameSuffix}};
|
||||||
|
@ -1,36 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
{{>licenseInfo}}
|
||||||
* {{traitNamePrefix}}ModelUtils{{traitNameSuffix}}Test
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{invokerPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**{{#apiInfo}}{{#appName}}
|
|
||||||
* {{{appName}}}
|
|
||||||
*
|
|
||||||
{{/appName}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*/
|
*/{{#apiInfo}}
|
||||||
namespace {{utilsPackage}};
|
namespace {{utilsPackage}};
|
||||||
|
|
||||||
use {{utilsPackage}}\{{traitNamePrefix}}ModelUtils{{traitNameSuffix}} as ModelUtils;
|
use {{utilsPackage}}\{{traitNamePrefix}}ModelUtils{{traitNameSuffix}} as ModelUtils;
|
||||||
|
@ -1,36 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
{{>licenseInfo}}
|
||||||
* OpenApiDataMocker
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{invokerPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**{{#apiInfo}}{{#appName}}
|
|
||||||
* {{{appName}}}
|
|
||||||
*
|
|
||||||
{{/appName}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*/
|
*/{{#apiInfo}}
|
||||||
namespace {{mockPackage}};
|
namespace {{mockPackage}};
|
||||||
|
|
||||||
use {{mockPackage}}\{{interfaceNamePrefix}}OpenApiDataMocker{{interfaceNameSuffix}} as IMocker;
|
use {{mockPackage}}\{{interfaceNamePrefix}}OpenApiDataMocker{{interfaceNameSuffix}} as IMocker;
|
||||||
|
@ -1,37 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
{{>licenseInfo}}
|
||||||
* {{interfaceNamePrefix}}OpenApiDataMocker{{interfaceNameSuffix}}
|
|
||||||
* @ref https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#data-types
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{invokerPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**{{#apiInfo}}{{#appName}}
|
|
||||||
* {{{appName}}}
|
|
||||||
*
|
|
||||||
{{/appName}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*/
|
*/{{#apiInfo}}
|
||||||
namespace {{mockPackage}};
|
namespace {{mockPackage}};
|
||||||
|
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
|
@ -1,36 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
{{>licenseInfo}}
|
||||||
* OpenApiDataMockerMiddleware
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{invokerPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**{{#apiInfo}}{{#appName}}
|
|
||||||
* {{{appName}}}
|
|
||||||
*
|
|
||||||
{{/appName}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*/
|
*/{{#apiInfo}}
|
||||||
namespace {{mockPackage}};
|
namespace {{mockPackage}};
|
||||||
|
|
||||||
use Slim\Factory\AppFactory;
|
use Slim\Factory\AppFactory;
|
||||||
|
@ -1,36 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
{{>licenseInfo}}
|
||||||
* OpenApiDataMockerMiddlewareTest
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{invokerPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**{{#apiInfo}}{{#invokerPackage}}
|
|
||||||
* {{{invokerPackage}}}
|
|
||||||
*
|
|
||||||
{{/invokerPackage}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*/
|
*/{{#apiInfo}}
|
||||||
namespace {{mockPackage}};
|
namespace {{mockPackage}};
|
||||||
|
|
||||||
use {{mockPackage}}\OpenApiDataMockerMiddleware;
|
use {{mockPackage}}\OpenApiDataMockerMiddleware;
|
||||||
|
@ -1,36 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
{{>licenseInfo}}
|
||||||
* OpenApiDataMockerTest
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{invokerPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**{{#apiInfo}}{{#appName}}
|
|
||||||
* {{{appName}}}
|
|
||||||
*
|
|
||||||
{{/appName}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*/
|
*/{{#apiInfo}}
|
||||||
namespace {{mockPackage}};
|
namespace {{mockPackage}};
|
||||||
|
|
||||||
use {{mockPackage}}\OpenApiDataMocker;
|
use {{mockPackage}}\OpenApiDataMocker;
|
||||||
|
@ -17,19 +17,11 @@
|
|||||||
<testsuite name="Models">
|
<testsuite name="Models">
|
||||||
<directory>{{modelTestPath}}</directory>
|
<directory>{{modelTestPath}}</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite name="Mock">
|
|
||||||
<directory>{{mockTestPath}}</directory>
|
|
||||||
</testsuite>
|
|
||||||
<testsuite name="Utils">
|
|
||||||
<directory>{{utilsTestPath}}</directory>
|
|
||||||
</testsuite>
|
|
||||||
</testsuites>
|
</testsuites>
|
||||||
<filter>
|
<filter>
|
||||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||||
<directory suffix=".php">{{apiSrcPath}}</directory>
|
<directory suffix=".php">{{apiSrcPath}}</directory>
|
||||||
<directory suffix=".php">{{modelSrcPath}}</directory>
|
<directory suffix=".php">{{modelSrcPath}}</directory>
|
||||||
<directory suffix=".php">{{mockSrcPath}}</directory>
|
|
||||||
<directory suffix=".php">{{utilsSrcPath}}</directory>
|
|
||||||
</whitelist>
|
</whitelist>
|
||||||
</filter>
|
</filter>
|
||||||
<php>
|
<php>
|
||||||
|
@ -1,36 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
{{>licenseInfo}}
|
||||||
* {{traitNamePrefix}}StringUtils{{traitNameSuffix}}
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{invokerPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**{{#apiInfo}}{{#appName}}
|
|
||||||
* {{{appName}}}
|
|
||||||
*
|
|
||||||
{{/appName}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*/
|
*/{{#apiInfo}}
|
||||||
namespace {{utilsPackage}};
|
namespace {{utilsPackage}};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,36 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
{{>licenseInfo}}
|
||||||
* {{traitNamePrefix}}StringUtils{{traitNameSuffix}}Test
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package {{invokerPackage}}
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**{{#apiInfo}}{{#appName}}
|
|
||||||
* {{{appName}}}
|
|
||||||
*
|
|
||||||
{{/appName}}
|
|
||||||
{{#appDescription}}
|
|
||||||
* {{{appDescription}}}
|
|
||||||
{{/appDescription}}
|
|
||||||
{{#version}}
|
|
||||||
* The version of the OpenAPI document: {{{version}}}
|
|
||||||
{{/version}}
|
|
||||||
{{#infoEmail}}
|
|
||||||
* Contact: {{{infoEmail}}}
|
|
||||||
{{/infoEmail}}
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*/
|
*/{{#apiInfo}}
|
||||||
namespace {{utilsPackage}};
|
namespace {{utilsPackage}};
|
||||||
|
|
||||||
use {{utilsPackage}}\{{traitNamePrefix}}StringUtils{{traitNameSuffix}} as StringUtils;
|
use {{utilsPackage}}\{{traitNamePrefix}}StringUtils{{traitNameSuffix}} as StringUtils;
|
||||||
|
1
samples/server/petstore/php-slim4/.gitignore
vendored
1
samples/server/petstore/php-slim4/.gitignore
vendored
@ -12,6 +12,7 @@ composer.lock
|
|||||||
|
|
||||||
# Do not commit local PHPUnit config
|
# Do not commit local PHPUnit config
|
||||||
/phpunit.xml
|
/phpunit.xml
|
||||||
|
/.phpunit.result.cache
|
||||||
|
|
||||||
# Do not commit local PHP_CodeSniffer config
|
# Do not commit local PHP_CodeSniffer config
|
||||||
/phpcs.xml
|
/phpcs.xml
|
@ -81,61 +81,7 @@ lib/Utils/ModelUtilsTrait.php
|
|||||||
lib/Utils/StringUtilsTrait.php
|
lib/Utils/StringUtilsTrait.php
|
||||||
phpcs.xml.dist
|
phpcs.xml.dist
|
||||||
phpunit.xml.dist
|
phpunit.xml.dist
|
||||||
test/Api/AnotherFakeApiTest.php
|
|
||||||
test/Api/FakeApiTest.php
|
|
||||||
test/Api/FakeClassnameTags123ApiTest.php
|
|
||||||
test/Api/PetApiTest.php
|
|
||||||
test/Api/StoreApiTest.php
|
|
||||||
test/Api/UserApiTest.php
|
|
||||||
test/Mock/OpenApiDataMockerMiddlewareTest.php
|
test/Mock/OpenApiDataMockerMiddlewareTest.php
|
||||||
test/Mock/OpenApiDataMockerTest.php
|
test/Mock/OpenApiDataMockerTest.php
|
||||||
test/Model/AdditionalPropertiesAnyTypeTest.php
|
|
||||||
test/Model/AdditionalPropertiesArrayTest.php
|
|
||||||
test/Model/AdditionalPropertiesBooleanTest.php
|
|
||||||
test/Model/AdditionalPropertiesClassTest.php
|
|
||||||
test/Model/AdditionalPropertiesIntegerTest.php
|
|
||||||
test/Model/AdditionalPropertiesNumberTest.php
|
|
||||||
test/Model/AdditionalPropertiesObjectTest.php
|
|
||||||
test/Model/AdditionalPropertiesStringTest.php
|
|
||||||
test/Model/AnimalTest.php
|
|
||||||
test/Model/ApiResponseTest.php
|
|
||||||
test/Model/ArrayOfArrayOfNumberOnlyTest.php
|
|
||||||
test/Model/ArrayOfNumberOnlyTest.php
|
|
||||||
test/Model/ArrayTestTest.php
|
|
||||||
test/Model/BigCatAllOfTest.php
|
|
||||||
test/Model/BigCatTest.php
|
|
||||||
test/Model/CapitalizationTest.php
|
|
||||||
test/Model/CatAllOfTest.php
|
|
||||||
test/Model/CatTest.php
|
|
||||||
test/Model/CategoryTest.php
|
|
||||||
test/Model/ClassModelTest.php
|
|
||||||
test/Model/ClientTest.php
|
|
||||||
test/Model/DogAllOfTest.php
|
|
||||||
test/Model/DogTest.php
|
|
||||||
test/Model/EnumArraysTest.php
|
|
||||||
test/Model/EnumClassTest.php
|
|
||||||
test/Model/EnumTestTest.php
|
|
||||||
test/Model/FileSchemaTestClassTest.php
|
|
||||||
test/Model/FileTest.php
|
|
||||||
test/Model/FormatTestTest.php
|
|
||||||
test/Model/HasOnlyReadOnlyTest.php
|
|
||||||
test/Model/MapTestTest.php
|
|
||||||
test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php
|
|
||||||
test/Model/Model200ResponseTest.php
|
|
||||||
test/Model/ModelListTest.php
|
|
||||||
test/Model/ModelReturnTest.php
|
|
||||||
test/Model/NameTest.php
|
|
||||||
test/Model/NumberOnlyTest.php
|
|
||||||
test/Model/OrderTest.php
|
|
||||||
test/Model/OuterCompositeTest.php
|
|
||||||
test/Model/OuterEnumTest.php
|
|
||||||
test/Model/PetTest.php
|
|
||||||
test/Model/ReadOnlyFirstTest.php
|
|
||||||
test/Model/SpecialModelNameTest.php
|
|
||||||
test/Model/TagTest.php
|
|
||||||
test/Model/TypeHolderDefaultTest.php
|
|
||||||
test/Model/TypeHolderExampleTest.php
|
|
||||||
test/Model/UserTest.php
|
|
||||||
test/Model/XmlItemTest.php
|
|
||||||
test/Utils/ModelUtilsTraitTest.php
|
test/Utils/ModelUtilsTraitTest.php
|
||||||
test/Utils/StringUtilsTraitTest.php
|
test/Utils/StringUtilsTraitTest.php
|
||||||
|
@ -8,7 +8,7 @@ This server has been generated with [Slim PSR-7](https://github.com/slimphp/Slim
|
|||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
* Web server with URL rewriting
|
* Web server with URL rewriting
|
||||||
* PHP 7.1 or newer
|
* PHP 7.2 or newer
|
||||||
|
|
||||||
This package contains `.htaccess` for Apache configuration.
|
This package contains `.htaccess` for Apache configuration.
|
||||||
If you use another server(Nginx, HHVM, IIS, lighttpd) check out [Web Servers](https://www.slimframework.com/docs/v3/start/web-servers.html) doc.
|
If you use another server(Nginx, HHVM, IIS, lighttpd) check out [Web Servers](https://www.slimframework.com/docs/v3/start/web-servers.html) doc.
|
||||||
|
@ -8,14 +8,14 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1",
|
"php": "^7.2",
|
||||||
"slim/slim": "^4.0",
|
"slim/slim": "^4.5.0",
|
||||||
"dyorg/slim-token-authentication": "dev-slim4",
|
"dyorg/slim-token-authentication": "dev-slim4",
|
||||||
"slim/psr7": "^0.4.0"
|
"slim/psr7": "^1.1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^6.0 || ^7.0",
|
"phpunit/phpunit": "^8.0 || ^9.0",
|
||||||
"overtrue/phplint": "^1.0",
|
"overtrue/phplint": "^2.0.2",
|
||||||
"squizlabs/php_codesniffer": "^3.5"
|
"squizlabs/php_codesniffer": "^3.5"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
@ -33,8 +33,6 @@
|
|||||||
],
|
],
|
||||||
"test-apis": "phpunit --testsuite Apis",
|
"test-apis": "phpunit --testsuite Apis",
|
||||||
"test-models": "phpunit --testsuite Models",
|
"test-models": "phpunit --testsuite Models",
|
||||||
"test-mock": "phpunit --testsuite Mock",
|
|
||||||
"test-utils": "phpunit --testsuite Utils",
|
|
||||||
"phpcs": "phpcs",
|
"phpcs": "phpcs",
|
||||||
"phplint": "phplint ./ --exclude=vendor"
|
"phplint": "phplint ./ --exclude=vendor"
|
||||||
}
|
}
|
||||||
|
@ -2,15 +2,24 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Api
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @version 1.0.0
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
*/
|
||||||
|
|
||||||
require_once __DIR__ . '/vendor/autoload.php';
|
require_once __DIR__ . '/vendor/autoload.php';
|
||||||
|
|
||||||
use OpenAPIServer\SlimRouter;
|
use OpenAPIServer\SlimRouter;
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AbstractAnotherFakeApi
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Api
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AbstractFakeApi
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Api
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AbstractFakeClassnameTags123Api
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Api
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AbstractPetApi
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Api
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AbstractStoreApi
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Api
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AbstractUserApi
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Api
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AbstractAuthenticator
|
* OpenAPI Petstore
|
||||||
*
|
* PHP version 7.2
|
||||||
* PHP version 7.1
|
|
||||||
*
|
*
|
||||||
* @package OpenAPIServer
|
* @package OpenAPIServer
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
@ -11,8 +10,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ModelInterface
|
* OpenAPI Petstore
|
||||||
*
|
* PHP version 7.2
|
||||||
* PHP version 7.1
|
|
||||||
*
|
*
|
||||||
* @package OpenAPIServer
|
* @package OpenAPIServer
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
@ -11,8 +10,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JsonBodyParserMiddleware
|
* OpenAPI Petstore
|
||||||
*
|
* PHP version 7.2
|
||||||
* PHP version 7.1
|
|
||||||
*
|
*
|
||||||
* @package OpenAPIServer
|
* @package OpenAPIServer
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
@ -11,8 +10,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenApiDataMocker
|
* OpenAPI Petstore
|
||||||
*
|
* PHP version 7.2
|
||||||
* PHP version 7.1
|
|
||||||
*
|
*
|
||||||
* @package OpenAPIServer
|
* @package OpenAPIServer
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
@ -11,8 +10,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenApiDataMockerInterface
|
* OpenAPI Petstore
|
||||||
* @ref https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#data-types
|
* PHP version 7.2
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
*
|
||||||
* @package OpenAPIServer
|
* @package OpenAPIServer
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
@ -12,8 +10,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenApiDataMockerMiddleware
|
* OpenAPI Petstore
|
||||||
*
|
* PHP version 7.2
|
||||||
* PHP version 7.1
|
|
||||||
*
|
*
|
||||||
* @package OpenAPIServer
|
* @package OpenAPIServer
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
@ -11,8 +10,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AdditionalPropertiesAnyType
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AdditionalPropertiesArray
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AdditionalPropertiesBoolean
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AdditionalPropertiesClass
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AdditionalPropertiesInteger
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AdditionalPropertiesNumber
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AdditionalPropertiesObject
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AdditionalPropertiesString
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Animal
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ApiResponse
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ArrayOfArrayOfNumberOnly
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ArrayOfNumberOnly
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ArrayTest
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* BigCat
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* BigCatAllOf
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Capitalization
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cat
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CatAllOf
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Category
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ClassModel
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Client
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dog
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DogAllOf
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* EnumArrays
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* EnumClass
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* EnumTest
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* File
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* FileSchemaTestClass
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* FormatTest
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* HasOnlyReadOnly
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,63 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/**
|
|
||||||
* InlineObject
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
|
||||||
* https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
namespace OpenAPIServer\Model;
|
|
||||||
|
|
||||||
use OpenAPIServer\Interfaces\ModelInterface;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* InlineObject
|
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
class InlineObject implements ModelInterface
|
|
||||||
{
|
|
||||||
private const MODEL_SCHEMA = <<<'SCHEMA'
|
|
||||||
{
|
|
||||||
"type" : "object",
|
|
||||||
"properties" : {
|
|
||||||
"name" : {
|
|
||||||
"type" : "string",
|
|
||||||
"description" : "Updated name of the pet"
|
|
||||||
},
|
|
||||||
"status" : {
|
|
||||||
"type" : "string",
|
|
||||||
"description" : "Updated status of the pet"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
SCHEMA;
|
|
||||||
|
|
||||||
/** @var string $name Updated name of the pet*/
|
|
||||||
private $name;
|
|
||||||
|
|
||||||
/** @var string $status Updated status of the pet*/
|
|
||||||
private $status;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns model schema.
|
|
||||||
*
|
|
||||||
* @param bool $assoc When TRUE, returned objects will be converted into associative arrays. Default FALSE.
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public static function getOpenApiSchema($assoc = false)
|
|
||||||
{
|
|
||||||
return json_decode(static::MODEL_SCHEMA, $assoc);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,64 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/**
|
|
||||||
* InlineObject1
|
|
||||||
*
|
|
||||||
* PHP version 7.1
|
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
|
||||||
* https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
namespace OpenAPIServer\Model;
|
|
||||||
|
|
||||||
use OpenAPIServer\Interfaces\ModelInterface;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* InlineObject1
|
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
|
||||||
*/
|
|
||||||
class InlineObject1 implements ModelInterface
|
|
||||||
{
|
|
||||||
private const MODEL_SCHEMA = <<<'SCHEMA'
|
|
||||||
{
|
|
||||||
"type" : "object",
|
|
||||||
"properties" : {
|
|
||||||
"additionalMetadata" : {
|
|
||||||
"type" : "string",
|
|
||||||
"description" : "Additional data to pass to server"
|
|
||||||
},
|
|
||||||
"file" : {
|
|
||||||
"type" : "string",
|
|
||||||
"description" : "file to upload",
|
|
||||||
"format" : "binary"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
SCHEMA;
|
|
||||||
|
|
||||||
/** @var string $additionalMetadata Additional data to pass to server*/
|
|
||||||
private $additionalMetadata;
|
|
||||||
|
|
||||||
/** @var \SplFileObject $file file to upload*/
|
|
||||||
private $file;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns model schema.
|
|
||||||
*
|
|
||||||
* @param bool $assoc When TRUE, returned objects will be converted into associative arrays. Default FALSE.
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public static function getOpenApiSchema($assoc = false)
|
|
||||||
{
|
|
||||||
return json_decode(static::MODEL_SCHEMA, $assoc);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MapTest
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MixedPropertiesAndAdditionalPropertiesClass
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Model200Response
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ModelList
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ModelReturn
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NumberOnly
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Order
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OuterComposite
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OuterEnum
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pet
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ReadOnlyFirst
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SpecialModelName
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tag
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TypeHolderDefault
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TypeHolderExample
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* User
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* XmlItem
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Model
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: This class is auto generated by the openapi generator program.
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
* https://github.com/openapitools/openapi-generator
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SlimRouter
|
* OpenAPI Petstore
|
||||||
*
|
* PHP version 7.2
|
||||||
* PHP version 7.1
|
|
||||||
*
|
*
|
||||||
* @package OpenAPIServer
|
* @package OpenAPIServer
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
@ -11,8 +10,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
@ -62,7 +59,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'AnotherFakeApi',
|
'userClassname' => 'AnotherFakeApi',
|
||||||
'operationId' => 'call123TestSpecialTags',
|
'operationId' => 'call123TestSpecialTags',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -89,7 +86,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'FakeApi',
|
'userClassname' => 'FakeApi',
|
||||||
'operationId' => 'createXmlItem',
|
'operationId' => 'createXmlItem',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -110,7 +107,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'FakeApi',
|
'userClassname' => 'FakeApi',
|
||||||
'operationId' => 'fakeOuterBooleanSerialize',
|
'operationId' => 'fakeOuterBooleanSerialize',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'Output boolean',
|
'message' => 'Output boolean',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -137,7 +134,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'FakeApi',
|
'userClassname' => 'FakeApi',
|
||||||
'operationId' => 'fakeOuterCompositeSerialize',
|
'operationId' => 'fakeOuterCompositeSerialize',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'Output composite',
|
'message' => 'Output composite',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -164,7 +161,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'FakeApi',
|
'userClassname' => 'FakeApi',
|
||||||
'operationId' => 'fakeOuterNumberSerialize',
|
'operationId' => 'fakeOuterNumberSerialize',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'Output number',
|
'message' => 'Output number',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -191,7 +188,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'FakeApi',
|
'userClassname' => 'FakeApi',
|
||||||
'operationId' => 'fakeOuterStringSerialize',
|
'operationId' => 'fakeOuterStringSerialize',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'Output string',
|
'message' => 'Output string',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -218,7 +215,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'FakeApi',
|
'userClassname' => 'FakeApi',
|
||||||
'operationId' => 'testBodyWithFileSchema',
|
'operationId' => 'testBodyWithFileSchema',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'Success',
|
'message' => 'Success',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -239,7 +236,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'FakeApi',
|
'userClassname' => 'FakeApi',
|
||||||
'operationId' => 'testBodyWithQueryParams',
|
'operationId' => 'testBodyWithQueryParams',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'Success',
|
'message' => 'Success',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -260,7 +257,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'FakeApi',
|
'userClassname' => 'FakeApi',
|
||||||
'operationId' => 'testClientModel',
|
'operationId' => 'testClientModel',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -374,7 +371,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'FakeApi',
|
'userClassname' => 'FakeApi',
|
||||||
'operationId' => 'testInlineAdditionalProperties',
|
'operationId' => 'testInlineAdditionalProperties',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -395,7 +392,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'FakeApi',
|
'userClassname' => 'FakeApi',
|
||||||
'operationId' => 'testJsonFormData',
|
'operationId' => 'testJsonFormData',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -416,7 +413,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'FakeApi',
|
'userClassname' => 'FakeApi',
|
||||||
'operationId' => 'testQueryParameterCollectionFormat',
|
'operationId' => 'testQueryParameterCollectionFormat',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'Success',
|
'message' => 'Success',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -437,7 +434,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'FakeClassnameTags123Api',
|
'userClassname' => 'FakeClassnameTags123Api',
|
||||||
'operationId' => 'testClassname',
|
'operationId' => 'testClassname',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -476,7 +473,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'PetApi',
|
'userClassname' => 'PetApi',
|
||||||
'operationId' => 'addPet',
|
'operationId' => 'addPet',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -517,7 +514,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'PetApi',
|
'userClassname' => 'PetApi',
|
||||||
'operationId' => 'findPetsByStatus',
|
'operationId' => 'findPetsByStatus',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -575,7 +572,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'PetApi',
|
'userClassname' => 'PetApi',
|
||||||
'operationId' => 'findPetsByTags',
|
'operationId' => 'findPetsByTags',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -635,7 +632,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'PetApi',
|
'userClassname' => 'PetApi',
|
||||||
'operationId' => 'updatePet',
|
'operationId' => 'updatePet',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -692,7 +689,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'PetApi',
|
'userClassname' => 'PetApi',
|
||||||
'operationId' => 'deletePet',
|
'operationId' => 'deletePet',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -733,7 +730,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'PetApi',
|
'userClassname' => 'PetApi',
|
||||||
'operationId' => 'getPetById',
|
'operationId' => 'getPetById',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -826,7 +823,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'PetApi',
|
'userClassname' => 'PetApi',
|
||||||
'operationId' => 'uploadFile',
|
'operationId' => 'uploadFile',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -865,7 +862,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'PetApi',
|
'userClassname' => 'PetApi',
|
||||||
'operationId' => 'uploadFileWithRequiredFile',
|
'operationId' => 'uploadFileWithRequiredFile',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -904,7 +901,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'StoreApi',
|
'userClassname' => 'StoreApi',
|
||||||
'operationId' => 'getInventory',
|
'operationId' => 'getInventory',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -947,7 +944,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'StoreApi',
|
'userClassname' => 'StoreApi',
|
||||||
'operationId' => 'placeOrder',
|
'operationId' => 'placeOrder',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -1016,7 +1013,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'StoreApi',
|
'userClassname' => 'StoreApi',
|
||||||
'operationId' => 'getOrderById',
|
'operationId' => 'getOrderById',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -1127,7 +1124,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'UserApi',
|
'userClassname' => 'UserApi',
|
||||||
'operationId' => 'loginUser',
|
'operationId' => 'loginUser',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
@ -1233,7 +1230,7 @@ class SlimRouter
|
|||||||
'userClassname' => 'UserApi',
|
'userClassname' => 'UserApi',
|
||||||
'operationId' => 'getUserByName',
|
'operationId' => 'getUserByName',
|
||||||
'responses' => [
|
'responses' => [
|
||||||
'default' => [
|
'200' => [
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'successful operation',
|
'message' => 'successful operation',
|
||||||
'jsonSchema' => '{
|
'jsonSchema' => '{
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ModelUtilsTrait
|
* OpenAPI Petstore
|
||||||
*
|
* PHP version 7.2
|
||||||
* PHP version 7.1
|
|
||||||
*
|
*
|
||||||
* @package OpenAPIServer
|
* @package OpenAPIServer
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
@ -11,8 +10,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* StringUtilsTrait
|
* OpenAPI Petstore
|
||||||
*
|
* PHP version 7.2
|
||||||
* PHP version 7.1
|
|
||||||
*
|
*
|
||||||
* @package OpenAPIServer
|
* @package OpenAPIServer
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
@ -11,8 +10,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
@ -17,19 +17,11 @@
|
|||||||
<testsuite name="Models">
|
<testsuite name="Models">
|
||||||
<directory>./test/Model</directory>
|
<directory>./test/Model</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite name="Mock">
|
|
||||||
<directory>./test/Mock</directory>
|
|
||||||
</testsuite>
|
|
||||||
<testsuite name="Utils">
|
|
||||||
<directory>./test/Utils</directory>
|
|
||||||
</testsuite>
|
|
||||||
</testsuites>
|
</testsuites>
|
||||||
<filter>
|
<filter>
|
||||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||||
<directory suffix=".php">./lib/Api</directory>
|
<directory suffix=".php">./lib/Api</directory>
|
||||||
<directory suffix=".php">./lib/Model</directory>
|
<directory suffix=".php">./lib/Model</directory>
|
||||||
<directory suffix=".php">./lib/Mock</directory>
|
|
||||||
<directory suffix=".php">./lib/Utils</directory>
|
|
||||||
</whitelist>
|
</whitelist>
|
||||||
</filter>
|
</filter>
|
||||||
<php>
|
<php>
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AnotherFakeApiTest
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Api
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
@ -43,28 +40,28 @@ class AnotherFakeApiTest extends TestCase
|
|||||||
/**
|
/**
|
||||||
* Setup before running any test cases
|
* Setup before running any test cases
|
||||||
*/
|
*/
|
||||||
public static function setUpBeforeClass()
|
public static function setUpBeforeClass(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Setup before running each test case
|
* Setup before running each test case
|
||||||
*/
|
*/
|
||||||
public function setUp()
|
public function setUp(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean up after running each test case
|
* Clean up after running each test case
|
||||||
*/
|
*/
|
||||||
public function tearDown()
|
public function tearDown(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean up after running all test cases
|
* Clean up after running all test cases
|
||||||
*/
|
*/
|
||||||
public static function tearDownAfterClass()
|
public static function tearDownAfterClass(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* FakeApiTest
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Api
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
@ -43,28 +40,28 @@ class FakeApiTest extends TestCase
|
|||||||
/**
|
/**
|
||||||
* Setup before running any test cases
|
* Setup before running any test cases
|
||||||
*/
|
*/
|
||||||
public static function setUpBeforeClass()
|
public static function setUpBeforeClass(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Setup before running each test case
|
* Setup before running each test case
|
||||||
*/
|
*/
|
||||||
public function setUp()
|
public function setUp(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean up after running each test case
|
* Clean up after running each test case
|
||||||
*/
|
*/
|
||||||
public function tearDown()
|
public function tearDown(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean up after running all test cases
|
* Clean up after running all test cases
|
||||||
*/
|
*/
|
||||||
public static function tearDownAfterClass()
|
public static function tearDownAfterClass(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* FakeClassnameTags123ApiTest
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Api
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
@ -43,28 +40,28 @@ class FakeClassnameTags123ApiTest extends TestCase
|
|||||||
/**
|
/**
|
||||||
* Setup before running any test cases
|
* Setup before running any test cases
|
||||||
*/
|
*/
|
||||||
public static function setUpBeforeClass()
|
public static function setUpBeforeClass(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Setup before running each test case
|
* Setup before running each test case
|
||||||
*/
|
*/
|
||||||
public function setUp()
|
public function setUp(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean up after running each test case
|
* Clean up after running each test case
|
||||||
*/
|
*/
|
||||||
public function tearDown()
|
public function tearDown(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean up after running all test cases
|
* Clean up after running all test cases
|
||||||
*/
|
*/
|
||||||
public static function tearDownAfterClass()
|
public static function tearDownAfterClass(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PetApiTest
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Api
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
@ -43,28 +40,28 @@ class PetApiTest extends TestCase
|
|||||||
/**
|
/**
|
||||||
* Setup before running any test cases
|
* Setup before running any test cases
|
||||||
*/
|
*/
|
||||||
public static function setUpBeforeClass()
|
public static function setUpBeforeClass(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Setup before running each test case
|
* Setup before running each test case
|
||||||
*/
|
*/
|
||||||
public function setUp()
|
public function setUp(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean up after running each test case
|
* Clean up after running each test case
|
||||||
*/
|
*/
|
||||||
public function tearDown()
|
public function tearDown(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean up after running all test cases
|
* Clean up after running all test cases
|
||||||
*/
|
*/
|
||||||
public static function tearDownAfterClass()
|
public static function tearDownAfterClass(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* StoreApiTest
|
* OpenAPI Petstore
|
||||||
|
* PHP version 7.2
|
||||||
*
|
*
|
||||||
* PHP version 7.1
|
* @package OpenAPIServer
|
||||||
*
|
|
||||||
* @package OpenAPIServer\Api
|
|
||||||
* @author OpenAPI Generator team
|
* @author OpenAPI Generator team
|
||||||
* @link https://github.com/openapitools/openapi-generator
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
@ -43,28 +40,28 @@ class StoreApiTest extends TestCase
|
|||||||
/**
|
/**
|
||||||
* Setup before running any test cases
|
* Setup before running any test cases
|
||||||
*/
|
*/
|
||||||
public static function setUpBeforeClass()
|
public static function setUpBeforeClass(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Setup before running each test case
|
* Setup before running each test case
|
||||||
*/
|
*/
|
||||||
public function setUp()
|
public function setUp(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean up after running each test case
|
* Clean up after running each test case
|
||||||
*/
|
*/
|
||||||
public function tearDown()
|
public function tearDown(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean up after running all test cases
|
* Clean up after running all test cases
|
||||||
*/
|
*/
|
||||||
public static function tearDownAfterClass()
|
public static function tearDownAfterClass(): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user