fix: declare property headerSelector (#7495)

The property was created dynamically, it's a more clean approach to
declare it as a member of the class.
This commit is contained in:
Jens Radtke 2018-01-25 17:49:35 +01:00 committed by William Cheng
parent 2394fac677
commit 76907cacde
10 changed files with 45 additions and 5 deletions

View File

@ -49,6 +49,11 @@ use {{invokerPackage}}\ObjectSerializer;
*/
protected $config;
/**
* @var HeaderSelector
*/
protected $headerSelector;
/**
* @param ClientInterface $client
* @param Configuration $config

View File

@ -59,6 +59,11 @@ class FakeApi
*/
protected $config;
/**
* @var HeaderSelector
*/
protected $headerSelector;
/**
* @param ClientInterface $client
* @param Configuration $config

View File

@ -379,11 +379,11 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**enum_form_string_array** | **string[]**| Form parameter enum test (string array) | [optional]
**enum_form_string_array** | [**string[]**](../Model/string.md)| Form parameter enum test (string array) | [optional]
**enum_form_string** | **string**| Form parameter enum test (string) | [optional] [default to -efg]
**enum_header_string_array** | **string[]**| Header parameter enum test (string array) | [optional]
**enum_header_string_array** | [**string[]**](../Model/string.md)| Header parameter enum test (string array) | [optional]
**enum_header_string** | **string**| Header parameter enum test (string) | [optional] [default to -efg]
**enum_query_string_array** | **string[]**| Query parameter enum test (string array) | [optional]
**enum_query_string_array** | [**string[]**](../Model/string.md)| Query parameter enum test (string array) | [optional]
**enum_query_string** | **string**| Query parameter enum test (string) | [optional] [default to -efg]
**enum_query_integer** | **int**| Query parameter enum test (double) | [optional]
**enum_query_double** | **double**| Query parameter enum test (double) | [optional]

View File

@ -156,7 +156,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**status** | **string[]**| Status values that need to be considered for filter |
**status** | [**string[]**](../Model/string.md)| Status values that need to be considered for filter |
### Return type
@ -209,7 +209,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**tags** | **string[]**| Tags to filter by |
**tags** | [**string[]**](../Model/string.md)| Tags to filter by |
### Return type

View File

@ -59,6 +59,11 @@ class AnotherFakeApi
*/
protected $config;
/**
* @var HeaderSelector
*/
protected $headerSelector;
/**
* @param ClientInterface $client
* @param Configuration $config

View File

@ -59,6 +59,11 @@ class FakeApi
*/
protected $config;
/**
* @var HeaderSelector
*/
protected $headerSelector;
/**
* @param ClientInterface $client
* @param Configuration $config

View File

@ -59,6 +59,11 @@ class FakeClassnameTags123Api
*/
protected $config;
/**
* @var HeaderSelector
*/
protected $headerSelector;
/**
* @param ClientInterface $client
* @param Configuration $config

View File

@ -59,6 +59,11 @@ class PetApi
*/
protected $config;
/**
* @var HeaderSelector
*/
protected $headerSelector;
/**
* @param ClientInterface $client
* @param Configuration $config

View File

@ -59,6 +59,11 @@ class StoreApi
*/
protected $config;
/**
* @var HeaderSelector
*/
protected $headerSelector;
/**
* @param ClientInterface $client
* @param Configuration $config

View File

@ -59,6 +59,11 @@ class UserApi
*/
protected $config;
/**
* @var HeaderSelector
*/
protected $headerSelector;
/**
* @param ClientInterface $client
* @param Configuration $config