@flink-app/management-api-plugin 0.5.2 → 0.7.0-alpha.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/.flink/generatedHandlers.ts +6 -9
- package/.flink/generatedJobs.ts +1 -1
- package/.flink/generatedRepos.ts +1 -1
- package/.flink/schemas/schemas.json +0 -151
- package/.flink/schemas/schemas.ts +1 -1
- package/.flink/start.ts +1 -1
- package/dist/.flink/generated-schemas.json +270 -0
- package/dist/.flink/generatedHandlers.d.ts +227 -9
- package/dist/.flink/generatedHandlers.js +6 -6
- package/dist/.flink/generatedJobs.js +1 -1
- package/dist/.flink/generatedRepos.js +1 -1
- package/dist/.flink/schemas/schemas.json +0 -151
- package/dist/.flink/schemas.json +722 -0
- package/dist/.flink/start.js +1 -1
- package/dist/src/handlers/Management/GetManagement.d.ts +0 -2
- package/dist/src/handlers/Management/GetManagement.js +0 -3
- package/dist/src/handlers/User/DeleteByUserid.d.ts +0 -2
- package/dist/src/handlers/User/DeleteByUserid.js +1 -3
- package/dist/src/handlers/User/GetByUserid.d.ts +0 -2
- package/dist/src/handlers/User/GetByUserid.js +1 -3
- package/dist/src/handlers/User/GetList.d.ts +0 -2
- package/dist/src/handlers/User/GetList.js +0 -3
- package/dist/src/handlers/User/GetMe.d.ts +0 -2
- package/dist/src/handlers/User/GetMe.js +0 -3
- package/dist/src/handlers/User/Post.d.ts +0 -2
- package/dist/src/handlers/User/Post.js +1 -3
- package/dist/src/handlers/User/PostLogin.d.ts +0 -2
- package/dist/src/handlers/User/PostLogin.js +1 -3
- package/dist/src/handlers/User/PutByUserid.d.ts +0 -2
- package/dist/src/handlers/User/PutByUserid.js +1 -3
- package/dist/src/schemas/ManagementApi.d.ts +25 -0
- package/dist/src/schemas/ManagementApi.js +8 -0
- package/package.json +3 -3
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
// Generated Mon
|
|
1
|
+
// Generated Mon Jul 10 2023 18:13:33 GMT+0200 (Central European Summer Time)
|
|
2
2
|
import { autoRegisteredHandlers, HttpMethod } from "@flink-app/flink";
|
|
3
|
-
import * as GetManagement_0 from "../src/handlers/Management/GetManagement";
|
|
4
3
|
import * as DeleteByUserid_0 from "../src/handlers/User/DeleteByUserid";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
9
|
-
import * as PostLogin_3 from "../src/handlers/User/PostLogin";
|
|
10
|
-
import * as PutByUserid_4 from "../src/handlers/User/PutByUserid";
|
|
4
|
+
import * as GetByUserid_0 from "../src/handlers/User/GetByUserid";
|
|
5
|
+
import * as Post_0 from "../src/handlers/User/Post";
|
|
6
|
+
import * as PostLogin_0 from "../src/handlers/User/PostLogin";
|
|
7
|
+
import * as PutByUserid_0 from "../src/handlers/User/PutByUserid";
|
|
11
8
|
|
|
12
|
-
export const handlers = [{
|
|
9
|
+
export const handlers = [{"importName":"DeleteByUserid_0","moduleSpecifier":"../src/handlers/User/DeleteByUserid","schemasToGenerate":{"reqSchemaType":"DeleteByUserid_15_ReqSchema","resSchemaType":"DeleteByUserid_15_ResSchema"},"__file":"DeleteByUserid.ts","__query":[],"__params":[],"__schemas":{"reqSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","additionalProperties":false,"properties":{},"definitions":{}},"resSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","additionalProperties":false,"properties":{},"definitions":{}}},"assumedHttpMethod":HttpMethod.delete,"handler":DeleteByUserid_0,"Route":DeleteByUserid_0.Route}, {"importName":"GetByUserid_0","moduleSpecifier":"../src/handlers/User/GetByUserid","schemasToGenerate":{"reqSchemaType":"GetByUserid_15_ReqSchema","resSchemaType":"GetByUserid_15_ResSchema"},"__file":"GetByUserid.ts","__query":[],"__params":[],"__schemas":{"reqSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","additionalProperties":false,"properties":{},"definitions":{}},"resSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","additionalProperties":false,"properties":{"_id":{"type":"string"},"username":{"type":"string"}},"required":["_id","username"],"definitions":{}}},"assumedHttpMethod":HttpMethod.get,"handler":GetByUserid_0,"Route":GetByUserid_0.Route}, {"importName":"Post_0","moduleSpecifier":"../src/handlers/User/Post","schemasToGenerate":{"reqSchemaType":"Post_15_ReqSchema","resSchemaType":"Post_15_ResSchema"},"__file":"Post.ts","__query":[],"__params":[],"__schemas":{"reqSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","additionalProperties":false,"properties":{"username":{"type":"string"},"password":{"type":"string"}},"required":["password","username"],"definitions":{}},"resSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","additionalProperties":false,"properties":{"_id":{"type":"string"},"username":{"type":"string"}},"required":["_id","username"],"definitions":{}}},"assumedHttpMethod":HttpMethod.post,"handler":Post_0,"Route":Post_0.Route}, {"importName":"PostLogin_0","moduleSpecifier":"../src/handlers/User/PostLogin","schemasToGenerate":{"reqSchemaType":"PostLogin_21_ReqSchema","resSchemaType":"PostLogin_21_ResSchema"},"__file":"PostLogin.ts","__query":[],"__params":[],"__schemas":{"reqSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","additionalProperties":false,"properties":{"username":{"type":"string"},"password":{"type":"string"}},"required":["password","username"],"definitions":{}},"resSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","additionalProperties":false,"properties":{"user":{"type":"object","additionalProperties":false,"properties":{"_id":{"type":"string"},"username":{"type":"string"}},"required":["_id","username"]},"token":{"type":"string"}},"required":["token","user"],"definitions":{}}},"assumedHttpMethod":HttpMethod.post,"handler":PostLogin_0,"Route":PostLogin_0.Route}, {"importName":"PutByUserid_0","moduleSpecifier":"../src/handlers/User/PutByUserid","schemasToGenerate":{"reqSchemaType":"PutByUserid_24_ReqSchema","resSchemaType":"PutByUserid_24_ResSchema"},"__file":"PutByUserid.ts","__query":[],"__params":[],"__schemas":{"reqSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","additionalProperties":false,"properties":{"username":{"type":"string"},"password":{"type":"string"}},"definitions":{}},"resSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","additionalProperties":false,"properties":{"_id":{"type":"string"},"username":{"type":"string"}},"required":["_id","username"],"definitions":{}}},"assumedHttpMethod":HttpMethod.put,"handler":PutByUserid_0,"Route":PutByUserid_0.Route}];
|
|
13
10
|
autoRegisteredHandlers.push(...handlers);
|
|
14
11
|
|
package/.flink/generatedJobs.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated Mon
|
|
1
|
+
// Generated Mon Jul 10 2023 18:13:33 GMT+0200 (Central European Summer Time)
|
|
2
2
|
import { autoRegisteredJobs } from "@flink-app/flink";
|
|
3
3
|
export const jobs = [];
|
|
4
4
|
autoRegisteredJobs.push(...jobs);
|
package/.flink/generatedRepos.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated Mon
|
|
1
|
+
// Generated Mon Jul 10 2023 18:13:32 GMT+0200 (Central European Summer Time)
|
|
2
2
|
import { autoRegisteredRepos } from "@flink-app/flink";
|
|
3
3
|
import ManagementUserRepo from "../src/repos/ManagementUserRepo";
|
|
4
4
|
|
|
@@ -2,82 +2,6 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"$ref": "#/definitions/Schemas",
|
|
4
4
|
"definitions": {
|
|
5
|
-
"GetManagement_9_ReqSchema": {
|
|
6
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
7
|
-
"type": "object",
|
|
8
|
-
"additionalProperties": false,
|
|
9
|
-
"properties": {},
|
|
10
|
-
"definitions": {}
|
|
11
|
-
},
|
|
12
|
-
"GetManagement_9_ResSchema": {
|
|
13
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
14
|
-
"type": "object",
|
|
15
|
-
"additionalProperties": false,
|
|
16
|
-
"properties": {
|
|
17
|
-
"modules": {
|
|
18
|
-
"type": "array",
|
|
19
|
-
"items": {
|
|
20
|
-
"type": "object",
|
|
21
|
-
"properties": {
|
|
22
|
-
"id": {
|
|
23
|
-
"type": "string"
|
|
24
|
-
},
|
|
25
|
-
"type": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
|
-
"features": {
|
|
29
|
-
"type": "array",
|
|
30
|
-
"items": {
|
|
31
|
-
"type": "string"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"title": {
|
|
35
|
-
"type": "string"
|
|
36
|
-
},
|
|
37
|
-
"ui": {
|
|
38
|
-
"type": "string"
|
|
39
|
-
},
|
|
40
|
-
"data": {
|
|
41
|
-
"type": "object"
|
|
42
|
-
},
|
|
43
|
-
"endpoints": {
|
|
44
|
-
"type": "array",
|
|
45
|
-
"items": {
|
|
46
|
-
"type": "object",
|
|
47
|
-
"properties": {
|
|
48
|
-
"method": {
|
|
49
|
-
"type": "string"
|
|
50
|
-
},
|
|
51
|
-
"url": {
|
|
52
|
-
"type": "string"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"required": [
|
|
56
|
-
"method",
|
|
57
|
-
"url"
|
|
58
|
-
],
|
|
59
|
-
"additionalProperties": false
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"required": [
|
|
64
|
-
"id",
|
|
65
|
-
"type",
|
|
66
|
-
"features",
|
|
67
|
-
"title",
|
|
68
|
-
"ui",
|
|
69
|
-
"data",
|
|
70
|
-
"endpoints"
|
|
71
|
-
],
|
|
72
|
-
"additionalProperties": false
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
"required": [
|
|
77
|
-
"modules"
|
|
78
|
-
],
|
|
79
|
-
"definitions": {}
|
|
80
|
-
},
|
|
81
5
|
"DeleteByUserid_15_ReqSchema": {
|
|
82
6
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
83
7
|
"type": "object",
|
|
@@ -117,81 +41,6 @@
|
|
|
117
41
|
],
|
|
118
42
|
"definitions": {}
|
|
119
43
|
},
|
|
120
|
-
"GetList_10_ReqSchema": {
|
|
121
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
122
|
-
"type": "object",
|
|
123
|
-
"additionalProperties": false,
|
|
124
|
-
"properties": {},
|
|
125
|
-
"definitions": {}
|
|
126
|
-
},
|
|
127
|
-
"GetList_10_ResSchema": {
|
|
128
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
129
|
-
"type": "object",
|
|
130
|
-
"additionalProperties": false,
|
|
131
|
-
"properties": {
|
|
132
|
-
"users": {
|
|
133
|
-
"type": "array",
|
|
134
|
-
"items": {
|
|
135
|
-
"type": "object",
|
|
136
|
-
"additionalProperties": false,
|
|
137
|
-
"properties": {
|
|
138
|
-
"_id": {
|
|
139
|
-
"type": "string"
|
|
140
|
-
},
|
|
141
|
-
"username": {
|
|
142
|
-
"type": "string"
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
"required": [
|
|
146
|
-
"_id",
|
|
147
|
-
"username"
|
|
148
|
-
]
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
"required": [
|
|
153
|
-
"users"
|
|
154
|
-
],
|
|
155
|
-
"definitions": {}
|
|
156
|
-
},
|
|
157
|
-
"GetMe_8_ReqSchema": {
|
|
158
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
159
|
-
"type": "object",
|
|
160
|
-
"additionalProperties": false,
|
|
161
|
-
"properties": {},
|
|
162
|
-
"definitions": {}
|
|
163
|
-
},
|
|
164
|
-
"GetMe_8_ResSchema": {
|
|
165
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
166
|
-
"type": "object",
|
|
167
|
-
"additionalProperties": false,
|
|
168
|
-
"properties": {
|
|
169
|
-
"user": {
|
|
170
|
-
"type": "object",
|
|
171
|
-
"additionalProperties": false,
|
|
172
|
-
"properties": {
|
|
173
|
-
"_id": {
|
|
174
|
-
"type": "string"
|
|
175
|
-
},
|
|
176
|
-
"username": {
|
|
177
|
-
"type": "string"
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
"required": [
|
|
181
|
-
"_id",
|
|
182
|
-
"username"
|
|
183
|
-
]
|
|
184
|
-
},
|
|
185
|
-
"token": {
|
|
186
|
-
"type": "string"
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"required": [
|
|
190
|
-
"token",
|
|
191
|
-
"user"
|
|
192
|
-
],
|
|
193
|
-
"definitions": {}
|
|
194
|
-
},
|
|
195
44
|
"Post_15_ReqSchema": {
|
|
196
45
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
197
46
|
"type": "object",
|
|
@@ -15,7 +15,7 @@ import { PostUserLoginRes } from "../../src/schemas/User/PostLoginRes";
|
|
|
15
15
|
import { PutUserByUseridReq } from "../../src/schemas/User/PutByUseridReq";
|
|
16
16
|
import { PutUserByUseridRes } from "../../src/schemas/User/PutByUseridRes";
|
|
17
17
|
|
|
18
|
-
// Generated Mon
|
|
18
|
+
// Generated Mon Jul 10 2023 18:13:33 GMT+0200 (Central European Summer Time)
|
|
19
19
|
export interface GetManagement_9_ReqSchema extends GetManagementReq {}
|
|
20
20
|
|
|
21
21
|
export interface GetManagement_9_ResSchema extends GetManagementRes {}
|
package/.flink/start.ts
CHANGED
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/Schemas",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"ManagementUser": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"_id": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"username": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"password": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"salt": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": [
|
|
22
|
+
"_id",
|
|
23
|
+
"username",
|
|
24
|
+
"password",
|
|
25
|
+
"salt"
|
|
26
|
+
],
|
|
27
|
+
"additionalProperties": false
|
|
28
|
+
},
|
|
29
|
+
"ManagementUserViewModel": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"properties": {
|
|
33
|
+
"_id": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"username": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"_id",
|
|
42
|
+
"username"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"ModuleList": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"properties": {
|
|
48
|
+
"modules": {
|
|
49
|
+
"type": "array",
|
|
50
|
+
"items": {
|
|
51
|
+
"$ref": "#/definitions/Module"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"required": [
|
|
56
|
+
"modules"
|
|
57
|
+
],
|
|
58
|
+
"additionalProperties": false
|
|
59
|
+
},
|
|
60
|
+
"Module": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"id": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"type": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"features": {
|
|
70
|
+
"type": "array",
|
|
71
|
+
"items": {
|
|
72
|
+
"type": "string"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"title": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"ui": {
|
|
79
|
+
"type": "string"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"required": [
|
|
83
|
+
"id",
|
|
84
|
+
"type",
|
|
85
|
+
"features",
|
|
86
|
+
"title",
|
|
87
|
+
"ui"
|
|
88
|
+
],
|
|
89
|
+
"additionalProperties": false
|
|
90
|
+
},
|
|
91
|
+
"GetManagementReq": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"additionalProperties": false
|
|
94
|
+
},
|
|
95
|
+
"GetManagementRes": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"additionalProperties": false,
|
|
98
|
+
"properties": {
|
|
99
|
+
"modules": {
|
|
100
|
+
"type": "array",
|
|
101
|
+
"items": {
|
|
102
|
+
"$ref": "#/definitions/Module"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"required": [
|
|
107
|
+
"modules"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"DeleteUserByUseridReq": {
|
|
111
|
+
"type": "object",
|
|
112
|
+
"additionalProperties": false
|
|
113
|
+
},
|
|
114
|
+
"DeleteUserByUseridRes": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"additionalProperties": false
|
|
117
|
+
},
|
|
118
|
+
"GetUserByUseridReq": {
|
|
119
|
+
"type": "object",
|
|
120
|
+
"additionalProperties": false
|
|
121
|
+
},
|
|
122
|
+
"GetUserByUseridRes": {
|
|
123
|
+
"type": "object",
|
|
124
|
+
"additionalProperties": false,
|
|
125
|
+
"properties": {
|
|
126
|
+
"_id": {
|
|
127
|
+
"type": "string"
|
|
128
|
+
},
|
|
129
|
+
"username": {
|
|
130
|
+
"type": "string"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"required": [
|
|
134
|
+
"_id",
|
|
135
|
+
"username"
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
"GetUserListReq": {
|
|
139
|
+
"type": "object",
|
|
140
|
+
"additionalProperties": false
|
|
141
|
+
},
|
|
142
|
+
"GetUserListRes": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"properties": {
|
|
145
|
+
"users": {
|
|
146
|
+
"type": "array",
|
|
147
|
+
"items": {
|
|
148
|
+
"$ref": "#/definitions/ManagementUserViewModel"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"required": [
|
|
153
|
+
"users"
|
|
154
|
+
],
|
|
155
|
+
"additionalProperties": false
|
|
156
|
+
},
|
|
157
|
+
"GetUserMeReq": {
|
|
158
|
+
"type": "object",
|
|
159
|
+
"additionalProperties": false
|
|
160
|
+
},
|
|
161
|
+
"GetUserMeRes": {
|
|
162
|
+
"type": "object",
|
|
163
|
+
"additionalProperties": false,
|
|
164
|
+
"properties": {
|
|
165
|
+
"user": {
|
|
166
|
+
"$ref": "#/definitions/ManagementUserViewModel"
|
|
167
|
+
},
|
|
168
|
+
"token": {
|
|
169
|
+
"type": "string"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"required": [
|
|
173
|
+
"token",
|
|
174
|
+
"user"
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
"PostUserLoginReq": {
|
|
178
|
+
"type": "object",
|
|
179
|
+
"properties": {
|
|
180
|
+
"username": {
|
|
181
|
+
"type": "string"
|
|
182
|
+
},
|
|
183
|
+
"password": {
|
|
184
|
+
"type": "string"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"required": [
|
|
188
|
+
"username",
|
|
189
|
+
"password"
|
|
190
|
+
],
|
|
191
|
+
"additionalProperties": false
|
|
192
|
+
},
|
|
193
|
+
"PostUserLoginRes": {
|
|
194
|
+
"type": "object",
|
|
195
|
+
"properties": {
|
|
196
|
+
"user": {
|
|
197
|
+
"$ref": "#/definitions/ManagementUserViewModel"
|
|
198
|
+
},
|
|
199
|
+
"token": {
|
|
200
|
+
"type": "string"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"required": [
|
|
204
|
+
"user",
|
|
205
|
+
"token"
|
|
206
|
+
],
|
|
207
|
+
"additionalProperties": false
|
|
208
|
+
},
|
|
209
|
+
"PostUserReq": {
|
|
210
|
+
"type": "object",
|
|
211
|
+
"additionalProperties": false,
|
|
212
|
+
"properties": {
|
|
213
|
+
"username": {
|
|
214
|
+
"type": "string"
|
|
215
|
+
},
|
|
216
|
+
"password": {
|
|
217
|
+
"type": "string"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"required": [
|
|
221
|
+
"password",
|
|
222
|
+
"username"
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
"PostUserRes": {
|
|
226
|
+
"type": "object",
|
|
227
|
+
"additionalProperties": false,
|
|
228
|
+
"properties": {
|
|
229
|
+
"_id": {
|
|
230
|
+
"type": "string"
|
|
231
|
+
},
|
|
232
|
+
"username": {
|
|
233
|
+
"type": "string"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"required": [
|
|
237
|
+
"_id",
|
|
238
|
+
"username"
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
"PutUserByUseridReq": {
|
|
242
|
+
"type": "object",
|
|
243
|
+
"additionalProperties": false,
|
|
244
|
+
"properties": {
|
|
245
|
+
"username": {
|
|
246
|
+
"type": "string"
|
|
247
|
+
},
|
|
248
|
+
"password": {
|
|
249
|
+
"type": "string"
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"PutUserByUseridRes": {
|
|
254
|
+
"type": "object",
|
|
255
|
+
"additionalProperties": false,
|
|
256
|
+
"properties": {
|
|
257
|
+
"_id": {
|
|
258
|
+
"type": "string"
|
|
259
|
+
},
|
|
260
|
+
"username": {
|
|
261
|
+
"type": "string"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"required": [
|
|
265
|
+
"_id",
|
|
266
|
+
"username"
|
|
267
|
+
]
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|