@pluginlab/openapi
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -5,1 +5,2 @@ export * from './parse'; | ||
export * from './validate'; | ||
export * from './stringify'; |
@@ -48,2 +48,3 @@ var __defProp = Object.defineProperty; | ||
parseFromString: () => parseFromString, | ||
stringify: () => stringify2, | ||
toJson: () => toJson, | ||
@@ -177,1 +178,6 @@ toYaml: () => toYaml, | ||
}; | ||
// src/stringify.ts | ||
var stringify2 = (doc, format) => { | ||
return format === "json" ? toJson(doc) : toYaml(doc); | ||
}; |
{ | ||
"name": "@pluginlab/openapi", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Simple openapi parser and validator with first class support for both JSON and YAML specifications.", | ||
@@ -5,0 +5,0 @@ "private": false, |
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
89382
2129