Merge pull request #236 from vladbarosan/updateSway
Update for sway to include new enum case mismatch error
This commit is contained in:
Коммит
59f0409dcd
|
@ -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
|
### 03/15/2018 0.4.35
|
||||||
- Validate default responses. [#228](https://github.com/Azure/oav/issues/228)
|
- 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)
|
- Add option to model an implicit default cloud error response. [#224](https://github.com/Azure/oav/issues/224)
|
||||||
|
|
|
@ -92,5 +92,7 @@ exports.mapper = {
|
||||||
'CIRCULAR_INHERITANCE': 'M6012',
|
'CIRCULAR_INHERITANCE': 'M6012',
|
||||||
'OBJECT_MISSING_REQUIRED_PROPERTY': 'M6013',
|
'OBJECT_MISSING_REQUIRED_PROPERTY': 'M6013',
|
||||||
'OBJECT_MISSING_REQUIRED_PROPERTY_DEFINITION': 'M6014',
|
'OBJECT_MISSING_REQUIRED_PROPERTY_DEFINITION': 'M6014',
|
||||||
'ENUM_MISMATCH': 'M6015'
|
'ENUM_MISMATCH': 'M6015',
|
||||||
|
'ENUM_CASE_MISMATCH': 'M6016'
|
||||||
|
|
||||||
};
|
};
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "oav",
|
"name": "oav",
|
||||||
"version": "0.4.35",
|
"version": "0.4.36",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Microsoft Corporation",
|
"name": "Microsoft Corporation",
|
||||||
"email": "azsdkteam@microsoft.com",
|
"email": "azsdkteam@microsoft.com",
|
||||||
|
@ -55,4 +55,4 @@
|
||||||
"test": "npm -s run-script jshint && mocha -t 100000 --reporter min",
|
"test": "npm -s run-script jshint && mocha -t 100000 --reporter min",
|
||||||
"start": "node ./lib/autorestPlugin/pluginHost.js"
|
"start": "node ./lib/autorestPlugin/pluginHost.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче