Skip to content

Commit 3731439

Browse files
committed
Update oas3-api.json
1 parent 9341786 commit 3731439

File tree

1 file changed

+19
-37
lines changed

1 file changed

+19
-37
lines changed

oas3-api.json

Lines changed: 19 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"paths": {
44
"/profiles": {
55
"put": {
6-
"operationId": "ProfilesController_submit",
6+
"operationId": "submitProfile",
77
"parameters": [],
88
"requestBody": {
99
"required": true,
@@ -32,32 +32,9 @@
3232
]
3333
}
3434
},
35-
"/profiles/user/{id}": {
36-
"get": {
37-
"operationId": "ProfilesController_tempGetProfile",
38-
"parameters": [
39-
{
40-
"name": "id",
41-
"required": true,
42-
"in": "path",
43-
"schema": {
44-
"type": "string"
45-
}
46-
}
47-
],
48-
"responses": {
49-
"200": {
50-
"description": ""
51-
}
52-
},
53-
"tags": [
54-
"Profiles"
55-
]
56-
}
57-
},
5835
"/accounts/identify": {
5936
"get": {
60-
"operationId": "AccountsController_identify",
37+
"operationId": "identifyAccount",
6138
"parameters": [],
6239
"responses": {
6340
"200": {
@@ -81,7 +58,7 @@
8158
},
8259
"/accounts": {
8360
"get": {
84-
"operationId": "AccountsController_findAll",
61+
"operationId": "getAllAccounts",
8562
"parameters": [],
8663
"responses": {
8764
"200": {
@@ -106,7 +83,7 @@
10683
]
10784
},
10885
"put": {
109-
"operationId": "AccountsController_create",
86+
"operationId": "createAccount",
11087
"parameters": [],
11188
"requestBody": {
11289
"required": true,
@@ -140,7 +117,7 @@
140117
},
141118
"/accounts/{id}": {
142119
"delete": {
143-
"operationId": "AccountsController_delete",
120+
"operationId": "deleteAccount",
144121
"parameters": [
145122
{
146123
"name": "id",
@@ -164,7 +141,7 @@
164141
]
165142
},
166143
"patch": {
167-
"operationId": "AccountsController_update",
144+
"operationId": "updateAccount",
168145
"parameters": [
169146
{
170147
"name": "id",
@@ -204,7 +181,7 @@
204181
},
205182
"/accounts/{id}/jwt": {
206183
"patch": {
207-
"operationId": "AccountsController_resetJwtKey",
184+
"operationId": "resetAccountJwtKey",
208185
"parameters": [
209186
{
210187
"name": "id",
@@ -232,7 +209,7 @@
232209
]
233210
},
234211
"get": {
235-
"operationId": "AccountsController_generateJwt",
212+
"operationId": "generateAccountJwt",
236213
"parameters": [
237214
{
238215
"name": "id",
@@ -262,7 +239,7 @@
262239
},
263240
"/admin/login": {
264241
"post": {
265-
"operationId": "AdminController_login",
242+
"operationId": "loginAdmin",
266243
"parameters": [],
267244
"requestBody": {
268245
"required": true,
@@ -296,7 +273,7 @@
296273
},
297274
"/admin/identify": {
298275
"get": {
299-
"operationId": "AdminController_identify",
276+
"operationId": "identifyAdmin",
300277
"parameters": [],
301278
"responses": {
302279
"200": {
@@ -320,7 +297,7 @@
320297
},
321298
"/users/{id}": {
322299
"get": {
323-
"operationId": "UsersController_find",
300+
"operationId": "getUser",
324301
"parameters": [
325302
{
326303
"name": "id",
@@ -362,7 +339,7 @@
362339
},
363340
"/users/{id}/capes": {
364341
"get": {
365-
"operationId": "UsersController_findCapes",
342+
"operationId": "getUserCapes",
366343
"parameters": [
367344
{
368345
"name": "id",
@@ -401,7 +378,7 @@
401378
},
402379
"/users/{id}/capes/update": {
403380
"get": {
404-
"operationId": "UsersController_updateUserCapes",
381+
"operationId": "updateUserCapes",
405382
"parameters": [
406383
{
407384
"name": "id",
@@ -436,7 +413,12 @@
436413
"contact": {}
437414
},
438415
"tags": [],
439-
"servers": [],
416+
"servers": [
417+
{
418+
"url": "https://api.namet.ag",
419+
"description": "Production API"
420+
}
421+
],
440422
"components": {
441423
"schemas": {
442424
"SubmitProfileDto": {

0 commit comments

Comments
 (0)