Scalar Swagger Editor
Installation
npm install @scalar/swagger-editor
Usage
<script setup>
import { SwaggerEditor } from '@scalar/swagger-editor'
</script>
<template>
<SwaggerEditor value="{ … }" />
</template>
an editor which is tailored to write OpenAPI spec
theme
prop and improve theme supportdefault
prefix for all CSS variables