MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / binaryStringSchema

Function binaryStringSchema

packages/plugins/openapi/src/sdk/extract.ts:185–186  ·  view source on GitHub ↗
(schema: Record<string, unknown>)

Source from the content-addressed store, hash-verified

183};
184
185const binaryStringSchema = (schema: Record<string, unknown>): boolean =>
186 stringType(schema) && (schema.format === "binary" || schema.format === "byte");
187
188const arrayType = (schema: Record<string, unknown>): boolean =>
189 schema.type === "array" || (Array.isArray(schema.type) && schema.type.includes("array"));

Callers 2

multipartFilePropertyFunction · 0.85
detectFileHintFunction · 0.85

Calls 1

stringTypeFunction · 0.85

Tested by

no test coverage detected