Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoAction ¶
type GoAction struct { Path string Verb string Name string Action *Action Body *GoType Url []*PathPart Query []*GoParam Responses map[int]*GoActionResponse }
func (*GoAction) ResponseList ¶
func (a *GoAction) ResponseList() []*GoActionResponse
type GoActionResponse ¶
type GoType ¶
type Resolver ¶
type Resolver struct { Spec *Spec Arrays map[string]*GoType Objects map[string]*GoType Refs map[string]*GoType Defs map[string]*Schema Actions map[string]*GoAction }
func NewResolver ¶
type Spec ¶
type Spec struct { BasePath string `json:"basePath"` Host string `json:"host"` Produces []string `json:"produces"` Name string `json:"name"` Schemes []string `json:"schemes"` Info struct { Title string `json:"title"` Description string `json:"description"` Version string `json:"version"` } `json:"info"` Paths map[string]*Path `json:"paths"` Definitions map[string]*Schema `json:"definitions"` }
Click to show internal directories.
Click to hide internal directories.