mirror of
https://github.com/nprasad2077/NBA_Go.git
synced 2026-09-22 05:55:13 +00:00
swagger
This commit is contained in:
@@ -78,7 +78,7 @@ func ScrapePlayerShotChart(db *gorm.DB) fiber.Handler {
|
||||
// @Param season query int false "Season (e.g., 2023)"
|
||||
// @Success 200 {array} models.PlayerShotChart
|
||||
// @Failure 500 {object} map[string]string
|
||||
// @Router /api/playershotchart [get]
|
||||
// //@Router /api/playershotchart [get]
|
||||
func GetPlayerShotChart(db *gorm.DB) fiber.Handler {
|
||||
return func(c *fiber.Ctx) error {
|
||||
var shots []models.PlayerShotChart
|
||||
|
||||
Reference in New Issue
Block a user