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

Method GetOther

internal/test/client/client.gen.go:230–240  ·  view source on GitHub ↗
(ctx context.Context, reqEditors ...RequestEditorFn)

Source from the content-addressed store, hash-verified

228}
229
230func (c *Client) GetOther(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) {
231 req, err := NewGetOtherRequest(c.Server)
232 if err != nil {
233 return nil, err
234 }
235 req = req.WithContext(ctx)
236 if err := c.applyEditors(ctx, req, reqEditors); err != nil {
237 return nil, err
238 }
239 return c.Client.Do(req)
240}
241
242func (c *Client) GetJsonWithTrailingSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) {
243 req, err := NewGetJsonWithTrailingSlashRequest(c.Server)

Callers

nothing calls this directly

Calls 3

applyEditorsMethod · 0.95
NewGetOtherRequestFunction · 0.85
DoMethod · 0.65

Tested by

no test coverage detected