@zuplo/cli
Advanced tools
Comparing version 1.37.0 to 1.38.0
@@ -18,5 +18,18 @@ import { join } from "node:path"; | ||
const operation = {}; | ||
if (route.excludeFromOpenApi) { | ||
operation["x-internal"] = true; | ||
} | ||
operation["summary"] = route.summary; | ||
operation["description"] = route.description; | ||
operation["operationId"] = route.operationId; | ||
const routeWithOpenApi = route; | ||
if (routeWithOpenApi.parameters) { | ||
operation["parameters"] = routeWithOpenApi.parameters; | ||
} | ||
if (routeWithOpenApi.responses) { | ||
operation["responses"] = routeWithOpenApi.responses; | ||
} | ||
if (routeWithOpenApi.tags) { | ||
operation["tags"] = routeWithOpenApi.tags; | ||
} | ||
const xZuploRoute = {}; | ||
@@ -23,0 +36,0 @@ if (route.corsPolicy) |
{ | ||
"name": "@zuplo/cli", | ||
"version": "1.37.0", | ||
"version": "1.38.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/zuplo/cli", |
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
74096
1799