diff --git a/backend/app/api/main.go b/backend/app/api/main.go index 094777a6..e8ad3306 100644 --- a/backend/app/api/main.go +++ b/backend/app/api/main.go @@ -66,7 +66,9 @@ func validatePostgresSSLMode(sslMode string) bool { // @title Homebox API // @version 1.0 // @description Track, Manage, and Organize your Things. -// @contact.name Don't +// @contact.name Homebox Team +// @contact.url https://discord.homebox.software +// @host demo.homebox.software // @BasePath /api // @securityDefinitions.apikey Bearer // @in header diff --git a/backend/app/api/static/docs/docs.go b/backend/app/api/static/docs/docs.go index f15f3288..d8f364c0 100644 --- a/backend/app/api/static/docs/docs.go +++ b/backend/app/api/static/docs/docs.go @@ -10,7 +10,8 @@ const docTemplate = `{ "description": "{{escape .Description}}", "title": "{{.Title}}", "contact": { - "name": "Don't" + "name": "Homebox Team", + "url": "https://discord.homebox.software" }, "version": "{{.Version}}" }, @@ -3262,7 +3263,7 @@ const docTemplate = `{ // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "1.0", - Host: "", + Host: "demo.homebox.software", BasePath: "/api", Schemes: []string{}, Title: "Homebox API", diff --git a/backend/app/api/static/docs/swagger.json b/backend/app/api/static/docs/swagger.json index 227fa54f..c67f86ea 100644 --- a/backend/app/api/static/docs/swagger.json +++ b/backend/app/api/static/docs/swagger.json @@ -4,10 +4,12 @@ "description": "Track, Manage, and Organize your Things.", "title": "Homebox API", "contact": { - "name": "Don't" + "name": "Homebox Team", + "url": "https://discord.homebox.software" }, "version": "1.0" }, + "host": "demo.homebox.software", "basePath": "/api", "paths": { "/v1/actions/ensure-asset-ids": { diff --git a/backend/app/api/static/docs/swagger.yaml b/backend/app/api/static/docs/swagger.yaml index 7f3d1145..1a983ac9 100644 --- a/backend/app/api/static/docs/swagger.yaml +++ b/backend/app/api/static/docs/swagger.yaml @@ -772,9 +772,11 @@ definitions: fields: type: string type: object +host: demo.homebox.software info: contact: - name: Don't + name: Homebox Team + url: https://discord.homebox.software description: Track, Manage, and Organize your Things. title: Homebox API version: "1.0" diff --git a/docs/docs/api/openapi-2.0.json b/docs/docs/api/openapi-2.0.json index c9f684d5..09c2eb94 100644 --- a/docs/docs/api/openapi-2.0.json +++ b/docs/docs/api/openapi-2.0.json @@ -4,10 +4,12 @@ "description": "Track, Manage, and Organize your Things.", "title": "Homebox API", "contact": { - "name": "Don't" + "name": "Homebox Team", + "url": "https://discord.homebox.software" }, "version": "1.0" }, + "host": "demo.homebox.software", "basePath": "/api", "paths": { "/v1/actions/ensure-asset-ids": { diff --git a/docs/en/api.md b/docs/en/api.md index 893ea228..4dc461aa 100644 --- a/docs/en/api.md +++ b/docs/en/api.md @@ -38,12 +38,6 @@ if (isDark.value) { } - -