forked from loafle/openapi-generator-original
Migrate PHP client samples to use OAS v3 spec (#6722)
* consolidate php samples * restore EnumTestTest.php
This commit is contained in:
@@ -79,79 +79,16 @@ class AdditionalPropertiesClassTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "map_string"
|
||||
* Test attribute "map_property"
|
||||
*/
|
||||
public function testPropertyMapString()
|
||||
public function testPropertyMapProperty()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "map_number"
|
||||
* Test attribute "map_of_map_property"
|
||||
*/
|
||||
public function testPropertyMapNumber()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "map_integer"
|
||||
*/
|
||||
public function testPropertyMapInteger()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "map_boolean"
|
||||
*/
|
||||
public function testPropertyMapBoolean()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "map_array_integer"
|
||||
*/
|
||||
public function testPropertyMapArrayInteger()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "map_array_anytype"
|
||||
*/
|
||||
public function testPropertyMapArrayAnytype()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "map_map_string"
|
||||
*/
|
||||
public function testPropertyMapMapString()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "map_map_anytype"
|
||||
*/
|
||||
public function testPropertyMapMapAnytype()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "anytype_1"
|
||||
*/
|
||||
public function testPropertyAnytype1()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "anytype_2"
|
||||
*/
|
||||
public function testPropertyAnytype2()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "anytype_3"
|
||||
*/
|
||||
public function testPropertyAnytype3()
|
||||
public function testPropertyMapOfMapProperty()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -112,4 +112,25 @@ class EnumTestTest extends TestCase
|
||||
public function testPropertyOuterEnum()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "outer_enum_integer"
|
||||
*/
|
||||
public function testPropertyOuterEnumInteger()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "outer_enum_default_value"
|
||||
*/
|
||||
public function testPropertyOuterEnumDefaultValue()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "outer_enum_integer_default_value"
|
||||
*/
|
||||
public function testPropertyOuterEnumIntegerDefaultValue()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
/**
|
||||
* FooTest
|
||||
*
|
||||
* PHP version 7.2
|
||||
*
|
||||
* @category Class
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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://openapi-generator.tech
|
||||
* OpenAPI Generator version: 5.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Please update the test case below to test the model.
|
||||
*/
|
||||
|
||||
namespace OpenAPI\Client;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* FooTest Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description Foo
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
class FooTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Setup before running any test case
|
||||
*/
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup before running each test case
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running each test case
|
||||
*/
|
||||
public function tearDown(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running all test cases
|
||||
*/
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test "Foo"
|
||||
*/
|
||||
public function testFoo()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "bar"
|
||||
*/
|
||||
public function testPropertyBar()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -170,9 +170,16 @@ class FormatTestTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "big_decimal"
|
||||
* Test attribute "pattern_with_digits"
|
||||
*/
|
||||
public function testPropertyBigDecimal()
|
||||
public function testPropertyPatternWithDigits()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "pattern_with_digits_and_delimiter"
|
||||
*/
|
||||
public function testPropertyPatternWithDigitsAndDelimiter()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
/**
|
||||
* HealthCheckResultTest
|
||||
*
|
||||
* PHP version 7.2
|
||||
*
|
||||
* @category Class
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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://openapi-generator.tech
|
||||
* OpenAPI Generator version: 5.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Please update the test case below to test the model.
|
||||
*/
|
||||
|
||||
namespace OpenAPI\Client;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* HealthCheckResultTest Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model.
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
class HealthCheckResultTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Setup before running any test case
|
||||
*/
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup before running each test case
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running each test case
|
||||
*/
|
||||
public function tearDown(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running all test cases
|
||||
*/
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test "HealthCheckResult"
|
||||
*/
|
||||
public function testHealthCheckResult()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "nullable_message"
|
||||
*/
|
||||
public function testPropertyNullableMessage()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
/**
|
||||
* InlineObject1Test
|
||||
*
|
||||
* PHP version 7.2
|
||||
*
|
||||
* @category Class
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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://openapi-generator.tech
|
||||
* OpenAPI Generator version: 5.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Please update the test case below to test the model.
|
||||
*/
|
||||
|
||||
namespace OpenAPI\Client;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* InlineObject1Test Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description InlineObject1
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
class InlineObject1Test extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Setup before running any test case
|
||||
*/
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup before running each test case
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running each test case
|
||||
*/
|
||||
public function tearDown(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running all test cases
|
||||
*/
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test "InlineObject1"
|
||||
*/
|
||||
public function testInlineObject1()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "additional_metadata"
|
||||
*/
|
||||
public function testPropertyAdditionalMetadata()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "file"
|
||||
*/
|
||||
public function testPropertyFile()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
/**
|
||||
* InlineObject2Test
|
||||
*
|
||||
* PHP version 7.2
|
||||
*
|
||||
* @category Class
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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://openapi-generator.tech
|
||||
* OpenAPI Generator version: 5.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Please update the test case below to test the model.
|
||||
*/
|
||||
|
||||
namespace OpenAPI\Client;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* InlineObject2Test Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description InlineObject2
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
class InlineObject2Test extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Setup before running any test case
|
||||
*/
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup before running each test case
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running each test case
|
||||
*/
|
||||
public function tearDown(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running all test cases
|
||||
*/
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test "InlineObject2"
|
||||
*/
|
||||
public function testInlineObject2()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "enum_form_string_array"
|
||||
*/
|
||||
public function testPropertyEnumFormStringArray()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "enum_form_string"
|
||||
*/
|
||||
public function testPropertyEnumFormString()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,178 @@
|
||||
<?php
|
||||
/**
|
||||
* InlineObject3Test
|
||||
*
|
||||
* PHP version 7.2
|
||||
*
|
||||
* @category Class
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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://openapi-generator.tech
|
||||
* OpenAPI Generator version: 5.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Please update the test case below to test the model.
|
||||
*/
|
||||
|
||||
namespace OpenAPI\Client;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* InlineObject3Test Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description InlineObject3
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
class InlineObject3Test extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Setup before running any test case
|
||||
*/
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup before running each test case
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running each test case
|
||||
*/
|
||||
public function tearDown(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running all test cases
|
||||
*/
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test "InlineObject3"
|
||||
*/
|
||||
public function testInlineObject3()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "integer"
|
||||
*/
|
||||
public function testPropertyInteger()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "int32"
|
||||
*/
|
||||
public function testPropertyInt32()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "int64"
|
||||
*/
|
||||
public function testPropertyInt64()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "number"
|
||||
*/
|
||||
public function testPropertyNumber()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "float"
|
||||
*/
|
||||
public function testPropertyFloat()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "double"
|
||||
*/
|
||||
public function testPropertyDouble()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "string"
|
||||
*/
|
||||
public function testPropertyString()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "pattern_without_delimiter"
|
||||
*/
|
||||
public function testPropertyPatternWithoutDelimiter()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "byte"
|
||||
*/
|
||||
public function testPropertyByte()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "binary"
|
||||
*/
|
||||
public function testPropertyBinary()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "date"
|
||||
*/
|
||||
public function testPropertyDate()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "date_time"
|
||||
*/
|
||||
public function testPropertyDateTime()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "password"
|
||||
*/
|
||||
public function testPropertyPassword()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "callback"
|
||||
*/
|
||||
public function testPropertyCallback()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
/**
|
||||
* InlineObject4Test
|
||||
*
|
||||
* PHP version 7.2
|
||||
*
|
||||
* @category Class
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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://openapi-generator.tech
|
||||
* OpenAPI Generator version: 5.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Please update the test case below to test the model.
|
||||
*/
|
||||
|
||||
namespace OpenAPI\Client;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* InlineObject4Test Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description InlineObject4
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
class InlineObject4Test extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Setup before running any test case
|
||||
*/
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup before running each test case
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running each test case
|
||||
*/
|
||||
public function tearDown(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running all test cases
|
||||
*/
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test "InlineObject4"
|
||||
*/
|
||||
public function testInlineObject4()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "param"
|
||||
*/
|
||||
public function testPropertyParam()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "param2"
|
||||
*/
|
||||
public function testPropertyParam2()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
/**
|
||||
* InlineObject5Test
|
||||
*
|
||||
* PHP version 7.2
|
||||
*
|
||||
* @category Class
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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://openapi-generator.tech
|
||||
* OpenAPI Generator version: 5.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Please update the test case below to test the model.
|
||||
*/
|
||||
|
||||
namespace OpenAPI\Client;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* InlineObject5Test Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description InlineObject5
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
class InlineObject5Test extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Setup before running any test case
|
||||
*/
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup before running each test case
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running each test case
|
||||
*/
|
||||
public function tearDown(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running all test cases
|
||||
*/
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test "InlineObject5"
|
||||
*/
|
||||
public function testInlineObject5()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "additional_metadata"
|
||||
*/
|
||||
public function testPropertyAdditionalMetadata()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "required_file"
|
||||
*/
|
||||
public function testPropertyRequiredFile()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
/**
|
||||
* InlineObjectTest
|
||||
*
|
||||
* PHP version 7.2
|
||||
*
|
||||
* @category Class
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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://openapi-generator.tech
|
||||
* OpenAPI Generator version: 5.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Please update the test case below to test the model.
|
||||
*/
|
||||
|
||||
namespace OpenAPI\Client;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* InlineObjectTest Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description InlineObject
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
class InlineObjectTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Setup before running any test case
|
||||
*/
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup before running each test case
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running each test case
|
||||
*/
|
||||
public function tearDown(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running all test cases
|
||||
*/
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test "InlineObject"
|
||||
*/
|
||||
public function testInlineObject()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "name"
|
||||
*/
|
||||
public function testPropertyName()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "status"
|
||||
*/
|
||||
public function testPropertyStatus()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
/**
|
||||
* InlineResponseDefaultTest
|
||||
*
|
||||
* PHP version 7.2
|
||||
*
|
||||
* @category Class
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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://openapi-generator.tech
|
||||
* OpenAPI Generator version: 5.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Please update the test case below to test the model.
|
||||
*/
|
||||
|
||||
namespace OpenAPI\Client;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* InlineResponseDefaultTest Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description InlineResponseDefault
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
class InlineResponseDefaultTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Setup before running any test case
|
||||
*/
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup before running each test case
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running each test case
|
||||
*/
|
||||
public function tearDown(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running all test cases
|
||||
*/
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test "InlineResponseDefault"
|
||||
*/
|
||||
public function testInlineResponseDefault()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "string"
|
||||
*/
|
||||
public function testPropertyString()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,164 @@
|
||||
<?php
|
||||
/**
|
||||
* NullableClassTest
|
||||
*
|
||||
* PHP version 7.2
|
||||
*
|
||||
* @category Class
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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://openapi-generator.tech
|
||||
* OpenAPI Generator version: 5.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Please update the test case below to test the model.
|
||||
*/
|
||||
|
||||
namespace OpenAPI\Client;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* NullableClassTest Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description NullableClass
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
class NullableClassTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Setup before running any test case
|
||||
*/
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup before running each test case
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running each test case
|
||||
*/
|
||||
public function tearDown(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running all test cases
|
||||
*/
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test "NullableClass"
|
||||
*/
|
||||
public function testNullableClass()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "integer_prop"
|
||||
*/
|
||||
public function testPropertyIntegerProp()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "number_prop"
|
||||
*/
|
||||
public function testPropertyNumberProp()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "boolean_prop"
|
||||
*/
|
||||
public function testPropertyBooleanProp()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "string_prop"
|
||||
*/
|
||||
public function testPropertyStringProp()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "date_prop"
|
||||
*/
|
||||
public function testPropertyDateProp()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "datetime_prop"
|
||||
*/
|
||||
public function testPropertyDatetimeProp()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "array_nullable_prop"
|
||||
*/
|
||||
public function testPropertyArrayNullableProp()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "array_and_items_nullable_prop"
|
||||
*/
|
||||
public function testPropertyArrayAndItemsNullableProp()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "array_items_nullable"
|
||||
*/
|
||||
public function testPropertyArrayItemsNullable()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "object_nullable_prop"
|
||||
*/
|
||||
public function testPropertyObjectNullableProp()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "object_and_items_nullable_prop"
|
||||
*/
|
||||
public function testPropertyObjectAndItemsNullableProp()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test attribute "object_items_nullable"
|
||||
*/
|
||||
public function testPropertyObjectItemsNullable()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
/**
|
||||
* OuterEnumDefaultValueTest
|
||||
*
|
||||
* PHP version 7.2
|
||||
*
|
||||
* @category Class
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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://openapi-generator.tech
|
||||
* OpenAPI Generator version: 5.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Please update the test case below to test the model.
|
||||
*/
|
||||
|
||||
namespace OpenAPI\Client;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* OuterEnumDefaultValueTest Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description OuterEnumDefaultValue
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
class OuterEnumDefaultValueTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Setup before running any test case
|
||||
*/
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup before running each test case
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running each test case
|
||||
*/
|
||||
public function tearDown(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running all test cases
|
||||
*/
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test "OuterEnumDefaultValue"
|
||||
*/
|
||||
public function testOuterEnumDefaultValue()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
/**
|
||||
* OuterEnumIntegerDefaultValueTest
|
||||
*
|
||||
* PHP version 7.2
|
||||
*
|
||||
* @category Class
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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://openapi-generator.tech
|
||||
* OpenAPI Generator version: 5.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Please update the test case below to test the model.
|
||||
*/
|
||||
|
||||
namespace OpenAPI\Client;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* OuterEnumIntegerDefaultValueTest Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description OuterEnumIntegerDefaultValue
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
class OuterEnumIntegerDefaultValueTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Setup before running any test case
|
||||
*/
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup before running each test case
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running each test case
|
||||
*/
|
||||
public function tearDown(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running all test cases
|
||||
*/
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test "OuterEnumIntegerDefaultValue"
|
||||
*/
|
||||
public function testOuterEnumIntegerDefaultValue()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
/**
|
||||
* OuterEnumIntegerTest
|
||||
*
|
||||
* PHP version 7.2
|
||||
*
|
||||
* @category Class
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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://openapi-generator.tech
|
||||
* OpenAPI Generator version: 5.0.0-SNAPSHOT
|
||||
*/
|
||||
|
||||
/**
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Please update the test case below to test the model.
|
||||
*/
|
||||
|
||||
namespace OpenAPI\Client;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* OuterEnumIntegerTest Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description OuterEnumInteger
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
*/
|
||||
class OuterEnumIntegerTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Setup before running any test case
|
||||
*/
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup before running each test case
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running each test case
|
||||
*/
|
||||
public function tearDown(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up after running all test cases
|
||||
*/
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Test "OuterEnumInteger"
|
||||
*/
|
||||
public function testOuterEnumInteger()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user