From e768516cb03b6b34dd851059fd79566bcb7a76dd Mon Sep 17 00:00:00 2001 From: Eyuep Sueyruege Date: Tue, 7 Nov 2023 19:39:30 +0100 Subject: [PATCH] Update docs/openapi.yml --- docs/openapi.yml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/docs/openapi.yml b/docs/openapi.yml index ab0c014..cac8f73 100644 --- a/docs/openapi.yml +++ b/docs/openapi.yml @@ -1 +1,25 @@ -// \ No newline at end of file +openapi: 3.0.0 +info: + title: Card Recognition API + version: 1.0.0 +paths: + /cardinfo: + get: + summary: Alle Karten Informationen + responses: + '200': + description: Erfolgreiche Anfrage + /card/{id}: + get: + summary: Ruft einen bestimmte Karte + parameters: + - in: path + name: id + required: true + schema: + type: integer + responses: + '200': + description: Erfolgreiche Anfrage + '404': + description: Nutzer nicht gefunden \ No newline at end of file