File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed
Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,9 @@ const docTemplate = `{
132132 }
133133 ],
134134 "description": "Delete an API key",
135+ "produces": [
136+ "application/json"
137+ ],
135138 "tags": [
136139 "api-keys"
137140 ],
Original file line number Diff line number Diff line change 126126 }
127127 ],
128128 "description" : " Delete an API key" ,
129+ "produces" : [
130+ " application/json"
131+ ],
129132 "tags" : [
130133 " api-keys"
131134 ],
Original file line number Diff line number Diff line change @@ -854,6 +854,8 @@ paths:
854854 name : id
855855 required : true
856856 type : integer
857+ produces :
858+ - application/json
857859 responses :
858860 " 200 " :
859861 description : OK
Original file line number Diff line number Diff line change @@ -1934,6 +1934,7 @@ func (h *Handler) CreateAPIKey(c *gin.Context) {
19341934// @Summary Delete API key
19351935// @Description Delete an API key
19361936// @Tags api-keys
1937+ // @Produce json
19371938// @Param id path int true "API Key ID"
19381939// @Success 200 {object} map[string]string
19391940// @Failure 400 {object} map[string]string
You can’t perform that action at this time.
0 commit comments