penambahan data lis
This commit is contained in:
62
cmd/api/docs/swagger.yaml
Normal file
62
cmd/api/docs/swagger.yaml
Normal file
@@ -0,0 +1,62 @@
|
||||
basePath: /api
|
||||
definitions:
|
||||
mikrobiologi.RequestPasienMikrobiologi:
|
||||
properties:
|
||||
idxdaftar:
|
||||
type: string
|
||||
nolab:
|
||||
type: string
|
||||
nomr:
|
||||
type: string
|
||||
type: object
|
||||
mikrobiologi.ResponseLISMikro:
|
||||
properties:
|
||||
message:
|
||||
type: string
|
||||
nolab:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
type: object
|
||||
host: localhost:8080
|
||||
info:
|
||||
contact:
|
||||
email: support@swagger.io
|
||||
name: API Support
|
||||
url: http://www.swagger.io/support
|
||||
description: A comprehensive Go API service with Swagger documentation
|
||||
license:
|
||||
name: Apache 2.0
|
||||
url: http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
termsOfService: http://swagger.io/terms/
|
||||
title: API Service
|
||||
version: 1.0.0
|
||||
paths:
|
||||
/mikrobiologi/sendmikro:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Send Data LIS Mikro
|
||||
parameters:
|
||||
- description: Pasien Mikrobiologi request
|
||||
in: body
|
||||
name: request
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/mikrobiologi.RequestPasienMikrobiologi'
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"202":
|
||||
description: Accepted
|
||||
schema:
|
||||
$ref: '#/definitions/mikrobiologi.ResponseLISMikro'
|
||||
"400":
|
||||
description: Bad request
|
||||
summary: Send Data LIS Mikro
|
||||
tags:
|
||||
- LIS Mikro
|
||||
schemes:
|
||||
- http
|
||||
- https
|
||||
swagger: "2.0"
|
||||
Reference in New Issue
Block a user