From 60904dbda61c292180d886d1f7b1abc38dcc51bf Mon Sep 17 00:00:00 2001 From: Axel Nennker Date: Fri, 3 May 2024 18:47:36 +0200 Subject: [PATCH 1/2] add API-Name aka wild-card scope Signed-off-by: Axel Nennker --- code/API_definitions/sim_swap.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/API_definitions/sim_swap.yaml b/code/API_definitions/sim_swap.yaml index 352c0fc..2769555 100644 --- a/code/API_definitions/sim_swap.yaml +++ b/code/API_definitions/sim_swap.yaml @@ -68,6 +68,8 @@ paths: security: - openId: - sim-swap:retrieve-date + - openId: + - sim-swap tags: - Retrieve SIM swap date description: Get timestamp of last MSISDN <-> IMSI pairing change for a mobile user account provided with MSIDN. @@ -113,6 +115,8 @@ paths: security: - openId: - sim-swap:check + - openId: + - sim-swap tags: - Check SIM swap description: Check if SIM swap has been performed during a past period From e0614db3a2cd0aad214898b8e5b508be03f7b64a Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Wed, 12 Jun 2024 14:45:51 +0200 Subject: [PATCH 2/2] Update sim_swap.yaml Fixed MegaLinter issues --- code/API_definitions/sim_swap.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/API_definitions/sim_swap.yaml b/code/API_definitions/sim_swap.yaml index b0577c9..cf6390f 100644 --- a/code/API_definitions/sim_swap.yaml +++ b/code/API_definitions/sim_swap.yaml @@ -67,9 +67,9 @@ paths: post: security: - openId: - - sim-swap:retrieve-date + - sim-swap:retrieve-date - openId: - - sim-swap + - sim-swap tags: - Retrieve SIM swap date description: Get timestamp of last MSISDN <-> IMSI pairing change for a mobile user account provided with MSIDN. @@ -114,9 +114,9 @@ paths: post: security: - openId: - - sim-swap:check + - sim-swap:check - openId: - - sim-swap + - sim-swap tags: - Check SIM swap description: Check if SIM swap has been performed during a past period