forked from loafle/openapi-generator-original
run ensure-up-to-date
This commit is contained in:
@@ -181,6 +181,8 @@ Class | Method | HTTP request | Description
|
||||
* OpenAPIServer\Model\ArrayOfArrayOfNumberOnly
|
||||
* OpenAPIServer\Model\ArrayOfNumberOnly
|
||||
* OpenAPIServer\Model\ArrayTest
|
||||
* OpenAPIServer\Model\BigCat
|
||||
* OpenAPIServer\Model\BigCatAllOf
|
||||
* OpenAPIServer\Model\Capitalization
|
||||
* OpenAPIServer\Model\Cat
|
||||
* OpenAPIServer\Model\CatAllOf
|
||||
|
||||
40
samples/server/petstore/php-slim4/lib/Model/BigCat.php
Normal file
40
samples/server/petstore/php-slim4/lib/Model/BigCat.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* BigCat
|
||||
*
|
||||
* 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;
|
||||
|
||||
/**
|
||||
* BigCat
|
||||
*
|
||||
* @package OpenAPIServer\Model
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://github.com/openapitools/openapi-generator
|
||||
*/
|
||||
class BigCat
|
||||
{
|
||||
|
||||
/** @var string $className */
|
||||
private $className;
|
||||
|
||||
/** @var string $color */
|
||||
private $color;
|
||||
|
||||
/** @var bool $declawed */
|
||||
private $declawed;
|
||||
|
||||
/** @var string $kind */
|
||||
private $kind;
|
||||
}
|
||||
31
samples/server/petstore/php-slim4/lib/Model/BigCatAllOf.php
Normal file
31
samples/server/petstore/php-slim4/lib/Model/BigCatAllOf.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* BigCatAllOf
|
||||
*
|
||||
* 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;
|
||||
|
||||
/**
|
||||
* BigCatAllOf
|
||||
*
|
||||
* @package OpenAPIServer\Model
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://github.com/openapitools/openapi-generator
|
||||
*/
|
||||
class BigCatAllOf
|
||||
{
|
||||
|
||||
/** @var string $kind */
|
||||
private $kind;
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* BigCatAllOfTest
|
||||
*
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @package OpenAPIServer\Model
|
||||
* @author OpenAPI Generator team
|
||||
* @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: \" \\
|
||||
* 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
|
||||
* Please update the test case below to test the model.
|
||||
*/
|
||||
namespace OpenAPIServer\Model;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use OpenAPIServer\Model\BigCatAllOf;
|
||||
|
||||
/**
|
||||
* BigCatAllOfTest Class Doc Comment
|
||||
*
|
||||
* @package OpenAPIServer\Model
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://github.com/openapitools/openapi-generator
|
||||
*
|
||||
* @coversDefaultClass \OpenAPIServer\Model\BigCatAllOf
|
||||
*/
|
||||
class BigCatAllOfTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Setup before running any test cases
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup before running each test case
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running each test case
|
||||
*/
|
||||
public function tearDown()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running all test cases
|
||||
*/
|
||||
public static function tearDownAfterClass()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test "BigCatAllOf"
|
||||
*/
|
||||
public function testBigCatAllOf()
|
||||
{
|
||||
$testBigCatAllOf = new BigCatAllOf();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "kind"
|
||||
*/
|
||||
public function testPropertyKind()
|
||||
{
|
||||
}
|
||||
}
|
||||
106
samples/server/petstore/php-slim4/test/Model/BigCatTest.php
Normal file
106
samples/server/petstore/php-slim4/test/Model/BigCatTest.php
Normal file
@@ -0,0 +1,106 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* BigCatTest
|
||||
*
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @package OpenAPIServer\Model
|
||||
* @author OpenAPI Generator team
|
||||
* @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: \" \\
|
||||
* 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
|
||||
* Please update the test case below to test the model.
|
||||
*/
|
||||
namespace OpenAPIServer\Model;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use OpenAPIServer\Model\BigCat;
|
||||
|
||||
/**
|
||||
* BigCatTest Class Doc Comment
|
||||
*
|
||||
* @package OpenAPIServer\Model
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://github.com/openapitools/openapi-generator
|
||||
*
|
||||
* @coversDefaultClass \OpenAPIServer\Model\BigCat
|
||||
*/
|
||||
class BigCatTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Setup before running any test cases
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup before running each test case
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running each test case
|
||||
*/
|
||||
public function tearDown()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running all test cases
|
||||
*/
|
||||
public static function tearDownAfterClass()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test "BigCat"
|
||||
*/
|
||||
public function testBigCat()
|
||||
{
|
||||
$testBigCat = new BigCat();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "className"
|
||||
*/
|
||||
public function testPropertyClassName()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "color"
|
||||
*/
|
||||
public function testPropertyColor()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "declawed"
|
||||
*/
|
||||
public function testPropertyDeclawed()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "kind"
|
||||
*/
|
||||
public function testPropertyKind()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user