forked from loafle/openapi-generator-original
* fix #16797 and #15796 spring child constructor missing parent params * root cause and update the DefaultCodegen.java to add missing property when with multi inheritance * rollback SpringCodegen.java * update samples * rollback with master cause #16992 fixed this issue too * still using orignal design * catchup master * catchup master * catchup master * fix * add tests --------- Co-authored-by: dabdirb <dabdirb@gmail.com>
This commit is contained in:
@@ -249,6 +249,30 @@ class FakeController extends Controller
|
||||
|
||||
return response('How about implementing fakeBigDecimalMap as a get method ?');
|
||||
}
|
||||
/**
|
||||
* Operation testAdditionalPropertiesReference
|
||||
*
|
||||
* test referenced additionalProperties.
|
||||
*
|
||||
*
|
||||
* @return Http response
|
||||
*/
|
||||
public function testAdditionalPropertiesReference()
|
||||
{
|
||||
$input = Request::all();
|
||||
|
||||
//path params validation
|
||||
|
||||
|
||||
//not path params validation
|
||||
if (!isset($input['requestBody'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $requestBody when calling testAdditionalPropertiesReference');
|
||||
}
|
||||
$requestBody = $input['requestBody'];
|
||||
|
||||
|
||||
return response('How about implementing testAdditionalPropertiesReference as a post method ?');
|
||||
}
|
||||
/**
|
||||
* Operation testBodyWithBinary
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user