MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / errorJson

Function errorJson

packages/web/src/openapi/publicApiDocument.ts:99–104  ·  view source on GitHub ↗
(description: string)

Source from the content-addressed store, hash-verified

97}
98
99function errorJson(description: string) {
100 return {
101 description,
102 content: jsonContent(publicServiceErrorSchema),
103 };
104}
105
106export function createPublicOpenApiDocument(version: string) {
107 const registry = new OpenAPIRegistry();

Callers 1

Calls 1

jsonContentFunction · 0.85

Tested by

no test coverage detected