diff --git a/src/lib/components/atoms/ServerInput.svelte b/src/lib/components/atoms/ServerInput.svelte
index 0d863fa..b468d67 100644
--- a/src/lib/components/atoms/ServerInput.svelte
+++ b/src/lib/components/atoms/ServerInput.svelte
@@ -1,27 +1,43 @@
@@ -35,14 +51,59 @@
-
-
-
-
-
Optional multiline or single-line description. Supports Markdown.
-
+
+
+
Variables (optional)
+
Define variables for the server URL.
+
+ {#if server.variables}
+
+ {/if}
+
+
+
+
diff --git a/src/lib/components/sections/Servers.svelte b/src/lib/components/sections/Servers.svelte
index 16c21dc..344adf9 100644
--- a/src/lib/components/sections/Servers.svelte
+++ b/src/lib/components/sections/Servers.svelte
@@ -1,4 +1,4 @@
-
+
diff --git a/src/lib/openAPITypes.d.ts b/src/lib/openAPITypes.d.ts
index 73dae4f..ad3a2fc 100644
--- a/src/lib/openAPITypes.d.ts
+++ b/src/lib/openAPITypes.d.ts
@@ -5,7 +5,7 @@ export namespace OpenAPIV3 {
interface Document {
openapi: string;
info: InfoObject;
- servers?: ServerObject[];
+ servers: ServerObject[];
paths: PathsObject;
components?: ComponentsObject;
security?: SecurityRequirementObject[];
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index c00f278..81162a0 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -5,6 +5,7 @@
// Floating UI for Popups
import { computePosition, autoUpdate, flip, shift, offset, arrow } from '@floating-ui/dom';
import { storePopup } from '@skeletonlabs/skeleton';
+ import { localStoragePrefix } from '$lib';
storePopup.set({ computePosition, autoUpdate, flip, shift, offset, arrow });
@@ -24,6 +25,18 @@
>
Schema Reference
+
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 53d1405..b24d78b 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -31,7 +31,7 @@
{:else if $tabSet === 1}
{:else if $tabSet === 2}
-
+
{:else if $tabSet === 3}
Paths
{:else if $tabSet === 4}