Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openapi-ts-json-schema

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-ts-json-schema - npm Package Compare versions

Comparing version 0.12.1 to 0.12.2

3

dist/utils/makeTsJsonSchema/index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc