Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ravagepdf

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ravagepdf

PDF generation from OpenAPI / Swagger Spec

  • 0.1.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
112
increased by128.57%
Maintainers
1
Weekly downloads
 
Created
Source

ravagepdf

Check coverage 2

Introduction

Ravagepdf is a cli, with you can easily convert your openapi.json or openapi.yml specs from URL or from file to PDF with simple command. It takes few seconds to generate file. All methods are async, and can be used async within projects for async PDF generation.

Features

  • URL api spec support (YML and JSON)
  • OpenAPI file spec support (YML and JSON)
  • Table of Contents
  • Handler description
  • Request description
  • Response description
  • Examples for Response and Request
  • OpenAPI3.0 support with AnyOf, OneOf and others
  • Enum examples support
  • Description for all params in body

Examples of usage

Installation

npm i -g ravagepdf

Example with URL

ravagepdf -s https://app.swaggerhub.com/apiproxy/registry/Direct_Wines/CartAPISuite/1.7.0\?resolved\=true\&flatten\=true\&pretty\=true -o pdfDocs.pdf

Example with file

JSON
ravagepdf -s openapi.json -o pdfDocs.pdf
YML

ravagepdf -s openapi.yml -o pdfDocs.pdf

PDF examples

Info

Index

Paths Header

Response Description

Example

API List

Program Design

Keywords

FAQs

Package last updated on 04 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc