MCPcopy Create free account
hub / github.com/Effect-TS/effect / joinSchemas

Function joinSchemas

packages/tools/openapi-generator/src/HttpApiTransformer.ts:293–294  ·  view source on GitHub ↗
(schemas: ReadonlyArray<string>)

Source from the content-addressed store, hash-verified

291}
292
293const joinSchemas = (schemas: ReadonlyArray<string>): string =>
294 schemas.length === 1 ? schemas[0] : `[${schemas.join(", ")}]`
295
296const renderMediaSchema = (media: ParsedOperationMediaTypeSchema): string => {
297 if (media.effectStream === "sse") {

Callers 2

renderPayloadFunction · 0.85
renderResponseSetFunction · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected