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

swagger-typescript-api-generator

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-typescript-api-generator

Angular API client generator from swagger json

  • 0.18.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

swagger-typescript-api-generator

Angular 2 API Typescript client generator from swagger json

Description

This package generates a angular2 typescript class from a swagger v2.0 specification file. The code is generated using mustache templates.

How to get it working

Installation

  1. npm install swagger-typescript-api-generator

Usage

From commandline run:

a2apigen -s [yopur/path/to/swagger.json]

or

a2apigen -u [url/of/your/swagger.json]

Example usage:

This command will generate API client described in swagger.json file to ./out folder

a2apigen -s .\tests\apis\swagger.json -o ./out

Note:

This project was inspired by:

swagger-js-codegen project

Keywords

FAQs

Package last updated on 09 Mar 2021

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