Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PB138 - Project - Restaurant Corona
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andrej Bátora
PB138 - Project - Restaurant Corona
Commits
fe165728
There was an error fetching the commit references. Please try again later.
Commit
fe165728
authored
2 years ago
by
Jan Hudec
Committed by
Anna Mária Kollarčíková
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
feat: openapi specification required parameters added
parent
5114270e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
api/swagger.yaml
+63
-0
63 additions, 0 deletions
api/swagger.yaml
with
63 additions
and
0 deletions
api/swagger.yaml
+
63
−
0
View file @
fe165728
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment