@samchon/openapi
Advanced tools
Comparing version 0.1.23 to 0.1.24
@@ -68,5 +68,6 @@ "use strict"; | ||
const getName = (op) => { | ||
const method = op.method === "delete" ? "erase" : op.method; | ||
if (op.parameters.length === 0) | ||
return op.method; | ||
return (op.method + | ||
return method; | ||
return (method + | ||
"By" + | ||
@@ -73,0 +74,0 @@ op.parameters.map((p) => StringUtil_1.StringUtil.capitalize(p.key)).join("And")); |
{ | ||
"name": "@samchon/openapi", | ||
"version": "0.1.23", | ||
"version": "0.1.24", | ||
"description": "OpenAPI definitions and converters for 'typia' and 'nestia'.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -79,5 +79,6 @@ import { IMigrateRoute } from "../IMigrateRoute"; | ||
const getName = (op: IMigrateRoute): string => { | ||
if (op.parameters.length === 0) return op.method; | ||
const method = op.method === "delete" ? "erase" : op.method; | ||
if (op.parameters.length === 0) return method; | ||
return ( | ||
op.method + | ||
method + | ||
"By" + | ||
@@ -84,0 +85,0 @@ op.parameters.map((p) => StringUtil.capitalize(p.key)).join("And") |
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
296570
7319