Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Commit c1f2b02

Browse files
committed
OpenAPI JSON and YAML 3
1 parent 6b6203f commit c1f2b02

1 file changed

Lines changed: 25 additions & 2 deletions

File tree

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

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
$page.data.externalLinks?.API_EXPLORER_URL ||
1515
"https://apiexplorer-ii-sandbox.openbankproject.com";
1616
17-
// Construct API Explorer URL for dynamic entities
17+
// Construct API Explorer URLs for dynamic entities
1818
const apiExplorerDynamicEntityUrl = `${apiExplorerUrl}/resource-docs/OBPdynamic-entity`;
19+
const apiExplorerResourceDocsUrl = `${apiExplorerUrl}/resource-docs/OBPv6.0.0?operationid=OBPv1.4.0-getResourceDocsObp`;
1920
2021
let searchQuery = $state("");
2122
@@ -187,7 +188,7 @@
187188
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
188189
/>
189190
</svg>
190-
API Explorer
191+
API Explorer CRUD
191192
</a>
192193
<a
193194
href="/dynamic-entities/system/openapi-json"
@@ -233,6 +234,28 @@
233234
</svg>
234235
OpenAPI YAML
235236
</a>
237+
<a
238+
href={apiExplorerResourceDocsUrl}
239+
target="_blank"
240+
rel="noopener noreferrer"
241+
class="inline-flex items-center rounded-lg border border-purple-300 bg-purple-600 px-4 py-2 text-sm font-medium text-white hover:bg-purple-700 dark:border-purple-600 dark:bg-purple-500 dark:hover:bg-purple-600"
242+
title="Open API Explorer Resource Docs"
243+
>
244+
<svg
245+
class="mr-2 h-4 w-4"
246+
fill="none"
247+
stroke="currentColor"
248+
viewBox="0 0 24 24"
249+
>
250+
<path
251+
stroke-linecap="round"
252+
stroke-linejoin="round"
253+
stroke-width="2"
254+
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
255+
/>
256+
</svg>
257+
API Explorer Resource Docs
258+
</a>
236259
</div>
237260
</div>
238261

0 commit comments

Comments
 (0)