mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-07 18:06:21 +00:00
Update go-restful
This commit is contained in:
8
Godeps/_workspace/src/github.com/emicklei/go-restful/parameter.go
generated
vendored
8
Godeps/_workspace/src/github.com/emicklei/go-restful/parameter.go
generated
vendored
@@ -95,8 +95,14 @@ func (p *Parameter) DataType(typeName string) *Parameter {
|
||||
return p
|
||||
}
|
||||
|
||||
// DefaultValue sets the default value field and returnw the receiver
|
||||
// DefaultValue sets the default value field and returns the receiver
|
||||
func (p *Parameter) DefaultValue(stringRepresentation string) *Parameter {
|
||||
p.data.DefaultValue = stringRepresentation
|
||||
return p
|
||||
}
|
||||
|
||||
// Description sets the description value field and returns the receiver
|
||||
func (p *Parameter) Description(doc string) *Parameter {
|
||||
p.data.Description = doc
|
||||
return p
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user