php-apidoc icon indicating copy to clipboard operation
php-apidoc copied to clipboard

Header and Footer div unwanted

Open mister-good-deal opened this issue 7 years ago • 1 comments

Unwanted Headers and Body divs rendering

apidoc

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)
    {
        // ...
    }
}

mister-good-deal avatar Jun 30 '17 21:06 mister-good-deal

我这边老引用错误

ABBOOT avatar Dec 04 '18 10:12 ABBOOT