You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

swagger-ui-svelte

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

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
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

Package last updated on 08 Nov 2020

Did you know?

Socket

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
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc