forked from loafle/openapi-generator-original
[PHP] [Laravel] Fix syntax errors in models (#721)
* Fix syntax errors in Models * Update samples ./bin/php-laravel-petstore-server.sh
This commit is contained in:
committed by
William Cheng
parent
a258cf3fc6
commit
2b429ee43b
@@ -31,14 +31,14 @@ class AnotherFakeController extends Controller
|
||||
}
|
||||
|
||||
/**
|
||||
* Operation testSpecialTags
|
||||
* Operation 123testSpecialTags
|
||||
*
|
||||
* To test special tags.
|
||||
*
|
||||
*
|
||||
* @return Http response
|
||||
*/
|
||||
public function testSpecialTags()
|
||||
public function 123testSpecialTags()
|
||||
{
|
||||
$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 testSpecialTags');
|
||||
throw new \InvalidArgumentException('Missing the required parameter $client when calling 123testSpecialTags');
|
||||
}
|
||||
$client = $input['client'];
|
||||
|
||||
|
||||
return response('How about implementing testSpecialTags as a patch method ?');
|
||||
return response('How about implementing 123testSpecialTags as a patch method ?');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user