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

Method applyEditors

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

Source from the content-addressed store, hash-verified

533}
534
535func (c *Client) applyEditors(ctx context.Context, req *http.Request, additionalEditors []RequestEditorFn) error {
536 for _, r := range c.RequestEditors {
537 if err := r(ctx, req); err != nil {
538 return err
539 }
540 }
541 for _, r := range additionalEditors {
542 if err := r(ctx, req); err != nil {
543 return err
544 }
545 }
546 return nil
547}
548
549// ClientWithResponses builds on ClientInterface to offer response payloads
550type ClientWithResponses struct {

Callers 11

PostBothWithBodyMethod · 0.95
PostBothMethod · 0.95
GetBothMethod · 0.95
PostJsonWithBodyMethod · 0.95
PostJsonMethod · 0.95
GetJsonMethod · 0.95
PostOtherWithBodyMethod · 0.95
GetOtherMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected