Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions openapi/paths/menu_{menuItemId}.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
parameters:
- $ref: ../components/parameters/MenuItemId.yaml
get:
tags:
- Products
summary: Get a menu item
description: Get a menu item by its menu item id.
operationId: getMenuItem
security: []
responses:
'200':
description: Successful fetched menu item.
content:
application/json:
schema:
$ref: ../components/schemas/MenuItem.yaml
'400':
$ref: ../components/responses/BadRequest.yaml
'404':
$ref: ../components/responses/NotFound.yaml
'500':
$ref: ../components/responses/InternalServerError.yaml

delete:
tags:
- Products
Expand All @@ -22,3 +43,4 @@ delete:
$ref: ../components/responses/NotFound.yaml
'500':
$ref: ../components/responses/InternalServerError.yaml