New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@openapi-contrib/json-schema-to-openapi-schema

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openapi-contrib/json-schema-to-openapi-schema - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

bin/help-text.json

9

package.json
{
"name": "@openapi-contrib/json-schema-to-openapi-schema",
"version": "2.0.0",
"version": "2.1.0",
"description": "Converts a JSON Schema to OpenAPI Schema Object",
"main": "index.js",
"bin": {
"json-schema-to-openapi-schema": "bin/json-schema-to-openapi-schema.js"
},
"types": "index.d.ts",

@@ -28,5 +31,7 @@ "scripts": {

"@stoplight/yaml": "^3.7.1",
"chalk": "^4.1.1",
"node-fetch": "^2.6.0",
"tslib": "^1.11.1"
"tslib": "^1.11.1",
"yargs": "^17.0.1"
}
}

@@ -65,2 +65,17 @@ # JSON Schema to OpenAPI Schema

## Command Line
```sh
Usage:
json-schema-to-openapi-schema <command> [options] <file>
Commands:
convert Converts JSON Schema Draft 04 to OpenAPI 3.0 Schema Object
Options:
-h, --help Show help for any command
-v, --version Output the CLI version number
-d, --dereference If set all local and remote references (http/https and file) $refs will be dereferenced
```
## Why?

@@ -67,0 +82,0 @@

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