mirror of
https://github.com/nprasad2077/NBA_Go.git
synced 2026-09-22 05:55:13 +00:00
24 lines
878 B
Go
24 lines
878 B
Go
// 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`)
|
||
// ----------------------------------------------------------------------------- |