Documentation ¶
Overview ¶
Package parser is an API blueprint parser and renderer
Index ¶
- func Load(name string, engine Parser) (*api.API, error)
- func LoadAsJSON(name string, engine Parser) ([]byte, error)
- func Parse(r io.Reader, engine Parser) (*api.API, error)
- func ParseAsJSON(r io.Reader, engine Parser) ([]byte, error)
- func Read(name string) ([]byte, error)
- func Seeds(name string) []string
- func Validate(r io.Reader, engine Parser) (*api.API, error)
- type Parser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAsJSON ¶ added in v1.0.0
LoadAsJSON reads API blueprint from file as API Element JSON using selected Parser
func ParseAsJSON ¶ added in v1.0.0
ParseAsJSON parse API blueprint as API Element JSON
Types ¶
Click to show internal directories.
Click to hide internal directories.