@openapi-contrib/json-schema-to-openapi-schema
Advanced tools
Comparing version 2.0.0 to 2.1.0
{ | ||
"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 @@ |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
97302
43
3877
125
7
5
+ Addedchalk@^4.1.1
+ Addedyargs@^17.0.1
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedcliui@8.0.1(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedemoji-regex@8.0.0(transitive)
+ Addedescalade@3.2.0(transitive)
+ Addedget-caller-file@2.0.5(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedrequire-directory@2.1.1(transitive)
+ Addedstring-width@4.2.3(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
+ Addedsupports-color@7.2.0(transitive)
+ Addedwrap-ansi@7.0.0(transitive)
+ Addedy18n@5.0.8(transitive)
+ Addedyargs@17.7.2(transitive)
+ Addedyargs-parser@21.1.1(transitive)