Skip to content

JavaScript/TypeScript HTTP client generator from a Swagger/OpenAPI spec.

Notifications You must be signed in to change notification settings

jeserodz/type-swagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Type-Swagger

JavaScript/TypeScript HTTP client generator from a Swagger/OpenAPI spec.

Installation

You can install the CLI tool locally or run it directly from NPM using npx.

With NPX

$ npx type-swagger generate <name> <specUrl>

Local Installation

$ npm install -g type-swagger

Usage

Generate

Generate a new client SDK.

type-swagger generate <name> <specUrl>

  • name: Name of the package to be used.
  • specUrl: URL of the Swagger spec in JSON format.

Update

Update an existing client SDK.

type-swagger update <specUrl>

  • specUrl: URL of the Swagger spec in JSON format.

About

JavaScript/TypeScript HTTP client generator from a Swagger/OpenAPI spec.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published