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:
@@ -117,6 +117,11 @@ This project follows hexagonal (ports & adapters) architecture:
|
|||||||
- `infrastructure/`: External adapters (database, HTTP, etc.)
|
- `infrastructure/`: External adapters (database, HTTP, etc.)
|
||||||
- `shared/`: Common utilities and errors
|
- `shared/`: Common utilities and errors
|
||||||
|
|
||||||
|
## Support
|
||||||
|
|
||||||
|
- 📧 Email: contact@apocapoc.app
|
||||||
|
- 🐛 Issues: [GitHub Issues](https://github.com/davidfolch/apocapoc-api/issues)
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
MIT
|
MIT
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ import (
|
|||||||
|
|
||||||
// @contact.name API Support
|
// @contact.name API Support
|
||||||
// @contact.url https://github.com/davidfolch/apocapoc-api
|
// @contact.url https://github.com/davidfolch/apocapoc-api
|
||||||
|
// @contact.email contact@apocapoc.app
|
||||||
|
|
||||||
// @license.name MIT
|
// @license.name MIT
|
||||||
// @license.url https://opensource.org/licenses/MIT
|
// @license.url https://opensource.org/licenses/MIT
|
||||||
|
|||||||
+2
-1
@@ -12,7 +12,8 @@ const docTemplate = `{
|
|||||||
"termsOfService": "http://swagger.io/terms/",
|
"termsOfService": "http://swagger.io/terms/",
|
||||||
"contact": {
|
"contact": {
|
||||||
"name": "API Support",
|
"name": "API Support",
|
||||||
"url": "https://github.com/davidfolch/apocapoc-api"
|
"url": "https://github.com/davidfolch/apocapoc-api",
|
||||||
|
"email": "contact@apocapoc.app"
|
||||||
},
|
},
|
||||||
"license": {
|
"license": {
|
||||||
"name": "MIT",
|
"name": "MIT",
|
||||||
|
|||||||
+2
-1
@@ -6,7 +6,8 @@
|
|||||||
"termsOfService": "http://swagger.io/terms/",
|
"termsOfService": "http://swagger.io/terms/",
|
||||||
"contact": {
|
"contact": {
|
||||||
"name": "API Support",
|
"name": "API Support",
|
||||||
"url": "https://github.com/davidfolch/apocapoc-api"
|
"url": "https://github.com/davidfolch/apocapoc-api",
|
||||||
|
"email": "contact@apocapoc.app"
|
||||||
},
|
},
|
||||||
"license": {
|
"license": {
|
||||||
"name": "MIT",
|
"name": "MIT",
|
||||||
|
|||||||
@@ -205,6 +205,7 @@ definitions:
|
|||||||
- HabitTypeValue
|
- HabitTypeValue
|
||||||
info:
|
info:
|
||||||
contact:
|
contact:
|
||||||
|
email: contact@apocapoc.app
|
||||||
name: API Support
|
name: API Support
|
||||||
url: https://github.com/davidfolch/apocapoc-api
|
url: https://github.com/davidfolch/apocapoc-api
|
||||||
description: Self-hosted habit tracking service
|
description: Self-hosted habit tracking service
|
||||||
|
|||||||
Reference in New Issue
Block a user