update specification part 1

main
Fabian Hoppe 2026-02-10 11:11:42 +01:00
parent fb8993f06c
commit 19a9d147e7
1 changed files with 13 additions and 11 deletions

View File

@ -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: