(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn)
| 252 | } |
| 253 | |
| 254 | func (c *Client) PostVendorJsonWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { |
| 255 | req, err := NewPostVendorJsonRequestWithBody(c.Server, contentType, body) |
| 256 | if err != nil { |
| 257 | return nil, err |
| 258 | } |
| 259 | req = req.WithContext(ctx) |
| 260 | if err := c.applyEditors(ctx, req, reqEditors); err != nil { |
| 261 | return nil, err |
| 262 | } |
| 263 | return c.Client.Do(req) |
| 264 | } |
| 265 | |
| 266 | func (c *Client) PostVendorJsonWithApplicationVndAPIPlusJSONBody(ctx context.Context, body PostVendorJsonApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { |
| 267 | req, err := NewPostVendorJsonRequestWithApplicationVndAPIPlusJSONBody(c.Server, body) |
nothing calls this directly
no test coverage detected