34 lines
633 B
YAML
34 lines
633 B
YAML
basePath: /
|
|
definitions:
|
|
models.User:
|
|
properties:
|
|
password:
|
|
type: string
|
|
username:
|
|
type: string
|
|
type: object
|
|
info:
|
|
contact: {}
|
|
license:
|
|
name: 0BSD
|
|
title: Intro. to Network Programming Game
|
|
version: 0.0.1-alpha
|
|
paths:
|
|
/auth/register:
|
|
post:
|
|
consumes:
|
|
- application/json
|
|
parameters:
|
|
- description: query params
|
|
in: body
|
|
name: request
|
|
required: true
|
|
schema:
|
|
$ref: '#/definitions/models.User'
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
"400":
|
|
description: Bad Request
|
|
swagger: "2.0"
|