'register' endpoint spec (#50)

This commit is contained in:
Michael Quigley
2022-09-20 13:42:34 -04:00
parent e9bd1a4d9b
commit 6bf3f0f98c
13 changed files with 935 additions and 0 deletions

View File

@ -205,6 +205,37 @@ func init() {
}
}
},
"/register": {
"post": {
"tags": [
"identity"
],
"operationId": "register",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/registerRequest"
}
}
],
"responses": {
"200": {
"description": "account created"
},
"404": {
"description": "request not found"
},
"500": {
"description": "internal server error",
"schema": {
"$ref": "#/definitions/errorMessage"
}
}
}
}
},
"/tunnel": {
"post": {
"security": [
@ -478,6 +509,17 @@ func init() {
}
}
},
"registerRequest": {
"type": "object",
"properties": {
"password": {
"type": "string"
},
"token": {
"type": "string"
}
}
},
"service": {
"type": "object",
"properties": {
@ -762,6 +804,37 @@ func init() {
}
}
},
"/register": {
"post": {
"tags": [
"identity"
],
"operationId": "register",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/registerRequest"
}
}
],
"responses": {
"200": {
"description": "account created"
},
"404": {
"description": "request not found"
},
"500": {
"description": "internal server error",
"schema": {
"$ref": "#/definitions/errorMessage"
}
}
}
}
},
"/tunnel": {
"post": {
"security": [
@ -1035,6 +1108,17 @@ func init() {
}
}
},
"registerRequest": {
"type": "object",
"properties": {
"password": {
"type": "string"
},
"token": {
"type": "string"
}
}
},
"service": {
"type": "object",
"properties": {