Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

383 B
Raw Blame
<template>
  <CollectionsExportFormatList
    :loading="loading"
    @export-hoppscotch="emit('export-hoppscotch')"
    @export-openapi="(f) => emit('export-openapi', f)"
  />
</template>

<script setup lang="ts">
defineProps<{
  loading: boolean
}>()

const emit = defineEmits<{
  (e: "export-hoppscotch"): void
  (e: "export-openapi", format: "json" | "yaml"): void
}>()
</script>