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

@openapi-generator-plus/generator-common

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openapi-generator-plus/generator-common - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

2

dist/index.d.ts
import { CodegenGenerator, CodegenServer } from '@openapi-generator-plus/types';
export * from './case-transforms';
export * from './http-methods';
import * as allGroupingStrategies from './operation-grouping';
export declare const GroupingStrategies: typeof allGroupingStrategies;
export declare function commonGenerator<O>(): Pick<CodegenGenerator<O>, 'toOperationName' | 'toModelNameFromPropertyName'>;
export declare function apiBasePath(servers: CodegenServer[] | undefined): string;

@@ -8,9 +8,2 @@ "use strict";

};
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -22,4 +15,2 @@ const case_transforms_1 = require("./case-transforms");

const pluralize_1 = __importDefault(require("pluralize"));
const allGroupingStrategies = __importStar(require("./operation-grouping"));
exports.GroupingStrategies = allGroupingStrategies;
function commonGenerator() {

@@ -26,0 +17,0 @@ return {

6

package.json
{
"name": "@openapi-generator-plus/generator-common",
"version": "0.2.1",
"version": "0.3.0",
"description": "Common utilities for openapi-generator-plus generators",

@@ -24,3 +24,3 @@ "main": "dist/index.js",

"dependencies": {
"@openapi-generator-plus/types": "^0.5.0",
"@openapi-generator-plus/types": "^0.6.0",
"pluralize": "^8.0.0",

@@ -32,3 +32,3 @@ "url-parse": "^1.4.7"

},
"gitHead": "ad0721a15e6b67a4d6efb529386f0fcb97ad84c4"
"gitHead": "5fab844fae7ad2f0194405a3078dead4976140e4"
}

@@ -8,5 +8,2 @@ import { CodegenGenerator, CodegenServer } from '@openapi-generator-plus/types'

import * as allGroupingStrategies from './operation-grouping'
export const GroupingStrategies = allGroupingStrategies
export function commonGenerator<O>(): Pick<CodegenGenerator<O>, 'toOperationName' | 'toModelNameFromPropertyName'> {

@@ -13,0 +10,0 @@ return {

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