Skip to content

Commit 9a6dea7

Browse files
committed
Leading _ in dynamic entity tags
1 parent 35af5c0 commit 9a6dea7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • src/routes/(protected)/dynamic-entities/system/[id]

src/routes/(protected)/dynamic-entities/system/[id]/+page.svelte

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,9 @@
236236
</svg>
237237
Manage Data (CRUD)
238238
</a>
239+
<!-- Note: By default OBP adds a leading _ to the tags so they don't conflict with tags of OBP static entities -->
239240
<a
240-
href="/dynamic-entities/system/openapi-json?tags={entityName}"
241+
href="/dynamic-entities/system/openapi-json?tags=_{entityName}"
241242
target="_blank"
242243
rel="noopener noreferrer"
243244
class="inline-flex items-center rounded-lg border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700"
@@ -259,7 +260,7 @@
259260
OpenAPI JSON
260261
</a>
261262
<a
262-
href="/dynamic-entities/system/openapi-yaml?tags={entityName}"
263+
href="/dynamic-entities/system/openapi-yaml?tags=_{entityName}"
263264
target="_blank"
264265
rel="noopener noreferrer"
265266
class="inline-flex items-center rounded-lg border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700"

0 commit comments

Comments
 (0)