initiate swagger docs

This commit is contained in:
renaldybrada
2026-02-02 08:42:18 +07:00
parent 16bfe4a1e5
commit 919085ba3a
8 changed files with 321 additions and 1 deletions
+52
View File
@@ -0,0 +1,52 @@
basePath: /api
definitions:
dokter.DokterResponse:
properties:
hfis_code:
type: string
id:
type: string
nama_ksm:
type: string
nama_lengkap:
type: string
nip:
type: string
type: object
shared.BaseErrorResponse:
properties:
code:
type: integer
errors:
items:
type: string
type: array
message:
type: string
success:
type: boolean
type: object
host: localhost:8080
info:
contact: {}
description: Dokumentasi API Antrian Operasi
title: Antrian Operasi API
version: "1.0"
paths:
/dokter/:
get:
responses:
"200":
description: OK
schema:
items:
$ref: '#/definitions/dokter.DokterResponse'
type: array
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/shared.BaseErrorResponse'
summary: Get List Dokter
tags:
- dokter
swagger: "2.0"