From 6d80b6642c73cc8314f40e9436aed2326124239d Mon Sep 17 00:00:00 2001 From: ruiyue Date: Fri, 25 Mar 2022 11:27:09 +0000 Subject: [PATCH 1/3] Update 5gcNrm.yaml --- OpenAPI/5gcNrm.yaml | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/OpenAPI/5gcNrm.yaml b/OpenAPI/5gcNrm.yaml index 537d212d6..6e41a58e0 100644 --- a/OpenAPI/5gcNrm.yaml +++ b/OpenAPI/5gcNrm.yaml @@ -243,6 +243,10 @@ components: type: integer dscp: type: integer + SnssaiList: + type: array + items: + $ref: '#/components/schemas/Snssai' PacketErrorRate: type: object @@ -540,7 +544,7 @@ components: weightFactor: $ref: '#/components/schemas/WeightFactor' snssaiList: - $ref: 'nrNrm.yaml#/components/schemas/SnssaiList' + $ref: '#/components/schemas/SnssaiList' amfSetRef: $ref: 'comDefs.yaml#/components/schemas/Dn' managedNFProfile: @@ -591,7 +595,7 @@ components: amfSetId: $ref: '#/components/schemas/AmfSetId' snssaiList: - $ref: 'nrNrm.yaml#/components/schemas/SnssaiList' + $ref: '#/components/schemas/SnssaiList' aMFRegionRef: $ref: 'comDefs.yaml#/components/schemas/Dn' aMFSetMemberList: @@ -613,7 +617,7 @@ components: amfRegionId: $ref: '#/components/schemas/AmfRegionId' snssaiList: - $ref: 'nrNrm.yaml#/components/schemas/SnssaiList' + $ref: '#/components/schemas/SnssaiList' aMFSetListRef: $ref: 'comDefs.yaml#/components/schemas/DnList' SmfFunction-Single: @@ -633,7 +637,7 @@ components: sBIFqdn: type: string snssaiList: - $ref: 'nrNrm.yaml#/components/schemas/SnssaiList' + $ref: '#/components/schemas/SnssaiList' managedNFProfile: $ref: '#/components/schemas/ManagedNFProfile' commModelList: @@ -682,7 +686,7 @@ components: nRTACList: $ref: '#/components/schemas/TACList' snssaiList: - $ref: 'nrNrm.yaml#/components/schemas/SnssaiList' + $ref: '#/components/schemas/SnssaiList' managedNFProfile: $ref: '#/components/schemas/ManagedNFProfile' commModelList: @@ -736,7 +740,7 @@ components: sBIFqdn: type: string snssaiList: - $ref: 'nrNrm.yaml#/components/schemas/SnssaiList' + $ref: '#/components/schemas/SnssaiList' managedNFProfile: $ref: '#/components/schemas/ManagedNFProfile' commModelList: @@ -777,7 +781,7 @@ components: sBIFqdn: type: string snssaiList: - $ref: 'nrNrm.yaml#/components/schemas/SnssaiList' + $ref: '#/components/schemas/SnssaiList' managedNFProfile: $ref: '#/components/schemas/ManagedNFProfile' commModelList: @@ -804,7 +808,7 @@ components: sBIFqdn: type: string snssaiList: - $ref: 'nrNrm.yaml#/components/schemas/SnssaiList' + $ref: '#/components/schemas/SnssaiList' managedNFProfile: $ref: '#/components/schemas/ManagedNFProfile' commModelList: @@ -833,7 +837,7 @@ components: sBIFqdn: type: string snssaiList: - $ref: 'nrNrm.yaml#/components/schemas/SnssaiList' + $ref: '#/components/schemas/SnssaiList' managedNFProfile: $ref: '#/components/schemas/ManagedNFProfile' UdsfFunction-Single: @@ -851,7 +855,7 @@ components: sBIFqdn: type: string snssaiList: - $ref: 'nrNrm.yaml#/components/schemas/SnssaiList' + $ref: '#/components/schemas/SnssaiList' managedNFProfile: $ref: '#/components/schemas/ManagedNFProfile' NrfFunction-Single: @@ -873,7 +877,7 @@ components: nFProfileList: $ref: '#/components/schemas/NFProfileList' snssaiList: - $ref: 'nrNrm.yaml#/components/schemas/SnssaiList' + $ref: '#/components/schemas/SnssaiList' - $ref: 'genericNrm.yaml#/components/schemas/ManagedFunction-ncO' - type: object properties: @@ -898,7 +902,7 @@ components: nFProfileList: $ref: '#/components/schemas/NFProfileList' snssaiList: - $ref: 'nrNrm.yaml#/components/schemas/SnssaiList' + $ref: '#/components/schemas/SnssaiList' commModelList: $ref: '#/components/schemas/CommModelList' - $ref: 'genericNrm.yaml#/components/schemas/ManagedFunction-ncO' @@ -971,7 +975,7 @@ components: sBIFqdn: type: string snssaiList: - $ref: 'nrNrm.yaml#/components/schemas/SnssaiList' + $ref: '#/components/schemas/SnssaiList' managedNFProfile: $ref: '#/components/schemas/ManagedNFProfile' commModelList: @@ -1019,7 +1023,7 @@ components: sBIFqdn: type: string snssaiList: - $ref: 'nrNrm.yaml#/components/schemas/SnssaiList' + $ref: '#/components/schemas/SnssaiList' managedNFProfile: $ref: '#/components/schemas/ManagedNFProfile' commModelList: @@ -1052,7 +1056,7 @@ components: sBIFqdn: type: string snssaiList: - $ref: 'nrNrm.yaml#/components/schemas/SnssaiList' + $ref: '#/components/schemas/SnssaiList' managedNFProfile: $ref: '#/components/schemas/ManagedNFProfile' capabilityList: -- GitLab From 11e28761a77a0d462a55d855bad87f4d17e98059 Mon Sep 17 00:00:00 2001 From: ruiyue Date: Fri, 25 Mar 2022 11:28:59 +0000 Subject: [PATCH 2/3] Update nrNrm.yaml --- OpenAPI/nrNrm.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/OpenAPI/nrNrm.yaml b/OpenAPI/nrNrm.yaml index a850d5f91..cf520bde0 100644 --- a/OpenAPI/nrNrm.yaml +++ b/OpenAPI/nrNrm.yaml @@ -43,10 +43,6 @@ components: $ref: '#/components/schemas/Sst' sd: type: string - SnssaiList: - type: array - items: - $ref: '#/components/schemas/Snssai' Mnc: type: string -- GitLab From 406381b898e84099e73de9c1f59c75ccadc18542 Mon Sep 17 00:00:00 2001 From: ruiyue Date: Fri, 25 Mar 2022 11:37:43 +0000 Subject: [PATCH 3/3] Update 5gcNrm.yaml --- OpenAPI/5gcNrm.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenAPI/5gcNrm.yaml b/OpenAPI/5gcNrm.yaml index 6e41a58e0..d086a6424 100644 --- a/OpenAPI/5gcNrm.yaml +++ b/OpenAPI/5gcNrm.yaml @@ -246,7 +246,7 @@ components: SnssaiList: type: array items: - $ref: '#/components/schemas/Snssai' + $ref: 'nrNrm.yaml#/components/schemas/Snssai' PacketErrorRate: type: object -- GitLab