func (endpoint *HTMLEndpoint) Middlewares() []middleware.Middleware { return []middleware.Middleware{respond.NewAcceptFilterMiddleware(`text/html`)} }
func (endpoint *JSONEndpoint) Middlewares() []middleware.Middleware { return []middleware.Middleware{respond.NewAcceptFilterMiddleware(`application/json`)} }