Skip to content
Snippets Groups Projects
Commit fe165728 authored by Jan Hudec's avatar Jan Hudec Committed by Anna Mária Kollarčíková
Browse files

feat: openapi specification required parameters added

parent 5114270e
No related branches found
No related tags found
No related merge requests found
......@@ -119,6 +119,13 @@ paths:
tags:
- staff
summary: Delete staff account
parameters:
- name: staffId
in: path
description: ID of staff that needs to be deleted
required: true
schema:
type: integer
responses:
200:
description: success
......@@ -165,6 +172,13 @@ paths:
tags:
- orders
summary: Close given order
parameters:
- name: ordersId
in: path
description: ID of order that needs to be closed
required: true
schema:
type: integer
responses:
200:
description: success
......@@ -201,6 +215,13 @@ paths:
tags:
- menus
summary: Get menu by id
parameters:
- name: menusId
in: path
description: ID of menu that is being searched
required: true
schema:
type: integer
responses:
200:
description: success
......@@ -210,6 +231,13 @@ paths:
tags:
- menus
summary: Delete menu
parameters:
- name: menusId
in: path
description: ID of menu that needs to be deleted
required: true
schema:
type: integer
responses:
200:
description: success
......@@ -224,6 +252,13 @@ paths:
tags:
- menus
summary: Add meal to menu
parameters:
- name: menusId
in: path
description: ID of menu that gets a new meal
required: true
schema:
type: integer
responses:
200:
description: success
......@@ -238,6 +273,13 @@ paths:
tags:
- menus
summary: Remove meal from menu
parameters:
- name: menusId
in: path
description: ID of menu where meal is being deleted
required: true
schema:
type: integer
responses:
200:
description: success
......@@ -274,6 +316,13 @@ paths:
tags:
- meals
summary: Get meal by id
parameters:
- name: mealsId
in: path
description: ID of meal that is being searched
required: true
schema:
type: integer
responses:
200:
description: success
......@@ -283,6 +332,13 @@ paths:
tags:
- meals
summary: Update meal
parameters:
- name: mealsId
in: path
description: ID of meal that is being updated
required: true
schema:
type: integer
responses:
200:
description: success
......@@ -296,6 +352,13 @@ paths:
tags:
- meals
summary: Delete meal
parameters:
- name: mealsId
in: path
description: ID of meal that is being deleted
required: true
schema:
type: integer
responses:
200:
description: success
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment