Documentation
¶
Overview ¶
Package testapp is the application the spectest end-to-end test runs the OpenAPI generator on and serves with Echo, so both helpers are checked against the generator's real output.
Index ¶
- func Routes(e *echo.Echo, h *Handler)
- type Handler
- func (h *Handler) CreateWidget(c *echo.Context) error
- func (h *Handler) GetFile(c *echo.Context) error
- func (h *Handler) GetWidget(c *echo.Context) error
- func (h *Handler) GetWidgetAdmin(c *echo.Context) error
- func (h *Handler) ListWidgets(c *echo.Context) error
- func (h *Handler) WidgetHistory(c *echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
*handler.BaseHandler
}
Handler holds the app's handler methods.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package widgets is the module of the spectest test app: its request types, the functions that answer them and the models they return.
|
Package widgets is the module of the spectest test app: its request types, the functions that answer them and the models they return. |