From 1d663c6598676a40351d6413cbbdb641fd20af5e Mon Sep 17 00:00:00 2001 From: Macgregor Aubertin-Young Date: Wed, 7 Aug 2024 20:22:31 -0700 Subject: [PATCH] remove security from /taxonomy endpoint --- api/src/paths/taxonomy/taxon/index.ts | 6 +----- api/src/paths/taxonomy/taxon/tsn/index.ts | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/api/src/paths/taxonomy/taxon/index.ts b/api/src/paths/taxonomy/taxon/index.ts index 590927f9..cd24a5d0 100644 --- a/api/src/paths/taxonomy/taxon/index.ts +++ b/api/src/paths/taxonomy/taxon/index.ts @@ -10,11 +10,7 @@ export const GET: Operation = [findTaxonBySearchTerms()]; GET.apiDoc = { description: 'Find taxon records by search criteria.', tags: ['taxonomy'], - security: [ - { - Bearer: [] - } - ], + security: [], parameters: [ { description: 'Taxonomy search terms.', diff --git a/api/src/paths/taxonomy/taxon/tsn/index.ts b/api/src/paths/taxonomy/taxon/tsn/index.ts index ca366067..e7c6108c 100644 --- a/api/src/paths/taxonomy/taxon/tsn/index.ts +++ b/api/src/paths/taxonomy/taxon/tsn/index.ts @@ -11,11 +11,7 @@ export const GET: Operation = [getTaxonByTSN()]; GET.apiDoc = { description: 'Get taxon records by TSN ids.', tags: ['taxonomy'], - security: [ - { - Bearer: [] - } - ], + security: [], parameters: [ { description: 'Taxon TSN ids.',