Skip to content

Commit 59bc7d3

Browse files
authored
Update the CLU runtime swagger resolution kinds to match the service implementation (Azure#20277)
* Update the CLU runtime swagger resolution kinds to match the service code. * More fixes.
1 parent 08560e0 commit 59bc7d3

File tree

4 files changed

+120
-120
lines changed

4 files changed

+120
-120
lines changed

dev/cognitiveservices/data-plane/Language/analyzeconversations.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -879,21 +879,21 @@
879879
"description": "The entity resolution object kind.",
880880
"type": "string",
881881
"enum": [
882-
"Boolean",
883-
"DateTime",
884-
"Number",
885-
"Ordinal",
886-
"Speed",
887-
"Weight",
888-
"Length",
889-
"Volume",
890-
"Area",
891-
"Age",
892-
"Information",
893-
"Temperature",
894-
"Currency",
895-
"NumericRange",
896-
"TemporalSpan"
882+
"BooleanResolution",
883+
"DateTimeResolution",
884+
"NumberResolution",
885+
"OrdinalResolution",
886+
"SpeedResolution",
887+
"WeightResolution",
888+
"LengthResolution",
889+
"VolumeResolution",
890+
"AreaResolution",
891+
"AgeResolution",
892+
"InformationResolution",
893+
"TemperatureResolution",
894+
"CurrencyResolution",
895+
"NumericRangeResolution",
896+
"TemporalSpanResolution"
897897
],
898898
"x-ms-enum": {
899899
"name": "ResolutionKind",
@@ -930,7 +930,7 @@
930930
}
931931
],
932932
"type": "object",
933-
"x-ms-discriminator-value": "Age",
933+
"x-ms-discriminator-value": "AgeResolution",
934934
"properties": {
935935
"unit": {
936936
"type": "string",
@@ -963,7 +963,7 @@
963963
}
964964
],
965965
"type": "object",
966-
"x-ms-discriminator-value": "Volume",
966+
"x-ms-discriminator-value": "VolumeResolution",
967967
"properties": {
968968
"unit": {
969969
"type": "string",
@@ -1019,7 +1019,7 @@
10191019
}
10201020
],
10211021
"type": "object",
1022-
"x-ms-discriminator-value": "Speed",
1022+
"x-ms-discriminator-value": "SpeedResolution",
10231023
"properties": {
10241024
"unit": {
10251025
"type": "string",
@@ -1061,7 +1061,7 @@
10611061
}
10621062
],
10631063
"type": "object",
1064-
"x-ms-discriminator-value": "Area",
1064+
"x-ms-discriminator-value": "AreaResolution",
10651065
"properties": {
10661066
"unit": {
10671067
"type": "string",
@@ -1102,7 +1102,7 @@
11021102
}
11031103
],
11041104
"type": "object",
1105-
"x-ms-discriminator-value": "Length",
1105+
"x-ms-discriminator-value": "LengthResolution",
11061106
"properties": {
11071107
"unit": {
11081108
"type": "string",
@@ -1147,7 +1147,7 @@
11471147
}
11481148
],
11491149
"type": "object",
1150-
"x-ms-discriminator-value": "Information",
1150+
"x-ms-discriminator-value": "InformationResolution",
11511151
"properties": {
11521152
"unit": {
11531153
"type": "string",
@@ -1188,7 +1188,7 @@
11881188
}
11891189
],
11901190
"type": "object",
1191-
"x-ms-discriminator-value": "Temperature",
1191+
"x-ms-discriminator-value": "TemperatureResolution",
11921192
"properties": {
11931193
"unit": {
11941194
"type": "string",
@@ -1221,7 +1221,7 @@
12211221
}
12221222
],
12231223
"type": "object",
1224-
"x-ms-discriminator-value": "Weight",
1224+
"x-ms-discriminator-value": "WeightResolution",
12251225
"properties": {
12261226
"unit": {
12271227
"type": "string",
@@ -1265,7 +1265,7 @@
12651265
}
12661266
],
12671267
"type": "object",
1268-
"x-ms-discriminator-value": "Currency",
1268+
"x-ms-discriminator-value": "CurrencyResolution",
12691269
"properties": {
12701270
"ISO4217": {
12711271
"type": "string",
@@ -1294,7 +1294,7 @@
12941294
}
12951295
],
12961296
"type": "object",
1297-
"x-ms-discriminator-value": "Boolean",
1297+
"x-ms-discriminator-value": "BooleanResolution",
12981298
"properties": {
12991299
"value": {
13001300
"type": "boolean"
@@ -1312,7 +1312,7 @@
13121312
}
13131313
],
13141314
"type": "object",
1315-
"x-ms-discriminator-value": "DateTime",
1315+
"x-ms-discriminator-value": "DateTimeResolution",
13161316
"properties": {
13171317
"timex": {
13181318
"$ref": "#/definitions/TimeExpression"
@@ -1354,7 +1354,7 @@
13541354
}
13551355
],
13561356
"type": "object",
1357-
"x-ms-discriminator-value": "Number",
1357+
"x-ms-discriminator-value": "NumberResolution",
13581358
"properties": {
13591359
"numberKind": {
13601360
"type": "string",
@@ -1390,7 +1390,7 @@
13901390
}
13911391
],
13921392
"type": "object",
1393-
"x-ms-discriminator-value": "Ordinal",
1393+
"x-ms-discriminator-value": "OrdinalResolution",
13941394
"properties": {
13951395
"offset": {
13961396
"type": "string",
@@ -1428,7 +1428,7 @@
14281428
}
14291429
],
14301430
"type": "object",
1431-
"x-ms-discriminator-value": "TemporalSpan",
1431+
"x-ms-discriminator-value": "TemporalSpanResolution",
14321432
"properties": {
14331433
"begin": {
14341434
"$ref": "#/definitions/TimeExpression"
@@ -1453,7 +1453,7 @@
14531453
}
14541454
],
14551455
"type": "object",
1456-
"x-ms-discriminator-value": "NumericRange",
1456+
"x-ms-discriminator-value": "NumericRangeResolution",
14571457
"properties": {
14581458
"rangeKind": {
14591459
"type": "string",

specification/cognitiveservices/data-plane/Language/preview/2022-03-01-preview/analyzeconversations.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -736,21 +736,21 @@
736736
"description": "The entity resolution object kind.",
737737
"type": "string",
738738
"enum": [
739-
"Boolean",
740-
"DateTime",
741-
"Number",
742-
"Ordinal",
743-
"Speed",
744-
"Weight",
745-
"Length",
746-
"Volume",
747-
"Area",
748-
"Age",
749-
"Information",
750-
"Temperature",
751-
"Currency",
752-
"NumericRange",
753-
"TemporalSpan"
739+
"BooleanResolution",
740+
"DateTimeResolution",
741+
"NumberResolution",
742+
"OrdinalResolution",
743+
"SpeedResolution",
744+
"WeightResolution",
745+
"LengthResolution",
746+
"VolumeResolution",
747+
"AreaResolution",
748+
"AgeResolution",
749+
"InformationResolution",
750+
"TemperatureResolution",
751+
"CurrencyResolution",
752+
"NumericRangeResolution",
753+
"TemporalSpanResolution"
754754
],
755755
"x-ms-enum": {
756756
"name": "ResolutionKind",
@@ -787,7 +787,7 @@
787787
}
788788
],
789789
"type": "object",
790-
"x-ms-discriminator-value": "Age",
790+
"x-ms-discriminator-value": "AgeResolution",
791791
"properties": {
792792
"unit": {
793793
"type": "string",
@@ -820,7 +820,7 @@
820820
}
821821
],
822822
"type": "object",
823-
"x-ms-discriminator-value": "Volume",
823+
"x-ms-discriminator-value": "VolumeResolution",
824824
"properties": {
825825
"unit": {
826826
"type": "string",
@@ -876,7 +876,7 @@
876876
}
877877
],
878878
"type": "object",
879-
"x-ms-discriminator-value": "Speed",
879+
"x-ms-discriminator-value": "SpeedResolution",
880880
"properties": {
881881
"unit": {
882882
"type": "string",
@@ -918,7 +918,7 @@
918918
}
919919
],
920920
"type": "object",
921-
"x-ms-discriminator-value": "Area",
921+
"x-ms-discriminator-value": "AreaResolution",
922922
"properties": {
923923
"unit": {
924924
"type": "string",
@@ -959,7 +959,7 @@
959959
}
960960
],
961961
"type": "object",
962-
"x-ms-discriminator-value": "Length",
962+
"x-ms-discriminator-value": "LengthResolution",
963963
"properties": {
964964
"unit": {
965965
"type": "string",
@@ -1004,7 +1004,7 @@
10041004
}
10051005
],
10061006
"type": "object",
1007-
"x-ms-discriminator-value": "Information",
1007+
"x-ms-discriminator-value": "InformationResolution",
10081008
"properties": {
10091009
"unit": {
10101010
"type": "string",
@@ -1045,7 +1045,7 @@
10451045
}
10461046
],
10471047
"type": "object",
1048-
"x-ms-discriminator-value": "Temperature",
1048+
"x-ms-discriminator-value": "TemperatureResolution",
10491049
"properties": {
10501050
"unit": {
10511051
"type": "string",
@@ -1078,7 +1078,7 @@
10781078
}
10791079
],
10801080
"type": "object",
1081-
"x-ms-discriminator-value": "Weight",
1081+
"x-ms-discriminator-value": "WeightResolution",
10821082
"properties": {
10831083
"unit": {
10841084
"type": "string",
@@ -1122,7 +1122,7 @@
11221122
}
11231123
],
11241124
"type": "object",
1125-
"x-ms-discriminator-value": "Currency",
1125+
"x-ms-discriminator-value": "CurrencyResolution",
11261126
"properties": {
11271127
"ISO4217": {
11281128
"type": "string",
@@ -1151,7 +1151,7 @@
11511151
}
11521152
],
11531153
"type": "object",
1154-
"x-ms-discriminator-value": "Boolean",
1154+
"x-ms-discriminator-value": "BooleanResolution",
11551155
"properties": {
11561156
"value": {
11571157
"type": "boolean"
@@ -1169,7 +1169,7 @@
11691169
}
11701170
],
11711171
"type": "object",
1172-
"x-ms-discriminator-value": "DateTime",
1172+
"x-ms-discriminator-value": "DateTimeResolution",
11731173
"properties": {
11741174
"timex": {
11751175
"$ref": "#/definitions/TimeExpression"
@@ -1211,7 +1211,7 @@
12111211
}
12121212
],
12131213
"type": "object",
1214-
"x-ms-discriminator-value": "Number",
1214+
"x-ms-discriminator-value": "NumberResolution",
12151215
"properties": {
12161216
"numberKind": {
12171217
"type": "string",
@@ -1247,7 +1247,7 @@
12471247
}
12481248
],
12491249
"type": "object",
1250-
"x-ms-discriminator-value": "Ordinal",
1250+
"x-ms-discriminator-value": "OrdinalResolution",
12511251
"properties": {
12521252
"offset": {
12531253
"type": "string",
@@ -1285,7 +1285,7 @@
12851285
}
12861286
],
12871287
"type": "object",
1288-
"x-ms-discriminator-value": "TemporalSpan",
1288+
"x-ms-discriminator-value": "TemporalSpanResolution",
12891289
"properties": {
12901290
"begin": {
12911291
"$ref": "#/definitions/TimeExpression"
@@ -1310,7 +1310,7 @@
13101310
}
13111311
],
13121312
"type": "object",
1313-
"x-ms-discriminator-value": "NumericRange",
1313+
"x-ms-discriminator-value": "NumericRangeResolution",
13141314
"properties": {
13151315
"rangeKind": {
13161316
"type": "string",

0 commit comments

Comments
 (0)