Answers for "[Syntax Error] Expected Doctrine\Common\Annotations\DocLexer::T_CLOSE_PARENTHESIS, got end of string in"

0

[Syntax Error] Expected Doctrine\Common\Annotations\DocLexer::T_CLOSE_PARENTHESIS, got end of string in

you missed one of the paranteses in your swagger documentation like line 21


    /**
     * @OA\Get(path="/api/products",
     *   tags={"Products"},
     *   summary="Returns products as json",
     *   description="Returns products",
     *   operationId="getProducts",
     *   parameters={},
     *   @OA\Response(
     *     response=200,
     *     description="successful operation",
     *     @OA\Schema(
     *       additionalProperties={
     *         "type":"integer",
     *         "format":"int32"
     *       }
     *     )
     *   )
     * )
     */
Posted by: Guest on September-05-2021

Code answers related to "[Syntax Error] Expected Doctrine\Common\Annotations\DocLexer::T_CLOSE_PARENTHESIS, got end of string in"

Browse Popular Code Answers by Language