Modified reference/test.yml
This commit is contained in:
+14
-6
@@ -1,11 +1,11 @@
|
||||
openapi: '3.0.2'
|
||||
openapi: 3.0.2
|
||||
x-stoplight:
|
||||
id: gr7tm5a03g740
|
||||
info:
|
||||
title: OpenAPI
|
||||
version: '1.0'
|
||||
servers:
|
||||
- url: https://api.server.test/v1
|
||||
- url: 'https://api.server.test/v1'
|
||||
paths:
|
||||
/weapons/:
|
||||
get:
|
||||
@@ -98,7 +98,7 @@ paths:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/Player'
|
||||
$ref: '#/components/schemas/TopPlayers'
|
||||
operationId: get-player-list-for-server
|
||||
parameters:
|
||||
- $ref: '#/components/parameters/serverId'
|
||||
@@ -107,8 +107,8 @@ paths:
|
||||
summary: Post kills
|
||||
operationId: post-kills
|
||||
responses:
|
||||
'201':
|
||||
description: Created
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
@@ -128,7 +128,15 @@ paths:
|
||||
get:
|
||||
summary: Get Weapon report for server
|
||||
tags: []
|
||||
responses: {}
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/PrefferedWeapon'
|
||||
operationId: get-weapons-report-for-server
|
||||
parameters: []
|
||||
x-internal: false
|
||||
|
||||
Reference in New Issue
Block a user