feat(docs): Swagger generation

This commit is contained in:
2024-12-02 17:13:05 +01:00
parent 3f35d35016
commit 491d31e2e9
7 changed files with 189 additions and 7 deletions

18
docs/swagger.yaml Normal file
View File

@@ -0,0 +1,18 @@
info:
contact: {}
description: This is the API documentation for the LfK Document Server - a tool
for pdf generation.
title: LfK Document Server API
paths:
/contracts:
post:
consumes:
- application/json
description: Generate a contract based on the provided data
produces:
- application/pdf
responses: {}
summary: Generate a contract
tags:
- contracts
swagger: "2.0"