Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrin9/RapiPdf

PDF generation from OpenAPI / Swagger Spec
https://github.com/mrin9/RapiPdf

openapi openapi3 pdf swagger swagger-ui

Last synced: about 2 months ago
JSON representation

PDF generation from OpenAPI / Swagger Spec

Awesome Lists containing this project

README

        

MrinDoc logo





# RapiPDF
Custom element for Open-API to PDF generation

## Features
- Supports Swagger 2.0 and OpenAPI 3.0
- Generate PDF using Web-Component
- Works with any framework or with no framework
- Plenty of customizing options, including selection of brand colors
- Supported on Chrome, FireFox and Safari. (Not yet tested on Edge)

## Documentation
[Check out the usage and examples](https://mrin9.github.io/RapiPdf/)

## Build Process
We recommend `yarn` over `npm` as we use yarn [resolutions](https://yarnpkg.com/lang/en/docs/selective-version-resolutions/) to keep the bundle size smaller. As of this writing this feature is not supported in npm natively
```bash
# Clone / Download the project then
yarn install

# build will generate rapidoc-min.js, this is the only file you will need.
# use it in the script tag of your html