Created
January 7, 2020 10:36
-
-
Save jufianto/a934b9492be6f7e82f6474a88e520f03 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.1 | |
info: | |
title: Senang SIMRS App API Docs | |
description: Dokumentasi SIM RS Rumah Sakit Zainab | |
version: 1.0.0 | |
servers: | |
- url: http://localhost:8989/v1 | |
tags: | |
- name: akunuser | |
description: Manajemen Akun User | |
paths: | |
/akunuser: | |
get: | |
tags: | |
- akunuser | |
summary: Get All Data on Akun User | |
responses: | |
200: | |
description: Success Operation | |
content: | |
'application/json': | |
schema: | |
type: object | |
properties: | |
error: | |
$ref: '#/components/schemas/errors' | |
response: | |
type: array | |
items: | |
$ref: '#/components/schemas/akunuser' | |
components: | |
schemas: | |
akunuser: | |
type: object | |
properties: | |
username: | |
type: string | |
example: zainab | |
role: | |
type: string | |
example: ADMIN | |
status: | |
type: string | |
example: AKTIF | |
errors: | |
type: object | |
properties: | |
kode_error: | |
type: integer | |
pesan: | |
type: string | |
data: | |
type: string | |
example: null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment