{#if edit} {$i18n.t('Edit Connection')} {:else} {$i18n.t('Add Connection')} {/if}

{ importHandler(e); }} />
{ e.preventDefault(); submitHandler(); }} >
{#if !direct}
{$i18n.t('Type')}
{/if}
{#if ['', 'openapi'].includes(type)}
{$i18n.t('OpenAPI Spec')}
{#if spec_type === 'url'}
{:else if spec_type === 'json'}