Created
November 3, 2021 05:50
-
-
Save erenhatirnaz/26785080dededa16e4fd127af615c3ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* ... | |
* | |
* @OA\Schema( | |
* schema="Error", | |
* @OA\Property(property="code", type="string", description="Error code", example="common.not-found"), | |
* @OA\Property(property="message", type="string", description="Error message", example="Resource not found."), | |
* ) | |
* @OA\Schema( | |
* schema="Success", | |
* @OA\Property(property="code", type="string", description="Code", example="success"), | |
* @OA\Property(property="data"), | |
* ) | |
* | |
*/ | |
class Controller extends BaseController | |
{ | |
use AuthorizesRequests, DispatchesJobs, ValidatesRequests; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment