G
G
ganjo8882018-12-03 10:14:50
PHP
ganjo888, 2018-12-03 10:14:50

Swagger-PHP how to write error handling?

*     @OA\Response(
     *         response="false",
     *         description="no valid url"
     *     ),

How to write correctly? writes Notice: Invalid value "false" for @OA\Response()->response, expecting "default" or a HTTP Status Code

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question