mirror of
https://github.com/nprasad2077/NBA_Go.git
synced 2026-09-22 14:05:13 +00:00
swagger groups
This commit is contained in:
@@ -95,6 +95,7 @@ func ScrapePlayerAdvancedStats(db *gorm.DB) fiber.Handler {
|
|||||||
// @Summary Get player advanced stats
|
// @Summary Get player advanced stats
|
||||||
// @Description Returns filtered and paginated player advanced stats
|
// @Description Returns filtered and paginated player advanced stats
|
||||||
// @Tags PlayerStats
|
// @Tags PlayerStats
|
||||||
|
// @Group Player Stats
|
||||||
// @Accept json
|
// @Accept json
|
||||||
// @Produce json
|
// @Produce json
|
||||||
// @Param season query int false "Season (e.g., 2025)"
|
// @Param season query int false "Season (e.g., 2025)"
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ func ScrapePlayerShotChart(db *gorm.DB) fiber.Handler {
|
|||||||
// @Summary Get shot-chart data
|
// @Summary Get shot-chart data
|
||||||
// @Description Returns a paginated list of shot-chart points, optionally filtered by various parameters.
|
// @Description Returns a paginated list of shot-chart points, optionally filtered by various parameters.
|
||||||
// @Tags PlayerShotChart
|
// @Tags PlayerShotChart
|
||||||
|
// @Group Player-Specific
|
||||||
// @Accept json
|
// @Accept json
|
||||||
// @Produce json
|
// @Produce json
|
||||||
// @Param page query int false "Page number for pagination (defaults to 1)"
|
// @Param page query int false "Page number for pagination (defaults to 1)"
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ func ScrapePlayerTotalStats(db *gorm.DB) fiber.Handler {
|
|||||||
// @Summary Get player total stats
|
// @Summary Get player total stats
|
||||||
// @Description Filter and paginate player totals
|
// @Description Filter and paginate player totals
|
||||||
// @Tags PlayerTotals
|
// @Tags PlayerTotals
|
||||||
|
// @Group Player Stats
|
||||||
// @Accept json
|
// @Accept json
|
||||||
// @Produce json
|
// @Produce json
|
||||||
// @Param season query int false "Season (e.g. 2000)"
|
// @Param season query int false "Season (e.g. 2000)"
|
||||||
|
|||||||
Reference in New Issue
Block a user