Commit a1df13ef authored by piscione's avatar piscione
Browse files

Minor on deviceInfo data model.

parent a5501712
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -1181,10 +1181,9 @@ components:
    DeviceInfo:
      properties:
        deviceId:
          description: 'Typically, the serial number of the device.


            This value shall remain fixed over the lifetime of the device, including across firmware updates.'
          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:
            type: string
          x-etsi-mec-cardinality: 0..1
          x-etsi-mec-origin-type: String
@@ -2076,3 +2075,4 @@ components:
        application/json:
          schema:
            $ref: '#/components/schemas/ProblemDetails' 
+2 −1
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ syntax = "proto3";

package mec029;

option java_multiple_files=true;
import public "models/device_info_device_status.proto";
import public "models/download_diagnostics.proto";
import public "models/ip_ping_diagnostics.proto";
@@ -22,7 +23,7 @@ import public "models/upload_diagnostics.proto";
message DeviceInfo {

  // 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;