http: add /players

This commit is contained in:
Lion Kortlepel
2022-05-23 19:01:03 +02:00
parent f7acd1e819
commit 8fce2fc67f
2 changed files with 34 additions and 1 deletions

View File

@@ -13,6 +13,21 @@ servers:
port:
default: "8000"
paths:
/players:
get:
summary: list of players on this server
responses:
"200":
description: OK
content:
"application/json":
schema:
type: array
example:
- "LionKor"
- "Titch"
items:
type: string
/config:
get:
summary: describes server configuration