0.0.13 • Published 3 years ago

swagger-ui-svelte v0.0.13

Weekly downloads
176
License
-
Repository
github
Last release
3 years ago

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.

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

3 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago