@azure-tools/codegen
Advanced tools
Comparing version 2.3.247 to 2.4.250
@@ -56,3 +56,3 @@ "use strict"; | ||
} | ||
if (mt.type === 'audio' || mt.type === 'image' || mt.type === 'video' || mt.subtype === 'octet-stream' || (mt.type === 'text' && mt.subtype === 'plain')) { | ||
if (mt.type === 'audio' || mt.type === 'image' || mt.type === 'video' || mt.subtype === 'octet-stream') { | ||
return KnownMediaType.Binary; | ||
@@ -59,0 +59,0 @@ } |
@@ -9,8 +9,13 @@ "use strict"; | ||
const propertyPriority = [ | ||
'info', | ||
'$key', | ||
'primitives', | ||
'objects', | ||
'booleans', | ||
'numbers', | ||
'chars', | ||
'strings', | ||
'choices', | ||
'sealedChoices', | ||
'constants', | ||
'dictionaries', | ||
'compounds', | ||
'choices', | ||
'name', | ||
@@ -28,2 +33,4 @@ 'schemas', | ||
const propertyNegativePriority = [ | ||
'objects', | ||
'arrays', | ||
'request', | ||
@@ -30,0 +37,0 @@ 'responses', |
{ | ||
"name": "@azure-tools/codegen", | ||
"version": "2.3.247", | ||
"version": "2.4.250", | ||
"patchOffset": 100, | ||
@@ -51,4 +51,4 @@ "description": "Autorest Code generator common and base classes", | ||
"dependencies": { | ||
"@azure-tools/async-io": "~3.0.216", | ||
"@azure-tools/linq": "~3.1.224", | ||
"@azure-tools/async-io": "~3.0.217", | ||
"@azure-tools/linq": "~3.1.225", | ||
"js-yaml": "3.13.1", | ||
@@ -55,0 +55,0 @@ "semver": "^5.5.1" |
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
208449
2602
Updated@azure-tools/linq@~3.1.225