fixing swagger documentation param
This commit is contained in:
No files matched your search
@@ -141,6 +141,13 @@
|
||||
],
|
||||
"summary": "Update Antrian Operasi",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "id antrian",
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"description": "Update Pasien Operasi",
|
||||
"name": "body",
|
||||
@@ -165,6 +172,35 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"tags": [
|
||||
"Antrian Operasi"
|
||||
],
|
||||
"summary": "Delete Antrian Operasi",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "id antrian",
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/shared.BaseResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/shared.BaseErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/antrian-operasi/{id}/update-status": {
|
||||
@@ -174,6 +210,13 @@
|
||||
],
|
||||
"summary": "Update Status Antrian Operasi",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "id antrian",
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"description": "Update Status Pasien Operasi",
|
||||
"name": "body",
|
||||
|
||||
Reference in New Issue
Block a user