mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 08:46:55 +00:00
[PHP] Decommission "packagePath", add new option "packageName" (#681)
* remove packagePath from php file location, use -o instead * fix php symfony top folder * restore pacakgePath * update php laraavel samples * remove packagePath from PHP generator * add new silex files * update window batch - php silex * fix openapi3 silex script
This commit is contained in:
@@ -31,14 +31,14 @@ class AnotherFakeController extends Controller
|
||||
}
|
||||
|
||||
/**
|
||||
* Operation 123testSpecialTags
|
||||
* Operation call123TestSpecialTags
|
||||
*
|
||||
* To test special tags.
|
||||
*
|
||||
*
|
||||
* @return Http response
|
||||
*/
|
||||
public function 123testSpecialTags()
|
||||
public function call123TestSpecialTags()
|
||||
{
|
||||
$input = Request::all();
|
||||
|
||||
@@ -47,11 +47,11 @@ class AnotherFakeController extends Controller
|
||||
|
||||
//not path params validation
|
||||
if (!isset($input['client'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $client when calling 123testSpecialTags');
|
||||
throw new \InvalidArgumentException('Missing the required parameter $client when calling call123TestSpecialTags');
|
||||
}
|
||||
$client = $input['client'];
|
||||
|
||||
|
||||
return response('How about implementing 123testSpecialTags as a patch method ?');
|
||||
return response('How about implementing call123TestSpecialTags as a patch method ?');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user