From 4d75cfe0eaa626c366a344a96f648e8d8a4c4862 Mon Sep 17 00:00:00 2001 From: dswbx Date: Wed, 26 Feb 2025 18:03:50 +0100 Subject: [PATCH] updated data api docs --- docs/api-reference/data/create.mdx | 2 +- docs/api-reference/data/delete.mdx | 2 +- docs/api-reference/data/get.mdx | 2 +- docs/api-reference/data/list.mdx | 2 +- docs/api-reference/data/update.mdx | 2 +- docs/introduction.mdx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/api-reference/data/create.mdx b/docs/api-reference/data/create.mdx index 2e225d0..f311b5b 100644 --- a/docs/api-reference/data/create.mdx +++ b/docs/api-reference/data/create.mdx @@ -1,4 +1,4 @@ --- title: 'Create Entity' -openapi: 'POST /api/data/{entity}' +openapi: 'POST /api/data/entity/{entity}' --- \ No newline at end of file diff --git a/docs/api-reference/data/delete.mdx b/docs/api-reference/data/delete.mdx index 275baec..86243be 100644 --- a/docs/api-reference/data/delete.mdx +++ b/docs/api-reference/data/delete.mdx @@ -1,4 +1,4 @@ --- title: 'Delete Entity' -openapi: 'DELETE /api/data/{entity}/{id}' +openapi: 'DELETE /api/data/entity/{entity}/{id}' --- \ No newline at end of file diff --git a/docs/api-reference/data/get.mdx b/docs/api-reference/data/get.mdx index 95d10d1..4c58b58 100644 --- a/docs/api-reference/data/get.mdx +++ b/docs/api-reference/data/get.mdx @@ -1,4 +1,4 @@ --- title: 'Get Entity' -openapi: 'GET /api/data/{entity}/{id}' +openapi: 'GET /api/data/entity/{entity}/{id}' --- \ No newline at end of file diff --git a/docs/api-reference/data/list.mdx b/docs/api-reference/data/list.mdx index 0621516..9781a5b 100644 --- a/docs/api-reference/data/list.mdx +++ b/docs/api-reference/data/list.mdx @@ -1,4 +1,4 @@ --- title: 'List Entity' -openapi: 'GET /api/data/{entity}' +openapi: 'GET /api/data/entity/{entity}' --- \ No newline at end of file diff --git a/docs/api-reference/data/update.mdx b/docs/api-reference/data/update.mdx index 0553dcc..6dab80d 100644 --- a/docs/api-reference/data/update.mdx +++ b/docs/api-reference/data/update.mdx @@ -1,4 +1,4 @@ --- title: 'Update Entity' -openapi: 'PATCH /api/data/{entity}/{id}' +openapi: 'PATCH /api/data/entity/{entity}/{id}' --- \ No newline at end of file diff --git a/docs/introduction.mdx b/docs/introduction.mdx index 3a862f4..762b346 100644 --- a/docs/introduction.mdx +++ b/docs/introduction.mdx @@ -13,7 +13,7 @@ run on your toaster (probably). ## Preview -**bknd** is so lightweight that it fully runs inside StackBlitz. Take a look at the preview below: +Here is a preview of **bknd** in StackBlitz: