Skip to content

Commit 98ffa3e

Browse files
authored
[3/n] [lldpd] update OpenAPI document (#33)
Noticed that the document was out of date on main -- updated it.
1 parent efecdd3 commit 98ffa3e

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

openapi/lldpd.json

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1303,42 +1303,42 @@
13031303
{
13041304
"type": "object",
13051305
"properties": {
1306-
"Unknown": {
1306+
"unknown": {
13071307
"type": "integer",
13081308
"format": "uint32",
13091309
"minimum": 0
13101310
}
13111311
},
13121312
"required": [
1313-
"Unknown"
1313+
"unknown"
13141314
],
13151315
"additionalProperties": false
13161316
},
13171317
{
13181318
"type": "object",
13191319
"properties": {
1320-
"IfIndex": {
1320+
"if_index": {
13211321
"type": "integer",
13221322
"format": "uint32",
13231323
"minimum": 0
13241324
}
13251325
},
13261326
"required": [
1327-
"IfIndex"
1327+
"if_index"
13281328
],
13291329
"additionalProperties": false
13301330
},
13311331
{
13321332
"type": "object",
13331333
"properties": {
1334-
"PortNumber": {
1334+
"port_number": {
13351335
"type": "integer",
13361336
"format": "uint32",
13371337
"minimum": 0
13381338
}
13391339
},
13401340
"required": [
1341-
"PortNumber"
1341+
"port_number"
13421342
],
13431343
"additionalProperties": false
13441344
}
@@ -1374,7 +1374,12 @@
13741374
},
13751375
"oid": {
13761376
"nullable": true,
1377-
"type": "string"
1377+
"type": "array",
1378+
"items": {
1379+
"type": "integer",
1380+
"format": "uint8",
1381+
"minimum": 0
1382+
}
13781383
}
13791384
},
13801385
"required": [
@@ -1454,20 +1459,20 @@
14541459
{
14551460
"type": "object",
14561461
"properties": {
1457-
"IpAddr": {
1462+
"ip_addr": {
14581463
"type": "string",
14591464
"format": "ip"
14601465
}
14611466
},
14621467
"required": [
1463-
"IpAddr"
1468+
"ip_addr"
14641469
],
14651470
"additionalProperties": false
14661471
},
14671472
{
14681473
"type": "object",
14691474
"properties": {
1470-
"IEEE802": {
1475+
"i_e_e_e802": {
14711476
"type": "array",
14721477
"items": {
14731478
"type": "integer",
@@ -1477,7 +1482,7 @@
14771482
}
14781483
},
14791484
"required": [
1480-
"IEEE802"
1485+
"i_e_e_e802"
14811486
],
14821487
"additionalProperties": false
14831488
}

0 commit comments

Comments
 (0)