docs(swagger): Updated swagger metadata
This commit is contained in:
parent
1dfd96869d
commit
d19029b5ad
10
docs/docs.go
10
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}}",
|
||||
|
@ -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": {
|
||||
|
@ -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:
|
||||
|
5
main.go
5
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user