feat: integrated swagger
This commit is contained in:
22
backend/docs/swagger.yaml
Normal file
22
backend/docs/swagger.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
definitions:
|
||||
controllers.HealthStatus:
|
||||
properties:
|
||||
healthy:
|
||||
type: boolean
|
||||
type: object
|
||||
info:
|
||||
contact: {}
|
||||
paths:
|
||||
/service/health:
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: desc
|
||||
schema:
|
||||
$ref: '#/definitions/controllers.HealthStatus'
|
||||
summary: get service health status
|
||||
swagger: "2.0"
|
||||
Reference in New Issue
Block a user