Socket
Socket
Sign inDemoInstall

swagger-ui-svelte

Package Overview
Dependencies
13
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    swagger-ui-svelte

Light version of swagger UI using Svelte framework


Version published
Maintainers
1
Install size
1.48 MB
Created

Readme

Source

Swagger-UI for Svelte

npm npm GitHub Workflow Status

Light version of swagger UI using Svelte JavaScript framework.

Installation

npm i swagger-ui-svelte
// OR
yarn add swagger-ui-svelte

Note: to use this library in sapper, install as devDependency. See the link.

Local demo:

git clone https://github.com/matchid-project/swagger-ui-svelte
cd swagger-ui-svelte
npm install && npm run dev

Examples

An example of how to use the library

<script>
  import SwaggerUISvelte from "swagger-ui-svelte";
</script>

<SwaggerUISvelte swaggerUrl="/swagger.json" />

Properties

Component props:

PropTypeDefaultDescription
swaggerUrlstringswagger-example.jsonURL for swagger.json file

Keywords

FAQs

Last updated on 08 Nov 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc