From 537503f288735de3c73f759291338ca74ce8d5d1 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Wed, 10 Jul 2024 01:38:23 +0800 Subject: [PATCH] chore: add document for endpoint --- src/server/package.json | 3 +-- src/server/trpc/routers/feed/integration.ts | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/package.json b/src/server/package.json index 8567c5d..b228909 100644 --- a/src/server/package.json +++ b/src/server/package.json @@ -1,7 +1,6 @@ { "name": "@tianji/server", - "version": "1.0.0", - "private": true, +"private": true, "description": "", "main": "index.js", "scripts": { diff --git a/src/server/trpc/routers/feed/integration.ts b/src/server/trpc/routers/feed/integration.ts index 85ff015..b7c0837 100644 --- a/src/server/trpc/routers/feed/integration.ts +++ b/src/server/trpc/routers/feed/integration.ts @@ -13,6 +13,7 @@ export const feedIntegrationRouter = router({ buildFeedPublicOpenapi({ method: 'POST', path: '/{channelId}/github', + summary: 'integrate with github webhook', }) ) .input(