Mk/fix api docs (#601)

* fix: API URLs for docs

* fix: merge issue

* fix: Lets try this again with some minor changes
This commit is contained in:
Matt Kilgore
2025-03-22 13:26:42 -04:00
committed by GitHub
parent 7279703d7c
commit 41ff4c4664
6 changed files with 16 additions and 3 deletions

View File

@@ -69,11 +69,13 @@ func validatePostgresSSLMode(sslMode string) bool {
// @contact.name Homebox Team
// @contact.url https://discord.homebox.software
// @host demo.homebox.software
// @schemes https http
// @BasePath /api
// @securityDefinitions.apikey Bearer
// @in header
// @name Authorization
// @description "Type 'Bearer TOKEN' to correctly set the API Key"
// @externalDocs.url https://homebox.software/en/api
func main() {
zerolog.ErrorStackMarshaler = pkgerrors.MarshalStack