Skip to content

amehta-scottlogic/openapi-forge-typescript

 
 

Repository files navigation

OpenAPI Forge - TypeScript

This repository is the TypeScript template for the OpenAPI Forge, see that repository for usage instructions:

https://github.com/ColinEberhardt/openapi-forge

Quick Start

Clone and then navigate to root directory of the repository.

Install all the dependencies needed:

npm install

Once you have a local version, you can reference it's location as the 'generator' argument of the 'forge' command of openapi-forge.

$ openapi-forge forge
 \ https://petstore3.swagger.io/api/v3/openapi.json
 \ {location of local generator}
 \ -o api

Testing

Using the one command below you can automatically run the testing:

npm test

Notes

The openapi-forge dependency is pointing to commit:6be3962bc263948237f71689b2df7ba73e116a55. If openapi-forge is updated and openapi-forge-typescript requires this updated version then the commit reference in package.json will have to be updated. This is a temporary measure and will be fixed once the packages are properly versioned and hosted on npm.

About

⚒️ OpenAPI Forge generator for TypeScript clients

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 81.0%
  • Handlebars 14.0%
  • JavaScript 5.0%