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

26
docs/swagger.json Normal file
View File

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