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,23 @@
|
||||
// swagger/swagger_doc.go
|
||||
package main
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// Global Swagger metadata
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
// @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 should still add `@Security ApiKeyAuth`)
|
||||
// -----------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user