JSPM

swagger2html

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q24539F
  • License ISC

A cli package to convert Open API spec files to swagger ui html outputs

Package Exports

  • swagger2html
  • swagger2html/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (swagger2html) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

swagger2html

  • A CLI package to convert Open API spec files to SwaggerUI HTML outputs.

Usage

npx swagger2html <input.json/yaml> <output.html>

  • The input json/yaml file has api documentation in the format of OAS.
  • The <output.html> file is produced after executing the script.