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

Function render

packages/tools/openapi-generator/src/JsonSchemaGenerator.ts:286–289  ·  view source on GitHub ↗
(title: string, as: ReadonlyArray<string>)

Source from the content-addressed store, hash-verified

284}
285
286function render(title: string, as: ReadonlyArray<string>) {
287 if (as.length === 0) return ""
288 return "// " + title + "\n" + as.join("\n") + "\n"
289}
290
291function renderImportArtifacts(codeDocument: SchemaRepresentation.CodeDocument, enabled: boolean): string {
292 if (!enabled) return ""

Callers 3

generateFunction · 0.70
generateHttpApiFunction · 0.70
index.test.tsxFile · 0.50

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected