New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

generator-openapi-repo

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-openapi-repo

Yeoman generator for OpenAPI(fka Swagger) repo to help you share spec for your API

  • 0.4.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20
increased by53.85%
Maintainers
1
Weekly downloads
 
Created
Source

generator-openapi-repo NPM version Dependency Status

Yeoman generator for OpenAPI(fka Swagger) repo to help you share spec for your API

Features

This generator helps to create GitHub repo with the following features:

  • Possibility to split big Swagger spec into smaller files and bundle it for deployment
  • continious integration/deployment on Travis
  • Code samples as separate files
  • Swagger spec is validated after each commit
  • Swagger spec + ReDoc deployed to Github Pages(you can use custom domain)

Installation

First, install Yeoman and generator-openapi-repo using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-openapi-repo

Then generate your new project:

yo openapi-repo

Updating existing project

  • First make sure you have committed everything or have a backup
  • just run yo openapi-repo over the project again
  • yo will ask you for each file if you want to overwrite
  • for those files you haven't edited, just say yes
  • for the other ones, type d for diff and see what's changed

Keywords

FAQs

Package last updated on 18 Jul 2016

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