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

openapi-to-typescript

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-to-typescript - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

dist/compile.js

2

dist/index.js

@@ -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/)
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