项目
在 GitHub 查看 
rapi-doc/RapiPdf
关于
PDF generation from OpenAPI / Swagger Spec
效率与自动化可以做什么
- 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
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
RapiPDF
Custom element for Open-API to PDF generation
RapiPdf has moved. Its source is now
packages/rapipdfin the RapiDoc repository, released from there to npm asrapipdf(3.x), and its documentation is at rapidocui.com/rapipdf. This repository keeps the 2.x history; new issues and pull requests go to rapi-doc/RapiDoc.
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
Usage, a live demo and the API reference
Build Process
We recommend yarn over npm as we use yarn resolutions to keep the bundle size smaller. As of this writing this feature is not supported in npm natively
# 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 <script type="text/javascript" src="rapidoc-min.js"></script></body>
yarn build
# for developement use yarn serve (this will start an webserver at port 8080, then navigate to localhost:8080)
yarn serve
# alternative to yarn serve: (this will start an webserver at port 8080 listening to all adapters)
yarn serve-everyone
探索相关项目
加载中…