From 8ef07dfa98538cbda06f3aa5e0953b570e35a567 Mon Sep 17 00:00:00 2001 From: Ravi Prasad Date: Tue, 24 Jun 2025 01:06:26 -0500 Subject: [PATCH] swagger --- docs/docs.go | 2 +- docs/swagger.json | 1 - docs/swagger.yaml | 1 - main.go | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 23ad3f8..40079cd 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -378,7 +378,7 @@ var SwaggerInfo = &swag.Spec{ Version: "1.0", Host: "", BasePath: "/", - Schemes: []string{"http", "https"}, + Schemes: []string{"https"}, Title: "NBA_Go API", Description: "Stats service, now with public access!", InfoInstanceName: "swagger", diff --git a/docs/swagger.json b/docs/swagger.json index 714c203..d019ace 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -1,6 +1,5 @@ { "schemes": [ - "http", "https" ], "swagger": "2.0", diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 2df4c44..6b0a885 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -243,6 +243,5 @@ paths: tags: - PlayerTotals schemes: -- http - https swagger: "2.0" diff --git a/main.go b/main.go index 0b66512..5fbfef4 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,7 @@ // @title NBA_Go API // @version 1.0 // @description Stats service, now with public access! -// @schemes http https +// @schemes https // @BasePath / // // To re-enable security docs: