200, 'message' => 'Server is running']); } /** * @throws \JsonException */ #[Guards\Jwt] #[Guards\Scope(['post.index'])] #[OA\Post(path: '/')] #[OA\Response( response: '200', description: 'An Example Response', content: new OA\JsonContent( properties: [ new OA\Property('status_code', type: 'integer'), new OA\Property('message', type: 'string'), ] ) )] public function post(ServerRequest $request): ResponseInterface { return JsonResponseFactory::createJsonResponse(['status_code' => 200, 'message' => 'Server is running']); } }