From 19a9d147e74228233e50d6ecce27c0a57983ea43 Mon Sep 17 00:00:00 2001 From: Fabian <2121190@stud.hs-mannheim.de> Date: Tue, 10 Feb 2026 11:11:42 +0100 Subject: [PATCH] update specification part 1 --- Szenario/Szenario_Teil1.yaml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/Szenario/Szenario_Teil1.yaml b/Szenario/Szenario_Teil1.yaml index c92fe87..1f1c0bb 100644 --- a/Szenario/Szenario_Teil1.yaml +++ b/Szenario/Szenario_Teil1.yaml @@ -31,17 +31,19 @@ paths: content: application/json: schema: - type: object - properties: - id: - type: string - examples: ["465db18f-6fc0-48e1-804a-156d0df29392"] - name: - type: string - examples: ["Thai Food"] - address: - type: string - examples: ["Hauptstraße 9, 68259 Mannheim"] + type: array + items: + type: object + properties: + id: + type: string + examples: ["465db18f-6fc0-48e1-804a-156d0df29392"] + name: + type: string + examples: ["Thai Food"] + address: + type: string + examples: ["Hauptstraße 9, 68259 Mannheim"] /restaurants/{id}/menu: get: