Migrace klienta na OpenAPI
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
This commit is contained in:
18
types/paths/easterEggs/easterEgg.yml
Normal file
18
types/paths/easterEggs/easterEgg.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
get:
|
||||
operationId: getEasterEggImage
|
||||
summary: Vrátí obrázek konkrétního easter eggu
|
||||
parameters:
|
||||
- in: path
|
||||
name: url
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: URL easter eggu
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
image/png:
|
||||
description: Obrázek easter eggu
|
||||
schema:
|
||||
type: string
|
||||
format: binary
|
||||
9
types/paths/easterEggs/easterEggs.yml
Normal file
9
types/paths/easterEggs/easterEggs.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
get:
|
||||
operationId: getEasterEgg
|
||||
summary: Vrátí náhodně metadata jednoho z definovaných easter egg obrázků pro přihlášeného uživatele, nebo nic, pokud žádné definované nemá.
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "../../schemas/_index.yml#/EasterEgg"
|
||||
Reference in New Issue
Block a user