Make all API samples valid JSON

As part of the migration to pre-commit for CI, we will begin linting
JSON files in the repo. These were all invalid JSON and are being
updated in anticipation of that update.

Change-Id: Ib6c7581fb20211d2b7134f506286c73e5c2cd6bb
This commit is contained in:
Jay Faulkner 2024-10-29 13:24:21 -07:00
parent e8d29df979
commit a72aad5354
4 changed files with 17 additions and 21 deletions

View File

@ -16,12 +16,12 @@
"value": "Enabled",
"attribute_type": "Enumeration",
"allowable_values": ["Enabled", "Disabled"],
"lower_bound": None,
"max_length": None,
"min_length": None,
"lower_bound": null,
"max_length": null,
"min_length": null,
"read_only": false,
"reset_required": None,
"unique": None,
"upper_bound": None
"reset_required": null,
"unique": null,
"upper_bound": null
}
}

View File

@ -17,13 +17,13 @@
"value": "Enabled",
"attribute_type": "Enumeration",
"allowable_values": ["Enabled", "Disabled"],
"lower_bound": None,
"max_length": None,
"min_length": None,
"lower_bound": null,
"max_length": null,
"min_length": null,
"read_only": false,
"reset_required": None,
"unique": None,
"upper_bound": None
"reset_required": null,
"unique": null,
"upper_bound": null
}
]
}

View File

@ -4,13 +4,11 @@
"name": "system",
"links": [
{
"href": "http://127.0.0.1:6385/v1/nodes/Compute0/
management/indicators/system",
"href": "http://127.0.0.1:6385/v1/nodes/Compute0/management/indicators/system",
"rel": "self"
},
{
"href": "http://127.0.0.1:6385/nodes/Compute0/
management/indicators/system",
"href": "http://127.0.0.1:6385/nodes/Compute0/management/indicators/system",
"rel": "bookmark"
}
]
@ -19,13 +17,11 @@
"name": "chassis",
"links": [
{
"href": "http://127.0.0.1:6385/v1/nodes/Compute0/
management/indicators/chassis",
"href": "http://127.0.0.1:6385/v1/nodes/Compute0/management/indicators/chassis",
"rel": "self"
},
{
"href": "http://127.0.0.1:6385/nodes/Compute0/
management/indicators/chassis",
"href": "http://127.0.0.1:6385/nodes/Compute0/management/indicators/chassis",
"rel": "bookmark"
}
]

View File

@ -2,7 +2,7 @@
"shards": [
{
"count": 47,
"name": "example_shard1",
"name": "example_shard1"
},
{
"count": 46,