@samchon/openapi
Advanced tools
Comparing version 2.0.0-dev.20241129-6 to 2.0.0-dev.20241129-7
@@ -64,2 +64,3 @@ "use strict"; | ||
res.$defs = $defs; | ||
res.additionalProperties = false; | ||
return res; | ||
@@ -66,0 +67,0 @@ }; |
@@ -59,3 +59,6 @@ "use strict"; | ||
} | ||
return LlmConverterV3.schema(__assign(__assign({}, props), { schema: entity })); | ||
var res = LlmConverterV3.schema(__assign(__assign({}, props), { schema: entity })); | ||
if (res !== null) | ||
res.additionalProperties = false; | ||
return res; | ||
}; | ||
@@ -62,0 +65,0 @@ LlmConverterV3.schema = function (props) { |
{ | ||
"name": "@samchon/openapi", | ||
"version": "2.0.0-dev.20241129-6", | ||
"version": "2.0.0-dev.20241129-7", | ||
"description": "OpenAPI definitions and converters for 'typia' and 'nestia'.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -38,2 +38,3 @@ import { OpenApi } from "../OpenApi"; | ||
res.$defs = $defs; | ||
res.additionalProperties = false; | ||
return res; | ||
@@ -40,0 +41,0 @@ }; |
@@ -27,6 +27,8 @@ import { OpenApi } from "../OpenApi"; | ||
} | ||
return schema({ | ||
const res = schema({ | ||
...props, | ||
schema: entity, | ||
}) as ILlmSchemaV3.IParameters | null; | ||
if (res !== null) res.additionalProperties = false; | ||
return res; | ||
}; | ||
@@ -33,0 +35,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1615801
28045