Skip to content

Commit 22a0931

Browse files
smuthu065anand-ky
andauthored
RDKEMW-5139: RDKEMW-5139: [RDKM-VA-Devices]EntServices : DeviceInfo.modelid, DeviceInfo.make and DeviceInfo.socname APIs return ERROR_GENERAL response. (#277)
Reason for change: Changed the DeviceInfo.modelid, DeviceInfo.make and DeviceInfo.socname API response datatype as string. Test Procedure: Build and verify Risks: High. Signed-off-by: [email protected] Signed-off-by: [email protected] Co-authored-by: Anand Kandasamy <[email protected]>
1 parent 17895d0 commit 22a0931

File tree

1 file changed

+6
-29
lines changed

1 file changed

+6
-29
lines changed

apis/DeviceInfo/DeviceInfo.json

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -134,32 +134,6 @@
134134
"description": "Device type",
135135
"example": "IpStb"
136136
},
137-
"make": {
138-
"type": "string",
139-
"enum": [
140-
"manufacturer1",
141-
"RaspberryPi4"
142-
],
143-
"description": "Device manufacturer",
144-
"example": "alphanumerical string"
145-
},
146-
"sku": {
147-
"type": "string",
148-
"enum": [
149-
"SKU1",
150-
"RPI4"
151-
],
152-
"description": "Device model number or SKU",
153-
"example": "alphanumerical string"
154-
},
155-
"socname": {
156-
"type": "string",
157-
"enum": [
158-
"SOC1"
159-
],
160-
"description": "SOC Name",
161-
"example": "alphanumerical string"
162-
},
163137
"yocto": {
164138
"type": "string",
165139
"enum": [
@@ -497,7 +471,8 @@
497471
"type": "object",
498472
"properties": {
499473
"sku": {
500-
"$ref": "#/definitions/sku"
474+
"type": "string",
475+
"example": "alphanumerical string"
501476
}
502477
},
503478
"required": [
@@ -518,7 +493,8 @@
518493
"type": "object",
519494
"properties": {
520495
"make": {
521-
"$ref": "#/definitions/make"
496+
"type": "string",
497+
"example": "alphanumerical string"
522498
}
523499
},
524500
"required": [
@@ -604,7 +580,8 @@
604580
"type": "object",
605581
"properties": {
606582
"socname": {
607-
"$ref": "#/definitions/socname"
583+
"type": "string",
584+
"example": "alphanumerical string"
608585
}
609586
},
610587
"required": [

0 commit comments

Comments
 (0)