Files
api-antrian-operasi/docs/swagger.json
2026-02-02 08:42:18 +07:00

80 lines
2.2 KiB
JSON

{
"swagger": "2.0",
"info": {
"description": "Dokumentasi API Antrian Operasi",
"title": "Antrian Operasi API",
"contact": {},
"version": "1.0"
},
"host": "localhost:8080",
"basePath": "/api",
"paths": {
"/dokter/": {
"get": {
"tags": [
"dokter"
],
"summary": "Get List Dokter",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/dokter.DokterResponse"
}
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/shared.BaseErrorResponse"
}
}
}
}
}
},
"definitions": {
"dokter.DokterResponse": {
"type": "object",
"properties": {
"hfis_code": {
"type": "string"
},
"id": {
"type": "string"
},
"nama_ksm": {
"type": "string"
},
"nama_lengkap": {
"type": "string"
},
"nip": {
"type": "string"
}
}
},
"shared.BaseErrorResponse": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"errors": {
"type": "array",
"items": {
"type": "string"
}
},
"message": {
"type": "string"
},
"success": {
"type": "boolean"
}
}
}
}
}