@flink-app/management-api-plugin 0.11.9 → 0.11.14
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/.flink/generatedHandlers.ts +1 -1
- package/.flink/generatedJobs.ts +1 -1
- package/.flink/generatedRepos.ts +1 -1
- package/.flink/schemas/schemas.ts +1 -1
- package/.flink/start.ts +1 -1
- package/dist/.flink/generatedHandlers.js +1 -1
- package/dist/.flink/generatedJobs.js +1 -1
- package/dist/.flink/generatedRepos.js +1 -1
- package/dist/.flink/start.js +1 -1
- package/package.json +33 -34
- package/.flink/generated-schemas.json +0 -297
- package/dist/.flink/generated-schemas.json +0 -270
- package/dist/.flink/schemas.json +0 -722
- package/dist/src/handlers/Management/Get.d.ts +0 -7
- package/dist/src/handlers/Management/Get.js +0 -53
- package/dist/src/schemas/ManagementApi.d.ts +0 -25
- package/dist/src/schemas/ManagementApi.js +0 -8
package/dist/.flink/schemas.json
DELETED
|
@@ -1,722 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"GetManagementReq": {
|
|
3
|
-
"type": "object",
|
|
4
|
-
"additionalProperties": false
|
|
5
|
-
},
|
|
6
|
-
"Module": {
|
|
7
|
-
"type": "object",
|
|
8
|
-
"properties": {
|
|
9
|
-
"isPreloading": {
|
|
10
|
-
"description": "`true` if the module is running during the Node.js preload",
|
|
11
|
-
"type": "boolean"
|
|
12
|
-
},
|
|
13
|
-
"exports": {},
|
|
14
|
-
"require": {
|
|
15
|
-
"$ref": "#/definitions/NodeJS.Require"
|
|
16
|
-
},
|
|
17
|
-
"id": {
|
|
18
|
-
"type": "string"
|
|
19
|
-
},
|
|
20
|
-
"filename": {
|
|
21
|
-
"type": "string"
|
|
22
|
-
},
|
|
23
|
-
"loaded": {
|
|
24
|
-
"type": "boolean"
|
|
25
|
-
},
|
|
26
|
-
"parent": {
|
|
27
|
-
"$ref": "#/definitions/NodeJS.Module"
|
|
28
|
-
},
|
|
29
|
-
"children": {
|
|
30
|
-
"type": "array",
|
|
31
|
-
"items": {
|
|
32
|
-
"$ref": "#/definitions/NodeJS.Module"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"path": {
|
|
36
|
-
"type": "string"
|
|
37
|
-
},
|
|
38
|
-
"paths": {
|
|
39
|
-
"type": "array",
|
|
40
|
-
"items": {
|
|
41
|
-
"type": "string"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"additionalProperties": false,
|
|
46
|
-
"required": [
|
|
47
|
-
"children",
|
|
48
|
-
"exports",
|
|
49
|
-
"filename",
|
|
50
|
-
"id",
|
|
51
|
-
"isPreloading",
|
|
52
|
-
"loaded",
|
|
53
|
-
"parent",
|
|
54
|
-
"path",
|
|
55
|
-
"paths",
|
|
56
|
-
"require"
|
|
57
|
-
]
|
|
58
|
-
},
|
|
59
|
-
"ManagementApiEndpoint": {
|
|
60
|
-
"type": "object",
|
|
61
|
-
"properties": {
|
|
62
|
-
"config": {
|
|
63
|
-
"type": "object",
|
|
64
|
-
"properties": {
|
|
65
|
-
"schema": {
|
|
66
|
-
"type": "object",
|
|
67
|
-
"properties": {
|
|
68
|
-
"reqSchema": {
|
|
69
|
-
"$ref": "#/definitions/Definition"
|
|
70
|
-
},
|
|
71
|
-
"resSchema": {
|
|
72
|
-
"$ref": "#/definitions/Definition"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"additionalProperties": false
|
|
76
|
-
},
|
|
77
|
-
"routeProps": {
|
|
78
|
-
"description": "Route props to control routing.\n\nEach handler needs to declare RouteProps which\ninstructs express web server how to route traffic.",
|
|
79
|
-
"type": "object",
|
|
80
|
-
"properties": {
|
|
81
|
-
"method": {
|
|
82
|
-
"description": "HTTP method which this handlers responds to.\n\nWill if not set attempt to extract HTTP method based\non handler file name prefix, for example `GetFoo.ts` will assume\nHTTP method `GET`.",
|
|
83
|
-
"enum": [
|
|
84
|
-
"delete",
|
|
85
|
-
"get",
|
|
86
|
-
"post",
|
|
87
|
-
"put"
|
|
88
|
-
],
|
|
89
|
-
"type": "string"
|
|
90
|
-
},
|
|
91
|
-
"path": {
|
|
92
|
-
"description": "Route path including any path params.\nExample: `/user/:id`",
|
|
93
|
-
"type": "string"
|
|
94
|
-
},
|
|
95
|
-
"mockApi": {
|
|
96
|
-
"description": "Generates mock response based on handlers response schema.\n\nWill be ignored if handler does not have any response schema defined.\n\nThis should only be used during development 💥",
|
|
97
|
-
"type": "boolean"
|
|
98
|
-
},
|
|
99
|
-
"permissions": {
|
|
100
|
-
"description": "Set permissions needed to access route if route requires authentication.",
|
|
101
|
-
"anyOf": [
|
|
102
|
-
{
|
|
103
|
-
"type": "array",
|
|
104
|
-
"items": {
|
|
105
|
-
"type": "string"
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"type": "string"
|
|
110
|
-
}
|
|
111
|
-
]
|
|
112
|
-
},
|
|
113
|
-
"docs": {
|
|
114
|
-
"description": "Optional documentation of endpoint. Can be used for example in API docs.\nSupports markdown strings.",
|
|
115
|
-
"type": "string"
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
"additionalProperties": false,
|
|
119
|
-
"required": [
|
|
120
|
-
"path"
|
|
121
|
-
]
|
|
122
|
-
},
|
|
123
|
-
"origin": {
|
|
124
|
-
"description": "I.e. filename or plugin name that describes where handler origins from",
|
|
125
|
-
"type": "string"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"additionalProperties": false,
|
|
129
|
-
"required": [
|
|
130
|
-
"routeProps"
|
|
131
|
-
]
|
|
132
|
-
},
|
|
133
|
-
"handlerFn": {
|
|
134
|
-
"description": "Http handler function that handlers implements in order to\nhandle HTTP requests and return a JSON response.",
|
|
135
|
-
"type": "object",
|
|
136
|
-
"additionalProperties": false
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
"additionalProperties": false,
|
|
140
|
-
"required": [
|
|
141
|
-
"config",
|
|
142
|
-
"handlerFn"
|
|
143
|
-
]
|
|
144
|
-
},
|
|
145
|
-
"ManagementApiType": {
|
|
146
|
-
"enum": [
|
|
147
|
-
"MANAGEMENT_USER",
|
|
148
|
-
"USER"
|
|
149
|
-
],
|
|
150
|
-
"type": "string"
|
|
151
|
-
},
|
|
152
|
-
"ManagementApiModule": {
|
|
153
|
-
"type": "object",
|
|
154
|
-
"properties": {
|
|
155
|
-
"id": {
|
|
156
|
-
"type": "string"
|
|
157
|
-
},
|
|
158
|
-
"type": {
|
|
159
|
-
"enum": [
|
|
160
|
-
"MANAGEMENT_USER",
|
|
161
|
-
"USER"
|
|
162
|
-
],
|
|
163
|
-
"type": "string"
|
|
164
|
-
},
|
|
165
|
-
"endpoints": {
|
|
166
|
-
"type": "array",
|
|
167
|
-
"items": {
|
|
168
|
-
"type": "object",
|
|
169
|
-
"properties": {
|
|
170
|
-
"config": {
|
|
171
|
-
"type": "object",
|
|
172
|
-
"properties": {
|
|
173
|
-
"schema": {
|
|
174
|
-
"type": "object",
|
|
175
|
-
"properties": {
|
|
176
|
-
"reqSchema": {
|
|
177
|
-
"$ref": "#/definitions/Definition"
|
|
178
|
-
},
|
|
179
|
-
"resSchema": {
|
|
180
|
-
"$ref": "#/definitions/Definition"
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
"additionalProperties": false
|
|
184
|
-
},
|
|
185
|
-
"routeProps": {
|
|
186
|
-
"description": "Route props to control routing.\n\nEach handler needs to declare RouteProps which\ninstructs express web server how to route traffic.",
|
|
187
|
-
"type": "object",
|
|
188
|
-
"properties": {
|
|
189
|
-
"method": {
|
|
190
|
-
"description": "HTTP method which this handlers responds to.\n\nWill if not set attempt to extract HTTP method based\non handler file name prefix, for example `GetFoo.ts` will assume\nHTTP method `GET`.",
|
|
191
|
-
"enum": [
|
|
192
|
-
"delete",
|
|
193
|
-
"get",
|
|
194
|
-
"post",
|
|
195
|
-
"put"
|
|
196
|
-
],
|
|
197
|
-
"type": "string"
|
|
198
|
-
},
|
|
199
|
-
"path": {
|
|
200
|
-
"description": "Route path including any path params.\nExample: `/user/:id`",
|
|
201
|
-
"type": "string"
|
|
202
|
-
},
|
|
203
|
-
"mockApi": {
|
|
204
|
-
"description": "Generates mock response based on handlers response schema.\n\nWill be ignored if handler does not have any response schema defined.\n\nThis should only be used during development 💥",
|
|
205
|
-
"type": "boolean"
|
|
206
|
-
},
|
|
207
|
-
"permissions": {
|
|
208
|
-
"description": "Set permissions needed to access route if route requires authentication.",
|
|
209
|
-
"anyOf": [
|
|
210
|
-
{
|
|
211
|
-
"type": "array",
|
|
212
|
-
"items": {
|
|
213
|
-
"type": "string"
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
"type": "string"
|
|
218
|
-
}
|
|
219
|
-
]
|
|
220
|
-
},
|
|
221
|
-
"docs": {
|
|
222
|
-
"description": "Optional documentation of endpoint. Can be used for example in API docs.\nSupports markdown strings.",
|
|
223
|
-
"type": "string"
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
"additionalProperties": false,
|
|
227
|
-
"required": [
|
|
228
|
-
"path"
|
|
229
|
-
]
|
|
230
|
-
},
|
|
231
|
-
"origin": {
|
|
232
|
-
"description": "I.e. filename or plugin name that describes where handler origins from",
|
|
233
|
-
"type": "string"
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
"additionalProperties": false,
|
|
237
|
-
"required": [
|
|
238
|
-
"routeProps"
|
|
239
|
-
]
|
|
240
|
-
},
|
|
241
|
-
"handlerFn": {
|
|
242
|
-
"description": "Http handler function that handlers implements in order to\nhandle HTTP requests and return a JSON response.",
|
|
243
|
-
"type": "object",
|
|
244
|
-
"additionalProperties": false
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
"additionalProperties": false,
|
|
248
|
-
"required": [
|
|
249
|
-
"config",
|
|
250
|
-
"handlerFn"
|
|
251
|
-
]
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
"ui": {
|
|
255
|
-
"type": "object",
|
|
256
|
-
"additionalProperties": false
|
|
257
|
-
},
|
|
258
|
-
"uiSettings": {
|
|
259
|
-
"type": "object",
|
|
260
|
-
"properties": {
|
|
261
|
-
"title": {
|
|
262
|
-
"type": "string"
|
|
263
|
-
},
|
|
264
|
-
"icon": {
|
|
265
|
-
"type": "string"
|
|
266
|
-
}
|
|
267
|
-
},
|
|
268
|
-
"additionalProperties": false,
|
|
269
|
-
"required": [
|
|
270
|
-
"icon",
|
|
271
|
-
"title"
|
|
272
|
-
]
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
"additionalProperties": false,
|
|
276
|
-
"required": [
|
|
277
|
-
"endpoints",
|
|
278
|
-
"id",
|
|
279
|
-
"type",
|
|
280
|
-
"ui"
|
|
281
|
-
]
|
|
282
|
-
},
|
|
283
|
-
"ManagementApiOptions": {
|
|
284
|
-
"type": "object",
|
|
285
|
-
"properties": {
|
|
286
|
-
"token": {
|
|
287
|
-
"type": "string"
|
|
288
|
-
},
|
|
289
|
-
"baseUrl": {
|
|
290
|
-
"type": "string"
|
|
291
|
-
},
|
|
292
|
-
"jwtSecret": {
|
|
293
|
-
"type": "string"
|
|
294
|
-
},
|
|
295
|
-
"modules": {
|
|
296
|
-
"type": "array",
|
|
297
|
-
"items": {
|
|
298
|
-
"type": "object",
|
|
299
|
-
"properties": {
|
|
300
|
-
"id": {
|
|
301
|
-
"type": "string"
|
|
302
|
-
},
|
|
303
|
-
"type": {
|
|
304
|
-
"enum": [
|
|
305
|
-
"MANAGEMENT_USER",
|
|
306
|
-
"USER"
|
|
307
|
-
],
|
|
308
|
-
"type": "string"
|
|
309
|
-
},
|
|
310
|
-
"endpoints": {
|
|
311
|
-
"type": "array",
|
|
312
|
-
"items": {
|
|
313
|
-
"type": "object",
|
|
314
|
-
"properties": {
|
|
315
|
-
"config": {
|
|
316
|
-
"type": "object",
|
|
317
|
-
"properties": {
|
|
318
|
-
"schema": {
|
|
319
|
-
"type": "object",
|
|
320
|
-
"properties": {
|
|
321
|
-
"reqSchema": {
|
|
322
|
-
"$ref": "#/definitions/Definition"
|
|
323
|
-
},
|
|
324
|
-
"resSchema": {
|
|
325
|
-
"$ref": "#/definitions/Definition"
|
|
326
|
-
}
|
|
327
|
-
},
|
|
328
|
-
"additionalProperties": false
|
|
329
|
-
},
|
|
330
|
-
"routeProps": {
|
|
331
|
-
"description": "Route props to control routing.\n\nEach handler needs to declare RouteProps which\ninstructs express web server how to route traffic.",
|
|
332
|
-
"type": "object",
|
|
333
|
-
"properties": {
|
|
334
|
-
"method": {
|
|
335
|
-
"description": "HTTP method which this handlers responds to.\n\nWill if not set attempt to extract HTTP method based\non handler file name prefix, for example `GetFoo.ts` will assume\nHTTP method `GET`.",
|
|
336
|
-
"enum": [
|
|
337
|
-
"delete",
|
|
338
|
-
"get",
|
|
339
|
-
"post",
|
|
340
|
-
"put"
|
|
341
|
-
],
|
|
342
|
-
"type": "string"
|
|
343
|
-
},
|
|
344
|
-
"path": {
|
|
345
|
-
"description": "Route path including any path params.\nExample: `/user/:id`",
|
|
346
|
-
"type": "string"
|
|
347
|
-
},
|
|
348
|
-
"mockApi": {
|
|
349
|
-
"description": "Generates mock response based on handlers response schema.\n\nWill be ignored if handler does not have any response schema defined.\n\nThis should only be used during development 💥",
|
|
350
|
-
"type": "boolean"
|
|
351
|
-
},
|
|
352
|
-
"permissions": {
|
|
353
|
-
"description": "Set permissions needed to access route if route requires authentication.",
|
|
354
|
-
"anyOf": [
|
|
355
|
-
{
|
|
356
|
-
"type": "array",
|
|
357
|
-
"items": {
|
|
358
|
-
"type": "string"
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
"type": "string"
|
|
363
|
-
}
|
|
364
|
-
]
|
|
365
|
-
},
|
|
366
|
-
"docs": {
|
|
367
|
-
"description": "Optional documentation of endpoint. Can be used for example in API docs.\nSupports markdown strings.",
|
|
368
|
-
"type": "string"
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
|
-
"additionalProperties": false,
|
|
372
|
-
"required": [
|
|
373
|
-
"path"
|
|
374
|
-
]
|
|
375
|
-
},
|
|
376
|
-
"origin": {
|
|
377
|
-
"description": "I.e. filename or plugin name that describes where handler origins from",
|
|
378
|
-
"type": "string"
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
"additionalProperties": false,
|
|
382
|
-
"required": [
|
|
383
|
-
"routeProps"
|
|
384
|
-
]
|
|
385
|
-
},
|
|
386
|
-
"handlerFn": {
|
|
387
|
-
"description": "Http handler function that handlers implements in order to\nhandle HTTP requests and return a JSON response.",
|
|
388
|
-
"type": "object",
|
|
389
|
-
"additionalProperties": false
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
"additionalProperties": false,
|
|
393
|
-
"required": [
|
|
394
|
-
"config",
|
|
395
|
-
"handlerFn"
|
|
396
|
-
]
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
|
-
"ui": {
|
|
400
|
-
"type": "object",
|
|
401
|
-
"additionalProperties": false
|
|
402
|
-
},
|
|
403
|
-
"uiSettings": {
|
|
404
|
-
"type": "object",
|
|
405
|
-
"properties": {
|
|
406
|
-
"title": {
|
|
407
|
-
"type": "string"
|
|
408
|
-
},
|
|
409
|
-
"icon": {
|
|
410
|
-
"type": "string"
|
|
411
|
-
}
|
|
412
|
-
},
|
|
413
|
-
"additionalProperties": false,
|
|
414
|
-
"required": [
|
|
415
|
-
"icon",
|
|
416
|
-
"title"
|
|
417
|
-
]
|
|
418
|
-
}
|
|
419
|
-
},
|
|
420
|
-
"additionalProperties": false,
|
|
421
|
-
"required": [
|
|
422
|
-
"endpoints",
|
|
423
|
-
"id",
|
|
424
|
-
"type",
|
|
425
|
-
"ui"
|
|
426
|
-
]
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
},
|
|
430
|
-
"additionalProperties": false,
|
|
431
|
-
"required": [
|
|
432
|
-
"jwtSecret",
|
|
433
|
-
"modules",
|
|
434
|
-
"token"
|
|
435
|
-
]
|
|
436
|
-
},
|
|
437
|
-
"ModuleList": {
|
|
438
|
-
"type": "object",
|
|
439
|
-
"properties": {
|
|
440
|
-
"modules": {
|
|
441
|
-
"type": "array",
|
|
442
|
-
"items": {
|
|
443
|
-
"type": "object",
|
|
444
|
-
"properties": {
|
|
445
|
-
"id": {
|
|
446
|
-
"type": "string"
|
|
447
|
-
},
|
|
448
|
-
"type": {
|
|
449
|
-
"type": "string"
|
|
450
|
-
},
|
|
451
|
-
"icon": {
|
|
452
|
-
"type": "string"
|
|
453
|
-
},
|
|
454
|
-
"title": {
|
|
455
|
-
"type": "string"
|
|
456
|
-
},
|
|
457
|
-
"ui": {
|
|
458
|
-
"type": "string"
|
|
459
|
-
}
|
|
460
|
-
},
|
|
461
|
-
"additionalProperties": false,
|
|
462
|
-
"required": [
|
|
463
|
-
"icon",
|
|
464
|
-
"id",
|
|
465
|
-
"title",
|
|
466
|
-
"type",
|
|
467
|
-
"ui"
|
|
468
|
-
]
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
},
|
|
472
|
-
"additionalProperties": false,
|
|
473
|
-
"required": [
|
|
474
|
-
"modules"
|
|
475
|
-
]
|
|
476
|
-
},
|
|
477
|
-
"GetManagementRes": {
|
|
478
|
-
"type": "object",
|
|
479
|
-
"properties": {
|
|
480
|
-
"modules": {
|
|
481
|
-
"type": "array",
|
|
482
|
-
"items": {
|
|
483
|
-
"type": "object",
|
|
484
|
-
"properties": {
|
|
485
|
-
"id": {
|
|
486
|
-
"type": "string"
|
|
487
|
-
},
|
|
488
|
-
"type": {
|
|
489
|
-
"type": "string"
|
|
490
|
-
},
|
|
491
|
-
"icon": {
|
|
492
|
-
"type": "string"
|
|
493
|
-
},
|
|
494
|
-
"title": {
|
|
495
|
-
"type": "string"
|
|
496
|
-
},
|
|
497
|
-
"ui": {
|
|
498
|
-
"type": "string"
|
|
499
|
-
}
|
|
500
|
-
},
|
|
501
|
-
"additionalProperties": false,
|
|
502
|
-
"required": [
|
|
503
|
-
"icon",
|
|
504
|
-
"id",
|
|
505
|
-
"title",
|
|
506
|
-
"type",
|
|
507
|
-
"ui"
|
|
508
|
-
]
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
},
|
|
512
|
-
"additionalProperties": false,
|
|
513
|
-
"required": [
|
|
514
|
-
"modules"
|
|
515
|
-
]
|
|
516
|
-
},
|
|
517
|
-
"ManagementUser": {
|
|
518
|
-
"type": "object",
|
|
519
|
-
"properties": {
|
|
520
|
-
"_id": {
|
|
521
|
-
"type": "string"
|
|
522
|
-
},
|
|
523
|
-
"username": {
|
|
524
|
-
"type": "string"
|
|
525
|
-
},
|
|
526
|
-
"password": {
|
|
527
|
-
"type": "string"
|
|
528
|
-
},
|
|
529
|
-
"salt": {
|
|
530
|
-
"type": "string"
|
|
531
|
-
}
|
|
532
|
-
},
|
|
533
|
-
"additionalProperties": false,
|
|
534
|
-
"required": [
|
|
535
|
-
"_id",
|
|
536
|
-
"password",
|
|
537
|
-
"salt",
|
|
538
|
-
"username"
|
|
539
|
-
]
|
|
540
|
-
},
|
|
541
|
-
"ManagementUserViewModel": {
|
|
542
|
-
"type": "object",
|
|
543
|
-
"properties": {
|
|
544
|
-
"_id": {
|
|
545
|
-
"type": "string"
|
|
546
|
-
},
|
|
547
|
-
"username": {
|
|
548
|
-
"type": "string"
|
|
549
|
-
}
|
|
550
|
-
},
|
|
551
|
-
"additionalProperties": false,
|
|
552
|
-
"required": [
|
|
553
|
-
"_id",
|
|
554
|
-
"username"
|
|
555
|
-
]
|
|
556
|
-
},
|
|
557
|
-
"DeleteUserByUseridReq": {
|
|
558
|
-
"type": "object",
|
|
559
|
-
"additionalProperties": false
|
|
560
|
-
},
|
|
561
|
-
"DeleteUserByUseridRes": {
|
|
562
|
-
"type": "object",
|
|
563
|
-
"additionalProperties": false
|
|
564
|
-
},
|
|
565
|
-
"GetUserByUseridReq": {
|
|
566
|
-
"type": "object",
|
|
567
|
-
"additionalProperties": false
|
|
568
|
-
},
|
|
569
|
-
"GetUserByUseridRes": {
|
|
570
|
-
"type": "object",
|
|
571
|
-
"properties": {
|
|
572
|
-
"_id": {
|
|
573
|
-
"type": "string"
|
|
574
|
-
},
|
|
575
|
-
"username": {
|
|
576
|
-
"type": "string"
|
|
577
|
-
}
|
|
578
|
-
},
|
|
579
|
-
"additionalProperties": false,
|
|
580
|
-
"required": [
|
|
581
|
-
"_id",
|
|
582
|
-
"username"
|
|
583
|
-
]
|
|
584
|
-
},
|
|
585
|
-
"GetUserListReq": {
|
|
586
|
-
"type": "object",
|
|
587
|
-
"additionalProperties": false
|
|
588
|
-
},
|
|
589
|
-
"GetUserListRes": {
|
|
590
|
-
"type": "object",
|
|
591
|
-
"properties": {
|
|
592
|
-
"users": {
|
|
593
|
-
"type": "array",
|
|
594
|
-
"items": {
|
|
595
|
-
"type": "object",
|
|
596
|
-
"properties": {
|
|
597
|
-
"_id": {
|
|
598
|
-
"type": "string"
|
|
599
|
-
},
|
|
600
|
-
"username": {
|
|
601
|
-
"type": "string"
|
|
602
|
-
}
|
|
603
|
-
},
|
|
604
|
-
"additionalProperties": false,
|
|
605
|
-
"required": [
|
|
606
|
-
"_id",
|
|
607
|
-
"username"
|
|
608
|
-
]
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
},
|
|
612
|
-
"additionalProperties": false,
|
|
613
|
-
"required": [
|
|
614
|
-
"users"
|
|
615
|
-
]
|
|
616
|
-
},
|
|
617
|
-
"PostUserLoginReq": {
|
|
618
|
-
"type": "object",
|
|
619
|
-
"properties": {
|
|
620
|
-
"username": {
|
|
621
|
-
"type": "string"
|
|
622
|
-
},
|
|
623
|
-
"password": {
|
|
624
|
-
"type": "string"
|
|
625
|
-
}
|
|
626
|
-
},
|
|
627
|
-
"additionalProperties": false,
|
|
628
|
-
"required": [
|
|
629
|
-
"password",
|
|
630
|
-
"username"
|
|
631
|
-
]
|
|
632
|
-
},
|
|
633
|
-
"PostUserLoginRes": {
|
|
634
|
-
"type": "object",
|
|
635
|
-
"properties": {
|
|
636
|
-
"user": {
|
|
637
|
-
"type": "object",
|
|
638
|
-
"properties": {
|
|
639
|
-
"_id": {
|
|
640
|
-
"type": "string"
|
|
641
|
-
},
|
|
642
|
-
"username": {
|
|
643
|
-
"type": "string"
|
|
644
|
-
}
|
|
645
|
-
},
|
|
646
|
-
"additionalProperties": false,
|
|
647
|
-
"required": [
|
|
648
|
-
"_id",
|
|
649
|
-
"username"
|
|
650
|
-
]
|
|
651
|
-
},
|
|
652
|
-
"token": {
|
|
653
|
-
"type": "string"
|
|
654
|
-
}
|
|
655
|
-
},
|
|
656
|
-
"additionalProperties": false,
|
|
657
|
-
"required": [
|
|
658
|
-
"token",
|
|
659
|
-
"user"
|
|
660
|
-
]
|
|
661
|
-
},
|
|
662
|
-
"PostUserReq": {
|
|
663
|
-
"type": "object",
|
|
664
|
-
"properties": {
|
|
665
|
-
"password": {
|
|
666
|
-
"type": "string"
|
|
667
|
-
},
|
|
668
|
-
"username": {
|
|
669
|
-
"type": "string"
|
|
670
|
-
}
|
|
671
|
-
},
|
|
672
|
-
"additionalProperties": false,
|
|
673
|
-
"required": [
|
|
674
|
-
"password",
|
|
675
|
-
"username"
|
|
676
|
-
]
|
|
677
|
-
},
|
|
678
|
-
"PostUserRes": {
|
|
679
|
-
"type": "object",
|
|
680
|
-
"properties": {
|
|
681
|
-
"_id": {
|
|
682
|
-
"type": "string"
|
|
683
|
-
},
|
|
684
|
-
"username": {
|
|
685
|
-
"type": "string"
|
|
686
|
-
}
|
|
687
|
-
},
|
|
688
|
-
"additionalProperties": false,
|
|
689
|
-
"required": [
|
|
690
|
-
"_id",
|
|
691
|
-
"username"
|
|
692
|
-
]
|
|
693
|
-
},
|
|
694
|
-
"PutUserByUseridReq": {
|
|
695
|
-
"type": "object",
|
|
696
|
-
"properties": {
|
|
697
|
-
"password": {
|
|
698
|
-
"type": "string"
|
|
699
|
-
},
|
|
700
|
-
"username": {
|
|
701
|
-
"type": "string"
|
|
702
|
-
}
|
|
703
|
-
},
|
|
704
|
-
"additionalProperties": false
|
|
705
|
-
},
|
|
706
|
-
"PutUserByUseridRes": {
|
|
707
|
-
"type": "object",
|
|
708
|
-
"properties": {
|
|
709
|
-
"_id": {
|
|
710
|
-
"type": "string"
|
|
711
|
-
},
|
|
712
|
-
"username": {
|
|
713
|
-
"type": "string"
|
|
714
|
-
}
|
|
715
|
-
},
|
|
716
|
-
"additionalProperties": false,
|
|
717
|
-
"required": [
|
|
718
|
-
"_id",
|
|
719
|
-
"username"
|
|
720
|
-
]
|
|
721
|
-
}
|
|
722
|
-
}
|