mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-09 04:06:11 +00:00
Add OAS3 allowEmptyValue for query params (#10312)
* add the special case of empty query parameters to the fake API
This commit is contained in:
@@ -554,6 +554,11 @@ class FakeController extends Controller
|
||||
}
|
||||
$context = $input['context'];
|
||||
|
||||
if (!isset($input['allowEmpty'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $allowEmpty when calling testQueryParameterCollectionFormat');
|
||||
}
|
||||
$allowEmpty = $input['allowEmpty'];
|
||||
|
||||
$language = $input['language'];
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user