Skip body parsing for RevokePermissionsForGroup

For the different variants the body parsing has to be skipped due to
return code '204'.
This commit is contained in:
Matthias Preu 2020-03-07 00:32:08 +01:00
parent e7592ef714
commit abd53ff322

View File

@ -8971,7 +8971,7 @@ func (a *DefaultApiService) RevokePermissionsForGroup(localVarOptionals map[stri
return NewAPIResponseWithError(localVarHTTPResponse, reportError("Status: %v, Body: %s", localVarHTTPResponse.Status, bodyBytes))
}
return NewBitbucketAPIResponse(localVarHTTPResponse)
return NewAPIResponse(localVarHTTPResponse), nil
}
/* DefaultApiService
@ -9035,7 +9035,7 @@ func (a *DefaultApiService) RevokePermissionsForGroup_28(projectKey string, loca
return NewAPIResponseWithError(localVarHTTPResponse, reportError("Status: %v, Body: %s", localVarHTTPResponse.Status, bodyBytes))
}
return NewBitbucketAPIResponse(localVarHTTPResponse)
return NewAPIResponse(localVarHTTPResponse), nil
}
/* DefaultApiService
@ -9100,7 +9100,7 @@ func (a *DefaultApiService) RevokePermissionsForGroup_29(projectKey, repositoryS
return NewAPIResponseWithError(localVarHTTPResponse, reportError("Status: %v, Body: %s", localVarHTTPResponse.Status, bodyBytes))
}
return NewBitbucketAPIResponse(localVarHTTPResponse)
return NewAPIResponse(localVarHTTPResponse), nil
}
/* DefaultApiService