solarwinds-itsm-api-definitions 0.0.6 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fbce6e4d6ef3e4c191c2318bfdaea8a511001d826ef3eaeee0f6c9a3da334c43
4
- data.tar.gz: 9afeb742c330b4ae743de64cd79cfbb4dd99717a7aad12f12baa5d99d83ee6cc
3
+ metadata.gz: a1abd54f8554875d244f0d6c1d24ee537d0e7943f8bc045cad05f5b7c35210d1
4
+ data.tar.gz: d86890e898d99641dba63c3e1ad12e15812dc991b16e8f8d0dc84165ce596d4a
5
5
  SHA512:
6
- metadata.gz: 859de985e3f837918bff0762e1a95034159aa58193fa0477635588c4ffeaec71ee7c11c26bdab45731dd6ee89fbf613107270bce4220ac995695ca59f7f8b558
7
- data.tar.gz: 217de2076005eb864efb57872578d943a2dd9173cd3b332e956f2e75bc6e5f51ddf92d0bcca1ef2d0c18caecd3a7dd6784b06d068d07bdcf6f76d6aa2e1b1f29
6
+ metadata.gz: 0b28631f3bc12077fd9bcf31aa25f1600b388d049dc1579750b71239618664cd00a739d618d8bb1490ac1a57e99fa3a3898b8be5c1d73b49c6a4a98bf77131d2
7
+ data.tar.gz: 845ab95136b6a7e1002eb2fd73e742a47482d37eb59b126a190ec4b18cd922b7cc5b824f816d544f8e0a83b2b7b7135e78ef0fdf3f3b79d046938b1d542a2703
@@ -1,154 +1,183 @@
1
1
  {
2
2
  "components": {
3
- "parameters": {
4
- "token_param": {
5
- "name": "X-Samanage-Authorization",
6
- "in": "header",
7
- "schema": { "type": "string" },
8
- "example": "Bearer TOKEN"
9
- },
10
- "id_param": {
11
- "name": "id",
12
- "in": "path",
13
- "schema": { "oneOf": [{ "type": "string" }, { "type": "integer" }] },
14
- "required": true,
15
- "description": "Numeric ID of the object to get or update"
16
- }
17
- },
18
- "schemas": {
19
- "association_by_id": {
20
- "oneOf": [{ "type": "string" }, { "type": "integer" }]
3
+ "request": {
4
+ "parameters": {
5
+ "token_param": {
6
+ "name": "X-Samanage-Authorization",
7
+ "in": "header",
8
+ "schema": { "type": "string" },
9
+ "example": "Bearer TOKEN"
10
+ },
11
+ "id_param": {
12
+ "name": "id",
13
+ "in": "path",
14
+ "schema": { "type": "string" },
15
+ "required": true,
16
+ "description": "Numeric ID of the object to get or update"
17
+ }
21
18
  },
22
- "association_by_name": {
23
- "type": "object",
24
- "oneOf": [{
19
+ "schemas": {
20
+ "association_by_name": {
25
21
  "type": "object",
26
- "required": ["name"],
27
- "properties": {
28
- "name": { "type": "string" }
29
- }
22
+ "oneOf": [{
23
+ "type": "object",
24
+ "required": ["name"],
25
+ "properties": {
26
+ "name": { "type": "string" }
27
+ }
28
+ },
29
+ { "enum": ["nil", "", null] }]
30
30
  },
31
- { "enum": ["nil", "", null] }]
32
- },
33
- "association_by_email": {
34
- "type": "object",
35
- "oneOf": [{
31
+ "association_by_email": {
36
32
  "type": "object",
37
- "required": ["email"],
38
- "properties": {
39
- "email": { "type": "string" }
33
+ "oneOf": [{
34
+ "type": "object",
35
+ "required": ["email"],
36
+ "properties": {
37
+ "email": { "type": "string" }
38
+ }
39
+ },
40
+ { "enum": ["nil", "", null] }]
41
+ },
42
+ "ids_array": {
43
+ "type": "array",
44
+ "items": {
45
+ "$ref": "components.json#/components/common/schemas/association_by_id"
40
46
  }
41
47
  },
42
- { "enum": ["nil", "", null] }]
43
- },
44
- "id": {
45
- "readOnly": true,
46
- "oneOf": [{ "type": "string" }, { "type": "integer" }]
47
- },
48
- "custom_field": {
49
- "type": "object",
50
- "oneOf": [{
48
+ "numbers_array": {
49
+ "type": "array",
50
+ "items": {
51
+ "type": "object",
52
+ "properties": {
53
+ "number": {
54
+ "oneOf": [{ "type": "string" }, { "type": "integer" }]
55
+ }
56
+ }
57
+ }
58
+ },
59
+ "custom_field": {
51
60
  "type": "object",
52
61
  "required": ["name", "value"],
53
62
  "properties": {
54
63
  "name": { "type": "string" },
55
64
  "value": { "type": "string" }
56
65
  }
57
- }]
58
- },
59
- "custom_field_value": {
60
- "type": "array",
61
- "items": {
62
- "allOf": [{ "$ref": "components.json#/components/schemas/custom_field" }]
63
- }
64
- },
65
- "custom_field_values": {
66
- "type": "object",
67
- "oneOf": [{
66
+ },
67
+ "custom_field_value": {
68
+ "type": "array",
69
+ "items": { "$ref": "components.json#/components/request/schemas/custom_field" }
70
+ },
71
+ "custom_field_values": {
68
72
  "type": "object",
69
73
  "required": ["custom_field_value"],
70
74
  "properties": {
71
- "custom_field_value": { "$ref": "components.json#/components/schemas/custom_field_value" }
75
+ "custom_field_value": { "$ref": "components.json#/components/request/schemas/custom_field_value" }
72
76
  }
73
- }]
74
- },
75
- "category_subcategory": {
76
- "type": "object",
77
- "properties": {
78
- "id": { "$ref": "components.json#/components/schemas/id" },
79
- "name": { "type": "string" },
80
- "default_tags": { "type": "string" },
81
- "parent_id": { "$ref": "components.json#/components/schemas/id" },
82
- "default_assignee_id": { "$ref": "components.json#/components/schemas/id" }
83
77
  }
84
- },
85
- "avatar": {
86
- "type": "object",
87
- "properties": {
88
- "type": { "type": "string" },
89
- "color": { "type": "string" },
90
- "initials": {
91
- "type": "string",
92
- "minLength": 2,
93
- "maxLength": 2
78
+ }
79
+ },
80
+ "response": {
81
+ "schemas": {
82
+ "id": {
83
+ "readOnly": true,
84
+ "oneOf": [{ "type": "string" }, { "type": "integer" }]
85
+ },
86
+ "custom_field": {
87
+ "type": "object",
88
+ "properties": {
89
+ "id": { "$ref": "components.json#/components/response/schemas/id" },
90
+ "custom_field_id": { "$ref": "components.json#/components/response/schemas/id" },
91
+ "name": { "type": "string" },
92
+ "value": { "type": "string" },
93
+ "options": { "type": "string" },
94
+ "type_name": { "type": "string" }
94
95
  }
95
- }
96
- },
97
- "requester_assignee_details": {
98
- "type": "object",
99
- "properties": {
100
- "group_id": { "$ref": "components.json#/components/schemas/association_by_id" },
101
- "is_user": { "oneOf": [{ "type": "string" }, { "type": "boolean" }] },
102
- "id": { "$ref": "components.json#/components/schemas/id" },
103
- "name": { "type": "string" },
104
- "email": { "type": "string" },
105
- "avatar": { "$ref": "components.json#/components/schemas/avatar" }
106
- }
107
- },
108
- "site_response": {
109
- "type": "object",
110
- "properties": {
111
- "id": { "$ref": "components.json#/components/schemas/id" },
112
- "name": { "type": "string" },
113
- "description": { "type": "string" },
114
- "location": { "type": "string" },
115
- "timezone": { "type": "string" }
116
- }
117
- },
118
- "department_response": {
119
- "type": "object",
120
- "properties": {
121
- "id": { "$ref": "components.json#/components/schemas/id" },
122
- "name": { "type": "string" },
123
- "description": { "type": "string" },
124
- "default_assignee_id": { "$ref": "components.json#/components/schemas/id" }
125
- }
126
- },
127
- "ids_array": {
128
- "type": "array",
129
- "items": {
130
- "$ref": "components.json#/components/schemas/association_by_id"
131
- }
132
- },
133
- "numbers_array": {
134
- "type": "array",
135
- "items": {
96
+ },
97
+ "custom_field_values": {
98
+ "type": "array",
99
+ "items": { "$ref": "components.json#/components/response/schemas/custom_field" }
100
+ },
101
+ "category_subcategory": {
102
+ "type": "object",
103
+ "properties": {
104
+ "id": { "$ref": "components.json#/components/response/schemas/id" },
105
+ "name": { "type": "string" },
106
+ "default_tags": { "type": "string" },
107
+ "parent_id": { "$ref": "components.json#/components/response/schemas/id" },
108
+ "default_assignee_id": { "$ref": "components.json#/components/response/schemas/id" }
109
+ }
110
+ },
111
+ "avatar": {
136
112
  "type": "object",
137
113
  "properties": {
138
- "number": {
139
- "oneOf": [{ "type": "string" }, { "type": "integer" }]
114
+ "type": { "type": "string" },
115
+ "color": { "type": "string" },
116
+ "initials": {
117
+ "type": "string",
118
+ "minLength": 2,
119
+ "maxLength": 2
140
120
  }
141
121
  }
142
- }
143
- },
144
- "response_attachments": {
145
- "type": "array",
146
- "items": {
122
+ },
123
+ "assignee_details": {
124
+ "type": "object",
125
+ "properties": {
126
+ "group_id": { "$ref": "components.json#/components/common/schemas/association_by_id" },
127
+ "is_user": { "oneOf": [{ "type": "string" }, { "type": "boolean" }] },
128
+ "id": { "$ref": "components.json#/components/response/schemas/id" },
129
+ "name": { "type": "string" },
130
+ "email": { "type": "string" },
131
+ "avatar": { "$ref": "components.json#/components/response/schemas/avatar" }
132
+ }
133
+ },
134
+ "requester_details": {
135
+ "type": "object",
136
+ "properties": {
137
+ "id": { "$ref": "components.json#/components/response/schemas/id" },
138
+ "account_id": { "$ref": "components.json#/components/response/schemas/id" },
139
+ "user_id": { "$ref": "components.json#/components/response/schemas/id" },
140
+ "email": { "type": "string" },
141
+ "name": { "type": "string" },
142
+ "disabled": { "type": "boolean" },
143
+ "avatar": { "$ref": "components.json#/components/response/schemas/avatar" }
144
+ }
145
+ },
146
+ "site_response": {
147
+ "type": "object",
148
+ "properties": {
149
+ "id": { "$ref": "components.json#/components/response/schemas/id" },
150
+ "name": { "type": "string" },
151
+ "description": { "type": "string" },
152
+ "location": { "type": "string" },
153
+ "timezone": { "type": "string" }
154
+ }
155
+ },
156
+ "department_response": {
147
157
  "type": "object",
148
158
  "properties": {
149
- "id": { "$ref": "components.json#/components/schemas/association_by_id" },
150
- "href": { "type": "string" }
159
+ "id": { "$ref": "components.json#/components/response/schemas/id" },
160
+ "name": { "type": "string" },
161
+ "description": { "type": "string" },
162
+ "default_assignee_id": { "$ref": "components.json#/components/response/schemas/id" }
151
163
  }
164
+ },
165
+ "response_attachments": {
166
+ "type": "array",
167
+ "items": {
168
+ "type": "object",
169
+ "properties": {
170
+ "id": { "$ref": "components.json#/components/common/schemas/association_by_id" },
171
+ "href": { "type": "string" }
172
+ }
173
+ }
174
+ }
175
+ }
176
+ },
177
+ "common": {
178
+ "schemas": {
179
+ "association_by_id": {
180
+ "oneOf": [{ "type": "string" }, { "type": "integer" }]
152
181
  }
153
182
  }
154
183
  }
@@ -13,31 +13,27 @@
13
13
  "priority": "High",
14
14
  "category": { "name": "Facilities" },
15
15
  "subcategory": { "name": "Equipment" },
16
- "due_at": "Jan 01,2022",
16
+ "due_at": "Jan 01,2025",
17
17
  "add_to_tag_list": "tag1, tag2",
18
18
  "custom_fields_values": {
19
19
  "custom_fields_value": [
20
20
  { "name": "field name", "value": "content" }
21
21
  ]
22
22
  },
23
- "incidents": [{ "number": "123" }],
24
- "problems": [{ "number": "123" }],
25
- "changes": [{ "number": "123" }],
26
- "solutions": [{ "number" :"123" }],
27
- "releases": [{ "number": "123" }],
28
- "configuration_item_ids":["123"]
23
+ "incidents": [{ "number": "100" }],
24
+ "problems": [{ "number": "100" }],
25
+ "changes": [{ "number": "100" }],
26
+ "solutions": [{ "number" :"100" }],
27
+ "releases": [{ "number": "100" }],
28
+ "configuration_item_ids":["100"]
29
29
  }
30
- },
31
- "xml": {
32
- "description": "shouldn't work due to bug in openApi - https://github.com/springdoc/springdoc-openapi/issues/719",
33
- "xml": "<incident><site><name>NAME</name></site><department_id>0</department_id><description>DESCRIPTION</description><state>NAME</state><assignee><email>EMAIL</email></assignee></incident>"
34
30
  }
35
31
  },
36
32
  "response": {
37
33
  "json": {
38
34
  "incident": {
39
- "id": "78912",
40
- "number": "234",
35
+ "id": "10000",
36
+ "number": "1000",
41
37
  "name": "Incident Name",
42
38
  "description": "description",
43
39
  "state": "New",
@@ -55,17 +51,17 @@
55
51
  "default_assignee_id": "1"
56
52
  },
57
53
  "category": {
58
- "id": "12",
54
+ "id": "10000",
59
55
  "name": "Facilities",
60
56
  "default_tags": "tagA, tagB",
61
57
  "parent_id": "null",
62
58
  "default_assignee_id": "1"
63
59
  },
64
60
  "subcategory": {
65
- "id": "13",
61
+ "id": "1000",
66
62
  "name": "Equipment",
67
63
  "default_tags": "",
68
- "parent_id": "12",
64
+ "parent_id": "10000",
69
65
  "default_assignee_id": "1"
70
66
  },
71
67
  "priority": "High",
@@ -78,24 +74,25 @@
78
74
  "avatar": {
79
75
  "type": "initials",
80
76
  "color": "#fd4165",
81
- "initials": "AA"
77
+ "initials": "JD"
82
78
  }
83
79
  },
84
- "requester": {
85
- "group_id": "1",
86
- "is_user": "true",
87
- "id": "1",
88
- "name": "John Doe",
80
+ "requester": {
81
+ "id": "1",
82
+ "account_id": "1",
83
+ "user_id": "1",
89
84
  "email": "john.doe@email.com",
85
+ "name": "John Doe",
86
+ "disabled": false,
90
87
  "avatar": {
91
88
  "type": "initials",
92
89
  "color": "#fd4165",
93
- "initials": "AA"
90
+ "initials": "JD"
94
91
  }
95
92
  },
96
93
  "custom_fields_values": [
97
94
  {
98
- "id": "1223",
95
+ "id": "1000",
99
96
  "custom_field_id": "1",
100
97
  "name": "field name",
101
98
  "value": "content",
@@ -103,19 +100,15 @@
103
100
  "type_name": "Text"
104
101
  }
105
102
  ],
106
- "due_at": "2022-01-01T00:00:00.000+01:00",
103
+ "due_at": "2025-01-01T00:00:00.000+01:00",
107
104
  "origin": "api",
108
- "incidents": [{ "id": "123", "href": "https://mydomain.com/incidents/123"}],
109
- "problems": [{ "id": "123", "href": "https://mydomain.com/problems/123"}],
110
- "changes": [{ "id": "123", "href": "https://mydomain.com/changes/123"}],
111
- "solutions": [{ "id": "123", "href": "https://mydomain.com/solutions/123"}],
112
- "releases": [{ "id": "123", "href": "https://mydomain.com/releases/123"}],
113
- "configuration_items": [{ "id": "123", "href": "https://mydomain.com/configuration_items/123"}]
105
+ "incidents": [{ "id": "100", "href": "https://mydomain.com/incidents/123"}],
106
+ "problems": [{ "id": "100", "href": "https://mydomain.com/problems/123"}],
107
+ "changes": [{ "id": "100", "href": "https://mydomain.com/changes/123"}],
108
+ "solutions": [{ "id": "100", "href": "https://mydomain.com/solutions/123"}],
109
+ "releases": [{ "id": "100", "href": "https://mydomain.com/releases/123"}],
110
+ "configuration_items": [{ "id": "100", "href": "https://mydomain.com/configuration_items/123"}]
114
111
  }
115
- },
116
- "xml": {
117
- "description": "shouldn't work due to bug in openApi - https://github.com/springdoc/springdoc-openapi/issues/719",
118
- "xml": "<incident><site><name>NAME</name></site><department_id>0</department_id><description>DESCRIPTION</description><state>NAME</state><assignee><email>EMAIL</email></assignee></incident>"
119
112
  }
120
113
  }
121
114
  }
@@ -9,25 +9,25 @@
9
9
  "type": "object",
10
10
  "properties": {
11
11
  "name": { "type": "string" },
12
- "site_id": { "$ref": "../components.json#/components/schemas/association_by_id" },
13
- "department_id": { "$ref": "../components.json#/components/schemas/association_by_id" },
12
+ "site_id": { "$ref": "../components.json#/components/common/schemas/association_by_id" },
13
+ "department_id": { "$ref": "../components.json#/components/common/schemas/association_by_id" },
14
14
  "description": { "type": "string" },
15
- "state_id": { "$ref": "../components.json#/components/schemas/association_by_id" },
16
- "assignee": { "$ref": "../components.json#/components/schemas/association_by_email" },
17
- "assignee_id": { "$ref": "../components.json#/components/schemas/association_by_id" },
18
- "priority": { "$ref": "../components.json#/components/schemas/association_by_id" },
19
- "requester": { "$ref": "../components.json#/components/schemas/association_by_email" },
20
- "category": { "$ref": "../components.json#/components/schemas/association_by_name" },
21
- "subcategory": { "$ref": "../components.json#/components/schemas/association_by_name" },
15
+ "state_id": { "$ref": "../components.json#/components/common/schemas/association_by_id" },
16
+ "assignee": { "$ref": "../components.json#/components/request/schemas/association_by_email" },
17
+ "assignee_id": { "$ref": "../components.json#/components/common/schemas/association_by_id" },
18
+ "priority": { "$ref": "../components.json#/components/common/schemas/association_by_id" },
19
+ "requester": { "$ref": "../components.json#/components/request/schemas/association_by_email" },
20
+ "category": { "$ref": "../components.json#/components/request/schemas/association_by_name" },
21
+ "subcategory": { "$ref": "../components.json#/components/request/schemas/association_by_name" },
22
22
  "due_at": { "type": "string" },
23
23
  "add_to_tag_list": { "type": "string" },
24
- "custom_field_values": { "$ref": "../components.json#/components/schemas/custom_field_values" },
25
- "incidents": { "$ref": "../components.json#/components/schemas/numbers_array" },
26
- "solutions": { "$ref": "../components.json#/components/schemas/numbers_array" },
27
- "changes": { "$ref": "../components.json#/components/schemas/numbers_array" },
28
- "problems": { "$ref": "../components.json#/components/schemas/numbers_array" },
29
- "releases": { "$ref": "../components.json#/components/schemas/numbers_array" },
30
- "configuration_item_ids": { "$ref": "../components.json#/components/schemas/ids_array" }
24
+ "custom_field_values": { "$ref": "../components.json#/components/request/schemas/custom_field_values" },
25
+ "incidents": { "$ref": "../components.json#/components/request/schemas/numbers_array" },
26
+ "solutions": { "$ref": "../components.json#/components/request/schemas/numbers_array" },
27
+ "changes": { "$ref": "../components.json#/components/request/schemas/numbers_array" },
28
+ "problems": { "$ref": "../components.json#/components/request/schemas/numbers_array" },
29
+ "releases": { "$ref": "../components.json#/components/request/schemas/numbers_array" },
30
+ "configuration_item_ids": { "$ref": "../components.json#/components/request/schemas/ids_array" }
31
31
  }
32
32
  }
33
33
  }
@@ -38,27 +38,27 @@
38
38
  "incident": {
39
39
  "type": "object",
40
40
  "properties": {
41
- "id": { "$ref": "../components.json#/components/schemas/id" },
41
+ "id": { "$ref": "../components.json#/components/response/schemas/id" },
42
42
  "name": { "type": "string" },
43
43
  "description": { "type": "string" },
44
- "site": { "$ref": "../components.json#/components/schemas/site_response" },
45
- "department": { "$ref": "../components.json#/components/schemas/department_response" },
44
+ "site": { "$ref": "../components.json#/components/response/schemas/site_response" },
45
+ "department": { "$ref": "../components.json#/components/response/schemas/department_response" },
46
46
  "state": { "type": "string" },
47
47
  "priority": { "type": "string" },
48
- "assignee": { "$ref": "../components.json#/components/schemas/requester_assignee_details" },
49
- "requester": { "$ref": "../components.json#/components/schemas/requester_assignee_details" },
50
- "category": { "$ref": "../components.json#/components/schemas/category_subcategory" },
51
- "subcategory": { "$ref": "../components.json#/components/schemas/category_subcategory" },
48
+ "assignee": { "$ref": "../components.json#/components/response/schemas/assignee_details" },
49
+ "requester": { "$ref": "../components.json#/components/response/schemas/requester_details" },
50
+ "category": { "$ref": "../components.json#/components/response/schemas/category_subcategory" },
51
+ "subcategory": { "$ref": "../components.json#/components/response/schemas/category_subcategory" },
52
52
  "due_at": { "type": "string" },
53
- "custom_field_values": { "$ref": "../components.json#/components/schemas/custom_field_values" },
54
- "created_by": { "$ref": "../components.json#/components/schemas/requester_assignee_details" },
53
+ "custom_field_values": { "$ref": "../components.json#/components/response/schemas/custom_field_values" },
54
+ "created_by": { "$ref": "../components.json#/components/response/schemas/requester_details" },
55
55
  "origin": { "type": "string" },
56
- "incidents": { "$ref": "../components.json#/components/schemas/response_attachments" },
57
- "solutions": { "$ref": "../components.json#/components/schemas/response_attachments" },
58
- "changes": { "$ref": "../components.json#/components/schemas/response_attachments" },
59
- "problems": { "$ref": "../components.json#/components/schemas/response_attachments" },
60
- "releases": { "$ref": "../components.json#/components/schemas/response_attachments" },
61
- "configuration_item_ids": { "$ref": "../components.json#/components/schemas/response_attachments" }
56
+ "incidents": { "$ref": "../components.json#/components/response/schemas/response_attachments" },
57
+ "solutions": { "$ref": "../components.json#/components/response/schemas/response_attachments" },
58
+ "changes": { "$ref": "../components.json#/components/response/schemas/response_attachments" },
59
+ "problems": { "$ref": "../components.json#/components/response/schemas/response_attachments" },
60
+ "releases": { "$ref": "../components.json#/components/response/schemas/response_attachments" },
61
+ "configuration_items": { "$ref": "../components.json#/components/response/schemas/response_attachments" }
62
62
  }
63
63
  }
64
64
  }
@@ -67,39 +67,11 @@
67
67
  "incidents": {
68
68
  "description": "List of incidents",
69
69
  "type": "array",
70
- "items": {
71
- "allOf": [{ "$ref": "incident.json#/components/schemas/incident/response" }]
72
- }
73
- },
74
- "incident_request_content": {
75
- "application/json": {
76
- "schema": { "$ref": "incident.json#/components/schemas/incident/request" },
77
- "example": { "$ref": "../examples/incident.json#/examples/request/json" }
78
- },
79
- "application/xml": {
80
- "schema": { "$ref": "incident.json#/components/schemas/incident/request" },
81
- "example": { "$ref": "../examples/incident.json#/examples/request/xml" }
82
- }
70
+ "items": { "allOf": [{ "$ref": "incident.json#/components/schemas/incident/response" }] }
83
71
  },
84
72
  "many_incidents_content": {
85
- "application/json": {
86
- "schema": { "$ref": "incident.json#/components/schemas/incidents" },
87
- "example": [{ "$ref": "../examples/incident.json#/examples/response/json" }]
88
- },
89
- "application/xml": {
90
- "schema": { "$ref": "incident.json#/components/schemas/incidents" },
91
- "example": [{ "$ref": "../examples/incident.json#/examples/response/xml" }]
92
- }
93
- },
94
- "incident_response_content": {
95
- "application/json": {
96
- "schema": { "$ref": "incident.json#/components/schemas/incident/response" },
97
- "example": { "$ref": "../examples/incident.json#/examples/response/json" }
98
- },
99
- "application/xml": {
100
- "schema": { "$ref": "incident.json#/components/schemas/incident/response" },
101
- "example": { "$ref": "../examples/incident.json#/examples/response/xml" }
102
- }
73
+ "application/json": { "schema": { "$ref": "incident.json#/components/schemas/incidents" }, "example": [{ "$ref": "../examples/incident.json#/examples/response/json" }] },
74
+ "application/xml": { "schema": { "$ref": "incident.json#/components/schemas/incidents" }, "example": [{ "$ref": "../examples/incident.json#/examples/response/xml" }] }
103
75
  }
104
76
  }
105
77
  }