php-apidoc
php-apidoc copied to clipboard
Header and Footer div unwanted
Unwanted Headers and Body divs rendering
Class code parsed
class App extends Controller
{
/**
* Log a user to the app
*
* @param Request $request
*
* @ApiDescription(section="App", description="Log the user to the app using Facebook token")
* @ApiMethod(type="post")
* @ApiRoute(name="/app/login")
* @ApiParams(name="user", type="object", description="User object with the followings attributes", sample="{
* 'ID': 'string',
* 'accessToken': 'string'
* }")
* @ApiReturnHeaders(sample="HTTP 200 OK")
* @ApiReturn(type="object", sample="{
* 'success': 'bool',
* 'message': 'string',
* 'newUser': 'bool',
* 'user': {
* 'id': 'int',
* 'email': 'string',
* 'name': 'string',
* 'first_name': 'string',
* 'last_name': 'string',
* 'cover': 'string',
* 'picture': 'string',
* 'facebook_token': 'string',
* 'facebook_id': 'int',
* 'facebook_token_expiration': 'int'
* }
* }")
*
* @return \Illuminate\Http\JsonResponse
*/
public function login(Request $request)
{
// ...
}
}
我这边老引用错误