MCPcopy Index your code
hub / github.com/oapi-codegen/oapi-codegen / applyEditors

Method applyEditors

internal/test/any_of/param/param.gen.go:331–343  ·  view source on GitHub ↗
(ctx context.Context, req *http.Request, additionalEditors []RequestEditorFn)

Source from the content-addressed store, hash-verified

329}
330
331func (c *Client) applyEditors(ctx context.Context, req *http.Request, additionalEditors []RequestEditorFn) error {
332 for _, r := range c.RequestEditors {
333 if err := r(ctx, req); err != nil {
334 return err
335 }
336 }
337 for _, r := range additionalEditors {
338 if err := r(ctx, req); err != nil {
339 return err
340 }
341 }
342 return nil
343}
344
345// ClientWithResponses builds on ClientInterface to offer response payloads
346type ClientWithResponses struct {

Callers 1

GetTestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected