Skip to content

Commit

Permalink
fix swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
glorv committed Dec 25, 2023
1 parent 04131a8 commit a070358
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/mcs/resourcemanager/server/apis/v1/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (s *Service) putResourceGroup(c *gin.Context) {
// @Success 200 {string} json format of rmserver.ResourceGroup
// @Failure 404 {string} error
// @Param name path string true "groupName"
// @Param with_stats query bool false whether to return statistics data.
// @Param with_stats query bool false "whether to return statistics data."
// @Router /config/group/{name} [GET]
func (s *Service) getResourceGroup(c *gin.Context) {
withStats := strings.EqualFold(c.Query("with_stats"), "true")
Expand All @@ -205,7 +205,7 @@ func (s *Service) getResourceGroup(c *gin.Context) {
// @Summary get all resource group with a list.
// @Success 200 {string} json format of []rmserver.ResourceGroup
// @Failure 404 {string} error
// @Param with_stats query bool false whether to return statistics data.
// @Param with_stats query bool false "whether to return statistics data."
// @Router /config/groups [GET]
func (s *Service) getResourceGroupList(c *gin.Context) {
withStats := strings.EqualFold(c.Query("with_stats"), "true")
Expand Down

0 comments on commit a070358

Please sign in to comment.