Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
576 B
1
Indexable
Never
    /**
     * @OA\Post(
     *     path="/register",
     *     tags={"user"},
     *     summary="Register user",
     *     description="This can only be done by the logged in user.",
     *     operationId="registerUser",
     *     @OA\Response(
     *         response="default",
     *         description="successful operation"
     *     ),
     *     @OA\RequestBody(
     *         description="Create user object",
     *         required=true,
     *         @OA\JsonContent(ref="#/components/schemas/RegisterModel")
     *     )
     * )
     */