From 560000dc9464cfb2a012767046002218ae4b82d7 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Mon, 7 Oct 2024 21:24:40 -0400 Subject: [PATCH] docs(swagger): remove scheme from label and regen (#249) Signed-off-by: Chris Gianelloni --- docs/docs.go | 4 ++-- docs/swagger.json | 5 +---- docs/swagger.yaml | 4 +--- internal/api/api.go | 3 +-- 4 files changed, 5 insertions(+), 11 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 76d6c27..1f9e4fc 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -11,7 +11,7 @@ const docTemplate = `{ "description": "{{escape .Description}}", "title": "{{.Title}}", "contact": { - "name": "Blink Labs", + "name": "Blink Labs Software", "url": "https://blinklabs.io", "email": "support@blinklabs.io" }, @@ -129,7 +129,7 @@ var SwaggerInfo = &swag.Spec{ Version: "v0", Host: "", BasePath: "/", - Schemes: []string{"http"}, + Schemes: []string{}, Title: "tx-submit-api", Description: "Cardano Transaction Submit API", InfoInstanceName: "swagger", diff --git a/docs/swagger.json b/docs/swagger.json index 41e9476..94eed45 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -1,13 +1,10 @@ { - "schemes": [ - "http" - ], "swagger": "2.0", "info": { "description": "Cardano Transaction Submit API", "title": "tx-submit-api", "contact": { - "name": "Blink Labs", + "name": "Blink Labs Software", "url": "https://blinklabs.io", "email": "support@blinklabs.io" }, diff --git a/docs/swagger.yaml b/docs/swagger.yaml index ac7a4fd..9a99f78 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -2,7 +2,7 @@ basePath: / info: contact: email: support@blinklabs.io - name: Blink Labs + name: Blink Labs Software url: https://blinklabs.io description: Cardano Transaction Submit API license: @@ -75,6 +75,4 @@ paths: schema: type: string summary: Submit Tx -schemes: -- http swagger: "2.0" diff --git a/internal/api/api.go b/internal/api/api.go index 53cf7a9..02659db 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -44,9 +44,8 @@ var staticFS embed.FS // @title tx-submit-api // @version v0 // @description Cardano Transaction Submit API -// @Schemes http // @BasePath / -// @contact.name Blink Labs +// @contact.name Blink Labs Software // @contact.url https://blinklabs.io // @contact.email support@blinklabs.io //