MCPcopy
hub / github.com/msgbyte/tianji / buildAIOpenapi

Function buildAIOpenapi

src/server/trpc/routers/ai.ts:199–208  ·  view source on GitHub ↗
(meta: OpenApiMetaInfo)

Source from the content-addressed store, hash-verified

197});
198
199function buildAIOpenapi(meta: OpenApiMetaInfo): OpenApiMeta {
200 return {
201 openapi: {
202 tags: [OPENAPI_TAG.AI],
203 protect: true,
204 ...meta,
205 path: `/ai${meta.path}`,
206 },
207 };
208}

Callers 1

ai.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected