Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { Name string `yaml:"name"` Method string `yaml:"method"` Path string `yaml:"path"` Headers map[string]string `yaml:"headers"` Requests []Request `yaml:"requests"` Responses []Response `yaml:"responses"` }
func (Handler) ContentType ¶ added in v0.0.2
type Response ¶
type Response struct { Name string `yaml:"name"` Description string `yaml:"description"` StatusCode int `yaml:"status_code"` Headers map[string]string `yaml:"headers"` Body string `yaml:"body"` }
func (Response) ContentType ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.