mirror of
https://github.com/nprasad2077/NBA_Go.git
synced 2026-09-22 14:05:13 +00:00
swagger fixed
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
// Package main holds the global Swagger annotations.
|
||||
// Run “swag init --parseDependency --parseInternal” after editing.
|
||||
package main
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// General API information
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
// @title NBA_Go API
|
||||
// @version 1.0
|
||||
// @description Stats service with API‑key auth
|
||||
// @schemes http https
|
||||
// @BasePath /
|
||||
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
// 🔐 SECURITY
|
||||
// -----------------------------------------------------------------------------
|
||||
// @securityDefinitions.apikey ApiKeyAuth
|
||||
// @in header
|
||||
// @name X-API-Key
|
||||
//
|
||||
// (each protected handler still needs `@Security ApiKeyAuth`)
|
||||
// -----------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user