@openapi-generator-plus/generator-common
Advanced tools
Comparing version 0.2.1 to 0.3.0
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 { |
{ | ||
"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 { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28630
18
390
+ Added@openapi-generator-plus/types@0.6.0(transitive)
- Removed@openapi-generator-plus/types@0.5.2(transitive)