grouping reference api

This commit is contained in:
renaldybrada
2026-02-03 12:31:41 +07:00
parent 6caee98c07
commit 3aebfc4efe
7 changed files with 188 additions and 19 deletions
+44 -4
View File
@@ -157,6 +157,25 @@ definitions:
- published
type: string
type: object
pasien.PasienModel:
properties:
alamat:
type: string
alamatKtp:
type: string
id:
type: integer
jenisKelamin:
type: string
nama:
type: string
nik:
type: string
noMr:
type: string
tglLahir:
type: string
type: object
shared.BaseErrorResponse:
properties:
code:
@@ -275,7 +294,7 @@ paths:
summary: Create Antrian Operasi
tags:
- Antrian Operasi
/dokter/:
/reference/dokter/:
get:
parameters:
- description: Search keyword
@@ -306,7 +325,7 @@ paths:
summary: Get List Dokter
tags:
- Dokter
/kategori/:
/reference/kategori/:
get:
parameters:
- description: Search keyword
@@ -327,7 +346,28 @@ paths:
summary: Get List Kategori Operasi
tags:
- Kategori Operasi
/spesialis/:
/reference/pasien/:
get:
parameters:
- description: Search keyword
in: query
name: search
type: string
responses:
"200":
description: OK
schema:
items:
$ref: '#/definitions/pasien.PasienModel'
type: array
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/shared.BaseErrorResponse'
summary: Get List Pasien
tags:
- Pasien
/reference/spesialis/:
get:
parameters:
- description: Search keyword
@@ -348,7 +388,7 @@ paths:
summary: Get List Spesialis
tags:
- Spesialis
/sub-spesialis/:
/reference/sub-spesialis/:
get:
parameters:
- description: Search keyword