Skip to content

Commit

Permalink
Update the CLU runtime swagger resolution kinds to match the service …
Browse files Browse the repository at this point in the history
…implementation (Azure#20277)

* Update the CLU runtime swagger resolution kinds to match the service code.

* More fixes.
  • Loading branch information
ahmedaashour authored Aug 18, 2022
1 parent 08560e0 commit 59bc7d3
Show file tree
Hide file tree
Showing 4 changed files with 120 additions and 120 deletions.
60 changes: 30 additions & 30 deletions dev/cognitiveservices/data-plane/Language/analyzeconversations.json
Original file line number Diff line number Diff line change
Expand Up @@ -879,21 +879,21 @@
"description": "The entity resolution object kind.",
"type": "string",
"enum": [
"Boolean",
"DateTime",
"Number",
"Ordinal",
"Speed",
"Weight",
"Length",
"Volume",
"Area",
"Age",
"Information",
"Temperature",
"Currency",
"NumericRange",
"TemporalSpan"
"BooleanResolution",
"DateTimeResolution",
"NumberResolution",
"OrdinalResolution",
"SpeedResolution",
"WeightResolution",
"LengthResolution",
"VolumeResolution",
"AreaResolution",
"AgeResolution",
"InformationResolution",
"TemperatureResolution",
"CurrencyResolution",
"NumericRangeResolution",
"TemporalSpanResolution"
],
"x-ms-enum": {
"name": "ResolutionKind",
Expand Down Expand Up @@ -930,7 +930,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Age",
"x-ms-discriminator-value": "AgeResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -963,7 +963,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Volume",
"x-ms-discriminator-value": "VolumeResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -1019,7 +1019,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Speed",
"x-ms-discriminator-value": "SpeedResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -1061,7 +1061,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Area",
"x-ms-discriminator-value": "AreaResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -1102,7 +1102,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Length",
"x-ms-discriminator-value": "LengthResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -1147,7 +1147,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Information",
"x-ms-discriminator-value": "InformationResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -1188,7 +1188,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Temperature",
"x-ms-discriminator-value": "TemperatureResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -1221,7 +1221,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Weight",
"x-ms-discriminator-value": "WeightResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -1265,7 +1265,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Currency",
"x-ms-discriminator-value": "CurrencyResolution",
"properties": {
"ISO4217": {
"type": "string",
Expand Down Expand Up @@ -1294,7 +1294,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Boolean",
"x-ms-discriminator-value": "BooleanResolution",
"properties": {
"value": {
"type": "boolean"
Expand All @@ -1312,7 +1312,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "DateTime",
"x-ms-discriminator-value": "DateTimeResolution",
"properties": {
"timex": {
"$ref": "#/definitions/TimeExpression"
Expand Down Expand Up @@ -1354,7 +1354,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Number",
"x-ms-discriminator-value": "NumberResolution",
"properties": {
"numberKind": {
"type": "string",
Expand Down Expand Up @@ -1390,7 +1390,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Ordinal",
"x-ms-discriminator-value": "OrdinalResolution",
"properties": {
"offset": {
"type": "string",
Expand Down Expand Up @@ -1428,7 +1428,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "TemporalSpan",
"x-ms-discriminator-value": "TemporalSpanResolution",
"properties": {
"begin": {
"$ref": "#/definitions/TimeExpression"
Expand All @@ -1453,7 +1453,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "NumericRange",
"x-ms-discriminator-value": "NumericRangeResolution",
"properties": {
"rangeKind": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -736,21 +736,21 @@
"description": "The entity resolution object kind.",
"type": "string",
"enum": [
"Boolean",
"DateTime",
"Number",
"Ordinal",
"Speed",
"Weight",
"Length",
"Volume",
"Area",
"Age",
"Information",
"Temperature",
"Currency",
"NumericRange",
"TemporalSpan"
"BooleanResolution",
"DateTimeResolution",
"NumberResolution",
"OrdinalResolution",
"SpeedResolution",
"WeightResolution",
"LengthResolution",
"VolumeResolution",
"AreaResolution",
"AgeResolution",
"InformationResolution",
"TemperatureResolution",
"CurrencyResolution",
"NumericRangeResolution",
"TemporalSpanResolution"
],
"x-ms-enum": {
"name": "ResolutionKind",
Expand Down Expand Up @@ -787,7 +787,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Age",
"x-ms-discriminator-value": "AgeResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -820,7 +820,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Volume",
"x-ms-discriminator-value": "VolumeResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -876,7 +876,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Speed",
"x-ms-discriminator-value": "SpeedResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -918,7 +918,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Area",
"x-ms-discriminator-value": "AreaResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -959,7 +959,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Length",
"x-ms-discriminator-value": "LengthResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -1004,7 +1004,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Information",
"x-ms-discriminator-value": "InformationResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -1045,7 +1045,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Temperature",
"x-ms-discriminator-value": "TemperatureResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -1078,7 +1078,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Weight",
"x-ms-discriminator-value": "WeightResolution",
"properties": {
"unit": {
"type": "string",
Expand Down Expand Up @@ -1122,7 +1122,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Currency",
"x-ms-discriminator-value": "CurrencyResolution",
"properties": {
"ISO4217": {
"type": "string",
Expand Down Expand Up @@ -1151,7 +1151,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Boolean",
"x-ms-discriminator-value": "BooleanResolution",
"properties": {
"value": {
"type": "boolean"
Expand All @@ -1169,7 +1169,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "DateTime",
"x-ms-discriminator-value": "DateTimeResolution",
"properties": {
"timex": {
"$ref": "#/definitions/TimeExpression"
Expand Down Expand Up @@ -1211,7 +1211,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Number",
"x-ms-discriminator-value": "NumberResolution",
"properties": {
"numberKind": {
"type": "string",
Expand Down Expand Up @@ -1247,7 +1247,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "Ordinal",
"x-ms-discriminator-value": "OrdinalResolution",
"properties": {
"offset": {
"type": "string",
Expand Down Expand Up @@ -1285,7 +1285,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "TemporalSpan",
"x-ms-discriminator-value": "TemporalSpanResolution",
"properties": {
"begin": {
"$ref": "#/definitions/TimeExpression"
Expand All @@ -1310,7 +1310,7 @@
}
],
"type": "object",
"x-ms-discriminator-value": "NumericRange",
"x-ms-discriminator-value": "NumericRangeResolution",
"properties": {
"rangeKind": {
"type": "string",
Expand Down
Loading

0 comments on commit 59bc7d3

Please sign in to comment.