The open source coding agent.
TypeScript
sync
Dax Raad68daadcb569d
diff --git a/packages/docs/api-reference/endpoint/create.mdx b/packages/docs/api-reference/endpoint/create.mdxdeleted file mode 100644index f09fb6411ef..00000000000--- a/packages/docs/api-reference/endpoint/create.mdx+++ /dev/null@@ -1,4 +0,0 @@-----title: "Create Plant"-openapi: "POST /plants"----diff --git a/packages/docs/api-reference/endpoint/delete.mdx b/packages/docs/api-reference/endpoint/delete.mdxdeleted file mode 100644index db46bde6ecf..00000000000--- a/packages/docs/api-reference/endpoint/delete.mdx+++ /dev/null@@ -1,4 +0,0 @@-----title: "Delete Plant"-openapi: "DELETE /plants/{id}"----diff --git a/packages/docs/api-reference/endpoint/get.mdx b/packages/docs/api-reference/endpoint/get.mdxdeleted file mode 100644index f7c31f09221..00000000000--- a/packages/docs/api-reference/endpoint/get.mdx+++ /dev/null@@ -1,4 +0,0 @@-----title: "Get Plants"-openapi: "GET /plants"----diff --git a/packages/docs/api-reference/endpoint/webhook.mdx b/packages/docs/api-reference/endpoint/webhook.mdxdeleted file mode 100644index e80fc67eb14..00000000000--- a/packages/docs/api-reference/endpoint/webhook.mdx+++ /dev/null@@ -1,4 +0,0 @@-----title: "New Plant"-openapi: "WEBHOOK /plant/webhook"----diff --git a/packages/docs/api-reference/introduction.mdx b/packages/docs/api-reference/introduction.mdxdeleted file mode 100644index 150f32e7502..00000000000--- a/packages/docs/api-reference/introduction.mdx+++ /dev/null@@ -1,33 +0,0 @@-----title: "Introduction"-description: "Example section for showcasing API endpoints"------<Note>- If you're not looking to build API reference documentation, you can delete this section by removing the api-reference- folder.-</Note>--## Welcome--There are two ways to build API documentation: [OpenAPI](https://mintlify.com/docs/api-playground/openapi/setup) and [MDX components](https://mintlify.com/docs/api-playground/mdx/configuration). For the starter kit, we are using the following OpenAPI specification.--<Card- title="Plant Store Endpoints"- icon="leaf"- href="https://github.com/mintlify/starter/blob/main/api-reference/openapi.json"->- View the OpenAPI specification file-</Card>--## Authentication--All API endpoints are authenticated using Bearer tokens and picked up from the specification file.--```json-"security": [- {- "bearerAuth": []- }-]-```diff --git a/packages/docs/docs.json b/packages/docs/docs.jsonindex 9075cf544fa..4ca49de5819 100644--- a/packages/docs/docs.json+++ b/packages/docs/docs.json@@ -37,22 +37,8 @@]},{- "tab": "API reference",- "groups": [- {- "group": "API documentation",- "pages": ["api-reference/introduction"]- },- {- "group": "Endpoint examples",- "pages": [- "api-reference/endpoint/get",- "api-reference/endpoint/create",- "api-reference/endpoint/delete",- "api-reference/endpoint/webhook"- ]- }- ]+ "tab": "API Reference",+ "openapi": "https://opencode.ai/openapi.json"}],"global": {