Skip to content

Commit

Permalink
Merge pull request #236 from vladbarosan/updateSway
Browse files Browse the repository at this point in the history
Update for sway to include new enum case mismatch error
  • Loading branch information
amarzavery committed Apr 20, 2018
2 parents a185de2 + 43b6c94 commit 59f0409
Show file tree
Hide file tree
Showing 4 changed files with 844 additions and 9 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 04/19/2018 0.4.36
- If enums mismatch only in casing the new error ENUM_CASE_MISMATCH will be returned.

### 03/15/2018 0.4.35
- Validate default responses. [#228](https://github.com/Azure/oav/issues/228)
- Add option to model an implicit default cloud error response. [#224](https://github.com/Azure/oav/issues/224)
Expand Down
4 changes: 3 additions & 1 deletion lib/util/validationResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,7 @@ exports.mapper = {
'CIRCULAR_INHERITANCE': 'M6012',
'OBJECT_MISSING_REQUIRED_PROPERTY': 'M6013',
'OBJECT_MISSING_REQUIRED_PROPERTY_DEFINITION': 'M6014',
'ENUM_MISMATCH': 'M6015'
'ENUM_MISMATCH': 'M6015',
'ENUM_CASE_MISMATCH': 'M6016'

};
Loading

0 comments on commit 59f0409

Please sign in to comment.