generated from VLADIMIR/template
add getTeam method
This commit is contained in:
+64
-3
@@ -34,6 +34,26 @@
|
||||
}
|
||||
},
|
||||
"/teams": {
|
||||
"get": {
|
||||
"operationId": "EveningDetective_GetTeams",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/evening_detectiveGetTeamsRsp"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "An unexpected error response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/runtimeError"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"EveningDetective"
|
||||
]
|
||||
},
|
||||
"post": {
|
||||
"operationId": "EveningDetective_AddTeams",
|
||||
"responses": {
|
||||
@@ -89,17 +109,58 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detectiveApplication": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detectiveGetTeamsRsp": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"teams": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/evening_detectiveTeamAdvanced"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detectivePingRsp": {
|
||||
"type": "object"
|
||||
},
|
||||
"evening_detectiveTeam": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Name": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detectiveTeamAdvanced": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"spendTime": {
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
},
|
||||
"applications": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/evening_detectiveApplication"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detectiveTeamFull": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -107,10 +168,10 @@
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
},
|
||||
"Name": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"Password": {
|
||||
"password": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user