@onehilltech/blueprint-swagger

Blueprint.js module for Swagger UI

Usage no npm install needed!

<script type="module">
  import onehilltechBlueprintSwagger from 'https://cdn.skypack.dev/@onehilltech/blueprint-swagger';
</script>

README

blueprint-swagger

A Blueprint.js module for Swagger UI

npm version Build Status Dependencies Coverage Status

Installation

npm install @onehilltech/blueprint-swagger --save

Usage

By default, no configuration is need to use the Swagger UI module in Blueprint.js. The module can discover the required information by analyzing the application and its configuration.

To view the Swagger specification via the Swagger UI:

http://host/api-doc  

To view the Swagger specification in JSON format:

http://host/swagger.json