'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

@@ -12,6 +12,9 @@ securityDefinitions:
name: x-token
paths:
#
# identity
#
/account:
post:
tags:
@@ -119,6 +122,26 @@ paths:
schema:
$ref: "#/definitions/errorMessage"
/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:
tags:
@@ -301,6 +324,14 @@ definitions:
token:
type: string
registerRequest:
type: object
properties:
token:
type: string
password:
type: string
services:
type: array
items: