From c2e41bc5e96683740cd503b8df75271707c4c981 Mon Sep 17 00:00:00 2001 From: sunse Date: Wed, 27 Sep 2023 14:05:50 +0000 Subject: [PATCH 1/4] TS28.541_Rel17_CR1040 --- OpenAPI/TS28541_5GcNrm.yaml | 35 +++++++++++++++++------------------ OpenAPI/TS28541_NrNrm.yaml | 1 + 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/OpenAPI/TS28541_5GcNrm.yaml b/OpenAPI/TS28541_5GcNrm.yaml index dcaf33ab8..4a07e03f8 100755 --- a/OpenAPI/TS28541_5GcNrm.yaml +++ b/OpenAPI/TS28541_5GcNrm.yaml @@ -16,27 +16,26 @@ components: #-------- Definition of types----------------------------------------------------- AmfIdentifier: - type: object - description: 'AmfIdentifier comprise of amfRegionId, amfSetId and amfPointer' - properties: - amfRegionId: - $ref: '#/components/schemas/AmfRegionId' - amfSetId: - $ref: '#/components/schemas/AmfSetId' - amfPointer: - $ref: '#/components/schemas/AmfPointer' + type: string + description: >- + String identifying the AMF ID composed of AMF Region ID (8 bits), AMF Set ID (10 bits) + and AMF Pointer (6 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded + as a string of 6 hexadecimal characters (i.e., 24 bits). + pattern: '^[A-Fa-f0-9]{6}$' AmfRegionId: - type: integer - description: AmfRegionId is defined in TS 23.003 - maximum: 255 + type: string + pattern: '^[A-Fa-f0-9]{2}$' + description: >- + String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. + It is encoded as a string of 3 hexadecimal characters where the first character is limited + to values 0 to 3 (i.e. 10 bits) AmfSetId: type: string - description: AmfSetId is defined in TS 23.003 - maximum: 1023 - AmfPointer: - type: integer - description: AmfPointer is defined in TS 23.003 - maximum: 63 + pattern: '^[0-3][A-Fa-f0-9]{2}$' + description: >- + String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. + It is encoded as a string of 3 hexadecimal characters where the first character is limited + to values 0 to 3 (i.e. 10 bits). IpEndPoint: type: object properties: diff --git a/OpenAPI/TS28541_NrNrm.yaml b/OpenAPI/TS28541_NrNrm.yaml index 8c7a4a8a8..b58a1a12f 100755 --- a/OpenAPI/TS28541_NrNrm.yaml +++ b/OpenAPI/TS28541_NrNrm.yaml @@ -43,6 +43,7 @@ components: $ref: '#/components/schemas/Sst' sd: type: string + pattern: '^[A-Fa-f0-9]{6}$' PlmnIdList: type: array -- GitLab From ddaaffa88a2aa3310cbfa738b634b5793a8e6153 Mon Sep 17 00:00:00 2001 From: sunse Date: Wed, 27 Sep 2023 14:13:25 +0000 Subject: [PATCH 2/4] description correction --- OpenAPI/TS28541_5GcNrm.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/OpenAPI/TS28541_5GcNrm.yaml b/OpenAPI/TS28541_5GcNrm.yaml index 4a07e03f8..8b74ef8e7 100755 --- a/OpenAPI/TS28541_5GcNrm.yaml +++ b/OpenAPI/TS28541_5GcNrm.yaml @@ -26,9 +26,8 @@ components: type: string pattern: '^[A-Fa-f0-9]{2}$' description: >- - String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. - It is encoded as a string of 3 hexadecimal characters where the first character is limited - to values 0 to 3 (i.e. 10 bits) + String identifying the AMF Region ID (8 bits), as specified in clause 2.10.1 of 3GPP TS 23.003. + It is encoded as a string of 2 hexadecimal characters (i.e. 8 bits). AmfSetId: type: string pattern: '^[0-3][A-Fa-f0-9]{2}$' -- GitLab From 94b346991c28fc770703f2e1173333a98a41eebd Mon Sep 17 00:00:00 2001 From: sunse Date: Thu, 12 Oct 2023 08:34:08 +0000 Subject: [PATCH 3/4] update as per comments. Update TS28541_5GcNrm.yaml --- OpenAPI/TS28541_5GcNrm.yaml | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/OpenAPI/TS28541_5GcNrm.yaml b/OpenAPI/TS28541_5GcNrm.yaml index 8b74ef8e7..807359584 100755 --- a/OpenAPI/TS28541_5GcNrm.yaml +++ b/OpenAPI/TS28541_5GcNrm.yaml @@ -16,25 +16,27 @@ components: #-------- Definition of types----------------------------------------------------- AmfIdentifier: - type: string - description: >- - String identifying the AMF ID composed of AMF Region ID (8 bits), AMF Set ID (10 bits) - and AMF Pointer (6 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. It is encoded - as a string of 6 hexadecimal characters (i.e., 24 bits). - pattern: '^[A-Fa-f0-9]{6}$' + type: object + description: 'AmfIdentifier comprise of amfRegionId, amfSetId and amfPointer' + properties: + amfRegionId: + $ref: '#/components/schemas/AmfRegionId' + amfSetId: + $ref: '#/components/schemas/AmfSetId' + amfPointer: + $ref: '#/components/schemas/AmfPointer' AmfRegionId: - type: string - pattern: '^[A-Fa-f0-9]{2}$' - description: >- - String identifying the AMF Region ID (8 bits), as specified in clause 2.10.1 of 3GPP TS 23.003. - It is encoded as a string of 2 hexadecimal characters (i.e. 8 bits). + type: integer + description: AmfRegionId is defined in TS 23.003 + maximum: 255 AmfSetId: type: string - pattern: '^[0-3][A-Fa-f0-9]{2}$' - description: >- - String identifying the AMF Set ID (10 bits) as specified in clause 2.10.1 of 3GPP TS 23.003. - It is encoded as a string of 3 hexadecimal characters where the first character is limited - to values 0 to 3 (i.e. 10 bits). + description: AmfSetId is defined in TS 23.003 + maximum: 1023 + AmfPointer: + type: integer + description: AmfPointer is defined in TS 23.003 + maximum: 63 IpEndPoint: type: object properties: -- GitLab From 859a08bccce71facea219542537fe7beacbb8c50 Mon Sep 17 00:00:00 2001 From: sunse Date: Thu, 12 Oct 2023 08:36:22 +0000 Subject: [PATCH 4/4] removing redundant space Update TS28541_5GcNrm.yaml --- OpenAPI/TS28541_5GcNrm.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenAPI/TS28541_5GcNrm.yaml b/OpenAPI/TS28541_5GcNrm.yaml index 807359584..dcaf33ab8 100755 --- a/OpenAPI/TS28541_5GcNrm.yaml +++ b/OpenAPI/TS28541_5GcNrm.yaml @@ -24,7 +24,7 @@ components: amfSetId: $ref: '#/components/schemas/AmfSetId' amfPointer: - $ref: '#/components/schemas/AmfPointer' + $ref: '#/components/schemas/AmfPointer' AmfRegionId: type: integer description: AmfRegionId is defined in TS 23.003 @@ -36,7 +36,7 @@ components: AmfPointer: type: integer description: AmfPointer is defined in TS 23.003 - maximum: 63 + maximum: 63 IpEndPoint: type: object properties: -- GitLab