From 5a9b8e2179743773f5df7b30ff6c9a8abaf176eb Mon Sep 17 00:00:00 2001 From: Marco Capetta Date: Mon, 23 Oct 2023 11:04:42 +0200 Subject: [PATCH] MT#54356 Fix swagger documentation for 'calllist' api The 'duration' field is reported in the documentation as 'number' but in fact it is a string, for example: "0:00:16.495". In the commit the definition of the parameter is changed from PosInteger to Text Change-Id: I317006f5bbb5c4b7ffea0abe29dc0b175d8f95e6 (cherry picked from commit 958e40e2ca2959c49b8eb7ceb825c815c534f633) --- lib/NGCP/Panel/Form/CallList/Subscriber.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NGCP/Panel/Form/CallList/Subscriber.pm b/lib/NGCP/Panel/Form/CallList/Subscriber.pm index b8c0d847f8..3922d05282 100644 --- a/lib/NGCP/Panel/Form/CallList/Subscriber.pm +++ b/lib/NGCP/Panel/Form/CallList/Subscriber.pm @@ -118,7 +118,7 @@ has_field 'start_time' => ( ); has_field 'duration' => ( - type => 'PosInteger', + type => 'Text', required => 1, element_attr => { rel => ['tooltip'],