openapi-to-typescript
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -22,3 +22,3 @@ "use strict"; | ||
const route = new route_definition_1.RouteDefinition(paths[pathName][method], { pathName, method }); | ||
for (const TypFormatter of outputStrategies) { | ||
for (const Formatter of outputStrategies) { | ||
const formatted = new Formatter(route); | ||
@@ -25,0 +25,0 @@ typeStore[formatted.typeName()] = await formatted.toTypescript(); |
{ | ||
"name": "openapi-to-typescript", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Generate TypeScript typings based on an OpenAPI schema object.", | ||
"main": "dist/index.js", | ||
"files": ["dist/*.js"], | ||
"author": "László Szűcs <ifrozen@gmail.com>", | ||
@@ -17,9 +18,9 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@types/jest": "^23.3.13", | ||
"@types/node": "^10.12.18", | ||
"@types/jest": "^24.0.6", | ||
"@types/node": "^11.9.5", | ||
"cz-conventional-changelog": "^2.1.0", | ||
"jest": "^23.6.0", | ||
"jest": "^24.1.0", | ||
"rimraf": "^2.6.3", | ||
"source-map-support": "^0.5.10", | ||
"ts-jest": "^23.10.5", | ||
"ts-jest": "^24.0.0", | ||
"ts-node": "^8.0.1", | ||
@@ -26,0 +27,0 @@ "typescript": "^3.2.4" |
# openapi-to-typescript | ||
[![Build Status](https://travis-ci.com/ifroz/openapi-to-typescript.svg?branch=master)](https://travis-ci.com/ifroz/openapi-to-typescript) | ||
[![NPM version](https://img.shields.io/npm/v/openapi-to-typescript.svg)](https://www.npmjs.com/package/openapi-to-typescript) | ||
[![Build Status](https://travis-ci.com/ifroz/openapi-to-typescript.svg?branch=master)](https://travis-ci.com/ifroz/openapi-to-typescript) | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/ifroz/openapi-to-typescript.svg)](https://greenkeeper.io/) | ||
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
7
12020
10
257
1