From 1d2667ed5cf9e35f22fbdd1da9b038bdd5e508b3 Mon Sep 17 00:00:00 2001 From: FabrizioMoggio <87469955+FabrizioMoggio@users.noreply.github.com> Date: Tue, 19 Aug 2025 12:30:42 +0200 Subject: [PATCH 1/3] ErrorInfo scheme https://github.com/camaraproject/CallForwardingSignal/issues/200#issuecomment-3200145152 --- code/API_definitions/call-forwarding-signal.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/API_definitions/call-forwarding-signal.yaml b/code/API_definitions/call-forwarding-signal.yaml index 3fbcb67..0fee782 100644 --- a/code/API_definitions/call-forwarding-signal.yaml +++ b/code/API_definitions/call-forwarding-signal.yaml @@ -361,7 +361,6 @@ components: # Responces # ############################################################################ ErrorInfo: - description: error info template type: object required: - message @@ -370,13 +369,13 @@ components: properties: message: type: string - description: A human readable description of what the event represent + description: A human-readable description of what the event represents status: type: integer description: HTTP response status code code: type: string - description: Friendly Code to describe the error + description: A human-readable code to describe the error responses: Generic400: description: Bad Request From 1de2a254f8db043ff43ca13b5fdce8551ebe2de1 Mon Sep 17 00:00:00 2001 From: FabrizioMoggio <87469955+FabrizioMoggio@users.noreply.github.com> Date: Tue, 19 Aug 2025 12:37:07 +0200 Subject: [PATCH 2/3] context update https://github.com/camaraproject/CallForwardingSignal/issues/200#issuecomment-3200198745 --- .../call-forwarding-signal-retrieveCallForwarding.feature | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/Test_definitions/call-forwarding-signal-retrieveCallForwarding.feature b/code/Test_definitions/call-forwarding-signal-retrieveCallForwarding.feature index a06e910..16a6799 100644 --- a/code/Test_definitions/call-forwarding-signal-retrieveCallForwarding.feature +++ b/code/Test_definitions/call-forwarding-signal-retrieveCallForwarding.feature @@ -7,6 +7,8 @@ Feature: CAMARA Call Forwarding Signal API, vwip - Operation retrieveCallForwar # * A device object identified by a phone number for which the call forwarding service status could be retrieved # * A device object identified by a phone number for which the call forwarding service status could not be retrieved # + # References to OAS spec schemas refer to schemas specified in call-forwarding-signal.yaml, version wip + Background: Common call-forwarding-signal setup Given the path "/call-forwarding-signal/vwip/call-forwardings" And the header "Content-Type" is set to "application/json" @@ -219,4 +221,4 @@ Feature: CAMARA Call Forwarding Signal API, vwip - Operation retrieveCallForwar Then the response status code is 501 And the response property "$.status" is 501 And the response property "$.code" is "NOT_IMPLEMENTED" - And the response property "$.message" contains a user friendly text \ No newline at end of file + And the response property "$.message" contains a user friendly text From 349a4f6470e10623dcd2460c722ddeb29a173ab1 Mon Sep 17 00:00:00 2001 From: FabrizioMoggio <87469955+FabrizioMoggio@users.noreply.github.com> Date: Tue, 19 Aug 2025 13:42:21 +0200 Subject: [PATCH 3/3] context update https://github.com/camaraproject/CallForwardingSignal/issues/200#issuecomment-3200198745 --- ...warding-signal-retrieveUnconditionalCallForwarding.feature | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/Test_definitions/call-forwarding-signal-retrieveUnconditionalCallForwarding.feature b/code/Test_definitions/call-forwarding-signal-retrieveUnconditionalCallForwarding.feature index cf6e25c..45c141e 100644 --- a/code/Test_definitions/call-forwarding-signal-retrieveUnconditionalCallForwarding.feature +++ b/code/Test_definitions/call-forwarding-signal-retrieveUnconditionalCallForwarding.feature @@ -7,6 +7,8 @@ Feature: CAMARA Call Forwarding Signal API, vwip - Operation retrieveUnconditio # * A device object identified by a phone number for which unconditional call forwarding service (CFS) status could be retrieved # * A device object identified by a phone number for which unconditional call forwarding service (CFS) status could not be retrieved # + # References to OAS spec schemas refer to schemas specified in call-forwarding-signal.yaml, version wip + Background: Common call-forwarding-signal setup Given the path "/call-forwarding-signal/vwip/unconditional-call-forwardings" And the header "Content-Type" is set to "application/json" @@ -187,4 +189,4 @@ Feature: CAMARA Call Forwarding Signal API, vwip - Operation retrieveUnconditio Then the response status code is 429 And the response property "$.status" is 429 And the response property "$.code" is "TOO_MANY_REQUESTS" - And the response property "$.message" contains a user friendly text \ No newline at end of file + And the response property "$.message" contains a user friendly text