@itentialopensource/adapter-bmc_helix_itsm 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +6 -0
- package/.eslintrc.js +18 -0
- package/.gitlab/.gitkeep +0 -0
- package/.gitlab/issue_templates/.gitkeep +0 -0
- package/.gitlab/issue_templates/Default.md +17 -0
- package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
- package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
- package/.jshintrc +0 -0
- package/AUTH.md +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +278 -0
- package/CHANGELOG.md +16 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +172 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +641 -0
- package/README.md +337 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +2381 -0
- package/adapterBase.js +1787 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/Auth/action.json +44 -0
- package/entities/Auth/schema.json +31 -0
- package/entities/ChangeRequest/action.json +84 -0
- package/entities/ChangeRequest/schema.json +22 -0
- package/entities/Entry/action.json +146 -0
- package/entities/Entry/schema.json +25 -0
- package/entities/Event/action.json +24 -0
- package/entities/Event/schema.json +19 -0
- package/entities/Incident/action.json +84 -0
- package/entities/Incident/schema.json +22 -0
- package/error.json +190 -0
- package/package.json +89 -0
- package/pronghorn.json +1403 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1248 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +10 -0
- package/report/creationReport.json +272 -0
- package/report/helix-itsm-api.json +425 -0
- package/sampleProperties.json +195 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +577 -0
- package/test/unit/adapterBaseTestUnit.js +949 -0
- package/test/unit/adapterTestUnit.js +1657 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +178 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +225 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/tbScript.js +246 -0
- package/utils/tbUtils.js +490 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +195 -0
- package/workflows/README.md +3 -0
|
Binary file
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
{
|
|
2
|
+
"errors": [],
|
|
3
|
+
"statistics": [
|
|
4
|
+
{
|
|
5
|
+
"owner": "errorJson",
|
|
6
|
+
"description": "Standard adapter errors available for use",
|
|
7
|
+
"value": 31
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"owner": "packageJson",
|
|
11
|
+
"description": "Number of production dependencies",
|
|
12
|
+
"value": 16
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"owner": "packageJson",
|
|
16
|
+
"description": "Number of development dependencies",
|
|
17
|
+
"value": 7
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"owner": "packageJson",
|
|
21
|
+
"description": "Number of npm scripts",
|
|
22
|
+
"value": 22
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"owner": "packageJson",
|
|
26
|
+
"description": "Runtime Library dependency",
|
|
27
|
+
"value": "^4.48.0"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"owner": "propertiesSchemaJson",
|
|
31
|
+
"description": "Adapter properties defined in the propertiesSchema file",
|
|
32
|
+
"value": 70
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"owner": "adapterJS",
|
|
36
|
+
"description": "Lines of code generated in adapter.js",
|
|
37
|
+
"value": 1620
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"owner": "adapterJS",
|
|
41
|
+
"description": "Number of Functions added to adapter.js",
|
|
42
|
+
"value": 9
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"owner": "pronghornJson",
|
|
46
|
+
"description": "Number of Methods added to pronghorn.json",
|
|
47
|
+
"value": 9
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"owner": "markdown",
|
|
51
|
+
"description": "Number of lines in the README.md",
|
|
52
|
+
"value": 338
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"owner": "markdown",
|
|
56
|
+
"description": "Number of lines in the SUMMARY.md",
|
|
57
|
+
"value": 9
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"owner": "markdown",
|
|
61
|
+
"description": "Number of lines in the PROPERTIES.md",
|
|
62
|
+
"value": 642
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"owner": "markdown",
|
|
66
|
+
"description": "Number of lines in the TROUBLESHOOT.md",
|
|
67
|
+
"value": 48
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"owner": "markdown",
|
|
71
|
+
"description": "Number of lines in the ENHANCE.md",
|
|
72
|
+
"value": 70
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"owner": "markdown",
|
|
76
|
+
"description": "Number of lines in the BROKER.md",
|
|
77
|
+
"value": 200
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"owner": "markdown",
|
|
81
|
+
"description": "Number of lines in the CALLS.md",
|
|
82
|
+
"value": 171
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"owner": "markdown",
|
|
86
|
+
"description": "Number of lines in the AUTH.md",
|
|
87
|
+
"value": 40
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"owner": "markdown",
|
|
91
|
+
"description": "Number of lines in the SYSTEMINFO.md",
|
|
92
|
+
"value": 11
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"owner": "unitTestJS",
|
|
96
|
+
"description": "Number of lines of code in unit tests",
|
|
97
|
+
"value": 1658
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"owner": "unitTestJS",
|
|
101
|
+
"description": "Number of unit tests",
|
|
102
|
+
"value": 78
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"owner": "integrationTestJS",
|
|
106
|
+
"description": "Number of lines of code in integration tests",
|
|
107
|
+
"value": 578
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"owner": "integrationTestJS",
|
|
111
|
+
"description": "Number of integration tests",
|
|
112
|
+
"value": 14
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"owner": "actionJson",
|
|
116
|
+
"description": "Number of actions for Entry entity",
|
|
117
|
+
"value": 7
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"owner": "actionJson",
|
|
121
|
+
"description": "Number of actions for Auth entity",
|
|
122
|
+
"value": 2
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"owner": "actionJson",
|
|
126
|
+
"description": "Total number of actions",
|
|
127
|
+
"value": 9
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"owner": "actionJson",
|
|
131
|
+
"description": "Total number of entities",
|
|
132
|
+
"value": 2
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"owner": "schemaJson",
|
|
136
|
+
"description": "Number of schemas for Entry entity",
|
|
137
|
+
"value": 1
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"owner": "schemaJson",
|
|
141
|
+
"description": "Number of schemas for Auth entity",
|
|
142
|
+
"value": 1
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"owner": "schemaJson",
|
|
146
|
+
"description": "Total number of schemas",
|
|
147
|
+
"value": 2
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"owner": "mockdata",
|
|
151
|
+
"description": "Number of mock data files for Entry entity",
|
|
152
|
+
"value": 0
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"owner": "mockdata",
|
|
156
|
+
"description": "Number of mock data files for Auth entity",
|
|
157
|
+
"value": 0
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"owner": "mockdata",
|
|
161
|
+
"description": "Total number of mock data files",
|
|
162
|
+
"value": 0
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"owner": "actionJson",
|
|
166
|
+
"description": "Number of actions for .system entity",
|
|
167
|
+
"value": 2
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"owner": "schemaJson",
|
|
171
|
+
"description": "Number of schemas for .system entity",
|
|
172
|
+
"value": 3
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"owner": "mockdata",
|
|
176
|
+
"description": "Number of mock data files for .system entity",
|
|
177
|
+
"value": 2
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"owner": "System",
|
|
181
|
+
"description": "System entity files",
|
|
182
|
+
"value": 6
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"owner": "usecases",
|
|
186
|
+
"description": "Number of workflows",
|
|
187
|
+
"value": 0
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"owner": "staticFile",
|
|
191
|
+
"description": "Number of lines of code in adapterBase.js",
|
|
192
|
+
"value": 1788
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"owner": "staticFile",
|
|
196
|
+
"description": "Number of static files added",
|
|
197
|
+
"value": 38
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"owner": "Overall",
|
|
201
|
+
"description": "Total lines of Code",
|
|
202
|
+
"value": 5644
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"owner": "Overall",
|
|
206
|
+
"description": "Total Tests",
|
|
207
|
+
"value": 92
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"owner": "Overall",
|
|
211
|
+
"description": "Total Files",
|
|
212
|
+
"value": 56
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"warnings": [],
|
|
216
|
+
"apiParsingReport": {
|
|
217
|
+
"no_mockdata": [
|
|
218
|
+
{
|
|
219
|
+
"fnName": "createEntry",
|
|
220
|
+
"method": "post",
|
|
221
|
+
"path": "/arsys/v1/entry/{formName}"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"fnName": "getMultipleEntries",
|
|
225
|
+
"method": "get",
|
|
226
|
+
"path": "/arsys/v1/entry/{formName}"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"fnName": "getFormSchemaOptions",
|
|
230
|
+
"method": "options",
|
|
231
|
+
"path": "/arsys/v1/entry/{formName}"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"fnName": "updateEntry",
|
|
235
|
+
"method": "put",
|
|
236
|
+
"path": "/arsys/v1/entry/{formName}/{entryId}"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"fnName": "getEntryById",
|
|
240
|
+
"method": "get",
|
|
241
|
+
"path": "/arsys/v1/entry/{formName}/{entryId}"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"fnName": "deleteEntryById",
|
|
245
|
+
"method": "delete",
|
|
246
|
+
"path": "/arsys/v1/entry/{formName}/{entryId}"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"fnName": "getEntryFormSchemaOptions",
|
|
250
|
+
"method": "options",
|
|
251
|
+
"path": "/arsys/v1/entry/{formName}/{entryId}"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"fnName": "login",
|
|
255
|
+
"method": "post",
|
|
256
|
+
"path": "/jwt/login"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"fnName": "logout",
|
|
260
|
+
"method": "post",
|
|
261
|
+
"path": "/jwt/logout"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"errors": [],
|
|
265
|
+
"warnings": [
|
|
266
|
+
"Method post in path /jwt/login has 2 parameters with the same name. Parameter name changed to bodyFormData to avoid errors."
|
|
267
|
+
],
|
|
268
|
+
"callsTotal": 9,
|
|
269
|
+
"callsConverted": 9,
|
|
270
|
+
"no_mockdata_num": 9
|
|
271
|
+
}
|
|
272
|
+
}
|
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "BMC Helix",
|
|
5
|
+
"description": "Integration API for Helix BMC - manually built from the documentation.",
|
|
6
|
+
"contact": {},
|
|
7
|
+
"version": "1.0"
|
|
8
|
+
},
|
|
9
|
+
"servers": [
|
|
10
|
+
{
|
|
11
|
+
"url": "http://localhost:8008/{basePath}",
|
|
12
|
+
"variables": {
|
|
13
|
+
"basePath": {
|
|
14
|
+
"default": "api"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"paths": {
|
|
20
|
+
"/arsys/v1/entry/{formName}": {
|
|
21
|
+
"post": {
|
|
22
|
+
"tags": [
|
|
23
|
+
"Entry"
|
|
24
|
+
],
|
|
25
|
+
"summary": "Create Entry",
|
|
26
|
+
"description": "Create Entry",
|
|
27
|
+
"operationId": "createEntry",
|
|
28
|
+
"parameters": [
|
|
29
|
+
{
|
|
30
|
+
"name": "formName",
|
|
31
|
+
"in": "path",
|
|
32
|
+
"description": "the form name",
|
|
33
|
+
"required": true,
|
|
34
|
+
"schema": {
|
|
35
|
+
"type": "string"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "query",
|
|
40
|
+
"in": "query",
|
|
41
|
+
"description": "object of query/option data - fields, etc",
|
|
42
|
+
"required": false,
|
|
43
|
+
"schema": {
|
|
44
|
+
"type": "object"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"requestBody": {
|
|
49
|
+
"description": "",
|
|
50
|
+
"content": {
|
|
51
|
+
"application/json": {
|
|
52
|
+
"schema": {
|
|
53
|
+
"type": "object"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"required": true
|
|
58
|
+
},
|
|
59
|
+
"responses": {
|
|
60
|
+
"200": {
|
|
61
|
+
"description": "Successful response",
|
|
62
|
+
"content": {
|
|
63
|
+
"application/json": {
|
|
64
|
+
"schema": {
|
|
65
|
+
"type": "object"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"get": {
|
|
73
|
+
"tags": [
|
|
74
|
+
"Entry"
|
|
75
|
+
],
|
|
76
|
+
"summary": "Get Multiple Entries",
|
|
77
|
+
"description": "Get Multiple Entries",
|
|
78
|
+
"operationId": "getMultipleEntries",
|
|
79
|
+
"parameters": [
|
|
80
|
+
{
|
|
81
|
+
"name": "formName",
|
|
82
|
+
"in": "path",
|
|
83
|
+
"description": "the form name",
|
|
84
|
+
"required": true,
|
|
85
|
+
"schema": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "query",
|
|
91
|
+
"in": "query",
|
|
92
|
+
"description": "object of query/option data - fields, sort, limit, offset, etc",
|
|
93
|
+
"required": false,
|
|
94
|
+
"schema": {
|
|
95
|
+
"type": "object"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"responses": {
|
|
100
|
+
"200": {
|
|
101
|
+
"description": "Successful response",
|
|
102
|
+
"content": {
|
|
103
|
+
"application/json": {
|
|
104
|
+
"schema": {
|
|
105
|
+
"type": "object"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"options": {
|
|
113
|
+
"tags": [
|
|
114
|
+
"Entry"
|
|
115
|
+
],
|
|
116
|
+
"summary": "Get Options of Form Schema",
|
|
117
|
+
"description": "Get Options of Form Schema",
|
|
118
|
+
"operationId": "getFormSchemaOptions",
|
|
119
|
+
"parameters": [
|
|
120
|
+
{
|
|
121
|
+
"name": "formName",
|
|
122
|
+
"in": "path",
|
|
123
|
+
"description": "the form name",
|
|
124
|
+
"required": true,
|
|
125
|
+
"schema": {
|
|
126
|
+
"type": "string"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "query",
|
|
131
|
+
"in": "query",
|
|
132
|
+
"description": "object of query/option data - fields, etc",
|
|
133
|
+
"required": false,
|
|
134
|
+
"schema": {
|
|
135
|
+
"type": "object"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"responses": {
|
|
140
|
+
"200": {
|
|
141
|
+
"description": "Successful response",
|
|
142
|
+
"content": {
|
|
143
|
+
"application/json": {
|
|
144
|
+
"schema": {
|
|
145
|
+
"type": "object"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"/arsys/v1/entry/{formName}/{entryId}": {
|
|
154
|
+
"put": {
|
|
155
|
+
"tags": [
|
|
156
|
+
"Entry"
|
|
157
|
+
],
|
|
158
|
+
"summary": "Update Entry",
|
|
159
|
+
"description": "Update Entry",
|
|
160
|
+
"operationId": "updateEntry",
|
|
161
|
+
"parameters": [
|
|
162
|
+
{
|
|
163
|
+
"name": "formName",
|
|
164
|
+
"in": "path",
|
|
165
|
+
"description": "the form name",
|
|
166
|
+
"required": true,
|
|
167
|
+
"schema": {
|
|
168
|
+
"type": "string"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "entryId",
|
|
173
|
+
"in": "path",
|
|
174
|
+
"description": "the entry id",
|
|
175
|
+
"required": true,
|
|
176
|
+
"schema": {
|
|
177
|
+
"type": "string"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"requestBody": {
|
|
182
|
+
"description": "",
|
|
183
|
+
"content": {
|
|
184
|
+
"application/json": {
|
|
185
|
+
"schema": {
|
|
186
|
+
"type": "object"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"required": true
|
|
191
|
+
},
|
|
192
|
+
"responses": {
|
|
193
|
+
"200": {
|
|
194
|
+
"description": "Successful response",
|
|
195
|
+
"content": {
|
|
196
|
+
"application/json": {
|
|
197
|
+
"schema": {
|
|
198
|
+
"type": "object"
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"get": {
|
|
206
|
+
"tags": [
|
|
207
|
+
"Entry"
|
|
208
|
+
],
|
|
209
|
+
"summary": "Get Entry",
|
|
210
|
+
"description": "Get Entry",
|
|
211
|
+
"operationId": "getEntryById",
|
|
212
|
+
"parameters": [
|
|
213
|
+
{
|
|
214
|
+
"name": "formName",
|
|
215
|
+
"in": "path",
|
|
216
|
+
"description": "the form name",
|
|
217
|
+
"required": true,
|
|
218
|
+
"schema": {
|
|
219
|
+
"type": "string"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "entryId",
|
|
224
|
+
"in": "path",
|
|
225
|
+
"description": "the entry id",
|
|
226
|
+
"required": true,
|
|
227
|
+
"schema": {
|
|
228
|
+
"type": "string"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "query",
|
|
233
|
+
"in": "query",
|
|
234
|
+
"description": "object of query/option data - fields, etc",
|
|
235
|
+
"required": false,
|
|
236
|
+
"schema": {
|
|
237
|
+
"type": "object"
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
],
|
|
241
|
+
"responses": {
|
|
242
|
+
"200": {
|
|
243
|
+
"description": "Successful response",
|
|
244
|
+
"content": {
|
|
245
|
+
"application/json": {
|
|
246
|
+
"schema": {
|
|
247
|
+
"type": "object"
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"delete": {
|
|
255
|
+
"tags": [
|
|
256
|
+
"Entry"
|
|
257
|
+
],
|
|
258
|
+
"summary": "Delete Entry",
|
|
259
|
+
"description": "Delete Entry",
|
|
260
|
+
"operationId": "deleteEntryById",
|
|
261
|
+
"parameters": [
|
|
262
|
+
{
|
|
263
|
+
"name": "formName",
|
|
264
|
+
"in": "path",
|
|
265
|
+
"description": "the form name",
|
|
266
|
+
"required": true,
|
|
267
|
+
"schema": {
|
|
268
|
+
"type": "string"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "entryId",
|
|
273
|
+
"in": "path",
|
|
274
|
+
"description": "the entry id",
|
|
275
|
+
"required": true,
|
|
276
|
+
"schema": {
|
|
277
|
+
"type": "string"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "options",
|
|
282
|
+
"in": "query",
|
|
283
|
+
"description": "delete options",
|
|
284
|
+
"required": false,
|
|
285
|
+
"schema": {
|
|
286
|
+
"type": "object"
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"responses": {
|
|
291
|
+
"200": {
|
|
292
|
+
"description": "Successful response",
|
|
293
|
+
"content": {
|
|
294
|
+
"application/json": {
|
|
295
|
+
"schema": {
|
|
296
|
+
"type": "object"
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"options": {
|
|
304
|
+
"tags": [
|
|
305
|
+
"Entry"
|
|
306
|
+
],
|
|
307
|
+
"summary": "Get Options of Entry Form Schema",
|
|
308
|
+
"description": "Get Options of Entry Form Schema",
|
|
309
|
+
"operationId": "getEntryFormSchemaOptions",
|
|
310
|
+
"parameters": [
|
|
311
|
+
{
|
|
312
|
+
"name": "formName",
|
|
313
|
+
"in": "path",
|
|
314
|
+
"description": "the form name",
|
|
315
|
+
"required": true,
|
|
316
|
+
"schema": {
|
|
317
|
+
"type": "string"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"name": "entryId",
|
|
322
|
+
"in": "path",
|
|
323
|
+
"description": "the entry id",
|
|
324
|
+
"required": true,
|
|
325
|
+
"schema": {
|
|
326
|
+
"type": "string"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"name": "query",
|
|
331
|
+
"in": "query",
|
|
332
|
+
"description": "object of query/option data - fields, etc",
|
|
333
|
+
"required": false,
|
|
334
|
+
"schema": {
|
|
335
|
+
"type": "object"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
"responses": {
|
|
340
|
+
"200": {
|
|
341
|
+
"description": "Successful response",
|
|
342
|
+
"content": {
|
|
343
|
+
"application/json": {
|
|
344
|
+
"schema": {
|
|
345
|
+
"type": "object"
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"/jwt/login": {
|
|
354
|
+
"post": {
|
|
355
|
+
"tags": [
|
|
356
|
+
"Auth"
|
|
357
|
+
],
|
|
358
|
+
"summary": "Login",
|
|
359
|
+
"description": "Login",
|
|
360
|
+
"operationId": "login",
|
|
361
|
+
"parameters": [],
|
|
362
|
+
"requestBody": {
|
|
363
|
+
"description": "",
|
|
364
|
+
"content": {
|
|
365
|
+
"application/x-www-form-urlencoded": {
|
|
366
|
+
"schema": {
|
|
367
|
+
"title": "credentials",
|
|
368
|
+
"type": "object"
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"required": true
|
|
373
|
+
},
|
|
374
|
+
"responses": {
|
|
375
|
+
"200": {
|
|
376
|
+
"description": "Successful response",
|
|
377
|
+
"content": {
|
|
378
|
+
"text/plain": {
|
|
379
|
+
"schema": {
|
|
380
|
+
"type": "string"
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"/jwt/logout": {
|
|
389
|
+
"post": {
|
|
390
|
+
"tags": [
|
|
391
|
+
"Auth"
|
|
392
|
+
],
|
|
393
|
+
"summary": "Logout",
|
|
394
|
+
"description": "Logout",
|
|
395
|
+
"operationId": "logout",
|
|
396
|
+
"parameters": [],
|
|
397
|
+
"responses": {
|
|
398
|
+
"200": {
|
|
399
|
+
"description": "Successful response",
|
|
400
|
+
"content": {
|
|
401
|
+
"application/json": {
|
|
402
|
+
"schema": {
|
|
403
|
+
"type": "object"
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
"components": {
|
|
413
|
+
"schemas": {}
|
|
414
|
+
},
|
|
415
|
+
"tags": [
|
|
416
|
+
{
|
|
417
|
+
"name": "Entry",
|
|
418
|
+
"description": ""
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "Auth",
|
|
422
|
+
"description": ""
|
|
423
|
+
}
|
|
424
|
+
]
|
|
425
|
+
}
|