openapi-ts-json-schema
Advanced tools
Comparing version 0.12.1 to 0.12.2
@@ -55,3 +55,4 @@ "use strict"; | ||
*/ | ||
tsSchema = tsSchema + '\n\n' + `const with$id = { $id: "${$id}", ...schema }`; | ||
tsSchema = | ||
tsSchema + '\n\n' + `const with$id = { $id: "${$id}", ...schema } as const`; | ||
tsSchema = tsSchema + '\n' + `export { with$id };`; | ||
@@ -58,0 +59,0 @@ const formattedSchema = await (0, __1.formatTypeScript)(tsSchema); |
{ | ||
"name": "openapi-ts-json-schema", | ||
"version": "0.12.1", | ||
"version": "0.12.2", | ||
"description": "OpenAPI to JSON schema generator with TypeScript in mind", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
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
66224
1152