Upgrade to gopkg.in/yaml.v2 v2.3.0

This commit is contained in:
jregan
2020-06-30 17:22:27 -07:00
parent a689e0c2b4
commit 436dada184
34 changed files with 64 additions and 11 deletions

View File

@@ -74,7 +74,7 @@ func (c SetterCreator) Create(openAPIPath, resourcesPath string) error {
// Update the OpenAPI definitions to hace the setter
sd := setters2.SetterDefinition{
Name: c.Name, Value: c.FieldValue, SetBy: c.SetBy, Description: c.Description,
Count: a.Count, Type: c.Type, Schema: schema, Required: c.Required,
Count: a.Count, Type: c.Type, Schema: schema, Required: c.Required,
}
if err := sd.AddToFile(openAPIPath); err != nil {
return err