Update swagger generated files with latest swagger version (#3094)

This commit is contained in:
Cesar N
2023-10-19 12:49:38 -07:00
committed by GitHub
parent 8cb0f1e558
commit 4389548b64
69 changed files with 404 additions and 1 deletions

View File

@@ -108,6 +108,11 @@ func (m *BucketVersioningResponse) contextValidateExcludedPrefixes(ctx context.C
for i := 0; i < len(m.ExcludedPrefixes); i++ {
if m.ExcludedPrefixes[i] != nil {
if swag.IsZero(m.ExcludedPrefixes[i]) { // not required
return nil
}
if err := m.ExcludedPrefixes[i].ContextValidate(ctx, formats); err != nil {
if ve, ok := err.(*errors.Validation); ok {
return ve.ValidateName("excludedPrefixes" + "." + strconv.Itoa(i))