Setters: support for setting string list fields

This commit is contained in:
Phillip Wittrock
2020-03-07 13:53:24 -08:00
parent 0b1ad031a9
commit 370502ed4b
13 changed files with 320 additions and 57 deletions

View File

@@ -14,9 +14,9 @@ import (
// typeToTag maps OpenAPI schema types to yaml 1.2 tags
var typeToTag = map[string]string{
"string": "!!str",
"integer": "!!int",
"boolean": "!!bool",
"string": StringTag,
"integer": IntTag,
"boolean": BoolTag,
"number": "!!float",
}