diff --git a/docs/docs.go b/docs/docs.go index 6478a07..bf45f68 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -9,7 +9,15 @@ const docTemplate = `{ "info": { "description": "{{escape .Description}}", "title": "{{.Title}}", - "contact": {}, + "termsOfService": "https://lauf-fuer-kaya.de/datenschutz", + "contact": { + "name": "ODIT.Services UG (haftungsbeschränkt)", + "url": "https://odit.services", + "email": "info@odit.services" + }, + "license": { + "name": "CC BY-NC-SA 4.0" + }, "version": "{{.Version}}" }, "host": "{{.Host}}", diff --git a/docs/swagger.json b/docs/swagger.json index 8f5167d..2eebab6 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -3,7 +3,15 @@ "info": { "description": "This is the API documentation for the LfK Document Server - a tool for pdf generation.", "title": "LfK Document Server API", - "contact": {} + "termsOfService": "https://lauf-fuer-kaya.de/datenschutz", + "contact": { + "name": "ODIT.Services UG (haftungsbeschränkt)", + "url": "https://odit.services", + "email": "info@odit.services" + }, + "license": { + "name": "CC BY-NC-SA 4.0" + } }, "paths": { "/cards": { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 89b3374..9cf9f7c 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -152,9 +152,15 @@ definitions: - last_name type: object info: - contact: {} + contact: + email: info@odit.services + name: ODIT.Services UG (haftungsbeschränkt) + url: https://odit.services description: This is the API documentation for the LfK Document Server - a tool for pdf generation. + license: + name: CC BY-NC-SA 4.0 + termsOfService: https://lauf-fuer-kaya.de/datenschutz title: LfK Document Server API paths: /cards: diff --git a/main.go b/main.go index 26611ca..be1eeef 100644 --- a/main.go +++ b/main.go @@ -57,6 +57,11 @@ func loadEnv() error { // @title LfK Document Server API // @description This is the API documentation for the LfK Document Server - a tool for pdf generation. +// @license.name CC BY-NC-SA 4.0 +// @termsOfService https://lauf-fuer-kaya.de/datenschutz +// @contact.name ODIT.Services UG (haftungsbeschränkt) +// @contact.url https://odit.services +// @contact.email info@odit.services // @securityDefinitions.apiKey ApiKeyAuth // @in query // @name key