Skip to content

Commit 9b388d9

Browse files
committed
Remove remnants of Fern docs
1 parent d96dceb commit 9b388d9

File tree

2 files changed

+1
-111
lines changed

2 files changed

+1
-111
lines changed

apps/backend/scripts/generate-openapi.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
import { parseOpenAPI, parseWebhookOpenAPI } from '@/lib/openapi';
1+
import { parseOpenAPI } from '@/lib/openapi';
22
import { isSmartRouteHandler } from '@/route-handlers/smart-route-handler';
3-
import { webhookEvents } from '@stackframe/stack-shared/dist/interface/webhooks';
43
import { writeFileSyncIfChanged } from '@stackframe/stack-shared/dist/utils/fs';
54
import { HTTP_METHODS } from '@stackframe/stack-shared/dist/utils/http';
65
import { typedKeys } from '@stackframe/stack-shared/dist/utils/objects';
76
import { glob } from 'glob';
87
import path from 'path';
9-
import yaml from 'yaml';
108

119
async function main() {
1210
console.log("Started docs schema generator");
@@ -34,14 +32,7 @@ async function main() {
3432
}))),
3533
audience,
3634
});
37-
const openAPISchema = yaml.stringify(openApiSchemaObject);
3835
writeFileSyncIfChanged(`../mcp-server/openapi/${audience}.json`, JSON.stringify(openApiSchemaObject, null, 2));
39-
writeFileSyncIfChanged(`../../docs/fern/openapi/${audience}.yaml`, openAPISchema);
40-
41-
const webhookOpenAPISchema = yaml.stringify(parseWebhookOpenAPI({
42-
webhooks: webhookEvents,
43-
}));
44-
writeFileSyncIfChanged(`../../docs/fern/openapi/webhooks.yaml`, webhookOpenAPISchema);
4536
}
4637
console.log("Successfully updated docs schemas");
4738
}

scripts/generate-docs.ts

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)