solarwinds-itsm-api-definitions 0.2.5 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Redocly/development.html +41 -13
- data/Redocly/redoc/schema/resolved_schema.json +1 -1
- data/lib/definitions/common/components.json +3 -3
- data/lib/definitions/common/examples/change.json +12 -5
- data/lib/definitions/common/examples/configuration_item.json +12 -2
- data/lib/definitions/common/examples/incident.json +9 -6
- data/lib/definitions/common/examples/problem.json +13 -2
- data/lib/definitions/common/examples/release.json +14 -2
- data/lib/definitions/common/schemas/setup/group.json +2 -1
- data/lib/definitions/openapi.json +2 -2
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b3b6a363bf7069bafd3239b294f76107b2b6324492eea9d9b14e4d1f22d6474
|
4
|
+
data.tar.gz: 1a3bbd97ce05ceeb3a7169e5eedc24948d2f447cb14068d327b5054e30121098
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a84ee613decaff9ece8037d4026dec9e468949466f9b660bf505b90f9a7aaabf5a0a52f7bb25e38c5b57a3595176c69f54b80f4e4101e8b507c089f89575467d
|
7
|
+
data.tar.gz: 77e27842370c04987e9cbd5ac8bec0d1d374d9523cd1a5c1e7f098bdfe090886e643dd9417f3fbee68cbc641d094acf9c74d0f77a55154240e35c58f2141412a
|
data/Redocly/development.html
CHANGED
@@ -47,25 +47,53 @@
|
|
47
47
|
<script id="redoc-script" src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
|
48
48
|
|
49
49
|
<script>
|
50
|
-
|
51
|
-
|
50
|
+
var historyChanges = {
|
51
|
+
"August 10, 2023": ["Added `custom_fields_values` for the response of getGroups and getGroupById"],
|
52
|
+
"June 4, 2023": ["Added all related to all ITSM object"],
|
53
|
+
"May 7, 2023": ["Update limitation description"],
|
54
|
+
"March 19, 2023": ["Filter by updated_at in incident"]
|
55
|
+
}
|
52
56
|
redocElement = document.getElementById("redoc-id")
|
53
57
|
redocScript = document.getElementById("redoc-script")
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
relocateVersionSelectorInterval();
|
64
|
-
})
|
58
|
+
|
59
|
+
function createSection(id) {
|
60
|
+
// create `p` tag for updates history section
|
61
|
+
const newSection = document.createElement("p");
|
62
|
+
newSection.id = id;
|
63
|
+
newSection.style.padding = "0px 40px";
|
64
|
+
return newSection;
|
65
|
+
}
|
66
|
+
|
65
67
|
|
66
68
|
function onLoadOperations() {
|
67
69
|
relocateVersionSelectorInterval()
|
68
70
|
removeGemVersionFromTitleInterval()
|
71
|
+
var isExists = window.setInterval(addUpdatesHistory, 500);
|
72
|
+
|
73
|
+
function addUpdatesHistory() {
|
74
|
+
let historySection = document.getElementById("section/General-Concepts/Updates-History");
|
75
|
+
if (historySection !== null) {
|
76
|
+
const historySection = document.getElementById("section/General-Concepts/Updates-History");
|
77
|
+
const updatesHistorySection = createSection("selected-version")
|
78
|
+
|
79
|
+
Object.keys(historyChanges).forEach(changesDate =>{
|
80
|
+
let selectedH4 = document.createElement("h4");
|
81
|
+
selectedH4.textContent = changesDate
|
82
|
+
updatesHistorySection.appendChild(selectedH4);
|
83
|
+
|
84
|
+
let selectedUL = document.createElement("ul");
|
85
|
+
historyChanges[changesDate].forEach(description => {
|
86
|
+
let selectedLI = document.createElement("li");
|
87
|
+
selectedLI.textContent = description
|
88
|
+
selectedUL.appendChild(selectedLI);
|
89
|
+
})
|
90
|
+
updatesHistorySection.appendChild(selectedUL);
|
91
|
+
})
|
92
|
+
historySection.appendChild(updatesHistorySection);
|
93
|
+
window.clearInterval(isExists)
|
94
|
+
return
|
95
|
+
}
|
96
|
+
}
|
69
97
|
}
|
70
98
|
|
71
99
|
function relocateVersionSelectorInterval() {
|