diff --git a/modules/openapi-generator/src/main/resources/php/model_doc.mustache b/modules/openapi-generator/src/main/resources/php/model_doc.mustache index 0216a3372cdb..7b92160aa922 100644 --- a/modules/openapi-generator/src/main/resources/php/model_doc.mustache +++ b/modules/openapi-generator/src/main/resources/php/model_doc.mustache @@ -6,6 +6,6 @@ Name | Type | Description | Notes {{#vars}}**{{name}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}[**{{dataType}}**]({{complexType}}.md){{/isPrimitiveType}} | {{description}} | {{^required}}[optional] {{/required}}{{#readOnly}}[readonly] {{/readOnly}}{{#defaultValue}}[default to {{{.}}}]{{/defaultValue}} {{/vars}} -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) {{/model}}{{/models}} diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/AdditionalPropertiesClass.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/AdditionalPropertiesClass.md index b162fe9595fb..869cdcbb5d0c 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/AdditionalPropertiesClass.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/AdditionalPropertiesClass.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **map_property** | **map[string,string]** | | [optional] **map_of_map_property** | [**map[string,map[string,string]]**](map.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Animal.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Animal.md index c57fbe8ea4aa..9ea562fe1449 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Animal.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Animal.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **class_name** | **string** | | **color** | **string** | | [optional] [default to 'red'] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/AnimalFarm.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/AnimalFarm.md deleted file mode 100644 index df6bab21dae8..000000000000 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/AnimalFarm.md +++ /dev/null @@ -1,9 +0,0 @@ -# AnimalFarm - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ApiResponse.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ApiResponse.md index 9d3511834227..d15f2dce2761 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ApiResponse.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ApiResponse.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **type** | **string** | | [optional] **message** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfArrayOfNumberOnly.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfArrayOfNumberOnly.md index 7831e1898882..aed435112f98 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfArrayOfNumberOnly.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfArrayOfNumberOnly.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **array_array_number** | [**float[][]**](array.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfNumberOnly.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfNumberOnly.md index a32607e42012..949b88ded0a8 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfNumberOnly.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfNumberOnly.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **array_number** | **float[]** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayTest.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayTest.md index 2ef4e3785e4c..eef7ab1b5b71 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayTest.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayTest.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **array_array_of_integer** | [**int[][]**](array.md) | | [optional] **array_array_of_model** | [**\OpenAPI\Client\Model\ReadOnlyFirst[][]**](array.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Capitalization.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Capitalization.md index 0fcc9e873d71..c9c90ba25023 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Capitalization.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Capitalization.md @@ -10,6 +10,6 @@ Name | Type | Description | Notes **sca_eth_flow_points** | **string** | | [optional] **att_name** | **string** | Name of the pet | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Cat.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Cat.md index 8d30565d014e..88ffac3e31b9 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Cat.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Cat.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **declawed** | **bool** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Category.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Category.md index 369f811a4eb8..a275eb329959 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Category.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Category.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **id** | **int** | | [optional] **name** | **string** | | [default to 'default-name'] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ClassModel.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ClassModel.md index 3ad025b6ed3a..a017385eea3a 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ClassModel.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ClassModel.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **_class** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Client.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Client.md index f6047a624710..e8371167c519 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Client.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Client.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **client** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Dog.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Dog.md index 3c04bdf4cf70..262a24033187 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Dog.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Dog.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **breed** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/EnumArrays.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/EnumArrays.md index ebaedecdae0e..5d15a764ed16 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/EnumArrays.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/EnumArrays.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **just_symbol** | **string** | | [optional] **array_enum** | **string[]** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/EnumClass.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/EnumClass.md index 67f017becd0c..7f5dd450d1c9 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/EnumClass.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/EnumClass.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/EnumTest.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/EnumTest.md index 9aca24e644ed..d9adb8fcc220 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/EnumTest.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/EnumTest.md @@ -9,6 +9,6 @@ Name | Type | Description | Notes **enum_number** | **double** | | [optional] **outer_enum** | [**\OpenAPI\Client\Model\OuterEnum**](OuterEnum.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/File.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/File.md index bd3963bca31d..92110178d1c7 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/File.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/File.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **source_uri** | **string** | Test capitalization | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/FileSchemaTestClass.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/FileSchemaTestClass.md index af7d650390cb..1eb5cc96dcf2 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/FileSchemaTestClass.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/FileSchemaTestClass.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **file** | [**\OpenAPI\Client\Model\File**](File.md) | | [optional] **files** | [**\OpenAPI\Client\Model\File[]**](File.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/FormatTest.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/FormatTest.md index e106ff1eba2e..fb83b0cc76a8 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/FormatTest.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/FormatTest.md @@ -17,6 +17,6 @@ Name | Type | Description | Notes **uuid** | **string** | | [optional] **password** | **string** | | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/HasOnlyReadOnly.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/HasOnlyReadOnly.md index 5e64572b781d..92f291a68b1b 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/HasOnlyReadOnly.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/HasOnlyReadOnly.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **bar** | **string** | | [optional] **foo** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/MapTest.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/MapTest.md index e2a51f7ddcd3..47c6c76656ae 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/MapTest.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/MapTest.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes **direct_map** | **map[string,bool]** | | [optional] **indirect_map** | **map[string,bool]** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/MixedPropertiesAndAdditionalPropertiesClass.md index a34e2f6d129f..4216dd89086d 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/MixedPropertiesAndAdditionalPropertiesClass.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/MixedPropertiesAndAdditionalPropertiesClass.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **date_time** | [**\DateTime**](\DateTime.md) | | [optional] **map** | [**map[string,\OpenAPI\Client\Model\Animal]**](Animal.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Model200Response.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Model200Response.md index ebbea5c68af1..c0b33d0cd435 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Model200Response.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Model200Response.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **name** | **int** | | [optional] **class** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ModelList.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ModelList.md index e18ba4e123df..3075a1fcff98 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ModelList.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ModelList.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **_123_list** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ModelReturn.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ModelReturn.md index 9adb62e1e121..1fddf1b80fdc 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ModelReturn.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ModelReturn.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **return** | **int** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Name.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Name.md index 4565647e1ef6..5e75eddd5916 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Name.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Name.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes **property** | **string** | | [optional] **_123_number** | **int** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/NumberOnly.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/NumberOnly.md index 93a0fde7b931..8ee0abc05cc2 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/NumberOnly.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/NumberOnly.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **just_number** | **float** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Order.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Order.md index ddae5cc2b571..5edcb2fa9f38 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Order.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Order.md @@ -10,6 +10,6 @@ Name | Type | Description | Notes **status** | **string** | Order Status | [optional] **complete** | **bool** | | [optional] [default to false] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/OuterComposite.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/OuterComposite.md index e79675213950..ef7eab62642e 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/OuterComposite.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/OuterComposite.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **my_string** | **string** | | [optional] **my_boolean** | **bool** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnum.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnum.md index 06d413b01680..75effd8bb072 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnum.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnum.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Pet.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Pet.md index 2d281a3c4990..554039289fa4 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Pet.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Pet.md @@ -10,6 +10,6 @@ Name | Type | Description | Notes **tags** | [**\OpenAPI\Client\Model\Tag[]**](Tag.md) | | [optional] **status** | **string** | pet status in the store | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ReadOnlyFirst.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ReadOnlyFirst.md index 90662a00cf32..767505b24e65 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ReadOnlyFirst.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/ReadOnlyFirst.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **bar** | **string** | | [optional] **baz** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/SpecialModelName.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/SpecialModelName.md index 022ee19169ce..58c1b2d80e80 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/SpecialModelName.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/SpecialModelName.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **special_property_name** | **int** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/StringBooleanMap.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/StringBooleanMap.md deleted file mode 100644 index 7abf11ec68b1..000000000000 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/StringBooleanMap.md +++ /dev/null @@ -1,9 +0,0 @@ -# StringBooleanMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Tag.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Tag.md index 15ec3e0a91df..78ae82d19ef9 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Tag.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/Tag.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **id** | **int** | | [optional] **name** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/TypeHolderDefault.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/TypeHolderDefault.md index b03925fa9ceb..f3f183c62c33 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/TypeHolderDefault.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/TypeHolderDefault.md @@ -9,6 +9,6 @@ Name | Type | Description | Notes **bool_item** | **bool** | | [default to true] **array_item** | **int[]** | | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/TypeHolderExample.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/TypeHolderExample.md index 07fb85843da2..4ee71e6deed4 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/TypeHolderExample.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/TypeHolderExample.md @@ -9,6 +9,6 @@ Name | Type | Description | Notes **bool_item** | **bool** | | **array_item** | **int[]** | | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/User.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/User.md index ff278fd4889e..d436a4653dde 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/User.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/User.md @@ -12,6 +12,6 @@ Name | Type | Description | Notes **phone** | **string** | | [optional] **user_status** | **int** | User Status | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/XmlItem.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/XmlItem.md index 9fc2e89deac1..28181e4d9440 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Model/XmlItem.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Model/XmlItem.md @@ -33,6 +33,6 @@ Name | Type | Description | Notes **prefix_ns_array** | **int[]** | | [optional] **prefix_ns_wrapped_array** | **int[]** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AnimalFarm.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AnimalFarm.php deleted file mode 100644 index f5274027ff1c..000000000000 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AnimalFarm.php +++ /dev/null @@ -1,272 +0,0 @@ -listInvalidProperties()) === 0; - } - - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } -} - - diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/StringBooleanMap.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/StringBooleanMap.php deleted file mode 100644 index 41c50d10d6e9..000000000000 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/StringBooleanMap.php +++ /dev/null @@ -1,272 +0,0 @@ -listInvalidProperties()) === 0; - } - - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } -} - - diff --git a/samples/client/petstore/php/OpenAPIClient-php/tests/ModelInheritanceTest.php b/samples/client/petstore/php/OpenAPIClient-php/tests/ModelInheritanceTest.php index 8c78e5ae8da2..333b88bbedaa 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/tests/ModelInheritanceTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/tests/ModelInheritanceTest.php @@ -3,7 +3,6 @@ namespace OpenAPI\Client; use OpenAPI\Client\Model\Animal; -use OpenAPI\Client\Model\AnimalFarm; use OpenAPI\Client\Model\Cat; use OpenAPI\Client\Model\Dog; use PHPUnit\Framework\TestCase; @@ -75,8 +74,8 @@ public function testDiscriminatorInitialization() */ public function testArrayStuff() { - // create an AnimalFarm which is an object implementing the ArrayAccess interface - $farm = new AnimalFarm(); + // create an array of Animal + $farm = array(); // add some animals to the farm to make sure the ArrayAccess interface works $farm[] = new Dog(); diff --git a/samples/client/petstore/php/OpenAPIClient-php/tests/PetApiTest.php b/samples/client/petstore/php/OpenAPIClient-php/tests/PetApiTest.php index 6f4781a7c371..9e7f1c54b3a9 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/tests/PetApiTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/tests/PetApiTest.php @@ -323,9 +323,8 @@ public function testDiscriminatorInitialization() // test if ArrayAccess interface works public function testArrayStuff() { - // create an AnimalFarm which is an object implementing the - // ArrayAccess interface - $farm = new Model\AnimalFarm(); + // create an array of Animal + $farm = array(); // add some animals to the farm to make sure the ArrayAccess // interface works diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/AdditionalPropertiesClass.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/AdditionalPropertiesClass.md index b162fe9595fb..869cdcbb5d0c 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/AdditionalPropertiesClass.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/AdditionalPropertiesClass.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **map_property** | **map[string,string]** | | [optional] **map_of_map_property** | [**map[string,map[string,string]]**](map.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Animal.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Animal.md index c57fbe8ea4aa..9ea562fe1449 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Animal.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Animal.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **class_name** | **string** | | **color** | **string** | | [optional] [default to 'red'] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/AnimalFarm.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/AnimalFarm.md deleted file mode 100644 index df6bab21dae8..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/AnimalFarm.md +++ /dev/null @@ -1,9 +0,0 @@ -# AnimalFarm - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ApiResponse.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ApiResponse.md index 9d3511834227..d15f2dce2761 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ApiResponse.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ApiResponse.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **type** | **string** | | [optional] **message** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfArrayOfNumberOnly.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfArrayOfNumberOnly.md index 7831e1898882..aed435112f98 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfArrayOfNumberOnly.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfArrayOfNumberOnly.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **array_array_number** | [**float[][]**](array.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfNumberOnly.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfNumberOnly.md index a32607e42012..949b88ded0a8 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfNumberOnly.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayOfNumberOnly.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **array_number** | **float[]** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayTest.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayTest.md index 2ef4e3785e4c..eef7ab1b5b71 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayTest.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ArrayTest.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **array_array_of_integer** | [**int[][]**](array.md) | | [optional] **array_array_of_model** | [**\OpenAPI\Client\Model\ReadOnlyFirst[][]**](array.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body.md deleted file mode 100644 index c3cbc85ee899..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body.md +++ /dev/null @@ -1,11 +0,0 @@ -# Body - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **string** | Updated name of the pet | [optional] -**status** | **string** | Updated status of the pet | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body1.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body1.md deleted file mode 100644 index 8f063c22f08b..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body1.md +++ /dev/null @@ -1,11 +0,0 @@ -# Body1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**additional_metadata** | **string** | Additional data to pass to server | [optional] -**file** | [**\SplFileObject**](\SplFileObject.md) | file to upload | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body2.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body2.md deleted file mode 100644 index 5afe5ce7313c..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body2.md +++ /dev/null @@ -1,11 +0,0 @@ -# Body2 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enum_form_string_array** | **string[]** | Form parameter enum test (string array) | [optional] -**enum_form_string** | **string** | Form parameter enum test (string) | [optional] [default to '-efg'] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body3.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body3.md deleted file mode 100644 index fe21931b97de..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body3.md +++ /dev/null @@ -1,23 +0,0 @@ -# Body3 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**integer** | **int** | None | [optional] -**int32** | **int** | None | [optional] -**int64** | **int** | None | [optional] -**number** | **float** | None | -**float** | **float** | None | [optional] -**double** | **double** | None | -**string** | **string** | None | [optional] -**pattern_without_delimiter** | **string** | None | -**byte** | **string** | None | -**binary** | [**\SplFileObject**](\SplFileObject.md) | None | [optional] -**date** | [**\DateTime**](\DateTime.md) | None | [optional] -**date_time** | [**\DateTime**](\DateTime.md) | None | [optional] -**password** | **string** | None | [optional] -**callback** | **string** | None | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body4.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body4.md deleted file mode 100644 index f583ce67bec3..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body4.md +++ /dev/null @@ -1,11 +0,0 @@ -# Body4 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**param** | **string** | field1 | -**param2** | **string** | field2 | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body5.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body5.md deleted file mode 100644 index bb39fd91717f..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Body5.md +++ /dev/null @@ -1,11 +0,0 @@ -# Body5 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**additional_metadata** | **string** | Additional data to pass to server | [optional] -**required_file** | [**\SplFileObject**](\SplFileObject.md) | file to upload | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Capitalization.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Capitalization.md index 0fcc9e873d71..c9c90ba25023 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Capitalization.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Capitalization.md @@ -10,6 +10,6 @@ Name | Type | Description | Notes **sca_eth_flow_points** | **string** | | [optional] **att_name** | **string** | Name of the pet | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Cat.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Cat.md index 8d30565d014e..88ffac3e31b9 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Cat.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Cat.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **declawed** | **bool** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Category.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Category.md index 369f811a4eb8..a275eb329959 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Category.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Category.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **id** | **int** | | [optional] **name** | **string** | | [default to 'default-name'] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ClassModel.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ClassModel.md index 3ad025b6ed3a..a017385eea3a 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ClassModel.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ClassModel.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **_class** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Client.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Client.md index f6047a624710..e8371167c519 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Client.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Client.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **client** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Dog.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Dog.md index 3c04bdf4cf70..262a24033187 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Dog.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Dog.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **breed** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/EnumArrays.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/EnumArrays.md index ebaedecdae0e..5d15a764ed16 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/EnumArrays.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/EnumArrays.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **just_symbol** | **string** | | [optional] **array_enum** | **string[]** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/EnumClass.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/EnumClass.md index 67f017becd0c..7f5dd450d1c9 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/EnumClass.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/EnumClass.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/EnumTest.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/EnumTest.md index ccb11a3ce922..db30f3109248 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/EnumTest.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/EnumTest.md @@ -12,6 +12,6 @@ Name | Type | Description | Notes **outer_enum_default_value** | [**\OpenAPI\Client\Model\OuterEnumDefaultValue**](OuterEnumDefaultValue.md) | | [optional] **outer_enum_integer_default_value** | [**\OpenAPI\Client\Model\OuterEnumIntegerDefaultValue**](OuterEnumIntegerDefaultValue.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/File.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/File.md index bd3963bca31d..92110178d1c7 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/File.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/File.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **source_uri** | **string** | Test capitalization | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/FileSchemaTestClass.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/FileSchemaTestClass.md index af7d650390cb..1eb5cc96dcf2 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/FileSchemaTestClass.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/FileSchemaTestClass.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **file** | [**\OpenAPI\Client\Model\File**](File.md) | | [optional] **files** | [**\OpenAPI\Client\Model\File[]**](File.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Foo.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Foo.md index ee5ddff7206b..6b53d1fc7a1f 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Foo.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Foo.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **bar** | **string** | | [optional] [default to 'bar'] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/FormatTest.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/FormatTest.md index c27cc2cf2099..3f9c97d22ca3 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/FormatTest.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/FormatTest.md @@ -19,6 +19,6 @@ Name | Type | Description | Notes **pattern_with_digits** | **string** | A string that is a 10 digit number. Can have leading zeros. | [optional] **pattern_with_digits_and_delimiter** | **string** | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/HasOnlyReadOnly.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/HasOnlyReadOnly.md index 5e64572b781d..92f291a68b1b 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/HasOnlyReadOnly.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/HasOnlyReadOnly.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **bar** | **string** | | [optional] **foo** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/HealthCheckResult.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/HealthCheckResult.md index 9126cec80ae5..e2e0850aaf83 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/HealthCheckResult.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/HealthCheckResult.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **nullable_message** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject.md index 101275879be3..5335ba8e6ee6 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **name** | **string** | Updated name of the pet | [optional] **status** | **string** | Updated status of the pet | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject1.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject1.md index dc428e8ea6c5..7d591fdacf2e 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject1.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject1.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **additional_metadata** | **string** | Additional data to pass to server | [optional] **file** | [**\SplFileObject**](\SplFileObject.md) | file to upload | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject2.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject2.md index 7e2ee7c9570c..e66940de4547 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject2.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject2.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **enum_form_string_array** | **string[]** | Form parameter enum test (string array) | [optional] **enum_form_string** | **string** | Form parameter enum test (string) | [optional] [default to '-efg'] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject3.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject3.md index cef75b28262b..6956fa86337c 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject3.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject3.md @@ -18,6 +18,6 @@ Name | Type | Description | Notes **password** | **string** | None | [optional] **callback** | **string** | None | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject4.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject4.md index 6675b7f47ce7..cf156a420b76 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject4.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject4.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **param** | **string** | field1 | **param2** | **string** | field2 | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject5.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject5.md index d1d27f7cc65f..4ee8228bfeb1 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject5.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineObject5.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **additional_metadata** | **string** | Additional data to pass to server | [optional] **required_file** | [**\SplFileObject**](\SplFileObject.md) | file to upload | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineResponseDefault.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineResponseDefault.md index 9f25c169f64e..7dacf2b0ac48 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineResponseDefault.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/InlineResponseDefault.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **string** | [**\OpenAPI\Client\Model\Foo**](Foo.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/MapTest.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/MapTest.md index e2a51f7ddcd3..47c6c76656ae 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/MapTest.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/MapTest.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes **direct_map** | **map[string,bool]** | | [optional] **indirect_map** | **map[string,bool]** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/MixedPropertiesAndAdditionalPropertiesClass.md index a34e2f6d129f..4216dd89086d 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/MixedPropertiesAndAdditionalPropertiesClass.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/MixedPropertiesAndAdditionalPropertiesClass.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **date_time** | [**\DateTime**](\DateTime.md) | | [optional] **map** | [**map[string,\OpenAPI\Client\Model\Animal]**](Animal.md) | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Model200Response.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Model200Response.md index ebbea5c68af1..c0b33d0cd435 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Model200Response.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Model200Response.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **name** | **int** | | [optional] **class** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ModelList.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ModelList.md index e18ba4e123df..3075a1fcff98 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ModelList.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ModelList.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **_123_list** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ModelReturn.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ModelReturn.md index 9adb62e1e121..1fddf1b80fdc 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ModelReturn.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ModelReturn.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **return** | **int** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Name.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Name.md index 4565647e1ef6..5e75eddd5916 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Name.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Name.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes **property** | **string** | | [optional] **_123_number** | **int** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/NumberOnly.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/NumberOnly.md index 93a0fde7b931..8ee0abc05cc2 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/NumberOnly.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/NumberOnly.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **just_number** | **float** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Order.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Order.md index ddae5cc2b571..5edcb2fa9f38 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Order.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Order.md @@ -10,6 +10,6 @@ Name | Type | Description | Notes **status** | **string** | Order Status | [optional] **complete** | **bool** | | [optional] [default to false] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterComposite.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterComposite.md index e79675213950..ef7eab62642e 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterComposite.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterComposite.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **my_string** | **string** | | [optional] **my_boolean** | **bool** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnum.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnum.md index 06d413b01680..75effd8bb072 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnum.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnum.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnumDefaultValue.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnumDefaultValue.md index 1487a7103934..73bd71bcacfa 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnumDefaultValue.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnumDefaultValue.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnumInteger.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnumInteger.md index 8be15eee6a2c..e0cb2f421243 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnumInteger.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnumInteger.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnumIntegerDefaultValue.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnumIntegerDefaultValue.md index 27d962f106e1..e87ad2ac26de 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnumIntegerDefaultValue.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/OuterEnumIntegerDefaultValue.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Pet.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Pet.md index 2d281a3c4990..554039289fa4 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Pet.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Pet.md @@ -10,6 +10,6 @@ Name | Type | Description | Notes **tags** | [**\OpenAPI\Client\Model\Tag[]**](Tag.md) | | [optional] **status** | **string** | pet status in the store | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ReadOnlyFirst.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ReadOnlyFirst.md index 90662a00cf32..767505b24e65 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ReadOnlyFirst.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/ReadOnlyFirst.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **bar** | **string** | | [optional] **baz** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/SpecialModelName.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/SpecialModelName.md index 022ee19169ce..58c1b2d80e80 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/SpecialModelName.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/SpecialModelName.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **special_property_name** | **int** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/StringBooleanMap.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/StringBooleanMap.md deleted file mode 100644 index 7abf11ec68b1..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/StringBooleanMap.md +++ /dev/null @@ -1,9 +0,0 @@ -# StringBooleanMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Tag.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Tag.md index 15ec3e0a91df..78ae82d19ef9 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Tag.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/Tag.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **id** | **int** | | [optional] **name** | **string** | | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/User.md b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/User.md index ff278fd4889e..d436a4653dde 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/User.md +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/docs/Model/User.md @@ -12,6 +12,6 @@ Name | Type | Description | Notes **phone** | **string** | | [optional] **user_status** | **int** | User Status | [optional] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/AnimalFarm.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/AnimalFarm.php deleted file mode 100644 index f5274027ff1c..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/AnimalFarm.php +++ /dev/null @@ -1,272 +0,0 @@ -listInvalidProperties()) === 0; - } - - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } -} - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body.php deleted file mode 100644 index 964b21e82520..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body.php +++ /dev/null @@ -1,327 +0,0 @@ - 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $openAPIFormats = [ - 'name' => null, - 'status' => null - ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPITypes() - { - return self::$openAPITypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPIFormats() - { - return self::$openAPIFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'name' => 'name', - 'status' => 'status' - ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'name' => 'setName', - 'status' => 'setStatus' - ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'name' => 'getName', - 'status' => 'getStatus' - ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$openAPIModelName; - } - - - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['name'] = isset($data['name']) ? $data['name'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets name - * - * @return string|null - */ - public function getName() - { - return $this->container['name']; - } - - /** - * Sets name - * - * @param string|null $name Updated name of the pet - * - * @return $this - */ - public function setName($name) - { - $this->container['name'] = $name; - - return $this; - } - - /** - * Gets status - * - * @return string|null - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * - * @param string|null $status Updated status of the pet - * - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } -} - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body1.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body1.php deleted file mode 100644 index fb56f7b3b8e3..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body1.php +++ /dev/null @@ -1,327 +0,0 @@ - 'string', - 'file' => '\SplFileObject' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $openAPIFormats = [ - 'additional_metadata' => null, - 'file' => 'binary' - ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPITypes() - { - return self::$openAPITypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPIFormats() - { - return self::$openAPIFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'additional_metadata' => 'additionalMetadata', - 'file' => 'file' - ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'additional_metadata' => 'setAdditionalMetadata', - 'file' => 'setFile' - ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'additional_metadata' => 'getAdditionalMetadata', - 'file' => 'getFile' - ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$openAPIModelName; - } - - - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['additional_metadata'] = isset($data['additional_metadata']) ? $data['additional_metadata'] : null; - $this->container['file'] = isset($data['file']) ? $data['file'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets additional_metadata - * - * @return string|null - */ - public function getAdditionalMetadata() - { - return $this->container['additional_metadata']; - } - - /** - * Sets additional_metadata - * - * @param string|null $additional_metadata Additional data to pass to server - * - * @return $this - */ - public function setAdditionalMetadata($additional_metadata) - { - $this->container['additional_metadata'] = $additional_metadata; - - return $this; - } - - /** - * Gets file - * - * @return \SplFileObject|null - */ - public function getFile() - { - return $this->container['file']; - } - - /** - * Sets file - * - * @param \SplFileObject|null $file file to upload - * - * @return $this - */ - public function setFile($file) - { - $this->container['file'] = $file; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } -} - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body2.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body2.php deleted file mode 100644 index f8ea16ea0d27..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body2.php +++ /dev/null @@ -1,385 +0,0 @@ - 'string[]', - 'enum_form_string' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $openAPIFormats = [ - 'enum_form_string_array' => null, - 'enum_form_string' => null - ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPITypes() - { - return self::$openAPITypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPIFormats() - { - return self::$openAPIFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'enum_form_string_array' => 'enum_form_string_array', - 'enum_form_string' => 'enum_form_string' - ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'enum_form_string_array' => 'setEnumFormStringArray', - 'enum_form_string' => 'setEnumFormString' - ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'enum_form_string_array' => 'getEnumFormStringArray', - 'enum_form_string' => 'getEnumFormString' - ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$openAPIModelName; - } - - const ENUM_FORM_STRING_ARRAY_GREATER_THAN = '>'; - const ENUM_FORM_STRING_ARRAY_DOLLAR = '$'; - const ENUM_FORM_STRING_ABC = '_abc'; - const ENUM_FORM_STRING_EFG = '-efg'; - const ENUM_FORM_STRING_XYZ = '(xyz)'; - - - - /** - * Gets allowable values of the enum - * - * @return string[] - */ - public function getEnumFormStringArrayAllowableValues() - { - return [ - self::ENUM_FORM_STRING_ARRAY_GREATER_THAN, - self::ENUM_FORM_STRING_ARRAY_DOLLAR, - ]; - } - - /** - * Gets allowable values of the enum - * - * @return string[] - */ - public function getEnumFormStringAllowableValues() - { - return [ - self::ENUM_FORM_STRING_ABC, - self::ENUM_FORM_STRING_EFG, - self::ENUM_FORM_STRING_XYZ, - ]; - } - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['enum_form_string_array'] = isset($data['enum_form_string_array']) ? $data['enum_form_string_array'] : null; - $this->container['enum_form_string'] = isset($data['enum_form_string']) ? $data['enum_form_string'] : '-efg'; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - $allowedValues = $this->getEnumFormStringAllowableValues(); - if (!is_null($this->container['enum_form_string']) && !in_array($this->container['enum_form_string'], $allowedValues, true)) { - $invalidProperties[] = sprintf( - "invalid value for 'enum_form_string', must be one of '%s'", - implode("', '", $allowedValues) - ); - } - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets enum_form_string_array - * - * @return string[]|null - */ - public function getEnumFormStringArray() - { - return $this->container['enum_form_string_array']; - } - - /** - * Sets enum_form_string_array - * - * @param string[]|null $enum_form_string_array Form parameter enum test (string array) - * - * @return $this - */ - public function setEnumFormStringArray($enum_form_string_array) - { - $allowedValues = $this->getEnumFormStringArrayAllowableValues(); - if (!is_null($enum_form_string_array) && array_diff($enum_form_string_array, $allowedValues)) { - throw new \InvalidArgumentException( - sprintf( - "Invalid value for 'enum_form_string_array', must be one of '%s'", - implode("', '", $allowedValues) - ) - ); - } - $this->container['enum_form_string_array'] = $enum_form_string_array; - - return $this; - } - - /** - * Gets enum_form_string - * - * @return string|null - */ - public function getEnumFormString() - { - return $this->container['enum_form_string']; - } - - /** - * Sets enum_form_string - * - * @param string|null $enum_form_string Form parameter enum test (string) - * - * @return $this - */ - public function setEnumFormString($enum_form_string) - { - $allowedValues = $this->getEnumFormStringAllowableValues(); - if (!is_null($enum_form_string) && !in_array($enum_form_string, $allowedValues, true)) { - throw new \InvalidArgumentException( - sprintf( - "Invalid value for 'enum_form_string', must be one of '%s'", - implode("', '", $allowedValues) - ) - ); - } - $this->container['enum_form_string'] = $enum_form_string; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } -} - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body3.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body3.php deleted file mode 100644 index 31c915e74543..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body3.php +++ /dev/null @@ -1,805 +0,0 @@ - 'int', - 'int32' => 'int', - 'int64' => 'int', - 'number' => 'float', - 'float' => 'float', - 'double' => 'double', - 'string' => 'string', - 'pattern_without_delimiter' => 'string', - 'byte' => 'string', - 'binary' => '\SplFileObject', - 'date' => '\DateTime', - 'date_time' => '\DateTime', - 'password' => 'string', - 'callback' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $openAPIFormats = [ - 'integer' => 'int32', - 'int32' => 'int32', - 'int64' => 'int64', - 'number' => null, - 'float' => 'float', - 'double' => 'double', - 'string' => null, - 'pattern_without_delimiter' => null, - 'byte' => 'byte', - 'binary' => 'binary', - 'date' => 'date', - 'date_time' => 'date-time', - 'password' => 'password', - 'callback' => null - ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPITypes() - { - return self::$openAPITypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPIFormats() - { - return self::$openAPIFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'integer' => 'integer', - 'int32' => 'int32', - 'int64' => 'int64', - 'number' => 'number', - 'float' => 'float', - 'double' => 'double', - 'string' => 'string', - 'pattern_without_delimiter' => 'pattern_without_delimiter', - 'byte' => 'byte', - 'binary' => 'binary', - 'date' => 'date', - 'date_time' => 'dateTime', - 'password' => 'password', - 'callback' => 'callback' - ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'integer' => 'setInteger', - 'int32' => 'setInt32', - 'int64' => 'setInt64', - 'number' => 'setNumber', - 'float' => 'setFloat', - 'double' => 'setDouble', - 'string' => 'setString', - 'pattern_without_delimiter' => 'setPatternWithoutDelimiter', - 'byte' => 'setByte', - 'binary' => 'setBinary', - 'date' => 'setDate', - 'date_time' => 'setDateTime', - 'password' => 'setPassword', - 'callback' => 'setCallback' - ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'integer' => 'getInteger', - 'int32' => 'getInt32', - 'int64' => 'getInt64', - 'number' => 'getNumber', - 'float' => 'getFloat', - 'double' => 'getDouble', - 'string' => 'getString', - 'pattern_without_delimiter' => 'getPatternWithoutDelimiter', - 'byte' => 'getByte', - 'binary' => 'getBinary', - 'date' => 'getDate', - 'date_time' => 'getDateTime', - 'password' => 'getPassword', - 'callback' => 'getCallback' - ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$openAPIModelName; - } - - - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['integer'] = isset($data['integer']) ? $data['integer'] : null; - $this->container['int32'] = isset($data['int32']) ? $data['int32'] : null; - $this->container['int64'] = isset($data['int64']) ? $data['int64'] : null; - $this->container['number'] = isset($data['number']) ? $data['number'] : null; - $this->container['float'] = isset($data['float']) ? $data['float'] : null; - $this->container['double'] = isset($data['double']) ? $data['double'] : null; - $this->container['string'] = isset($data['string']) ? $data['string'] : null; - $this->container['pattern_without_delimiter'] = isset($data['pattern_without_delimiter']) ? $data['pattern_without_delimiter'] : null; - $this->container['byte'] = isset($data['byte']) ? $data['byte'] : null; - $this->container['binary'] = isset($data['binary']) ? $data['binary'] : null; - $this->container['date'] = isset($data['date']) ? $data['date'] : null; - $this->container['date_time'] = isset($data['date_time']) ? $data['date_time'] : null; - $this->container['password'] = isset($data['password']) ? $data['password'] : null; - $this->container['callback'] = isset($data['callback']) ? $data['callback'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - if (!is_null($this->container['integer']) && ($this->container['integer'] > 100)) { - $invalidProperties[] = "invalid value for 'integer', must be smaller than or equal to 100."; - } - - if (!is_null($this->container['integer']) && ($this->container['integer'] < 10)) { - $invalidProperties[] = "invalid value for 'integer', must be bigger than or equal to 10."; - } - - if (!is_null($this->container['int32']) && ($this->container['int32'] > 200)) { - $invalidProperties[] = "invalid value for 'int32', must be smaller than or equal to 200."; - } - - if (!is_null($this->container['int32']) && ($this->container['int32'] < 20)) { - $invalidProperties[] = "invalid value for 'int32', must be bigger than or equal to 20."; - } - - if ($this->container['number'] === null) { - $invalidProperties[] = "'number' can't be null"; - } - if (($this->container['number'] > 543.2)) { - $invalidProperties[] = "invalid value for 'number', must be smaller than or equal to 543.2."; - } - - if (($this->container['number'] < 32.1)) { - $invalidProperties[] = "invalid value for 'number', must be bigger than or equal to 32.1."; - } - - if (!is_null($this->container['float']) && ($this->container['float'] > 987.6)) { - $invalidProperties[] = "invalid value for 'float', must be smaller than or equal to 987.6."; - } - - if ($this->container['double'] === null) { - $invalidProperties[] = "'double' can't be null"; - } - if (($this->container['double'] > 123.4)) { - $invalidProperties[] = "invalid value for 'double', must be smaller than or equal to 123.4."; - } - - if (($this->container['double'] < 67.8)) { - $invalidProperties[] = "invalid value for 'double', must be bigger than or equal to 67.8."; - } - - if (!is_null($this->container['string']) && !preg_match("/[a-z]/i", $this->container['string'])) { - $invalidProperties[] = "invalid value for 'string', must be conform to the pattern /[a-z]/i."; - } - - if ($this->container['pattern_without_delimiter'] === null) { - $invalidProperties[] = "'pattern_without_delimiter' can't be null"; - } - if (!preg_match("/^[A-Z].*/", $this->container['pattern_without_delimiter'])) { - $invalidProperties[] = "invalid value for 'pattern_without_delimiter', must be conform to the pattern /^[A-Z].*/."; - } - - if ($this->container['byte'] === null) { - $invalidProperties[] = "'byte' can't be null"; - } - if (!is_null($this->container['password']) && (mb_strlen($this->container['password']) > 64)) { - $invalidProperties[] = "invalid value for 'password', the character length must be smaller than or equal to 64."; - } - - if (!is_null($this->container['password']) && (mb_strlen($this->container['password']) < 10)) { - $invalidProperties[] = "invalid value for 'password', the character length must be bigger than or equal to 10."; - } - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets integer - * - * @return int|null - */ - public function getInteger() - { - return $this->container['integer']; - } - - /** - * Sets integer - * - * @param int|null $integer None - * - * @return $this - */ - public function setInteger($integer) - { - - if (!is_null($integer) && ($integer > 100)) { - throw new \InvalidArgumentException('invalid value for $integer when calling Body3., must be smaller than or equal to 100.'); - } - if (!is_null($integer) && ($integer < 10)) { - throw new \InvalidArgumentException('invalid value for $integer when calling Body3., must be bigger than or equal to 10.'); - } - - $this->container['integer'] = $integer; - - return $this; - } - - /** - * Gets int32 - * - * @return int|null - */ - public function getInt32() - { - return $this->container['int32']; - } - - /** - * Sets int32 - * - * @param int|null $int32 None - * - * @return $this - */ - public function setInt32($int32) - { - - if (!is_null($int32) && ($int32 > 200)) { - throw new \InvalidArgumentException('invalid value for $int32 when calling Body3., must be smaller than or equal to 200.'); - } - if (!is_null($int32) && ($int32 < 20)) { - throw new \InvalidArgumentException('invalid value for $int32 when calling Body3., must be bigger than or equal to 20.'); - } - - $this->container['int32'] = $int32; - - return $this; - } - - /** - * Gets int64 - * - * @return int|null - */ - public function getInt64() - { - return $this->container['int64']; - } - - /** - * Sets int64 - * - * @param int|null $int64 None - * - * @return $this - */ - public function setInt64($int64) - { - $this->container['int64'] = $int64; - - return $this; - } - - /** - * Gets number - * - * @return float - */ - public function getNumber() - { - return $this->container['number']; - } - - /** - * Sets number - * - * @param float $number None - * - * @return $this - */ - public function setNumber($number) - { - - if (($number > 543.2)) { - throw new \InvalidArgumentException('invalid value for $number when calling Body3., must be smaller than or equal to 543.2.'); - } - if (($number < 32.1)) { - throw new \InvalidArgumentException('invalid value for $number when calling Body3., must be bigger than or equal to 32.1.'); - } - - $this->container['number'] = $number; - - return $this; - } - - /** - * Gets float - * - * @return float|null - */ - public function getFloat() - { - return $this->container['float']; - } - - /** - * Sets float - * - * @param float|null $float None - * - * @return $this - */ - public function setFloat($float) - { - - if (!is_null($float) && ($float > 987.6)) { - throw new \InvalidArgumentException('invalid value for $float when calling Body3., must be smaller than or equal to 987.6.'); - } - - $this->container['float'] = $float; - - return $this; - } - - /** - * Gets double - * - * @return double - */ - public function getDouble() - { - return $this->container['double']; - } - - /** - * Sets double - * - * @param double $double None - * - * @return $this - */ - public function setDouble($double) - { - - if (($double > 123.4)) { - throw new \InvalidArgumentException('invalid value for $double when calling Body3., must be smaller than or equal to 123.4.'); - } - if (($double < 67.8)) { - throw new \InvalidArgumentException('invalid value for $double when calling Body3., must be bigger than or equal to 67.8.'); - } - - $this->container['double'] = $double; - - return $this; - } - - /** - * Gets string - * - * @return string|null - */ - public function getString() - { - return $this->container['string']; - } - - /** - * Sets string - * - * @param string|null $string None - * - * @return $this - */ - public function setString($string) - { - - if (!is_null($string) && (!preg_match("/[a-z]/i", $string))) { - throw new \InvalidArgumentException("invalid value for $string when calling Body3., must conform to the pattern /[a-z]/i."); - } - - $this->container['string'] = $string; - - return $this; - } - - /** - * Gets pattern_without_delimiter - * - * @return string - */ - public function getPatternWithoutDelimiter() - { - return $this->container['pattern_without_delimiter']; - } - - /** - * Sets pattern_without_delimiter - * - * @param string $pattern_without_delimiter None - * - * @return $this - */ - public function setPatternWithoutDelimiter($pattern_without_delimiter) - { - - if ((!preg_match("/^[A-Z].*/", $pattern_without_delimiter))) { - throw new \InvalidArgumentException("invalid value for $pattern_without_delimiter when calling Body3., must conform to the pattern /^[A-Z].*/."); - } - - $this->container['pattern_without_delimiter'] = $pattern_without_delimiter; - - return $this; - } - - /** - * Gets byte - * - * @return string - */ - public function getByte() - { - return $this->container['byte']; - } - - /** - * Sets byte - * - * @param string $byte None - * - * @return $this - */ - public function setByte($byte) - { - $this->container['byte'] = $byte; - - return $this; - } - - /** - * Gets binary - * - * @return \SplFileObject|null - */ - public function getBinary() - { - return $this->container['binary']; - } - - /** - * Sets binary - * - * @param \SplFileObject|null $binary None - * - * @return $this - */ - public function setBinary($binary) - { - $this->container['binary'] = $binary; - - return $this; - } - - /** - * Gets date - * - * @return \DateTime|null - */ - public function getDate() - { - return $this->container['date']; - } - - /** - * Sets date - * - * @param \DateTime|null $date None - * - * @return $this - */ - public function setDate($date) - { - $this->container['date'] = $date; - - return $this; - } - - /** - * Gets date_time - * - * @return \DateTime|null - */ - public function getDateTime() - { - return $this->container['date_time']; - } - - /** - * Sets date_time - * - * @param \DateTime|null $date_time None - * - * @return $this - */ - public function setDateTime($date_time) - { - $this->container['date_time'] = $date_time; - - return $this; - } - - /** - * Gets password - * - * @return string|null - */ - public function getPassword() - { - return $this->container['password']; - } - - /** - * Sets password - * - * @param string|null $password None - * - * @return $this - */ - public function setPassword($password) - { - if (!is_null($password) && (mb_strlen($password) > 64)) { - throw new \InvalidArgumentException('invalid length for $password when calling Body3., must be smaller than or equal to 64.'); - } - if (!is_null($password) && (mb_strlen($password) < 10)) { - throw new \InvalidArgumentException('invalid length for $password when calling Body3., must be bigger than or equal to 10.'); - } - - $this->container['password'] = $password; - - return $this; - } - - /** - * Gets callback - * - * @return string|null - */ - public function getCallback() - { - return $this->container['callback']; - } - - /** - * Sets callback - * - * @param string|null $callback None - * - * @return $this - */ - public function setCallback($callback) - { - $this->container['callback'] = $callback; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } -} - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body4.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body4.php deleted file mode 100644 index 728a54f961e5..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body4.php +++ /dev/null @@ -1,333 +0,0 @@ - 'string', - 'param2' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $openAPIFormats = [ - 'param' => null, - 'param2' => null - ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPITypes() - { - return self::$openAPITypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPIFormats() - { - return self::$openAPIFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'param' => 'param', - 'param2' => 'param2' - ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'param' => 'setParam', - 'param2' => 'setParam2' - ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'param' => 'getParam', - 'param2' => 'getParam2' - ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$openAPIModelName; - } - - - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['param'] = isset($data['param']) ? $data['param'] : null; - $this->container['param2'] = isset($data['param2']) ? $data['param2'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - if ($this->container['param'] === null) { - $invalidProperties[] = "'param' can't be null"; - } - if ($this->container['param2'] === null) { - $invalidProperties[] = "'param2' can't be null"; - } - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets param - * - * @return string - */ - public function getParam() - { - return $this->container['param']; - } - - /** - * Sets param - * - * @param string $param field1 - * - * @return $this - */ - public function setParam($param) - { - $this->container['param'] = $param; - - return $this; - } - - /** - * Gets param2 - * - * @return string - */ - public function getParam2() - { - return $this->container['param2']; - } - - /** - * Sets param2 - * - * @param string $param2 field2 - * - * @return $this - */ - public function setParam2($param2) - { - $this->container['param2'] = $param2; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } -} - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body5.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body5.php deleted file mode 100644 index 273a5c4caa66..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Body5.php +++ /dev/null @@ -1,330 +0,0 @@ - 'string', - 'required_file' => '\SplFileObject' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $openAPIFormats = [ - 'additional_metadata' => null, - 'required_file' => 'binary' - ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPITypes() - { - return self::$openAPITypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPIFormats() - { - return self::$openAPIFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'additional_metadata' => 'additionalMetadata', - 'required_file' => 'requiredFile' - ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'additional_metadata' => 'setAdditionalMetadata', - 'required_file' => 'setRequiredFile' - ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'additional_metadata' => 'getAdditionalMetadata', - 'required_file' => 'getRequiredFile' - ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$openAPIModelName; - } - - - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['additional_metadata'] = isset($data['additional_metadata']) ? $data['additional_metadata'] : null; - $this->container['required_file'] = isset($data['required_file']) ? $data['required_file'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - if ($this->container['required_file'] === null) { - $invalidProperties[] = "'required_file' can't be null"; - } - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets additional_metadata - * - * @return string|null - */ - public function getAdditionalMetadata() - { - return $this->container['additional_metadata']; - } - - /** - * Sets additional_metadata - * - * @param string|null $additional_metadata Additional data to pass to server - * - * @return $this - */ - public function setAdditionalMetadata($additional_metadata) - { - $this->container['additional_metadata'] = $additional_metadata; - - return $this; - } - - /** - * Gets required_file - * - * @return \SplFileObject - */ - public function getRequiredFile() - { - return $this->container['required_file']; - } - - /** - * Sets required_file - * - * @param \SplFileObject $required_file file to upload - * - * @return $this - */ - public function setRequiredFile($required_file) - { - $this->container['required_file'] = $required_file; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } -} - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/StringBooleanMap.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/StringBooleanMap.php deleted file mode 100644 index 41c50d10d6e9..000000000000 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/StringBooleanMap.php +++ /dev/null @@ -1,272 +0,0 @@ -listInvalidProperties()) === 0; - } - - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } -} - - diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/tests/ModelInheritanceTest.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/tests/ModelInheritanceTest.php index 8c78e5ae8da2..333b88bbedaa 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/tests/ModelInheritanceTest.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/tests/ModelInheritanceTest.php @@ -3,7 +3,6 @@ namespace OpenAPI\Client; use OpenAPI\Client\Model\Animal; -use OpenAPI\Client\Model\AnimalFarm; use OpenAPI\Client\Model\Cat; use OpenAPI\Client\Model\Dog; use PHPUnit\Framework\TestCase; @@ -75,8 +74,8 @@ public function testDiscriminatorInitialization() */ public function testArrayStuff() { - // create an AnimalFarm which is an object implementing the ArrayAccess interface - $farm = new AnimalFarm(); + // create an array of Animal + $farm = array(); // add some animals to the farm to make sure the ArrayAccess interface works $farm[] = new Dog(); diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/tests/PetApiTest.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/tests/PetApiTest.php index 41c471e951b8..45b3072db4e0 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/tests/PetApiTest.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/tests/PetApiTest.php @@ -323,9 +323,8 @@ public function testDiscriminatorInitialization() // test if ArrayAccess interface works public function testArrayStuff() { - // create an AnimalFarm which is an object implementing the - // ArrayAccess interface - $farm = new Model\AnimalFarm(); + // create an array of Animal + $farm = array(); // add some animals to the farm to make sure the ArrayAccess // interface works