Versions in this module Expand all Collapse all v1 v1.2.0 Sep 29, 2021 v1.1.8 Sep 29, 2021 Changes in this version + type Annotation struct + Properties map[string]string + type ApiSpec struct + Imports []Import + Info Info + Service Service + Syntax ApiSyntax + Types []Type + type ApiSyntax struct + Version string + type ArrayType struct + RawName string + Value Type + func (t ArrayType) Name() string + type AtDoc struct + Properties map[string]string + Text string + type DefineStruct struct + Docs Doc + Members []Member + RawName string + func (t DefineStruct) GetBodyMembers() []Member + func (t DefineStruct) GetFormMembers() []Member + func (t DefineStruct) GetNonBodyMembers() []Member + func (t DefineStruct) Name() string + type Doc []string + type Group struct + Annotation Annotation + Routes []Route + func (g Group) GetAnnotation(key string) string + type Import struct + Value string + type Info struct + Author string + Desc string + Email string + Properties map[string]string + Title string + Version string + type InterfaceType struct + RawName string + func (t InterfaceType) Name() string + type MapType struct + Key string + RawName string + Value Type + func (t MapType) Name() string + type Member struct + Comment string + Docs Doc + IsInline bool + Name string + Tag string + Type Type + func (m Member) GetComment() string + func (m Member) GetPropertyName() (string, error) + func (m Member) IsBodyMember() bool + func (m Member) IsFormMember() bool + func (m Member) IsOmitEmpty() bool + func (m Member) IsOptional() bool + func (m Member) Tags() []*Tag + type OriginType struct + Key string + RawName string + func (t OriginType) Name() string + type PointerType struct + RawName string + Type Type + func (t PointerType) Name() string + type PrimitiveType struct + RawName string + func (t PrimitiveType) Name() string + type Route struct + AtDoc AtDoc + AtServerAnnotation Annotation + Docs Doc + Handler string + Method string + Path string + RequestType Type + ResponseType Type + func (r Route) GetAnnotation(key string) string + func (r Route) JoinedDoc() string + func (r Route) RequestTypeName() string + func (r Route) ResponseTypeName() string + type Service struct + Groups []Group + Name string + func (s Service) Routes() []Route + type Tag struct + Key string + Name string + Options []string + type Tags struct + func Parse(tag string) (*Tags, error) + func (t *Tags) Get(key string) (*Tag, error) + func (t *Tags) Keys() []string + func (t *Tags) Tags() []*Tag + type Type interface + Name func() string