Modified reference/OpenAPI.yaml
This commit is contained in:
+61
-4
@@ -147,8 +147,8 @@ paths:
|
|||||||
description: Create a new user.
|
description: Create a new user.
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
Entity:
|
Player:
|
||||||
title: Entity
|
title: Player
|
||||||
x-stoplight:
|
x-stoplight:
|
||||||
id: be41fcacb2693
|
id: be41fcacb2693
|
||||||
type: object
|
type: object
|
||||||
@@ -162,13 +162,12 @@ components:
|
|||||||
signUpDate: '2019-08-24'
|
signUpDate: '2019-08-24'
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
type: string
|
$ref: '#/components/schemas/EntityUUID'
|
||||||
description: Unique identifier for the given user.
|
description: Unique identifier for the given user.
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
- name
|
|
||||||
Weapon:
|
Weapon:
|
||||||
title: Weapon
|
title: Weapon
|
||||||
x-stoplight:
|
x-stoplight:
|
||||||
@@ -184,3 +183,61 @@ components:
|
|||||||
image:
|
image:
|
||||||
type: string
|
type: string
|
||||||
format: uri
|
format: uri
|
||||||
|
required:
|
||||||
|
- id
|
||||||
|
Map:
|
||||||
|
title: Map
|
||||||
|
x-stoplight:
|
||||||
|
id: hoh2m6pr6gli7
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
image:
|
||||||
|
type: string
|
||||||
|
format: uri
|
||||||
|
Server:
|
||||||
|
title: Server
|
||||||
|
x-stoplight:
|
||||||
|
id: mtpy0cwg8avdj
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
Kill:
|
||||||
|
title: Kill
|
||||||
|
x-stoplight:
|
||||||
|
id: a9q2tvsts3z32
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: integer
|
||||||
|
readOnly: true
|
||||||
|
server:
|
||||||
|
type: string
|
||||||
|
attacker:
|
||||||
|
$ref: '#/components/schemas/EntityUUID'
|
||||||
|
victim:
|
||||||
|
$ref: '#/components/schemas/EntityUUID'
|
||||||
|
weapon:
|
||||||
|
type: string
|
||||||
|
map:
|
||||||
|
type: string
|
||||||
|
distance:
|
||||||
|
type: number
|
||||||
|
example: 35.45
|
||||||
|
date:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
readOnly: true
|
||||||
|
EntityUUID:
|
||||||
|
title: EntityUUID
|
||||||
|
x-stoplight:
|
||||||
|
id: 9icavmq5bgsqp
|
||||||
|
type: integer
|
||||||
|
|||||||
Reference in New Issue
Block a user