diff --git a/client.gen.go b/client.gen.go index 52d4c69..a4d459b 100644 --- a/client.gen.go +++ b/client.gen.go @@ -6471,7 +6471,6 @@ func (r ListTeamPluginUsageResponse) StatusCode() int { type IncreaseTeamPluginUsageResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *UsageCurrent JSON401 *RequiresAuthentication JSON403 *Forbidden JSON404 *NotFound @@ -10198,13 +10197,6 @@ func ParseIncreaseTeamPluginUsageResponse(rsp *http.Response) (*IncreaseTeamPlug } switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest UsageCurrent - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: var dest RequiresAuthentication if err := json.Unmarshal(bodyBytes, &dest); err != nil { diff --git a/spec.json b/spec.json index 8aa17ca..dfea90c 100644 --- a/spec.json +++ b/spec.json @@ -2622,15 +2622,8 @@ } }, "responses": { - "200": { - "description": "Plugin usage for the current calendar month.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UsageCurrent" - } - } - } + "204": { + "description": "Success (the plugin usage was increased). It may take some time to reflect in the usage list." }, "401": { "$ref": "#/components/responses/RequiresAuthentication"