fixing swagger documentation param
This commit is contained in:
No files matched your search
@@ -147,6 +147,13 @@ const docTemplate = `{
|
||||
],
|
||||
"summary": "Update Antrian Operasi",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "id antrian",
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"description": "Update Pasien Operasi",
|
||||
"name": "body",
|
||||
@@ -171,6 +178,35 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
@@ -180,6 +216,13 @@ const docTemplate = `{
|
||||
],
|
||||
"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