code: func setupMiddlewares(handler http.Handler) http.Handler {
  	ourFunc := func(w http.ResponseWriter, r *http.Request) {
  		rctx := context.WithValue(r.Context(), ctxResponseWriter, w)
  		handler.ServeHTTP(w, r.WithContext(rctx))
  	}
  	return http.HandlerFunc(ourFunc)
  
  }
docs: // The middleware configuration is for the handler executors. These do not apply to the swagger.json document.
  // The middleware executes after routing but before authentication, binding and validation