mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-22 21:04:41 +08:00
[Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670)
* Update go-swagger * vendor
This commit is contained in:
go.modgo.sum
vendor
cloud.google.com/go/compute/metadata
github.com
asaskevich/govalidator
.gitignore.travis.ymlCONTRIBUTING.mdREADME.mddoc.goerror.gogo.modpatterns.gotypes.goutils.govalidator.gowercker.yml
fsnotify/fsnotify
.editorconfig.gitattributes.travis.ymlLICENSEREADME.mdfsnotify.gogo.modgo.suminotify_poller.goopen_mode_bsd.goopen_mode_darwin.go
go-openapi
analysis
errors
jsonreference
loads
runtime
.travis.ymlclient_request.goclient_response.gogo.modgo.sum
logger
middleware
context.go
denco
not_implemented.goparameter.goredoc.gorequest.gorouter.goswaggerui.gountyped
validation.gosecurity
spec
.golangci.yml.travis.ymlbindata.gocontact_info.goexpander.gogo.modgo.sumlicense.goref.goschema_loader.go
strfmt
swag
validate
go-swagger/go-swagger
cmd/swagger
codescan
generator
bindata.goclient.godebug.golanguage.gomedia.gomodel.gooperation.goshared.gospec.gostructs.gosupport.gotemplate_repo.gotypes.go
scan
golang/protobuf/proto
kr/pretty
mailru/easyjson
mitchellh/mapstructure
pelletier/go-toml
.travis.ymlDockerfileMakefileREADME.mdappveyor.ymlazure-pipelines.ymlbenchmark.shdoc.goexample-crlf.tomlexample.tomlfuzzit.shgo.modgo.sumkeysparsing.golexer.golocaltime.gomarshal.gomarshal_OrderPreserve_Map_test.tomlmarshal_OrderPreserve_test.tomlmarshal_test.tomlparser.gotoken.gotoml.gotomltree_write.go
spf13
afero
.gitignore.travis.ymlREADME.mdappveyor.ymlbasepath.goconst_bsds.goconst_win_unix.gocopyOnWriteFs.gogo.modgo.sumioutil.gomatch.go
mem
memmap.goos.goreadonlyfs.goregexpfs.gosymlink.gocast
viper
stretchr/testify
subosito/gotenv
go.mongodb.org/mongo-driver
bson
bson.gobson_1_8.go
bsoncodec
byte_slice_codec.gocond_addr_codec.godefault_value_decoders.godefault_value_encoders.godoc.goempty_interface_codec.gomap_codec.goregistry.goslice_codec.gostring_codec.gostruct_codec.gotime_codec.gotypes.gouint_codec.go
bsonoptions
byte_slice_codec_options.goempty_interface_codec_options.gomap_codec_options.goslice_codec_options.gostring_codec_options.gostruct_codec_options.gotime_codec_options.gouint_codec_options.go
bsonrw
extjson_parser.goextjson_wrappers.goextjson_writer.gojson_scanner.govalue_reader.govalue_writer.gowriter.go
bsontype
decoder.godoc.gomarshal.goprimitive
primitive_codecs.gox/bsonx/bsoncore
google.golang.org
appengine
protobuf
encoding/prototext
internal
fieldnum
any_gen.goapi_gen.godescriptor_gen.godoc.goduration_gen.goempty_gen.gofield_mask_gen.gosource_context_gen.gostruct_gen.gotimestamp_gen.gotype_gen.gowrappers_gen.go
filedesc
genid
any_gen.goapi_gen.godescriptor_gen.godoc.goduration_gen.goempty_gen.gofield_mask_gen.gogoname.gomap_entry.gosource_context_gen.gostruct_gen.gotimestamp_gen.gotype_gen.gowrappers.gowrappers_gen.go
genname
impl
api_export.gocodec_map.gocodec_message.gomessage.gomessage_reflect.gomessage_reflect_field.gomessage_reflect_gen.gopointer_unsafe.govalidate.go
version
proto
reflect
gopkg.in/yaml.v3
.travis.ymlLICENSENOTICEREADME.mdapic.godecode.goemitterc.goencode.gogo.modparserc.goreaderc.goresolve.goscannerc.gosorter.gowriterc.goyaml.goyamlh.goyamlprivateh.go
modules.txt
6
vendor/github.com/go-openapi/validate/spec_messages.go
generated
vendored
6
vendor/github.com/go-openapi/validate/spec_messages.go
generated
vendored
@ -163,6 +163,9 @@ const (
|
||||
// PathParamGarbledWarning ...
|
||||
PathParamGarbledWarning = "in path %q, param %q contains {,} or white space. Albeit not stricly illegal, this is probably no what you want"
|
||||
|
||||
// ParamValidationTypeMismatch indicates that parameter has validation which does not match its type
|
||||
ParamValidationTypeMismatch = "validation keywords of parameter %q in path %q don't match its type %s"
|
||||
|
||||
// PathStrippedParamGarbledWarning ...
|
||||
PathStrippedParamGarbledWarning = "path stripped from path parameters %s contains {,} or white space. This is probably no what you want."
|
||||
|
||||
@ -341,6 +344,9 @@ func invalidParameterDefinitionMsg(path, method, operationID string) errors.Erro
|
||||
func invalidParameterDefinitionAsSchemaMsg(path, method, operationID string) errors.Error {
|
||||
return errors.New(errors.CompositeErrorCode, InvalidParameterDefinitionAsSchemaError, path, method, operationID)
|
||||
}
|
||||
func parameterValidationTypeMismatchMsg(param, path, typ string) errors.Error {
|
||||
return errors.New(errors.CompositeErrorCode, ParamValidationTypeMismatch, param, path, typ)
|
||||
}
|
||||
|
||||
// disabled
|
||||
//func invalidResponseDefinitionAsSchemaMsg(path, method string) errors.Error {
|
||||
|
Reference in New Issue
Block a user