openapi-enforcer
Advanced tools
Comparing version 1.12.6 to 1.12.7
@@ -7,2 +7,10 @@ # Change Log | ||
## 1.12.7 | ||
### Fixed | ||
- **ReadOnly and WriteOnly Error Message Fix** | ||
Although readOnly and writeOnly errors were being caught correctly, the messaging was negative. For example, it would say "Cannot write to read only" when it meant "Cannot read from write only" and vice versa. | ||
## 1.12.6 | ||
@@ -9,0 +17,0 @@ |
@@ -0,0 +0,0 @@ ;(function () { |
{ | ||
"name": "openapi-enforcer", | ||
"version": "1.12.6", | ||
"version": "1.12.7", | ||
"description": "Library for validating, parsing, and formatting data against open api schemas.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -188,5 +188,5 @@ /** | ||
if (readWriteMode === 'write') { | ||
exception.message('Cannot write to read only properties: ' + readWriteOnly.join(', ')); | ||
} else if (readWriteMode === 'read') { | ||
exception.message('Cannot read from write only properties: ' + readWriteOnly.join(', ')); | ||
} else if (readWriteMode === 'read') { | ||
exception.message('Cannot write to read only properties: ' + readWriteOnly.join(', ')); | ||
} | ||
@@ -193,0 +193,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1493406