From e57c4adccab5ce5ce83763e7ef90c9f1da89eafa Mon Sep 17 00:00:00 2001 From: Ravi Prasad Date: Thu, 17 Jul 2025 00:49:20 -0500 Subject: [PATCH 1/2] https --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index c039695..ad09549 100644 --- a/main.go +++ b/main.go @@ -1,8 +1,8 @@ // @title NBA_Go API // @version 1.0 // @description Stats service, now with public access! -// //@schemes https -// @schemes http +// @schemes https http +// //@schemes http // @BasePath / // // @tag.name Games From 687ad8288e086de499461cfda2bdee2b5f58f236 Mon Sep 17 00:00:00 2001 From: Ravi Prasad Date: Thu, 17 Jul 2025 00:49:32 -0500 Subject: [PATCH 2/2] https --- docs/docs.go | 2 +- docs/swagger.json | 1 + docs/swagger.yaml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docs.go b/docs/docs.go index 0e4aad6..762962d 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -965,7 +965,7 @@ var SwaggerInfo = &swag.Spec{ Version: "1.0", Host: "", BasePath: "/", - Schemes: []string{"http"}, + Schemes: []string{"https", "http"}, Title: "NBA_Go API", Description: "Stats service, now with public access!", InfoInstanceName: "swagger", diff --git a/docs/swagger.json b/docs/swagger.json index 2c2e10d..ff3229a 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -1,5 +1,6 @@ { "schemes": [ + "https", "http" ], "swagger": "2.0", diff --git a/docs/swagger.yaml b/docs/swagger.yaml index ef93c65..cd0a7a3 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -627,6 +627,7 @@ paths: - PlayerTotals x-order: 1 schemes: +- https - http swagger: "2.0" tags: