From b77c7e8577a9f01739df16591501261659b2bbaa Mon Sep 17 00:00:00 2001 From: Andrea Romanello Date: Thu, 21 Nov 2024 18:43:42 +0100 Subject: [PATCH] fix: change sql-openapi ignoreRoutes bracket --- docs/packages/sql-openapi/ignore.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/packages/sql-openapi/ignore.md b/docs/packages/sql-openapi/ignore.md index a4b9618a97..fb619409ee 100644 --- a/docs/packages/sql-openapi/ignore.md +++ b/docs/packages/sql-openapi/ignore.md @@ -37,12 +37,12 @@ You can also ignore specific auto-generated routes for an entity. ```js app.register(require('@platformatic/sql-openapi'), { - ignoreRoutes: { + ignoreRoutes: [ { method: 'GET', path: '/categories' }, { method: 'GET', path: '/categories/{id}' }, { method: 'DELETE', path: '/categories/{id}' }, { method: 'DELETE', path: '/posts/{id}' } - } + ] }) ```