apib2swagger 1.9.2 → 1.13.0
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/.github/workflows/codeql-analysis.yml +71 -0
- package/.github/workflows/docker-publish.yml +70 -0
- package/.github/workflows/nodejs.yml +26 -0
- package/.travis.yml +3 -5
- package/Dockerfile +5 -0
- package/LICENSE +0 -0
- package/README.md +31 -5
- package/bin/apib2swagger.js +43 -17
- package/index.js +92 -374
- package/package.json +6 -4
- package/src/escape_json_pointer.js +0 -0
- package/src/mson_to_json_schema.js +13 -8
- package/src/parameters.js +111 -0
- package/src/requests.js +344 -0
- package/src/responses.js +181 -0
- package/src/util.js +127 -0
- package/test/input/Attributes.md +0 -0
- package/test/input/Issue-#15.md +0 -0
- package/test/input/Issue-#22.md +0 -0
- package/test/input/Issue-#23.md +0 -0
- package/test/input/Issue-#26.md +0 -0
- package/test/input/Issue-#29.md +0 -0
- package/test/input/Issue-#33.md +0 -0
- package/test/input/Issue-#35.md +0 -0
- package/test/input/Issue-#36.md +0 -0
- package/test/input/Issue-#38.md +0 -0
- package/test/input/Issue-#49.md +24 -0
- package/test/input/OpenAPI3_attributes.md +36 -0
- package/test/input/OpenAPI3_headers.md +74 -0
- package/test/input/OpenAPI3_includes.md +22 -0
- package/test/input/OpenAPI3_requests.md +162 -0
- package/test/input/OpenAPI3_responses.md +177 -0
- package/test/input/Schema.md +0 -0
- package/test/input/apiblueprint_uber.md +0 -0
- package/test/input/apiblueprint_valid_simple.md +0 -0
- package/test/input/includes/resource-request-body-2.json +3 -0
- package/test/input/includes/resource-request-body.json +3 -0
- package/test/input/includes/resource-request-schema.json +9 -0
- package/test/input/includes/resource-response-body-2.json +3 -0
- package/test/input/includes/resource-response-body.json +3 -0
- package/test/input/includes/resource-response-schema.json +9 -0
- package/test/input/schema_without_body.md +17 -0
- package/test/meta_schema.json +0 -0
- package/test/openAPI_30_schema.json +1662 -0
- package/test/output/01. Simplest API.json +1 -0
- package/test/output/01. Simplest API.ref.json +1 -0
- package/test/output/02. Resource and Actions.json +2 -0
- package/test/output/02. Resource and Actions.ref.json +2 -0
- package/test/output/03. Named Resource and Actions.json +2 -0
- package/test/output/03. Named Resource and Actions.ref.json +2 -0
- package/test/output/04. Grouping Resources.json +2 -0
- package/test/output/04. Grouping Resources.ref.json +2 -0
- package/test/output/05. Responses.json +7 -1
- package/test/output/05. Responses.ref.json +7 -1
- package/test/output/06. Requests.json +9 -3
- package/test/output/06. Requests.ref.json +9 -3
- package/test/output/07. Parameters.json +12 -5
- package/test/output/07. Parameters.ref.json +12 -5
- package/test/output/08. Attributes.json +1 -0
- package/test/output/08. Attributes.ref.json +1 -0
- package/test/output/09. Advanced Attributes.json +3 -0
- package/test/output/09. Advanced Attributes.ref.json +3 -0
- package/test/output/10. Data Structures.json +3 -0
- package/test/output/10. Data Structures.ref.json +3 -0
- package/test/output/11. Resource Model.json +7 -1
- package/test/output/11. Resource Model.ref.json +7 -1
- package/test/output/12. Advanced Action.json +3 -0
- package/test/output/12. Advanced Action.ref.json +3 -0
- package/test/output/13. Named Endpoints.json +12 -2
- package/test/output/13. Named Endpoints.ref.json +12 -2
- package/test/output/Attributes.json +1 -0
- package/test/output/Attributes.ref.json +1 -0
- package/test/output/Gist Fox API + Auth.json +47 -7
- package/test/output/Gist Fox API + Auth.ref.json +47 -7
- package/test/output/Issue-#15.json +3 -0
- package/test/output/Issue-#15.ref.json +3 -0
- package/test/output/Issue-#22.json +0 -0
- package/test/output/Issue-#22.ref.json +0 -0
- package/test/output/Issue-#23.json +1 -0
- package/test/output/Issue-#23.ref.json +1 -0
- package/test/output/Issue-#26.json +2 -0
- package/test/output/Issue-#26.ref.json +2 -0
- package/test/output/Issue-#29.json +2 -0
- package/test/output/Issue-#29.ref.json +2 -0
- package/test/output/Issue-#33.json +9 -8
- package/test/output/Issue-#33.ref.json +9 -8
- package/test/output/Issue-#35.json +0 -0
- package/test/output/Issue-#35.ref.json +0 -0
- package/test/output/Issue-#36.json +1 -0
- package/test/output/Issue-#36.ref.json +1 -0
- package/test/output/Issue-#38.bearer.json +53 -52
- package/test/output/Issue-#38.json +1 -0
- package/test/output/Issue-#38.ref.json +1 -0
- package/test/output/Issue-#49.json +141 -0
- package/test/output/Issue-#49.ref.json +126 -0
- package/test/output/OpenAPI3_attributes.json +199 -0
- package/test/output/OpenAPI3_attributes.ref.json +173 -0
- package/test/output/OpenAPI3_headers.json +169 -0
- package/test/output/OpenAPI3_headers.ref.json +169 -0
- package/test/output/OpenAPI3_includes.json +66 -0
- package/test/output/OpenAPI3_includes.ref.json +66 -0
- package/test/output/OpenAPI3_requests.json +326 -0
- package/test/output/OpenAPI3_requests.ref.json +321 -0
- package/test/output/OpenAPI3_responses.json +255 -0
- package/test/output/OpenAPI3_responses.ref.json +245 -0
- package/test/output/Schema.json +3 -0
- package/test/output/Schema.ref.json +3 -0
- package/test/output/apiblueprint_uber.json +5 -0
- package/test/output/apiblueprint_uber.ref.json +5 -0
- package/test/output/apiblueprint_valid_simple.json +47 -7
- package/test/output/apiblueprint_valid_simple.ref.json +47 -7
- package/test/output/schema_without_body.json +52 -0
- package/test/output/schema_without_body.ref.json +52 -0
- package/test/swagger_20_schema.json +0 -0
- package/test/test.js +31 -15
- package/test/util.test.js +151 -0
- package/.npmignore +0 -35
|
@@ -11,7 +11,11 @@
|
|
|
11
11
|
"responses": {
|
|
12
12
|
"200": {
|
|
13
13
|
"description": "OK",
|
|
14
|
-
"headers": {
|
|
14
|
+
"headers": {
|
|
15
|
+
"Link": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
15
19
|
"examples": {
|
|
16
20
|
"application/hal+json": {
|
|
17
21
|
"_links": {
|
|
@@ -31,6 +35,7 @@
|
|
|
31
35
|
}
|
|
32
36
|
},
|
|
33
37
|
"summary": "Retrieve the Entry Point",
|
|
38
|
+
"operationId": "Retrieve the Entry Point",
|
|
34
39
|
"description": "",
|
|
35
40
|
"tags": [],
|
|
36
41
|
"parameters": [],
|
|
@@ -44,7 +49,11 @@
|
|
|
44
49
|
"responses": {
|
|
45
50
|
"200": {
|
|
46
51
|
"description": "HAL+JSON representation of Gist Resource. In addition to representing its state in the JSON form it offers affordances in the form of the HTTP Link header and HAL links.",
|
|
47
|
-
"headers": {
|
|
52
|
+
"headers": {
|
|
53
|
+
"Link": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
48
57
|
"examples": {},
|
|
49
58
|
"schema": {
|
|
50
59
|
"$ref": "#/definitions/GistModel"
|
|
@@ -52,6 +61,7 @@
|
|
|
52
61
|
}
|
|
53
62
|
},
|
|
54
63
|
"summary": "Retrieve a Single Gist",
|
|
64
|
+
"operationId": "Retrieve a Single Gist",
|
|
55
65
|
"description": "",
|
|
56
66
|
"tags": [
|
|
57
67
|
"Gist"
|
|
@@ -77,7 +87,11 @@
|
|
|
77
87
|
"responses": {
|
|
78
88
|
"200": {
|
|
79
89
|
"description": "HAL+JSON representation of Gist Resource. In addition to representing its state in the JSON form it offers affordances in the form of the HTTP Link header and HAL links.",
|
|
80
|
-
"headers": {
|
|
90
|
+
"headers": {
|
|
91
|
+
"Link": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
81
95
|
"examples": {},
|
|
82
96
|
"schema": {
|
|
83
97
|
"$ref": "#/definitions/GistModel"
|
|
@@ -85,6 +99,7 @@
|
|
|
85
99
|
}
|
|
86
100
|
},
|
|
87
101
|
"summary": "Edit a Gist",
|
|
102
|
+
"operationId": "Edit a Gist",
|
|
88
103
|
"description": "To update a Gist send a JSON with updated value for one or more of the Gist resource attributes. All attributes values (states) from the previous version of this Gist are carried over by default if not included in the hash.",
|
|
89
104
|
"tags": [
|
|
90
105
|
"Gist"
|
|
@@ -130,6 +145,7 @@
|
|
|
130
145
|
}
|
|
131
146
|
},
|
|
132
147
|
"summary": "Delete a Gist",
|
|
148
|
+
"operationId": "Delete a Gist",
|
|
133
149
|
"description": "",
|
|
134
150
|
"tags": [
|
|
135
151
|
"Gist"
|
|
@@ -157,7 +173,11 @@
|
|
|
157
173
|
"responses": {
|
|
158
174
|
"200": {
|
|
159
175
|
"description": "HAL+JSON representation of Gist Collection Resource. The Gist resources in collections are embedded. Note the embedded Gists resource are incomplete representations of the Gist in question. Use the respective Gist link to retrieve its full representation.",
|
|
160
|
-
"headers": {
|
|
176
|
+
"headers": {
|
|
177
|
+
"Link": {
|
|
178
|
+
"type": "string"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
161
181
|
"examples": {
|
|
162
182
|
"application/hal+json": {
|
|
163
183
|
"_links": {
|
|
@@ -188,6 +208,7 @@
|
|
|
188
208
|
}
|
|
189
209
|
},
|
|
190
210
|
"summary": "List All Gists",
|
|
211
|
+
"operationId": "List All Gists",
|
|
191
212
|
"description": "",
|
|
192
213
|
"tags": [
|
|
193
214
|
"Gist"
|
|
@@ -209,7 +230,11 @@
|
|
|
209
230
|
"responses": {
|
|
210
231
|
"201": {
|
|
211
232
|
"description": "HAL+JSON representation of Gist Resource. In addition to representing its state in the JSON form it offers affordances in the form of the HTTP Link header and HAL links.",
|
|
212
|
-
"headers": {
|
|
233
|
+
"headers": {
|
|
234
|
+
"Link": {
|
|
235
|
+
"type": "string"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
213
238
|
"examples": {},
|
|
214
239
|
"schema": {
|
|
215
240
|
"$ref": "#/definitions/GistModel"
|
|
@@ -217,6 +242,7 @@
|
|
|
217
242
|
}
|
|
218
243
|
},
|
|
219
244
|
"summary": "Create a Gist",
|
|
245
|
+
"operationId": "Create a Gist",
|
|
220
246
|
"description": "To create a new Gist simply provide a JSON hash of the *description* and *content* attributes for the new Gist.\n\nThis action requires an `access_token` with `gist_write` scope.",
|
|
221
247
|
"tags": [
|
|
222
248
|
"Gist"
|
|
@@ -261,6 +287,7 @@
|
|
|
261
287
|
}
|
|
262
288
|
},
|
|
263
289
|
"summary": "Star a Gist",
|
|
290
|
+
"operationId": "Star a Gist",
|
|
264
291
|
"description": "This action requires an `access_token` with `gist_write` scope.",
|
|
265
292
|
"tags": [
|
|
266
293
|
"Gist"
|
|
@@ -291,6 +318,7 @@
|
|
|
291
318
|
}
|
|
292
319
|
},
|
|
293
320
|
"summary": "Unstar a Gist",
|
|
321
|
+
"operationId": "Unstar a Gist",
|
|
294
322
|
"description": "This action requires an `access_token` with `gist_write` scope.",
|
|
295
323
|
"tags": [
|
|
296
324
|
"Gist"
|
|
@@ -316,7 +344,11 @@
|
|
|
316
344
|
"responses": {
|
|
317
345
|
"200": {
|
|
318
346
|
"description": "HAL+JSON representation of Star Resource.",
|
|
319
|
-
"headers": {
|
|
347
|
+
"headers": {
|
|
348
|
+
"Link": {
|
|
349
|
+
"type": "string"
|
|
350
|
+
}
|
|
351
|
+
},
|
|
320
352
|
"examples": {},
|
|
321
353
|
"schema": {
|
|
322
354
|
"$ref": "#/definitions/StarModel"
|
|
@@ -324,6 +356,7 @@
|
|
|
324
356
|
}
|
|
325
357
|
},
|
|
326
358
|
"summary": "Check if a Gist is Starred",
|
|
359
|
+
"operationId": "Check if a Gist is Starred",
|
|
327
360
|
"description": "",
|
|
328
361
|
"tags": [
|
|
329
362
|
"Gist"
|
|
@@ -351,7 +384,11 @@
|
|
|
351
384
|
"responses": {
|
|
352
385
|
"200": {
|
|
353
386
|
"description": "OK",
|
|
354
|
-
"headers": {
|
|
387
|
+
"headers": {
|
|
388
|
+
"Link": {
|
|
389
|
+
"type": "string"
|
|
390
|
+
}
|
|
391
|
+
},
|
|
355
392
|
"examples": {},
|
|
356
393
|
"schema": {
|
|
357
394
|
"$ref": "#/definitions/AuthorizationModel"
|
|
@@ -359,6 +396,7 @@
|
|
|
359
396
|
}
|
|
360
397
|
},
|
|
361
398
|
"summary": "Retrieve Authorization",
|
|
399
|
+
"operationId": "Retrieve Authorization",
|
|
362
400
|
"description": "",
|
|
363
401
|
"tags": [
|
|
364
402
|
"Access Authorization and Control"
|
|
@@ -379,6 +417,7 @@
|
|
|
379
417
|
}
|
|
380
418
|
},
|
|
381
419
|
"summary": "Create Authorization",
|
|
420
|
+
"operationId": "Create Authorization",
|
|
382
421
|
"description": "",
|
|
383
422
|
"tags": [
|
|
384
423
|
"Access Authorization and Control"
|
|
@@ -420,6 +459,7 @@
|
|
|
420
459
|
}
|
|
421
460
|
},
|
|
422
461
|
"summary": "Remove an Authorization",
|
|
462
|
+
"operationId": "Remove an Authorization",
|
|
423
463
|
"description": "",
|
|
424
464
|
"tags": [
|
|
425
465
|
"Access Authorization and Control"
|
|
@@ -11,7 +11,11 @@
|
|
|
11
11
|
"responses": {
|
|
12
12
|
"200": {
|
|
13
13
|
"description": "OK",
|
|
14
|
-
"headers": {
|
|
14
|
+
"headers": {
|
|
15
|
+
"Link": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
15
19
|
"examples": {
|
|
16
20
|
"application/hal+json": {
|
|
17
21
|
"_links": {
|
|
@@ -31,6 +35,7 @@
|
|
|
31
35
|
}
|
|
32
36
|
},
|
|
33
37
|
"summary": "Retrieve the Entry Point",
|
|
38
|
+
"operationId": "Retrieve the Entry Point",
|
|
34
39
|
"description": "",
|
|
35
40
|
"tags": [],
|
|
36
41
|
"parameters": [],
|
|
@@ -44,7 +49,11 @@
|
|
|
44
49
|
"responses": {
|
|
45
50
|
"200": {
|
|
46
51
|
"description": "HAL+JSON representation of Gist Resource. In addition to representing its state in the JSON form it offers affordances in the form of the HTTP Link header and HAL links.",
|
|
47
|
-
"headers": {
|
|
52
|
+
"headers": {
|
|
53
|
+
"Link": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
48
57
|
"examples": {},
|
|
49
58
|
"schema": {
|
|
50
59
|
"$ref": "#/definitions/GistModel"
|
|
@@ -52,6 +61,7 @@
|
|
|
52
61
|
}
|
|
53
62
|
},
|
|
54
63
|
"summary": "Retrieve a Single Gist",
|
|
64
|
+
"operationId": "Retrieve a Single Gist",
|
|
55
65
|
"description": "",
|
|
56
66
|
"tags": [
|
|
57
67
|
"Gist"
|
|
@@ -77,7 +87,11 @@
|
|
|
77
87
|
"responses": {
|
|
78
88
|
"200": {
|
|
79
89
|
"description": "HAL+JSON representation of Gist Resource. In addition to representing its state in the JSON form it offers affordances in the form of the HTTP Link header and HAL links.",
|
|
80
|
-
"headers": {
|
|
90
|
+
"headers": {
|
|
91
|
+
"Link": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
81
95
|
"examples": {},
|
|
82
96
|
"schema": {
|
|
83
97
|
"$ref": "#/definitions/GistModel"
|
|
@@ -85,6 +99,7 @@
|
|
|
85
99
|
}
|
|
86
100
|
},
|
|
87
101
|
"summary": "Edit a Gist",
|
|
102
|
+
"operationId": "Edit a Gist",
|
|
88
103
|
"description": "To update a Gist send a JSON with updated value for one or more of the Gist resource attributes. All attributes values (states) from the previous version of this Gist are carried over by default if not included in the hash.",
|
|
89
104
|
"tags": [
|
|
90
105
|
"Gist"
|
|
@@ -130,6 +145,7 @@
|
|
|
130
145
|
}
|
|
131
146
|
},
|
|
132
147
|
"summary": "Delete a Gist",
|
|
148
|
+
"operationId": "Delete a Gist",
|
|
133
149
|
"description": "",
|
|
134
150
|
"tags": [
|
|
135
151
|
"Gist"
|
|
@@ -157,7 +173,11 @@
|
|
|
157
173
|
"responses": {
|
|
158
174
|
"200": {
|
|
159
175
|
"description": "HAL+JSON representation of Gist Collection Resource. The Gist resources in collections are embedded. Note the embedded Gists resource are incomplete representations of the Gist in question. Use the respective Gist link to retrieve its full representation.",
|
|
160
|
-
"headers": {
|
|
176
|
+
"headers": {
|
|
177
|
+
"Link": {
|
|
178
|
+
"type": "string"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
161
181
|
"examples": {
|
|
162
182
|
"application/hal+json": {
|
|
163
183
|
"_links": {
|
|
@@ -188,6 +208,7 @@
|
|
|
188
208
|
}
|
|
189
209
|
},
|
|
190
210
|
"summary": "List All Gists",
|
|
211
|
+
"operationId": "List All Gists",
|
|
191
212
|
"description": "",
|
|
192
213
|
"tags": [
|
|
193
214
|
"Gist"
|
|
@@ -209,7 +230,11 @@
|
|
|
209
230
|
"responses": {
|
|
210
231
|
"201": {
|
|
211
232
|
"description": "HAL+JSON representation of Gist Resource. In addition to representing its state in the JSON form it offers affordances in the form of the HTTP Link header and HAL links.",
|
|
212
|
-
"headers": {
|
|
233
|
+
"headers": {
|
|
234
|
+
"Link": {
|
|
235
|
+
"type": "string"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
213
238
|
"examples": {},
|
|
214
239
|
"schema": {
|
|
215
240
|
"$ref": "#/definitions/GistModel"
|
|
@@ -217,6 +242,7 @@
|
|
|
217
242
|
}
|
|
218
243
|
},
|
|
219
244
|
"summary": "Create a Gist",
|
|
245
|
+
"operationId": "Create a Gist",
|
|
220
246
|
"description": "To create a new Gist simply provide a JSON hash of the *description* and *content* attributes for the new Gist.\n\nThis action requires an `access_token` with `gist_write` scope.",
|
|
221
247
|
"tags": [
|
|
222
248
|
"Gist"
|
|
@@ -261,6 +287,7 @@
|
|
|
261
287
|
}
|
|
262
288
|
},
|
|
263
289
|
"summary": "Star a Gist",
|
|
290
|
+
"operationId": "Star a Gist",
|
|
264
291
|
"description": "This action requires an `access_token` with `gist_write` scope.",
|
|
265
292
|
"tags": [
|
|
266
293
|
"Gist"
|
|
@@ -291,6 +318,7 @@
|
|
|
291
318
|
}
|
|
292
319
|
},
|
|
293
320
|
"summary": "Unstar a Gist",
|
|
321
|
+
"operationId": "Unstar a Gist",
|
|
294
322
|
"description": "This action requires an `access_token` with `gist_write` scope.",
|
|
295
323
|
"tags": [
|
|
296
324
|
"Gist"
|
|
@@ -316,7 +344,11 @@
|
|
|
316
344
|
"responses": {
|
|
317
345
|
"200": {
|
|
318
346
|
"description": "HAL+JSON representation of Star Resource.",
|
|
319
|
-
"headers": {
|
|
347
|
+
"headers": {
|
|
348
|
+
"Link": {
|
|
349
|
+
"type": "string"
|
|
350
|
+
}
|
|
351
|
+
},
|
|
320
352
|
"examples": {},
|
|
321
353
|
"schema": {
|
|
322
354
|
"$ref": "#/definitions/StarModel"
|
|
@@ -324,6 +356,7 @@
|
|
|
324
356
|
}
|
|
325
357
|
},
|
|
326
358
|
"summary": "Check if a Gist is Starred",
|
|
359
|
+
"operationId": "Check if a Gist is Starred",
|
|
327
360
|
"description": "",
|
|
328
361
|
"tags": [
|
|
329
362
|
"Gist"
|
|
@@ -351,7 +384,11 @@
|
|
|
351
384
|
"responses": {
|
|
352
385
|
"200": {
|
|
353
386
|
"description": "OK",
|
|
354
|
-
"headers": {
|
|
387
|
+
"headers": {
|
|
388
|
+
"Link": {
|
|
389
|
+
"type": "string"
|
|
390
|
+
}
|
|
391
|
+
},
|
|
355
392
|
"examples": {},
|
|
356
393
|
"schema": {
|
|
357
394
|
"$ref": "#/definitions/AuthorizationModel"
|
|
@@ -359,6 +396,7 @@
|
|
|
359
396
|
}
|
|
360
397
|
},
|
|
361
398
|
"summary": "Retrieve Authorization",
|
|
399
|
+
"operationId": "Retrieve Authorization",
|
|
362
400
|
"description": "",
|
|
363
401
|
"tags": [
|
|
364
402
|
"Access Authorization and Control"
|
|
@@ -379,6 +417,7 @@
|
|
|
379
417
|
}
|
|
380
418
|
},
|
|
381
419
|
"summary": "Create Authorization",
|
|
420
|
+
"operationId": "Create Authorization",
|
|
382
421
|
"description": "",
|
|
383
422
|
"tags": [
|
|
384
423
|
"Access Authorization and Control"
|
|
@@ -420,6 +459,7 @@
|
|
|
420
459
|
}
|
|
421
460
|
},
|
|
422
461
|
"summary": "Remove an Authorization",
|
|
462
|
+
"operationId": "Remove an Authorization",
|
|
423
463
|
"description": "",
|
|
424
464
|
"tags": [
|
|
425
465
|
"Access Authorization and Control"
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"summary": "Get Server Settings",
|
|
44
|
+
"operationId": "Get Server Settings",
|
|
44
45
|
"description": "",
|
|
45
46
|
"tags": [
|
|
46
47
|
"Settings"
|
|
@@ -82,6 +83,7 @@
|
|
|
82
83
|
}
|
|
83
84
|
},
|
|
84
85
|
"summary": "List all users",
|
|
86
|
+
"operationId": "List all users",
|
|
85
87
|
"description": "Get a list of all users. Optionally, you can specify a `prefix` to search for a specific user.\n\n+ prefix (string - The prefix of a user (username, first name, or last name)",
|
|
86
88
|
"tags": [
|
|
87
89
|
"Users"
|
|
@@ -186,6 +188,7 @@
|
|
|
186
188
|
}
|
|
187
189
|
},
|
|
188
190
|
"summary": "Get a specific user",
|
|
191
|
+
"operationId": "Get a specific user",
|
|
189
192
|
"description": "",
|
|
190
193
|
"tags": [
|
|
191
194
|
"Users"
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"summary": "Get Server Settings",
|
|
44
|
+
"operationId": "Get Server Settings",
|
|
44
45
|
"description": "",
|
|
45
46
|
"tags": [
|
|
46
47
|
"Settings"
|
|
@@ -82,6 +83,7 @@
|
|
|
82
83
|
}
|
|
83
84
|
},
|
|
84
85
|
"summary": "List all users",
|
|
86
|
+
"operationId": "List all users",
|
|
85
87
|
"description": "Get a list of all users. Optionally, you can specify a `prefix` to search for a specific user.\n\n+ prefix (string - The prefix of a user (username, first name, or last name)",
|
|
86
88
|
"tags": [
|
|
87
89
|
"Users"
|
|
@@ -123,6 +125,7 @@
|
|
|
123
125
|
}
|
|
124
126
|
},
|
|
125
127
|
"summary": "Get a specific user",
|
|
128
|
+
"operationId": "Get a specific user",
|
|
126
129
|
"description": "",
|
|
127
130
|
"tags": [
|
|
128
131
|
"Users"
|
|
File without changes
|
|
File without changes
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"summary": "Get Store",
|
|
64
|
+
"operationId": "Get Store",
|
|
64
65
|
"description": "",
|
|
65
66
|
"tags": [
|
|
66
67
|
"Stores"
|
|
@@ -133,6 +134,7 @@
|
|
|
133
134
|
}
|
|
134
135
|
},
|
|
135
136
|
"summary": "Update Store",
|
|
137
|
+
"operationId": "Update Store",
|
|
136
138
|
"description": "Updates an existing store. This call does not currently support partial updates. The entire resource must be provided in the body of the request.",
|
|
137
139
|
"tags": [
|
|
138
140
|
"Stores"
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"summary": "Get Store",
|
|
64
|
+
"operationId": "Get Store",
|
|
64
65
|
"description": "",
|
|
65
66
|
"tags": [
|
|
66
67
|
"Stores"
|
|
@@ -133,6 +134,7 @@
|
|
|
133
134
|
}
|
|
134
135
|
},
|
|
135
136
|
"summary": "Update Store",
|
|
137
|
+
"operationId": "Update Store",
|
|
136
138
|
"description": "Updates an existing store. This call does not currently support partial updates. The entire resource must be provided in the body of the request.",
|
|
137
139
|
"tags": [
|
|
138
140
|
"Stores"
|
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
"summary": "Retrieve A Post",
|
|
80
|
+
"operationId": "Retrieve A Post",
|
|
80
81
|
"description": "",
|
|
81
82
|
"tags": [],
|
|
82
83
|
"parameters": [
|
|
@@ -104,6 +105,7 @@
|
|
|
104
105
|
}
|
|
105
106
|
},
|
|
106
107
|
"summary": "Create Post",
|
|
108
|
+
"operationId": "Create Post",
|
|
107
109
|
"description": "",
|
|
108
110
|
"tags": [],
|
|
109
111
|
"parameters": [
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"summary": "Retrieve A Post",
|
|
42
|
+
"operationId": "Retrieve A Post",
|
|
42
43
|
"description": "",
|
|
43
44
|
"tags": [],
|
|
44
45
|
"parameters": [
|
|
@@ -66,6 +67,7 @@
|
|
|
66
67
|
}
|
|
67
68
|
},
|
|
68
69
|
"summary": "Create Post",
|
|
70
|
+
"operationId": "Create Post",
|
|
69
71
|
"description": "",
|
|
70
72
|
"tags": [],
|
|
71
73
|
"parameters": [
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
"summary": "Get Plans of People",
|
|
100
|
+
"operationId": "Get Plans of People",
|
|
100
101
|
"description": "* Paginated ✖\n\n* Sortable ✖\n\n* Signable ✖\n\n#### Error Codes\n\nPossible error codes for this resource.\n\n| HTTP Status Code | Error Code | Purpose |\n| ----------------- | ----------------- | --------- |\n| 400 | VALIDATION\\_ERROR | Validation error. |\n| 400 | FIELD\\_MISSING | A required field is missing. |",
|
|
101
102
|
"tags": [
|
|
102
103
|
"People"
|
|
@@ -119,20 +120,20 @@
|
|
|
119
120
|
"type": "string"
|
|
120
121
|
},
|
|
121
122
|
{
|
|
122
|
-
"description": "e.g. <here comes some key>",
|
|
123
|
-
"in": "header",
|
|
124
123
|
"name": "some-key",
|
|
124
|
+
"in": "header",
|
|
125
|
+
"description": "e.g. <here comes some key>",
|
|
125
126
|
"required": false,
|
|
126
|
-
"
|
|
127
|
-
"
|
|
127
|
+
"x-example": "<here comes some key>",
|
|
128
|
+
"type": "string"
|
|
128
129
|
},
|
|
129
130
|
{
|
|
130
|
-
"description": "e.g. <here comes some token>",
|
|
131
|
-
"in": "header",
|
|
132
131
|
"name": "auth",
|
|
132
|
+
"in": "header",
|
|
133
|
+
"description": "e.g. <here comes some token>",
|
|
133
134
|
"required": false,
|
|
134
|
-
"
|
|
135
|
-
"
|
|
135
|
+
"x-example": "<here comes some token>",
|
|
136
|
+
"type": "string"
|
|
136
137
|
}
|
|
137
138
|
],
|
|
138
139
|
"produces": [
|
|
@@ -87,6 +87,7 @@
|
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
89
|
"summary": "Get Plans of People",
|
|
90
|
+
"operationId": "Get Plans of People",
|
|
90
91
|
"description": "* Paginated ✖\n\n* Sortable ✖\n\n* Signable ✖\n\n#### Error Codes\n\nPossible error codes for this resource.\n\n| HTTP Status Code | Error Code | Purpose |\n| ----------------- | ----------------- | --------- |\n| 400 | VALIDATION\\_ERROR | Validation error. |\n| 400 | FIELD\\_MISSING | A required field is missing. |",
|
|
91
92
|
"tags": [
|
|
92
93
|
"People"
|
|
@@ -109,20 +110,20 @@
|
|
|
109
110
|
"type": "string"
|
|
110
111
|
},
|
|
111
112
|
{
|
|
112
|
-
"description": "e.g. <here comes some key>",
|
|
113
|
-
"in": "header",
|
|
114
113
|
"name": "some-key",
|
|
114
|
+
"in": "header",
|
|
115
|
+
"description": "e.g. <here comes some key>",
|
|
115
116
|
"required": false,
|
|
116
|
-
"
|
|
117
|
-
"
|
|
117
|
+
"x-example": "<here comes some key>",
|
|
118
|
+
"type": "string"
|
|
118
119
|
},
|
|
119
120
|
{
|
|
120
|
-
"description": "e.g. <here comes some token>",
|
|
121
|
-
"in": "header",
|
|
122
121
|
"name": "auth",
|
|
122
|
+
"in": "header",
|
|
123
|
+
"description": "e.g. <here comes some token>",
|
|
123
124
|
"required": false,
|
|
124
|
-
"
|
|
125
|
-
"
|
|
125
|
+
"x-example": "<here comes some token>",
|
|
126
|
+
"type": "string"
|
|
126
127
|
}
|
|
127
128
|
],
|
|
128
129
|
"produces": [
|
|
File without changes
|
|
File without changes
|