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

Function buildWebsiteOpenapi

src/server/trpc/routers/website.ts:1051–1060  ·  view source on GitHub ↗
(meta: OpenApiMetaInfo)

Source from the content-addressed store, hash-verified

1049});
1050
1051function buildWebsiteOpenapi(meta: OpenApiMetaInfo): OpenApiMeta {
1052 return {
1053 openapi: {
1054 tags: [OPENAPI_TAG.WEBSITE],
1055 protect: true,
1056 ...meta,
1057 path: `/workspace/{workspaceId}/website/{websiteId}${meta.path}`,
1058 },
1059 };
1060}
1061
1062function buildWebsitePublicOpenapi(meta: OpenApiMetaInfo): OpenApiMeta {
1063 return {

Callers 1

website.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected