MCPcopy
hub / github.com/ecyrbe/zodios / createSampleConfig

Function createSampleConfig

src/plugins/zod-validation.plugin.test.ts:279–289  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

277 };
278
279 const createSampleConfig = (url: string): AnyZodiosRequestOptions => ({
280 method: "post",
281 url,
282 data: "123",
283 queries: {
284 sampleQueryParam: "456",
285 },
286 headers: {
287 sampleHeader: "789",
288 },
289 });
290
291 const createEmptySampleConfig = (url: string): AnyZodiosRequestOptions => ({
292 method: "post",

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected