controller registration endpoint improvements (#50)

This commit is contained in:
Michael Quigley
2022-09-20 16:01:46 -04:00
parent ec6afaaa3d
commit 242a8bee7b
10 changed files with 186 additions and 8 deletions

View File

@@ -222,7 +222,10 @@ func init() {
],
"responses": {
"200": {
"description": "account created"
"description": "account created",
"schema": {
"$ref": "#/definitions/registerResponse"
}
},
"404": {
"description": "request not found"
@@ -520,6 +523,14 @@ func init() {
}
}
},
"registerResponse": {
"type": "object",
"properties": {
"token": {
"type": "string"
}
}
},
"service": {
"type": "object",
"properties": {
@@ -821,7 +832,10 @@ func init() {
],
"responses": {
"200": {
"description": "account created"
"description": "account created",
"schema": {
"$ref": "#/definitions/registerResponse"
}
},
"404": {
"description": "request not found"
@@ -1119,6 +1133,14 @@ func init() {
}
}
},
"registerResponse": {
"type": "object",
"properties": {
"token": {
"type": "string"
}
}
},
"service": {
"type": "object",
"properties": {