diff --git a/docs/docs.go b/docs/docs.go index c2609d7..b1e15aa 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -470,7 +470,7 @@ const docTemplate = `{ // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "1.0", - Host: "localhost", + Host: "", BasePath: "/api", Schemes: []string{"http"}, Title: "cardano-node-api", diff --git a/docs/swagger.json b/docs/swagger.json index 6247179..3f65d65 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -17,7 +17,6 @@ }, "version": "1.0" }, - "host": "localhost", "basePath": "/api", "paths": { "/chainsync/sync": { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index b167266..1d7987a 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -66,7 +66,6 @@ definitions: format: base16 type: string type: object -host: localhost info: contact: email: support@blinklabs.io diff --git a/internal/api/api.go b/internal/api/api.go index f8d45d1..7da7607 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -1,4 +1,4 @@ -// Copyright 2023 Blink Labs Software +// Copyright 2024 Blink Labs Software // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -33,7 +33,6 @@ import ( // @title cardano-node-api // @version 1.0 // @description Cardano Node API -// @host localhost // @Schemes http // @BasePath /api // @contact.name Blink Labs