Commit 60ac36a3 authored by Thanh Minh Hồ Đắc's avatar Thanh Minh Hồ Đắc 🐝
Browse files

refactor: add completeDoorOpen to api config

parent de62a6d4
......@@ -24,6 +24,13 @@ definitions:
type: array
items:
type: integer
completeDoorRequestBody:
type: object
properties:
lockerId:
type: string
cabinetNo:
type: string
paths:
/getLockerBoard:
......@@ -39,4 +46,17 @@ paths:
200:
description: Success return board information
schema:
$ref: "#/definitions/getLockerBoardResponse"
\ No newline at end of file
$ref: "#/definitions/getLockerBoardResponse"
/completeDoorOpen:
post:
operationId: completeDoorOpen
summary: Update doorStatus of cabinet to OPEN
parameters:
- in: body
name: cabinetDetail
required: true
schema:
$ref: "#/definitions/completeDoorRequestBody"
responses:
200:
description: Success receive doorStatus
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment