feat: integrated swagger

This commit is contained in:
2025-06-18 03:14:51 +03:00
parent 9e8dd9bf2f
commit ec40c86e4a
8 changed files with 230 additions and 9 deletions

25
backend/docs/swagger.yaml Normal file
View 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"