File tree Expand file tree Collapse file tree 1 file changed +24
-3
lines changed
wiki/developer/OpenAPI Specifications Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Original file line number Diff line number Diff line change 88 description : " Server for local development without dockerization"
99 - url : " http://t23-controller:8082"
1010 description : " Server address inside the docker network"
11+ - url : " http://localhost/api/userService/"
12+ description : " Server address outside the docker network"
1113paths :
1214 /players/{playerId}/progression :
1315 get :
@@ -282,8 +284,9 @@ paths:
282284 type : " string"
283285 /players :
284286 get :
285- summary : " GET players"
286- operationId : " getAllPlayers"
287+ summary : " Get all players"
288+ description : " Returns a list of all registered players"
289+ operationId : " "
287290 responses :
288291 " 200 " :
289292 description : " OK"
@@ -292,7 +295,7 @@ paths:
292295 schema :
293296 type : " array"
294297 items :
295- $ref : " #/components/schemas/Player "
298+ $ref : " #/components/schemas/PlayerDTO "
296299 /players/searchStudents :
297300 post :
298301 summary : " POST players/searchStudents"
@@ -1234,6 +1237,24 @@ components:
12341237 - " ALTRO"
12351238 userProfile :
12361239 $ref : " #/components/schemas/UserProfile"
1240+ PlayerDTO :
1241+ type : " object"
1242+ properties :
1243+ id :
1244+ type : " integer"
1245+ format : " int64"
1246+ name :
1247+ type : " string"
1248+ surname :
1249+ type : " string"
1250+ nickname :
1251+ type : " string"
1252+ email :
1253+ type : " string"
1254+ studies :
1255+ type : " string"
1256+ playerProgress :
1257+ $ref : " #/components/schemas/PlayerProgressDTO"
12371258 Map :
12381259 type : " object"
12391260 properties : { }
You can’t perform that action at this time.
0 commit comments