initiate swagger docs
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user