From 6f35b7fe366732bac4a4c6f3879cc23f618c8d70 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Tue, 2 Dec 2025 23:24:19 +0200 Subject: [PATCH] summary --- application/Espo/Tools/OpenApi/Provider.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/application/Espo/Tools/OpenApi/Provider.php b/application/Espo/Tools/OpenApi/Provider.php index 2f78137b49..673368a1e6 100644 --- a/application/Espo/Tools/OpenApi/Provider.php +++ b/application/Espo/Tools/OpenApi/Provider.php @@ -365,6 +365,7 @@ class Provider 'description' => 'A record ID of the entity that is being duplicated.', ] ], + 'summary' => "Create $entityType", 'description' => "Create a new '$entityType' record.", ]; @@ -445,6 +446,7 @@ class Provider ] ], 'parameters' => $parameters, + 'summary' => "Update $entityType", 'description' => "Update an existing '$entityType' record.", ]; @@ -485,6 +487,7 @@ class Provider { $operation = [ 'tags' => [$entityType], + 'summary' => "Remove $entityType", 'description' => "Remove an existing '$entityType' record.", ]; @@ -524,6 +527,7 @@ class Provider $operation = [ 'tags' => [$entityType], + 'summary' => "Read $entityType", 'description' => "Read an existing '$entityType' record.", ]; @@ -575,6 +579,7 @@ class Provider return [ 'tags' => [$entityType], 'parameters' => $parameters, + 'summary' => "List $entityType", 'description' => "List $entityType records.", 'responses' => $this->prepareListResponses($entityType), ]; @@ -917,6 +922,7 @@ class Provider $operation = [ 'tags' => [$entityType], 'parameters' => $parameters, + 'summary' => "List $entityType . $link", 'description' => "List '$foreignEntityType' records related through the '$link' link.", ]; @@ -949,6 +955,7 @@ class Provider ] ] ], + 'summary' => "Relate $entityType . $link", 'description' => "Relate '$foreignEntityType' record though the '$link' link.", ]; @@ -993,6 +1000,7 @@ class Provider ] ] ], + 'summary' => "Unrelate $entityType . $link", 'description' => "Unrelate '$foreignEntityType' record related though the '$link' link.", ];