@apiture/openapi-down-convert
Advanced tools
Comparing version 0.11.0 to 0.12.0
{ | ||
"name": "@apiture/openapi-down-convert", | ||
"version": "0.11.0", | ||
"version": "0.12.0", | ||
"description": "Tool to down convert OpenAPI 3.1 to OpenAPI 3.0", | ||
@@ -5,0 +5,0 @@ "main": "lib/src/index.js", |
@@ -150,3 +150,3 @@ "use strict"; | ||
removeUnsupportedSchemaKeywords() { | ||
const keywordsToRemove = ['$id', '$schema', 'unevaluatedProperties']; | ||
const keywordsToRemove = ['$id', '$schema', 'unevaluatedProperties', 'contentMediaType']; | ||
const schemaVisitor = (schema) => { | ||
@@ -153,0 +153,0 @@ keywordsToRemove.forEach((key) => { |
{ | ||
"name": "@apiture/openapi-down-convert", | ||
"version": "0.11.0", | ||
"version": "0.12.0", | ||
"description": "Tool to down convert OpenAPI 3.1 to OpenAPI 3.0", | ||
@@ -5,0 +5,0 @@ "main": "lib/src/index.js", |
@@ -254,3 +254,3 @@ import * as v8 from 'v8'; | ||
removeUnsupportedSchemaKeywords() { | ||
const keywordsToRemove = ['$id', '$schema', 'unevaluatedProperties']; | ||
const keywordsToRemove = ['$id', '$schema', 'unevaluatedProperties', 'contentMediaType']; | ||
const schemaVisitor: SchemaVisitor = (schema: SchemaObject): SchemaObject => { | ||
@@ -257,0 +257,0 @@ keywordsToRemove.forEach((key) => { |
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
81246