upgrade swagger version to v0.27.0 (#798)

This commit is contained in:
Harshavardhana
2021-06-08 12:35:39 -07:00
committed by GitHub
parent 6f0df68200
commit 6791631904
400 changed files with 5257 additions and 1128 deletions

View File

@@ -23,6 +23,7 @@ package models
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"encoding/json"
"github.com/go-openapi/errors"
@@ -105,7 +106,6 @@ func (m *SetBucketQuota) validateQuotaTypeEnum(path, location string, value stri
}
func (m *SetBucketQuota) validateQuotaType(formats strfmt.Registry) error {
if swag.IsZero(m.QuotaType) { // not required
return nil
}
@@ -118,6 +118,11 @@ func (m *SetBucketQuota) validateQuotaType(formats strfmt.Registry) error {
return nil
}
// ContextValidate validates this set bucket quota based on context it is used
func (m *SetBucketQuota) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *SetBucketQuota) MarshalBinary() ([]byte, error) {
if m == nil {