Versions in this module Expand all Collapse all v2 v2.0.301 May 28, 2021 Changes in this version + func DefaultValue(typ *spec.TypeDef, valueStr string) interface + func GenerateSpecification(serviceFile string, outFile string) (err error) + func ToYamlString(data interface{}) (string, error) + type MapItem struct + type UrlOperations struct + Operations []*spec.NamedOperation + Url string + func OperationsByUrl(specification *spec.Spec) []*UrlOperations + type YamlArray struct + Items []interface{} + func Array() *YamlArray + func (self *YamlArray) Add(value interface{}) *YamlArray + func (self *YamlArray) Length() int + func (self *YamlArray) MarshalYAML() (interface{}, error) + type YamlMap struct + Items []MapItem + func Map() *YamlMap + func OpenApiType(typ *spec.TypeDef, defaultValue *string) *YamlMap + func PlainOpenApiType(typeInfo *spec.TypeInfo, typ string) *YamlMap + func (self *YamlMap) Length() int + func (self *YamlMap) MarshalYAML() (interface{}, error) + func (self *YamlMap) Set(name string, value interface{}) *YamlMap