Documentation ¶
Index ¶
- Variables
- func CheckVersion(v string) error
- func HTML(w io.Writer, api *API) error
- func HTMLCustom(s string, w io.Writer, api *API) error
- func JSONToHTML(w io.Writer, r io.Reader) error
- func JSONToHTMLCustom(s string, w io.Writer, r io.Reader) error
- func MarkdownToHTML(w io.Writer, r io.Reader) error
- func MarkdownToHTMLCustom(s string, w io.Writer, r io.Reader) error
- func ParseMarkdown(r io.Reader) ([]byte, error)
- type API
- type AST
- type Action
- type Error
- type Example
- type Format
- type Header
- type Host
- type Location
- type Metadata
- type Model
- type Parameter
- type Request
- type Resource
- type ResourceGroup
- type Response
- type Value
- type Warning
Constants ¶
This section is empty.
Variables ¶
View Source
var Tmpl = `` /* 4612-byte string literal not displayed */
Functions ¶
func CheckVersion ¶
Types ¶
type API ¶
type AST ¶
type AST struct { Version string `json:"_version"` Name string `json:"name"` Description string `json:"description"` Metadata []Metadata `json:"metadata"` ResourceGroups []ResourceGroup `json:"resourceGroups"` }
type ResourceGroup ¶
Click to show internal directories.
Click to hide internal directories.