Commit a1df13ef authored by piscione's avatar piscione
Browse files

Minor on deviceInfo data model.

parent a5501712
...@@ -1181,11 +1181,10 @@ components: ...@@ -1181,11 +1181,10 @@ components:
DeviceInfo: DeviceInfo:
properties: properties:
deviceId: deviceId:
description: 'Typically, the serial number of the device. description: 'Typically, the serial number of the device.This value shall remain fixed over the lifetime of the device, including across firmware updates.'
type: array
items:
This value shall remain fixed over the lifetime of the device, including across firmware updates.' type: string
type: string
x-etsi-mec-cardinality: 0..1 x-etsi-mec-cardinality: 0..1
x-etsi-mec-origin-type: String x-etsi-mec-origin-type: String
deviceStatus: deviceStatus:
...@@ -2076,3 +2075,4 @@ components: ...@@ -2076,3 +2075,4 @@ components:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/ProblemDetails' $ref: '#/components/schemas/ProblemDetails'
...@@ -12,6 +12,7 @@ syntax = "proto3"; ...@@ -12,6 +12,7 @@ syntax = "proto3";
package mec029; package mec029;
option java_multiple_files=true;
import public "models/device_info_device_status.proto"; import public "models/device_info_device_status.proto";
import public "models/download_diagnostics.proto"; import public "models/download_diagnostics.proto";
import public "models/ip_ping_diagnostics.proto"; import public "models/ip_ping_diagnostics.proto";
...@@ -22,7 +23,7 @@ import public "models/upload_diagnostics.proto"; ...@@ -22,7 +23,7 @@ import public "models/upload_diagnostics.proto";
message DeviceInfo { message DeviceInfo {
// Typically, the serial number of the device. This value shall remain fixed over the lifetime of the device, including across firmware updates. // Typically, the serial number of the device. This value shall remain fixed over the lifetime of the device, including across firmware updates.
string device_id = 1; repeated string device_id = 1;
DeviceInfoDeviceStatus device_status = 2; DeviceInfoDeviceStatus device_status = 2;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment