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

openapi-gen-typescript

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-gen-typescript - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

3

dist/index.js

@@ -124,3 +124,4 @@ "use strict";

const { operationId, parameters = [], requestBody = {}, responses, } = objectElement;
const namespaceName = camelcase(operationId || `${method.toLowerCase()}${getCamelcase(urlPath, { pascalCase: true })}`, { pascalCase: true });
let namespaceName = camelcase(operationId || `${method.toLowerCase()}${getCamelcase(urlPath, { pascalCase: true })}`, { pascalCase: true });
namespaceName = namespaceName.replace(/[^a-zA-Z0-9_]/g, "");
const responseTypeNames = [];

@@ -127,0 +128,0 @@ const responsesCode = (yield Promise.all(Object.keys(responses)

{
"name": "openapi-gen-typescript",
"version": "0.0.7",
"version": "0.0.8",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

@@ -165,3 +165,4 @@ // @ts-ignore

const namespaceName = camelcase(operationId || `${method.toLowerCase()}${getCamelcase(urlPath, { pascalCase: true })}`, { pascalCase: true });
let namespaceName = camelcase(operationId || `${method.toLowerCase()}${getCamelcase(urlPath, { pascalCase: true })}`, { pascalCase: true });
namespaceName = namespaceName.replace(/[^a-zA-Z0-9_]/g, "");
const responseTypeNames: string[] = [];

@@ -168,0 +169,0 @@ const responsesCode: string = (await Promise.all(Object.keys(responses as Object)

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