openapi-format
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -77,3 +77,4 @@ #!/usr/bin/env node | ||
} else if ((this.key === 'responses' || this.key === 'schemas' || this.key === 'properties') | ||
&& (this.parent && this.parent.key !== 'properties')) { | ||
&& (this.parent && this.parent.key !== 'properties' && this.parent.key !== 'value') | ||
) { | ||
// Deep sort list of properties | ||
@@ -80,0 +81,0 @@ let sortedObj = JSON.parse(JSON.stringify(node)); // Deep copy of the object |
{ | ||
"name": "openapi-format", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Format a OpenAPI document by ordering and filtering fields.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
799024
80
6912