From 59a29bc688b8f79791dacc64bda3d12ddee36ef3 Mon Sep 17 00:00:00 2001 From: Michel Roy Date: Wed, 3 Feb 2021 16:32:57 -0500 Subject: [PATCH] integer format hotfix --- BwManagementApi.json | 8 ++++---- BwManagementApi.yaml | 8 ++++---- TrafficSteeringApi.json | 42 ++++++++++++++++++++--------------------- TrafficSteeringApi.yaml | 42 ++++++++++++++++++++--------------------- 4 files changed, 50 insertions(+), 50 deletions(-) diff --git a/BwManagementApi.json b/BwManagementApi.json index 9d78c26..ed86481 100644 --- a/BwManagementApi.json +++ b/BwManagementApi.json @@ -457,15 +457,15 @@ "description": "Time stamp to indicate when the corresponding information elements are sent", "properties": { "nanoSeconds": { - "type": "integer", - "format": "int32", "description": "The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC", + "format": "uint32", + "type": "integer", "x-etsi-mec-cardinality": "1", "x-etsi-mec-origin-type": "Uint32" }, "seconds": { + "format": "uint32", "type": "integer", - "format": "int32", "description": "The seconds part of the Time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC", "x-etsi-mec-cardinality": "1", "x-etsi-mec-origin-type": "Uint32" @@ -603,7 +603,7 @@ }, "status": { "description": "The HTTP status code for this occurrence of the problem", - "format": "int32", + "format": "uint32", "type": "integer", "x-etsi-mec-cardinality": "0..1", "x-etsi-mec-origin-type": "Uint32" diff --git a/BwManagementApi.yaml b/BwManagementApi.yaml index abd76b6..c579c72 100644 --- a/BwManagementApi.yaml +++ b/BwManagementApi.yaml @@ -316,14 +316,14 @@ components: description: Time stamp to indicate when the corresponding information elements are sent properties: nanoSeconds: - type: integer - format: int32 description: The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC + format: uint32 + type: integer x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Uint32 seconds: + format: uint32 type: integer - format: int32 description: The seconds part of the Time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Uint32 @@ -437,7 +437,7 @@ components: x-etsi-mec-origin-type: URI status: description: The HTTP status code for this occurrence of the problem - format: int32 + format: uint32 type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint32 diff --git a/TrafficSteeringApi.json b/TrafficSteeringApi.json index 6277b64..d58fb71 100644 --- a/TrafficSteeringApi.json +++ b/TrafficSteeringApi.json @@ -356,22 +356,22 @@ "type": "object", "properties": { "accessId": { + "format": "uint32", "type": "integer", - "format": "int32", "description": "Unique identifier for the access network connection", "x-etsi-mec-cardinality": "1", "x-etsi-mec-origin-type": "Uint32" }, "accessType": { + "format": "uint32", "type": "integer", - "format": "int32", "description": "Numeric value (0-255) corresponding to specific type of access network as following: 0 = Unknown 1 = Any IEEE802.11-based WLAN technology 2 = Any 3GPP-based Cellular technology 3 = Any Fixed Access 11 = IEEE802.11 a/b/g WLAN 12 = IEEE 802.11 a/b/g/n WLAN 13 = IEEE 802.11 a/b/g/n/ac WLAN 14 = IEEE 802.11 a/b/g/n/ac/ax WLAN (Wi-Fi 6) 15 = IEEE 802.11 b/g/n WLAN 31 = 3GPP GERAN/UTRA (2G/3G) 32 = 3GPP E-UTRA (4G/LTE) 33 = 3GPP NR (5G)", "x-etsi-mec-cardinality": "1", "x-etsi-mec-origin-type": "Uint32" }, "metered": { + "format": "uint32", "type": "integer", - "format": "int32", "description": "Numeric value (0-255) corresponding to the following: 0: the connection is not metered (see note) 1: the connection is metered 2: unknown ", "x-etsi-mec-cardinality": "1", "x-etsi-mec-origin-type": "Uint32" @@ -392,7 +392,7 @@ "description": "Numeric value corresponding to a specific MTS operation supported by the TMS 0 = low cost, i.e. using the unmetered access network connection whenever it is available 1 = low latency, i.e. using the access network connection with lower latency 2 = high throughput, i.e. using the access network connection with higher throughput, or/and multiple access network connection simultaneously if supported 3 = redundancy, i.e. sending duplicated (redundancy) packets over multiple access network connections for highreliability and low-latency applications 4 = QoS, i.e. performing MTS based on the specific QoS requirements from the app", "items": { "type": "integer", - "format": "int32" + "format": "uint32" }, "minItems": 1, "type": "array", @@ -403,16 +403,16 @@ "description": "Time stamp to indicate when the corresponding information elements are sent", "properties": { "nanoSeconds": { + "format": "uint32", "type": "integer", - "format": "int32", "description": "Time in nanoseconds in Unix-time since January 1, 1970, 00:00:00 UTC", "x-etsi-mec-cardinality": "1", "x-etsi-mec-origin-type": "Uint32" }, "seconds": { - "type": "integer", - "format": "int32", "description": "Time in seconds in Unix-time since January 1, 1970, 00:00:00 UTC", + "format": "uint32", + "type": "integer", "x-etsi-mec-cardinality": "1", "x-etsi-mec-origin-type": "Uint32" } @@ -448,8 +448,8 @@ "type": "object", "properties": { "dscp": { + "format": "uint32", "type": "integer", - "format": "int32", "description": "DSCP in the IPv4 header or Traffic Class in the IPv6 header", "x-etsi-mec-cardinality": "0..1", "x-etsi-mec-origin-type": "Uint32" @@ -464,7 +464,7 @@ "description": "Destination port identity of session", "items": { "type": "integer", - "format": "int32" + "format": "uint32" }, "minItems": 0, "type": "array", @@ -472,15 +472,15 @@ "x-etsi-mec-origin-type": "Uint32" }, "flowlabel": { + "format": "uint32", "type": "integer", - "format": "int32", "description": "Flow Label in the IPv6 header, applicable only if the flow is IPv6", "x-etsi-mec-cardinality": "0..1", "x-etsi-mec-origin-type": "Uint32" }, "protocol": { + "format": "uint32", "type": "integer", - "format": "int32", "description": "Protocol number", "x-etsi-mec-cardinality": "0..1", "x-etsi-mec-origin-type": "Uint32" @@ -495,7 +495,7 @@ "description": "Source port identity of session", "items": { "type": "integer", - "format": "int32" + "format": "uint32" }, "minItems": 0, "type": "array", @@ -510,8 +510,8 @@ "x-etsi-mec-origin-type": "Structure (inlined)" }, "mtsMode": { + "format": "uint32", "type": "integer", - "format": "int32", "description": "Numeric value (0 - 255) corresponding to a specific MTS mode of the MTS session: 0 = low cost, i.e. using the unmetered access network connection whenever it is available 1 = low latency, i.e. using the access network connection with lower latency 2 = high throughput, i.e. using the access network connection with higher throughput, or multiple access network connection simultaneously 3 = redundancy, i.e. sending duplicated (redundancy) packets over multiple access network connections for high-reliability and low-latency applications 4 = QoS, i.e. performing MTS based on the QoS requirement (qosD)", "x-etsi-mec-cardinality": "1", "x-etsi-mec-origin-type": "Uint32" @@ -522,35 +522,35 @@ "maxJitter": { "description": "tolerable jitter in [10 nanoseconds]", "type": "integer", - "format": "int32", + "format": "uint32", "x-etsi-mec-cardinality": "0..1", "x-etsi-mec-origin-type": "Uint32" }, "maxLatency": { "description": "tolerable (one-way) delay in [10 nanoseconds]", "type": "integer", - "format": "int32", + "format": "uint32", "x-etsi-mec-cardinality": "0..1", "x-etsi-mec-origin-type": "Uint32" }, "maxLoss": { "description": "tolerable packet loss rate in [1/10^x]", "type": "integer", - "format": "int32", + "format": "uint32", "x-etsi-mec-cardinality": "0..1", "x-etsi-mec-origin-type": "Uint32" }, "minTpt": { "description": "minimal throughput in [kbps]", "type": "integer", - "format": "int32", + "format": "uint32", "x-etsi-mec-cardinality": "0..1", "x-etsi-mec-origin-type": "Uint32" }, "priority": { "description": "numeric value (0 - 255) corresponding to the traffic priority 0: low; 1: medium; 2: high; 3: critical", "type": "integer", - "format": "int32", + "format": "uint32", "x-etsi-mec-cardinality": "0..1", "x-etsi-mec-origin-type": "Uint32" } @@ -573,15 +573,15 @@ "description": "Time stamp to indicate when the corresponding information elements are sent ", "properties": { "nanoSeconds": { + "format": "uint32", "type": "integer", - "format": "int32", "description": "The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC", "x-etsi-mec-cardinality": "1", "x-etsi-mec-origin-type": "Uint32" }, "seconds": { + "format": "uint32", "type": "integer", - "format": "int32", "description": "The seconds part of the Time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC", "x-etsi-mec-cardinality": "1", "x-etsi-mec-origin-type": "Uint32" @@ -631,7 +631,7 @@ }, "status": { "description": "The HTTP status code for this occurrence of the problem", - "format": "int32", + "format": "uint32", "type": "integer", "x-etsi-mec-cardinality": "0..1", "x-etsi-mec-origin-type": "Uint32" diff --git a/TrafficSteeringApi.yaml b/TrafficSteeringApi.yaml index 6f3ea96..0f5237c 100644 --- a/TrafficSteeringApi.yaml +++ b/TrafficSteeringApi.yaml @@ -234,14 +234,14 @@ components: type: object properties: accessId: + format: uint32 type: integer - format: int32 description: Unique identifier for the access network connection x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Uint32 accessType: + format: uint32 type: integer - format: int32 description: "Numeric value (0-255) corresponding to specific type of access network as following: 0 = Unknown 1 = Any IEEE802.11-based WLAN technology @@ -258,8 +258,8 @@ components: x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Uint32 metered: + format: uint32 type: integer - format: int32 description: 'Numeric value (0-255) corresponding to the following: 0: the connection is not metered (see note) 1: the connection is metered @@ -283,7 +283,7 @@ components: 4 = QoS, i.e. performing MTS based on the specific QoS requirements from the app' items: type: integer - format: int32 + format: uint32 minItems: 1 type: array x-etsi-mec-cardinality: 1..N @@ -292,15 +292,15 @@ components: description: Time stamp to indicate when the corresponding information elements are sent properties: nanoSeconds: + format: uint32 type: integer - format: int32 description: Time in nanoseconds in Unix-time since January 1, 1970, 00:00:00 UTC x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Uint32 seconds: - type: integer - format: int32 description: Time in seconds in Unix-time since January 1, 1970, 00:00:00 UTC + format: uint32 + type: integer x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Uint32 required: @@ -330,8 +330,8 @@ components: type: object properties: dscp: + format: uint32 type: integer - format: int32 description: DSCP in the IPv4 header or Traffic Class in the IPv6 header x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint32 @@ -344,20 +344,20 @@ components: description: Destination port identity of session items: type: integer - format: int32 + format: uint32 minItems: 0 type: array x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: Uint32 flowlabel: + format: uint32 type: integer - format: int32 description: Flow Label in the IPv6 header, applicable only if the flow is IPv6 x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint32 protocol: + format: uint32 type: integer - format: int32 description: Protocol number x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint32 @@ -370,7 +370,7 @@ components: description: Source port identity of session items: type: integer - format: int32 + format: uint32 minItems: 0 type: array x-etsi-mec-cardinality: 0..N @@ -380,8 +380,8 @@ components: x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Structure (inlined) mtsMode: + format: uint32 type: integer - format: int32 description: 'Numeric value (0 - 255) corresponding to a specific MTS mode of the MTS session: 0 = low cost, i.e. using the unmetered access network connection whenever it is available 1 = low latency, i.e. using the access network connection with lower latency @@ -396,31 +396,31 @@ components: maxJitter: description: tolerable jitter in [10 nanoseconds] type: integer - format: int32 + format: uint32 x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint32 maxLatency: description: tolerable (one-way) delay in [10 nanoseconds] type: integer - format: int32 + format: uint32 x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint32 maxLoss: description: tolerable packet loss rate in [1/10^x] type: integer - format: int32 + format: uint32 x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint32 minTpt: description: minimal throughput in [kbps] type: integer - format: int32 + format: uint32 x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint32 priority: description: "numeric value (0 - 255) corresponding to the traffic priority 0: low; 1: medium; 2: high; 3: critical" type: integer - format: int32 + format: uint32 x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint32 type: object @@ -440,14 +440,14 @@ components: description: 'Time stamp to indicate when the corresponding information elements are sent ' properties: nanoSeconds: + format: uint32 type: integer - format: int32 description: The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Uint32 seconds: + format: uint32 type: integer - format: int32 description: The seconds part of the Time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Uint32 @@ -496,7 +496,7 @@ components: x-etsi-mec-origin-type: URI status: description: The HTTP status code for this occurrence of the problem - format: int32 + format: uint32 type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint32 -- GitLab