mirror of
https://github.com/LukeHagar/openapi-definition-generator.git
synced 2025-12-06 04:20:23 +00:00
Update +page.svelte
This commit is contained in:
@@ -283,7 +283,7 @@
|
||||
{/if}
|
||||
</p>
|
||||
<div class="flex flex-row justify-end p-2 gap-2" />
|
||||
<div class="flex flex-row justify-between p-2 gap-2">
|
||||
<div class="flex flex-row flex-wrap justify-between p-2 gap-2">
|
||||
<div class="grow">
|
||||
<p class="text-center py-2">
|
||||
Input all of your JSON formatted Data, Typically API response bodies
|
||||
@@ -300,10 +300,11 @@
|
||||
bind:value={inputJSON}
|
||||
/>
|
||||
</div>
|
||||
<div class="grow relative">
|
||||
<div class="grow">
|
||||
<p class="text-center py-2">
|
||||
And here is that JSON Response formatted as a YAML OpenAPI Specification
|
||||
</p>
|
||||
<div class="relative">
|
||||
<textarea
|
||||
readonly
|
||||
id="Swagger"
|
||||
@@ -317,8 +318,9 @@
|
||||
Copy
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex flex-row justify-center px-4 gap-8">
|
||||
<div class="flex flex-row flex-wrap justify-center px-4 gap-8">
|
||||
<label class="label">
|
||||
Convert null values to
|
||||
<select bind:value={nullType} on:change={() => convert()} class="select" id="nullType">
|
||||
|
||||
Reference in New Issue
Block a user