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