Add contact email to documentation

- Add Support section to README with contact email and issues link
- Add contact email to Swagger API documentation
- Regenerate Swagger docs
This commit is contained in:
2025-11-28 01:26:33 +01:00
parent 540a95cbec
commit 0e909182c2
5 changed files with 11 additions and 2 deletions
+5
View File
@@ -117,6 +117,11 @@ This project follows hexagonal (ports & adapters) architecture:
- `infrastructure/`: External adapters (database, HTTP, etc.)
- `shared/`: Common utilities and errors
## Support
- 📧 Email: contact@apocapoc.app
- 🐛 Issues: [GitHub Issues](https://github.com/davidfolch/apocapoc-api/issues)
## License
MIT
+1
View File
@@ -23,6 +23,7 @@ import (
// @contact.name API Support
// @contact.url https://github.com/davidfolch/apocapoc-api
// @contact.email contact@apocapoc.app
// @license.name MIT
// @license.url https://opensource.org/licenses/MIT
+2 -1
View File
@@ -12,7 +12,8 @@ const docTemplate = `{
"termsOfService": "http://swagger.io/terms/",
"contact": {
"name": "API Support",
"url": "https://github.com/davidfolch/apocapoc-api"
"url": "https://github.com/davidfolch/apocapoc-api",
"email": "contact@apocapoc.app"
},
"license": {
"name": "MIT",
+2 -1
View File
@@ -6,7 +6,8 @@
"termsOfService": "http://swagger.io/terms/",
"contact": {
"name": "API Support",
"url": "https://github.com/davidfolch/apocapoc-api"
"url": "https://github.com/davidfolch/apocapoc-api",
"email": "contact@apocapoc.app"
},
"license": {
"name": "MIT",
+1
View File
@@ -205,6 +205,7 @@ definitions:
- HabitTypeValue
info:
contact:
email: contact@apocapoc.app
name: API Support
url: https://github.com/davidfolch/apocapoc-api
description: Self-hosted habit tracking service