Commit c28fb3ea authored by Parker Mauney's avatar Parker Mauney Committed by Achilleas Pipinellis

Fix invalid JSON keys/values in API docs

Replace nil -> null and add missing quotes.
parent 5afc9890
......@@ -757,7 +757,7 @@ Diff comments also contain position:
"notes": [
{
"id": 1128,
"type": DiffNote,
"type": "DiffNote",
"body": "diff comment",
"attachment": null,
"author": {
......@@ -1089,7 +1089,7 @@ Diff comments contain also position:
"notes": [
{
"id": 1128,
"type": DiffNote,
"type": "DiffNote",
"body": "diff comment",
"attachment": null,
"author": {
......
......@@ -144,9 +144,9 @@ Example response:
},
"evidences":[
{
sha: "760d6cdfb0879c3ffedec13af470e0f71cf52c6cde4d",
filepath: "https://gitlab.example.com/root/awesome-app/-/releases/v0.2/evidence.json",
collected_at: "2019-01-03T01:56:19.539Z"
"sha": "760d6cdfb0879c3ffedec13af470e0f71cf52c6cde4d",
"filepath": "https://gitlab.example.com/root/awesome-app/-/releases/v0.2/evidence.json",
"collected_at": "2019-01-03T01:56:19.539Z"
}
]
},
......@@ -208,9 +208,9 @@ Example response:
},
"evidences":[
{
sha: "c3ffedec13af470e760d6cdfb08790f71cf52c6cde4d",
filepath: "https://gitlab.example.com/root/awesome-app/-/releases/v0.1/evidence.json",
collected_at: "2019-01-03T01:55:18.203Z"
"sha": "c3ffedec13af470e760d6cdfb08790f71cf52c6cde4d",
"filepath": "https://gitlab.example.com/root/awesome-app/-/releases/v0.1/evidence.json",
"collected_at": "2019-01-03T01:55:18.203Z"
}
]
}
......@@ -340,9 +340,9 @@ Example response:
},
"evidences":[
{
sha: "760d6cdfb0879c3ffedec13af470e0f71cf52c6cde4d",
filepath: "https://gitlab.example.com/root/awesome-app/-/releases/v0.1/evidence.json",
collected_at: "2019-07-16T14:00:12.256Z"
"sha": "760d6cdfb0879c3ffedec13af470e0f71cf52c6cde4d",
"filepath": "https://gitlab.example.com/root/awesome-app/-/releases/v0.1/evidence.json",
"collected_at": "2019-07-16T14:00:12.256Z"
}
]
}
......
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