diff --git a/samples/AnomalyDetector/tspCodeModel.json b/samples/AnomalyDetector/tspCodeModel.json index 50544083278..4b1b9c8f538 100644 --- a/samples/AnomalyDetector/tspCodeModel.json +++ b/samples/AnomalyDetector/tspCodeModel.json @@ -943,9 +943,267 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "108", + "kind": "constant", + "name": "DetectUnivariateEntireSeriesContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "109", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "110", + "kind": "constant", + "name": "DetectUnivariateEntireSeriesContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "112", + "kind": "constant", + "name": "DetectUnivariateLastPointContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "114", + "kind": "constant", + "name": "DetectUnivariateLastPointContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "116", + "kind": "constant", + "name": "DetectUnivariateChangePointContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "118", + "kind": "constant", + "name": "DetectUnivariateChangePointContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "119", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "120", + "kind": "constant", + "name": "GetMultivariateBatchDetectionResultContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "121", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "122", + "kind": "constant", + "name": "TrainMultivariateModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "124", + "kind": "constant", + "name": "TrainMultivariateModelContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "126", + "kind": "constant", + "name": "ListMultivariateModelsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "128", + "kind": "constant", + "name": "DeleteMultivariateModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "130", + "kind": "constant", + "name": "GetMultivariateModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "132", + "kind": "constant", + "name": "DetectMultivariateBatchAnomalyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "134", + "kind": "constant", + "name": "DetectMultivariateBatchAnomalyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "136", + "kind": "constant", + "name": "DetectMultivariateLastAnomalyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "138", + "kind": "constant", + "name": "DetectMultivariateLastAnomalyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "140", "kind": "model", "name": "UnivariateDetectionOptions", "namespace": "AnomalyDetector.Univariate", @@ -955,17 +1213,17 @@ "decorators": [], "properties": [ { - "$id": "109", + "$id": "141", "kind": "property", "name": "series", "serializedName": "series", "doc": "Time series data points. Points should be sorted by timestamp in ascending\norder to match the anomaly detection result. If the data is not sorted\ncorrectly or there is duplicated timestamp, the API will not work. In such\ncase, an error message will be returned.", "type": { - "$id": "110", + "$id": "142", "kind": "array", "name": "ArrayTimeSeriesPoint", "valueType": { - "$id": "111", + "$id": "143", "kind": "model", "name": "TimeSeriesPoint", "namespace": "AnomalyDetector.Univariate", @@ -975,18 +1233,18 @@ "decorators": [], "properties": [ { - "$id": "112", + "$id": "144", "kind": "property", "name": "timestamp", "serializedName": "timestamp", "doc": "Optional argument, timestamp of a data point (ISO8601 format).", "type": { - "$id": "113", + "$id": "145", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "114", + "$id": "146", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1002,21 +1260,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.TimeSeriesPoint.timestamp", "serializationOptions": { - "$id": "115", + "$id": "147", "json": { - "$id": "116", + "$id": "148", "name": "timestamp" } } }, { - "$id": "117", + "$id": "149", "kind": "property", "name": "value", "serializedName": "value", "doc": "The measurement of that point, should be float.", "type": { - "$id": "118", + "$id": "150", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1029,9 +1287,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.TimeSeriesPoint.value", "serializationOptions": { - "$id": "119", + "$id": "151", "json": { - "$id": "120", + "$id": "152", "name": "value" } } @@ -1048,15 +1306,15 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateDetectionOptions.series", "serializationOptions": { - "$id": "121", + "$id": "153", "json": { - "$id": "122", + "$id": "154", "name": "series" } } }, { - "$id": "123", + "$id": "155", "kind": "property", "name": "granularity", "serializedName": "granularity", @@ -1071,21 +1329,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateDetectionOptions.granularity", "serializationOptions": { - "$id": "124", + "$id": "156", "json": { - "$id": "125", + "$id": "157", "name": "granularity" } } }, { - "$id": "126", + "$id": "158", "kind": "property", "name": "customInterval", "serializedName": "customInterval", "doc": "Custom Interval is used to set non-standard time interval, for example, if the\nseries is 5 minutes, request can be set as {\"granularity\":\"minutely\",\n\"customInterval\":5}.", "type": { - "$id": "127", + "$id": "159", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1098,21 +1356,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateDetectionOptions.customInterval", "serializationOptions": { - "$id": "128", + "$id": "160", "json": { - "$id": "129", + "$id": "161", "name": "customInterval" } } }, { - "$id": "130", + "$id": "162", "kind": "property", "name": "period", "serializedName": "period", "doc": "Optional argument, periodic value of a time series. If the value is null or\ndoes not present, the API will determine the period automatically.", "type": { - "$id": "131", + "$id": "163", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1125,21 +1383,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateDetectionOptions.period", "serializationOptions": { - "$id": "132", + "$id": "164", "json": { - "$id": "133", + "$id": "165", "name": "period" } } }, { - "$id": "134", + "$id": "166", "kind": "property", "name": "maxAnomalyRatio", "serializedName": "maxAnomalyRatio", "doc": "Optional argument, advanced model parameter, max anomaly ratio in a time series.", "type": { - "$id": "135", + "$id": "167", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1152,21 +1410,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateDetectionOptions.maxAnomalyRatio", "serializationOptions": { - "$id": "136", + "$id": "168", "json": { - "$id": "137", + "$id": "169", "name": "maxAnomalyRatio" } } }, { - "$id": "138", + "$id": "170", "kind": "property", "name": "sensitivity", "serializedName": "sensitivity", "doc": "Optional argument, advanced model parameter, between 0-99, the lower the value\nis, the larger the margin value will be which means less anomalies will be\naccepted.", "type": { - "$id": "139", + "$id": "171", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1179,15 +1437,15 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateDetectionOptions.sensitivity", "serializationOptions": { - "$id": "140", + "$id": "172", "json": { - "$id": "141", + "$id": "173", "name": "sensitivity" } } }, { - "$id": "142", + "$id": "174", "kind": "property", "name": "imputeMode", "serializedName": "imputeMode", @@ -1202,21 +1460,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateDetectionOptions.imputeMode", "serializationOptions": { - "$id": "143", + "$id": "175", "json": { - "$id": "144", + "$id": "176", "name": "imputeMode" } } }, { - "$id": "145", + "$id": "177", "kind": "property", "name": "imputeFixedValue", "serializedName": "imputeFixedValue", "doc": "Used to specify the value to fill, it's used when granularity is not \"none\"\nand imputeMode is \"fixed\".", "type": { - "$id": "146", + "$id": "178", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1229,9 +1487,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateDetectionOptions.imputeFixedValue", "serializationOptions": { - "$id": "147", + "$id": "179", "json": { - "$id": "148", + "$id": "180", "name": "imputeFixedValue" } } @@ -1239,10 +1497,10 @@ ] }, { - "$ref": "111" + "$ref": "143" }, { - "$id": "149", + "$id": "181", "kind": "model", "name": "UnivariateEntireDetectionResult", "namespace": "AnomalyDetector.Univariate", @@ -1252,13 +1510,13 @@ "decorators": [], "properties": [ { - "$id": "150", + "$id": "182", "kind": "property", "name": "period", "serializedName": "period", "doc": "Frequency extracted from the series, zero means no recurrent pattern has been\nfound.", "type": { - "$id": "151", + "$id": "183", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1271,25 +1529,25 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateEntireDetectionResult.period", "serializationOptions": { - "$id": "152", + "$id": "184", "json": { - "$id": "153", + "$id": "185", "name": "period" } } }, { - "$id": "154", + "$id": "186", "kind": "property", "name": "expectedValues", "serializedName": "expectedValues", "doc": "ExpectedValues contain expected value for each input point. The index of the\narray is consistent with the input series.", "type": { - "$id": "155", + "$id": "187", "kind": "array", "name": "Array", "valueType": { - "$id": "156", + "$id": "188", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1305,21 +1563,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateEntireDetectionResult.expectedValues", "serializationOptions": { - "$id": "157", + "$id": "189", "json": { - "$id": "158", + "$id": "190", "name": "expectedValues" } } }, { - "$id": "159", + "$id": "191", "kind": "property", "name": "upperMargins", "serializedName": "upperMargins", "doc": "UpperMargins contain upper margin of each input point. UpperMargin is used to\ncalculate upperBoundary, which equals to expectedValue + (100 -\nmarginScale)*upperMargin. Anomalies in response can be filtered by\nupperBoundary and lowerBoundary. By adjusting marginScale value, less\nsignificant anomalies can be filtered in client side. The index of the array is\nconsistent with the input series.", "type": { - "$ref": "155" + "$ref": "187" }, "optional": false, "readOnly": false, @@ -1328,21 +1586,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateEntireDetectionResult.upperMargins", "serializationOptions": { - "$id": "160", + "$id": "192", "json": { - "$id": "161", + "$id": "193", "name": "upperMargins" } } }, { - "$id": "162", + "$id": "194", "kind": "property", "name": "lowerMargins", "serializedName": "lowerMargins", "doc": "LowerMargins contain lower margin of each input point. LowerMargin is used to\ncalculate lowerBoundary, which equals to expectedValue - (100 -\nmarginScale)*lowerMargin. Points between the boundary can be marked as normal\nones in client side. The index of the array is consistent with the input\nseries.", "type": { - "$ref": "155" + "$ref": "187" }, "optional": false, "readOnly": false, @@ -1351,25 +1609,25 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateEntireDetectionResult.lowerMargins", "serializationOptions": { - "$id": "163", + "$id": "195", "json": { - "$id": "164", + "$id": "196", "name": "lowerMargins" } } }, { - "$id": "165", + "$id": "197", "kind": "property", "name": "isAnomaly", "serializedName": "isAnomaly", "doc": "IsAnomaly contains anomaly properties for each input point. True means an\nanomaly either negative or positive has been detected. The index of the array\nis consistent with the input series.", "type": { - "$id": "166", + "$id": "198", "kind": "array", "name": "Array1", "valueType": { - "$id": "167", + "$id": "199", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1385,21 +1643,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateEntireDetectionResult.isAnomaly", "serializationOptions": { - "$id": "168", + "$id": "200", "json": { - "$id": "169", + "$id": "201", "name": "isAnomaly" } } }, { - "$id": "170", + "$id": "202", "kind": "property", "name": "isNegativeAnomaly", "serializedName": "isNegativeAnomaly", "doc": "IsNegativeAnomaly contains anomaly status in negative direction for each input\npoint. True means a negative anomaly has been detected. A negative anomaly\nmeans the point is detected as an anomaly and its real value is smaller than\nthe expected one. The index of the array is consistent with the input series.", "type": { - "$ref": "166" + "$ref": "198" }, "optional": false, "readOnly": false, @@ -1408,21 +1666,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateEntireDetectionResult.isNegativeAnomaly", "serializationOptions": { - "$id": "171", + "$id": "203", "json": { - "$id": "172", + "$id": "204", "name": "isNegativeAnomaly" } } }, { - "$id": "173", + "$id": "205", "kind": "property", "name": "isPositiveAnomaly", "serializedName": "isPositiveAnomaly", "doc": "IsPositiveAnomaly contain anomaly status in positive direction for each input\npoint. True means a positive anomaly has been detected. A positive anomaly\nmeans the point is detected as an anomaly and its real value is larger than the\nexpected one. The index of the array is consistent with the input series.", "type": { - "$ref": "166" + "$ref": "198" }, "optional": false, "readOnly": false, @@ -1431,21 +1689,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateEntireDetectionResult.isPositiveAnomaly", "serializationOptions": { - "$id": "174", + "$id": "206", "json": { - "$id": "175", + "$id": "207", "name": "isPositiveAnomaly" } } }, { - "$id": "176", + "$id": "208", "kind": "property", "name": "severity", "serializedName": "severity", "doc": "The severity score for each input point. The larger the value is, the more\nsever the anomaly is. For normal points, the \"severity\" is always 0.", "type": { - "$ref": "155" + "$ref": "187" }, "optional": true, "readOnly": false, @@ -1454,9 +1712,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateEntireDetectionResult.severity", "serializationOptions": { - "$id": "177", + "$id": "209", "json": { - "$id": "178", + "$id": "210", "name": "severity" } } @@ -1464,7 +1722,7 @@ ] }, { - "$id": "179", + "$id": "211", "kind": "model", "name": "AnomalyDetectorError", "namespace": "AnomalyDetector.Univariate", @@ -1474,13 +1732,13 @@ "decorators": [], "properties": [ { - "$id": "180", + "$id": "212", "kind": "header", "name": "x-ms-error-code", "serializedName": "x-ms-error-code", "doc": "Error code.", "type": { - "$id": "181", + "$id": "213", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1493,7 +1751,7 @@ "correspondingMethodParams": [] }, { - "$id": "182", + "$id": "214", "kind": "property", "name": "code", "serializedName": "code", @@ -1508,21 +1766,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.AnomalyDetectorError.code", "serializationOptions": { - "$id": "183", + "$id": "215", "json": { - "$id": "184", + "$id": "216", "name": "code" } } }, { - "$id": "185", + "$id": "217", "kind": "property", "name": "message", "serializedName": "message", "doc": "A message explaining the error reported by the service.", "type": { - "$id": "186", + "$id": "218", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1535,9 +1793,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.AnomalyDetectorError.message", "serializationOptions": { - "$id": "187", + "$id": "219", "json": { - "$id": "188", + "$id": "220", "name": "message" } } @@ -1545,7 +1803,7 @@ ] }, { - "$id": "189", + "$id": "221", "kind": "model", "name": "UnivariateLastDetectionResult", "namespace": "AnomalyDetector.Univariate", @@ -1555,13 +1813,13 @@ "decorators": [], "properties": [ { - "$id": "190", + "$id": "222", "kind": "property", "name": "period", "serializedName": "period", "doc": "Frequency extracted from the series, zero means no recurrent pattern has been\nfound.", "type": { - "$id": "191", + "$id": "223", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1574,21 +1832,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateLastDetectionResult.period", "serializationOptions": { - "$id": "192", + "$id": "224", "json": { - "$id": "193", + "$id": "225", "name": "period" } } }, { - "$id": "194", + "$id": "226", "kind": "property", "name": "suggestedWindow", "serializedName": "suggestedWindow", "doc": "Suggested input series points needed for detecting the latest point.", "type": { - "$id": "195", + "$id": "227", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1601,21 +1859,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateLastDetectionResult.suggestedWindow", "serializationOptions": { - "$id": "196", + "$id": "228", "json": { - "$id": "197", + "$id": "229", "name": "suggestedWindow" } } }, { - "$id": "198", + "$id": "230", "kind": "property", "name": "expectedValue", "serializedName": "expectedValue", "doc": "Expected value of the latest point.", "type": { - "$id": "199", + "$id": "231", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1628,21 +1886,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateLastDetectionResult.expectedValue", "serializationOptions": { - "$id": "200", + "$id": "232", "json": { - "$id": "201", + "$id": "233", "name": "expectedValue" } } }, { - "$id": "202", + "$id": "234", "kind": "property", "name": "upperMargin", "serializedName": "upperMargin", "doc": "Upper margin of the latest point. UpperMargin is used to calculate\nupperBoundary, which equals to expectedValue + (100 - marginScale)*upperMargin.\nIf the value of latest point is between upperBoundary and lowerBoundary, it\nshould be treated as normal value. By adjusting marginScale value, anomaly\nstatus of latest point can be changed.", "type": { - "$id": "203", + "$id": "235", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1655,21 +1913,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateLastDetectionResult.upperMargin", "serializationOptions": { - "$id": "204", + "$id": "236", "json": { - "$id": "205", + "$id": "237", "name": "upperMargin" } } }, { - "$id": "206", + "$id": "238", "kind": "property", "name": "lowerMargin", "serializedName": "lowerMargin", "doc": "Lower margin of the latest point. LowerMargin is used to calculate\nlowerBoundary, which equals to expectedValue - (100 - marginScale)*lowerMargin.\n", "type": { - "$id": "207", + "$id": "239", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1682,21 +1940,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateLastDetectionResult.lowerMargin", "serializationOptions": { - "$id": "208", + "$id": "240", "json": { - "$id": "209", + "$id": "241", "name": "lowerMargin" } } }, { - "$id": "210", + "$id": "242", "kind": "property", "name": "isAnomaly", "serializedName": "isAnomaly", "doc": "Anomaly status of the latest point, true means the latest point is an anomaly\neither in negative direction or positive direction.", "type": { - "$id": "211", + "$id": "243", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1709,21 +1967,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateLastDetectionResult.isAnomaly", "serializationOptions": { - "$id": "212", + "$id": "244", "json": { - "$id": "213", + "$id": "245", "name": "isAnomaly" } } }, { - "$id": "214", + "$id": "246", "kind": "property", "name": "isNegativeAnomaly", "serializedName": "isNegativeAnomaly", "doc": "Anomaly status in negative direction of the latest point. True means the latest\npoint is an anomaly and its real value is smaller than the expected one.", "type": { - "$id": "215", + "$id": "247", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1736,21 +1994,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateLastDetectionResult.isNegativeAnomaly", "serializationOptions": { - "$id": "216", + "$id": "248", "json": { - "$id": "217", + "$id": "249", "name": "isNegativeAnomaly" } } }, { - "$id": "218", + "$id": "250", "kind": "property", "name": "isPositiveAnomaly", "serializedName": "isPositiveAnomaly", "doc": "Anomaly status in positive direction of the latest point. True means the latest\npoint is an anomaly and its real value is larger than the expected one.", "type": { - "$id": "219", + "$id": "251", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1763,21 +2021,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateLastDetectionResult.isPositiveAnomaly", "serializationOptions": { - "$id": "220", + "$id": "252", "json": { - "$id": "221", + "$id": "253", "name": "isPositiveAnomaly" } } }, { - "$id": "222", + "$id": "254", "kind": "property", "name": "severity", "serializedName": "severity", "doc": "The severity score for the last input point. The larger the value is, the more\nsever the anomaly is. For normal points, the \"severity\" is always 0.", "type": { - "$id": "223", + "$id": "255", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1790,9 +2048,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateLastDetectionResult.severity", "serializationOptions": { - "$id": "224", + "$id": "256", "json": { - "$id": "225", + "$id": "257", "name": "severity" } } @@ -1800,7 +2058,7 @@ ] }, { - "$id": "226", + "$id": "258", "kind": "model", "name": "UnivariateChangePointDetectionOptions", "namespace": "AnomalyDetector.Univariate", @@ -1810,13 +2068,13 @@ "decorators": [], "properties": [ { - "$id": "227", + "$id": "259", "kind": "property", "name": "series", "serializedName": "series", "doc": "Time series data points. Points should be sorted by timestamp in ascending\norder to match the change point detection result.", "type": { - "$ref": "110" + "$ref": "142" }, "optional": false, "readOnly": false, @@ -1825,15 +2083,15 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateChangePointDetectionOptions.series", "serializationOptions": { - "$id": "228", + "$id": "260", "json": { - "$id": "229", + "$id": "261", "name": "series" } } }, { - "$id": "230", + "$id": "262", "kind": "property", "name": "granularity", "serializedName": "granularity", @@ -1848,21 +2106,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateChangePointDetectionOptions.granularity", "serializationOptions": { - "$id": "231", + "$id": "263", "json": { - "$id": "232", + "$id": "264", "name": "granularity" } } }, { - "$id": "233", + "$id": "265", "kind": "property", "name": "customInterval", "serializedName": "customInterval", "doc": "Custom Interval is used to set non-standard time interval, for example, if the\nseries is 5 minutes, request can be set as {\"granularity\":\"minutely\",\n\"customInterval\":5}.", "type": { - "$id": "234", + "$id": "266", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1875,21 +2133,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateChangePointDetectionOptions.customInterval", "serializationOptions": { - "$id": "235", + "$id": "267", "json": { - "$id": "236", + "$id": "268", "name": "customInterval" } } }, { - "$id": "237", + "$id": "269", "kind": "property", "name": "period", "serializedName": "period", "doc": "Optional argument, periodic value of a time series. If the value is null or\ndoes not present, the API will determine the period automatically.", "type": { - "$id": "238", + "$id": "270", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1902,21 +2160,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateChangePointDetectionOptions.period", "serializationOptions": { - "$id": "239", + "$id": "271", "json": { - "$id": "240", + "$id": "272", "name": "period" } } }, { - "$id": "241", + "$id": "273", "kind": "property", "name": "stableTrendWindow", "serializedName": "stableTrendWindow", "doc": "Optional argument, advanced model parameter, a default stableTrendWindow will\nbe used in detection.", "type": { - "$id": "242", + "$id": "274", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1929,21 +2187,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateChangePointDetectionOptions.stableTrendWindow", "serializationOptions": { - "$id": "243", + "$id": "275", "json": { - "$id": "244", + "$id": "276", "name": "stableTrendWindow" } } }, { - "$id": "245", + "$id": "277", "kind": "property", "name": "threshold", "serializedName": "threshold", "doc": "Optional argument, advanced model parameter, between 0.0-1.0, the lower the\nvalue is, the larger the trend error will be which means less change point will\nbe accepted.", "type": { - "$id": "246", + "$id": "278", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1956,9 +2214,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateChangePointDetectionOptions.threshold", "serializationOptions": { - "$id": "247", + "$id": "279", "json": { - "$id": "248", + "$id": "280", "name": "threshold" } } @@ -1966,7 +2224,7 @@ ] }, { - "$id": "249", + "$id": "281", "kind": "model", "name": "UnivariateChangePointDetectionResult", "namespace": "AnomalyDetector.Univariate", @@ -1976,13 +2234,13 @@ "decorators": [], "properties": [ { - "$id": "250", + "$id": "282", "kind": "property", "name": "period", "serializedName": "period", "doc": "Frequency extracted from the series, zero means no recurrent pattern has been\nfound.", "type": { - "$id": "251", + "$id": "283", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1995,21 +2253,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateChangePointDetectionResult.period", "serializationOptions": { - "$id": "252", + "$id": "284", "json": { - "$id": "253", + "$id": "285", "name": "period" } } }, { - "$id": "254", + "$id": "286", "kind": "property", "name": "isChangePoint", "serializedName": "isChangePoint", "doc": "isChangePoint contains change point properties for each input point. True means\nan anomaly either negative or positive has been detected. The index of the\narray is consistent with the input series.", "type": { - "$ref": "166" + "$ref": "198" }, "optional": true, "readOnly": false, @@ -2018,21 +2276,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateChangePointDetectionResult.isChangePoint", "serializationOptions": { - "$id": "255", + "$id": "287", "json": { - "$id": "256", + "$id": "288", "name": "isChangePoint" } } }, { - "$id": "257", + "$id": "289", "kind": "property", "name": "confidenceScores", "serializedName": "confidenceScores", "doc": "the change point confidence of each point", "type": { - "$ref": "155" + "$ref": "187" }, "optional": true, "readOnly": false, @@ -2041,9 +2299,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Univariate.UnivariateChangePointDetectionResult.confidenceScores", "serializationOptions": { - "$id": "258", + "$id": "290", "json": { - "$id": "259", + "$id": "291", "name": "confidenceScores" } } @@ -2051,7 +2309,7 @@ ] }, { - "$id": "260", + "$id": "292", "kind": "model", "name": "MultivariateDetectionResult", "namespace": "AnomalyDetector.Multivariate", @@ -2061,18 +2319,18 @@ "decorators": [], "properties": [ { - "$id": "261", + "$id": "293", "kind": "property", "name": "resultId", "serializedName": "resultId", "doc": "Result identifier, which is used to fetch the results of an inference call.", "type": { - "$id": "262", + "$id": "294", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "263", + "$id": "295", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2087,21 +2345,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.MultivariateDetectionResult.resultId", "serializationOptions": { - "$id": "264", + "$id": "296", "json": { - "$id": "265", + "$id": "297", "name": "resultId" } } }, { - "$id": "266", + "$id": "298", "kind": "property", "name": "summary", "serializedName": "summary", "doc": "Multivariate anomaly detection status.", "type": { - "$id": "267", + "$id": "299", "kind": "model", "name": "MultivariateBatchDetectionResultSummary", "namespace": "AnomalyDetector.Multivariate", @@ -2111,7 +2369,7 @@ "decorators": [], "properties": [ { - "$id": "268", + "$id": "300", "kind": "property", "name": "status", "serializedName": "status", @@ -2126,25 +2384,25 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.MultivariateBatchDetectionResultSummary.status", "serializationOptions": { - "$id": "269", + "$id": "301", "json": { - "$id": "270", + "$id": "302", "name": "status" } } }, { - "$id": "271", + "$id": "303", "kind": "property", "name": "errors", "serializedName": "errors", "doc": "Error message when detection is failed.", "type": { - "$id": "272", + "$id": "304", "kind": "array", "name": "ArrayErrorResponse", "valueType": { - "$id": "273", + "$id": "305", "kind": "model", "name": "ErrorResponse", "namespace": "AnomalyDetector.Multivariate", @@ -2154,13 +2412,13 @@ "decorators": [], "properties": [ { - "$id": "274", + "$id": "306", "kind": "property", "name": "code", "serializedName": "code", "doc": "The error code.", "type": { - "$id": "275", + "$id": "307", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2173,21 +2431,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ErrorResponse.code", "serializationOptions": { - "$id": "276", + "$id": "308", "json": { - "$id": "277", + "$id": "309", "name": "code" } } }, { - "$id": "278", + "$id": "310", "kind": "property", "name": "message", "serializedName": "message", "doc": "The message explaining the error reported by the service.", "type": { - "$id": "279", + "$id": "311", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2200,9 +2458,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ErrorResponse.message", "serializationOptions": { - "$id": "280", + "$id": "312", "json": { - "$id": "281", + "$id": "313", "name": "message" } } @@ -2219,25 +2477,25 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.MultivariateBatchDetectionResultSummary.errors", "serializationOptions": { - "$id": "282", + "$id": "314", "json": { - "$id": "283", + "$id": "315", "name": "errors" } } }, { - "$id": "284", + "$id": "316", "kind": "property", "name": "variableStates", "serializedName": "variableStates", "doc": "Variable Status.", "type": { - "$id": "285", + "$id": "317", "kind": "array", "name": "ArrayVariableState", "valueType": { - "$id": "286", + "$id": "318", "kind": "model", "name": "VariableState", "namespace": "AnomalyDetector.Multivariate", @@ -2247,13 +2505,13 @@ "decorators": [], "properties": [ { - "$id": "287", + "$id": "319", "kind": "property", "name": "variable", "serializedName": "variable", "doc": "Variable name in variable states.", "type": { - "$id": "288", + "$id": "320", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2266,21 +2524,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.VariableState.variable", "serializationOptions": { - "$id": "289", + "$id": "321", "json": { - "$id": "290", + "$id": "322", "name": "variable" } } }, { - "$id": "291", + "$id": "323", "kind": "property", "name": "filledNARatio", "serializedName": "filledNARatio", "doc": "Proportion of missing values that need to be filled by fillNAMethod.", "type": { - "$id": "292", + "$id": "324", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -2293,21 +2551,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.VariableState.filledNARatio", "serializationOptions": { - "$id": "293", + "$id": "325", "json": { - "$id": "294", + "$id": "326", "name": "filledNARatio" } } }, { - "$id": "295", + "$id": "327", "kind": "property", "name": "effectiveCount", "serializedName": "effectiveCount", "doc": "Number of effective data points before applying fillNAMethod.", "type": { - "$id": "296", + "$id": "328", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2320,26 +2578,26 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.VariableState.effectiveCount", "serializationOptions": { - "$id": "297", + "$id": "329", "json": { - "$id": "298", + "$id": "330", "name": "effectiveCount" } } }, { - "$id": "299", + "$id": "331", "kind": "property", "name": "firstTimestamp", "serializedName": "firstTimestamp", "doc": "First valid timestamp with value of input data.", "type": { - "$id": "300", + "$id": "332", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "301", + "$id": "333", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2355,26 +2613,26 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.VariableState.firstTimestamp", "serializationOptions": { - "$id": "302", + "$id": "334", "json": { - "$id": "303", + "$id": "335", "name": "firstTimestamp" } } }, { - "$id": "304", + "$id": "336", "kind": "property", "name": "lastTimestamp", "serializedName": "lastTimestamp", "doc": "Last valid timestamp with value of input data.", "type": { - "$id": "305", + "$id": "337", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "306", + "$id": "338", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2390,9 +2648,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.VariableState.lastTimestamp", "serializationOptions": { - "$id": "307", + "$id": "339", "json": { - "$id": "308", + "$id": "340", "name": "lastTimestamp" } } @@ -2409,21 +2667,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.MultivariateBatchDetectionResultSummary.variableStates", "serializationOptions": { - "$id": "309", + "$id": "341", "json": { - "$id": "310", + "$id": "342", "name": "variableStates" } } }, { - "$id": "311", + "$id": "343", "kind": "property", "name": "setupInfo", "serializedName": "setupInfo", "doc": "Detection request for batch inference. This is an asynchronous inference which\nwill need another API to get detection results.", "type": { - "$id": "312", + "$id": "344", "kind": "model", "name": "MultivariateBatchDetectionOptions", "namespace": "AnomalyDetector.Multivariate", @@ -2433,13 +2691,13 @@ "decorators": [], "properties": [ { - "$id": "313", + "$id": "345", "kind": "property", "name": "dataSource", "serializedName": "dataSource", "doc": "Source link to the input data to indicate an accessible Azure storage Uri,\neither pointed to an Azure blob storage folder, or pointed to a CSV file in\nAzure blob storage based on you data schema selection. The data schema should\nbe exactly the same with those used in the training phase.", "type": { - "$id": "314", + "$id": "346", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2452,21 +2710,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.MultivariateBatchDetectionOptions.dataSource", "serializationOptions": { - "$id": "315", + "$id": "347", "json": { - "$id": "316", + "$id": "348", "name": "dataSource" } } }, { - "$id": "317", + "$id": "349", "kind": "property", "name": "topContributorCount", "serializedName": "topContributorCount", "doc": "An optional field, which is used to specify the number of top contributed\nvariables for one anomalous timestamp in the response. The default number is\n10.", "type": { - "$id": "318", + "$id": "350", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2479,26 +2737,26 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.MultivariateBatchDetectionOptions.topContributorCount", "serializationOptions": { - "$id": "319", + "$id": "351", "json": { - "$id": "320", + "$id": "352", "name": "topContributorCount" } } }, { - "$id": "321", + "$id": "353", "kind": "property", "name": "startTime", "serializedName": "startTime", "doc": "A required field, indicating the start time of data for detection, which should\nbe date-time of ISO 8601 format.", "type": { - "$id": "322", + "$id": "354", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "323", + "$id": "355", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2514,26 +2772,26 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.MultivariateBatchDetectionOptions.startTime", "serializationOptions": { - "$id": "324", + "$id": "356", "json": { - "$id": "325", + "$id": "357", "name": "startTime" } } }, { - "$id": "326", + "$id": "358", "kind": "property", "name": "endTime", "serializedName": "endTime", "doc": "A required field, indicating the end time of data for detection, which should\nbe date-time of ISO 8601 format.", "type": { - "$id": "327", + "$id": "359", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "328", + "$id": "360", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2549,9 +2807,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.MultivariateBatchDetectionOptions.endTime", "serializationOptions": { - "$id": "329", + "$id": "361", "json": { - "$id": "330", + "$id": "362", "name": "endTime" } } @@ -2565,9 +2823,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.MultivariateBatchDetectionResultSummary.setupInfo", "serializationOptions": { - "$id": "331", + "$id": "363", "json": { - "$id": "332", + "$id": "364", "name": "setupInfo" } } @@ -2581,25 +2839,25 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.MultivariateDetectionResult.summary", "serializationOptions": { - "$id": "333", + "$id": "365", "json": { - "$id": "334", + "$id": "366", "name": "summary" } } }, { - "$id": "335", + "$id": "367", "kind": "property", "name": "results", "serializedName": "results", "doc": "Detection result for each timestamp.", "type": { - "$id": "336", + "$id": "368", "kind": "array", "name": "ArrayAnomalyState", "valueType": { - "$id": "337", + "$id": "369", "kind": "model", "name": "AnomalyState", "namespace": "AnomalyDetector.Multivariate", @@ -2609,18 +2867,18 @@ "decorators": [], "properties": [ { - "$id": "338", + "$id": "370", "kind": "property", "name": "timestamp", "serializedName": "timestamp", "doc": "The timestamp for this anomaly.", "type": { - "$id": "339", + "$id": "371", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "340", + "$id": "372", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2636,21 +2894,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AnomalyState.timestamp", "serializationOptions": { - "$id": "341", + "$id": "373", "json": { - "$id": "342", + "$id": "374", "name": "timestamp" } } }, { - "$id": "343", + "$id": "375", "kind": "property", "name": "value", "serializedName": "value", "doc": "The detailed value of this anomalous timestamp.", "type": { - "$id": "344", + "$id": "376", "kind": "model", "name": "AnomalyValue", "namespace": "AnomalyDetector.Multivariate", @@ -2660,13 +2918,13 @@ "decorators": [], "properties": [ { - "$id": "345", + "$id": "377", "kind": "property", "name": "isAnomaly", "serializedName": "isAnomaly", "doc": "True if an anomaly is detected at the current timestamp.", "type": { - "$id": "346", + "$id": "378", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -2679,21 +2937,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AnomalyValue.isAnomaly", "serializationOptions": { - "$id": "347", + "$id": "379", "json": { - "$id": "348", + "$id": "380", "name": "isAnomaly" } } }, { - "$id": "349", + "$id": "381", "kind": "property", "name": "severity", "serializedName": "severity", "doc": "Indicates the significance of the anomaly. The higher the severity, the more\nsignificant the anomaly is.", "type": { - "$id": "350", + "$id": "382", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -2706,21 +2964,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AnomalyValue.severity", "serializationOptions": { - "$id": "351", + "$id": "383", "json": { - "$id": "352", + "$id": "384", "name": "severity" } } }, { - "$id": "353", + "$id": "385", "kind": "property", "name": "score", "serializedName": "score", "doc": "Raw anomaly score of severity, will help indicate the degree of abnormality as\nwell.", "type": { - "$id": "354", + "$id": "386", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -2733,25 +2991,25 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AnomalyValue.score", "serializationOptions": { - "$id": "355", + "$id": "387", "json": { - "$id": "356", + "$id": "388", "name": "score" } } }, { - "$id": "357", + "$id": "389", "kind": "property", "name": "interpretation", "serializedName": "interpretation", "doc": "Interpretation of this anomalous timestamp.", "type": { - "$id": "358", + "$id": "390", "kind": "array", "name": "ArrayAnomalyInterpretation", "valueType": { - "$id": "359", + "$id": "391", "kind": "model", "name": "AnomalyInterpretation", "namespace": "AnomalyDetector.Multivariate", @@ -2761,13 +3019,13 @@ "decorators": [], "properties": [ { - "$id": "360", + "$id": "392", "kind": "property", "name": "variable", "serializedName": "variable", "doc": "Variable.", "type": { - "$id": "361", + "$id": "393", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2780,21 +3038,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AnomalyInterpretation.variable", "serializationOptions": { - "$id": "362", + "$id": "394", "json": { - "$id": "363", + "$id": "395", "name": "variable" } } }, { - "$id": "364", + "$id": "396", "kind": "property", "name": "contributionScore", "serializedName": "contributionScore", "doc": "This score shows the percentage contributing to the anomalous timestamp. A\nnumber between 0 and 1.", "type": { - "$id": "365", + "$id": "397", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -2807,21 +3065,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AnomalyInterpretation.contributionScore", "serializationOptions": { - "$id": "366", + "$id": "398", "json": { - "$id": "367", + "$id": "399", "name": "contributionScore" } } }, { - "$id": "368", + "$id": "400", "kind": "property", "name": "correlationChanges", "serializedName": "correlationChanges", "doc": "Correlation changes among the anomalous variables", "type": { - "$id": "369", + "$id": "401", "kind": "model", "name": "CorrelationChanges", "namespace": "AnomalyDetector.Multivariate", @@ -2831,17 +3089,17 @@ "decorators": [], "properties": [ { - "$id": "370", + "$id": "402", "kind": "property", "name": "changedVariables", "serializedName": "changedVariables", "doc": "The correlated variables that have correlation changes under an anomaly.", "type": { - "$id": "371", + "$id": "403", "kind": "array", "name": "Array2", "valueType": { - "$id": "372", + "$id": "404", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2857,9 +3115,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.CorrelationChanges.changedVariables", "serializationOptions": { - "$id": "373", + "$id": "405", "json": { - "$id": "374", + "$id": "406", "name": "changedVariables" } } @@ -2873,9 +3131,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AnomalyInterpretation.correlationChanges", "serializationOptions": { - "$id": "375", + "$id": "407", "json": { - "$id": "376", + "$id": "408", "name": "correlationChanges" } } @@ -2892,9 +3150,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AnomalyValue.interpretation", "serializationOptions": { - "$id": "377", + "$id": "409", "json": { - "$id": "378", + "$id": "410", "name": "interpretation" } } @@ -2908,21 +3166,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AnomalyState.value", "serializationOptions": { - "$id": "379", + "$id": "411", "json": { - "$id": "380", + "$id": "412", "name": "value" } } }, { - "$id": "381", + "$id": "413", "kind": "property", "name": "errors", "serializedName": "errors", "doc": "Error message for the current timestamp.", "type": { - "$ref": "272" + "$ref": "304" }, "optional": true, "readOnly": false, @@ -2931,9 +3189,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AnomalyState.errors", "serializationOptions": { - "$id": "382", + "$id": "414", "json": { - "$id": "383", + "$id": "415", "name": "errors" } } @@ -2950,9 +3208,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.MultivariateDetectionResult.results", "serializationOptions": { - "$id": "384", + "$id": "416", "json": { - "$id": "385", + "$id": "417", "name": "results" } } @@ -2960,31 +3218,31 @@ ] }, { - "$ref": "267" + "$ref": "299" }, { - "$ref": "273" + "$ref": "305" }, { - "$ref": "286" + "$ref": "318" }, { - "$ref": "312" + "$ref": "344" }, { - "$ref": "337" + "$ref": "369" }, { - "$ref": "344" + "$ref": "376" }, { - "$ref": "359" + "$ref": "391" }, { - "$ref": "369" + "$ref": "401" }, { - "$id": "386", + "$id": "418", "kind": "model", "name": "ModelInfo", "namespace": "AnomalyDetector.Multivariate", @@ -2994,13 +3252,13 @@ "decorators": [], "properties": [ { - "$id": "387", + "$id": "419", "kind": "property", "name": "dataSource", "serializedName": "dataSource", "doc": "Source link to the input data to indicate an accessible Azure storage Uri,\neither pointed to an Azure blob storage folder, or pointed to a CSV file in\nAzure blob storage based on you data schema selection. ", "type": { - "$id": "388", + "$id": "420", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3013,15 +3271,15 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelInfo.dataSource", "serializationOptions": { - "$id": "389", + "$id": "421", "json": { - "$id": "390", + "$id": "422", "name": "dataSource" } } }, { - "$id": "391", + "$id": "423", "kind": "property", "name": "dataSchema", "serializedName": "dataSchema", @@ -3036,26 +3294,26 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelInfo.dataSchema", "serializationOptions": { - "$id": "392", + "$id": "424", "json": { - "$id": "393", + "$id": "425", "name": "dataSchema" } } }, { - "$id": "394", + "$id": "426", "kind": "property", "name": "startTime", "serializedName": "startTime", "doc": "A required field, indicating the start time of training data, which should be\ndate-time of ISO 8601 format.", "type": { - "$id": "395", + "$id": "427", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "396", + "$id": "428", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3071,26 +3329,26 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelInfo.startTime", "serializationOptions": { - "$id": "397", + "$id": "429", "json": { - "$id": "398", + "$id": "430", "name": "startTime" } } }, { - "$id": "399", + "$id": "431", "kind": "property", "name": "endTime", "serializedName": "endTime", "doc": "A required field, indicating the end time of training data, which should be\ndate-time of ISO 8601 format.", "type": { - "$id": "400", + "$id": "432", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "401", + "$id": "433", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3106,21 +3364,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelInfo.endTime", "serializationOptions": { - "$id": "402", + "$id": "434", "json": { - "$id": "403", + "$id": "435", "name": "endTime" } } }, { - "$id": "404", + "$id": "436", "kind": "property", "name": "displayName", "serializedName": "displayName", "doc": "An optional field. The display name of the model whose maximum length is 24\ncharacters.", "type": { - "$id": "405", + "$id": "437", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3133,21 +3391,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelInfo.displayName", "serializationOptions": { - "$id": "406", + "$id": "438", "json": { - "$id": "407", + "$id": "439", "name": "displayName" } } }, { - "$id": "408", + "$id": "440", "kind": "property", "name": "slidingWindow", "serializedName": "slidingWindow", "doc": "An optional field, indicating how many previous timestamps will be used to\ndetect whether the timestamp is anomaly or not. ", "type": { - "$id": "409", + "$id": "441", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -3160,21 +3418,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelInfo.slidingWindow", "serializationOptions": { - "$id": "410", + "$id": "442", "json": { - "$id": "411", + "$id": "443", "name": "slidingWindow" } } }, { - "$id": "412", + "$id": "444", "kind": "property", "name": "alignPolicy", "serializedName": "alignPolicy", "doc": "An optional field, indicating the manner to align multiple variables.", "type": { - "$id": "413", + "$id": "445", "kind": "model", "name": "AlignPolicy", "namespace": "AnomalyDetector.Multivariate", @@ -3184,7 +3442,7 @@ "decorators": [], "properties": [ { - "$id": "414", + "$id": "446", "kind": "property", "name": "alignMode", "serializedName": "alignMode", @@ -3199,15 +3457,15 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AlignPolicy.alignMode", "serializationOptions": { - "$id": "415", + "$id": "447", "json": { - "$id": "416", + "$id": "448", "name": "alignMode" } } }, { - "$id": "417", + "$id": "449", "kind": "property", "name": "fillNAMethod", "serializedName": "fillNAMethod", @@ -3222,21 +3480,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AlignPolicy.fillNAMethod", "serializationOptions": { - "$id": "418", + "$id": "450", "json": { - "$id": "419", + "$id": "451", "name": "fillNAMethod" } } }, { - "$id": "420", + "$id": "452", "kind": "property", "name": "paddingValue", "serializedName": "paddingValue", "doc": "An optional field. Required when fillNAMethod is Fixed.", "type": { - "$id": "421", + "$id": "453", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -3249,9 +3507,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AlignPolicy.paddingValue", "serializationOptions": { - "$id": "422", + "$id": "454", "json": { - "$id": "423", + "$id": "455", "name": "paddingValue" } } @@ -3265,15 +3523,15 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelInfo.alignPolicy", "serializationOptions": { - "$id": "424", + "$id": "456", "json": { - "$id": "425", + "$id": "457", "name": "alignPolicy" } } }, { - "$id": "426", + "$id": "458", "kind": "property", "name": "status", "serializedName": "status", @@ -3288,21 +3546,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelInfo.status", "serializationOptions": { - "$id": "427", + "$id": "459", "json": { - "$id": "428", + "$id": "460", "name": "status" } } }, { - "$id": "429", + "$id": "461", "kind": "property", "name": "errors", "serializedName": "errors", "doc": "Error messages when failed to create a model.", "type": { - "$ref": "272" + "$ref": "304" }, "optional": true, "readOnly": true, @@ -3311,21 +3569,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelInfo.errors", "serializationOptions": { - "$id": "430", + "$id": "462", "json": { - "$id": "431", + "$id": "463", "name": "errors" } } }, { - "$id": "432", + "$id": "464", "kind": "property", "name": "diagnosticsInfo", "serializedName": "diagnosticsInfo", "doc": "Diagnostics information to help inspect the states of model or variable.", "type": { - "$id": "433", + "$id": "465", "kind": "model", "name": "DiagnosticsInfo", "namespace": "AnomalyDetector.Multivariate", @@ -3335,13 +3593,13 @@ "decorators": [], "properties": [ { - "$id": "434", + "$id": "466", "kind": "property", "name": "modelState", "serializedName": "modelState", "doc": "Model status.", "type": { - "$id": "435", + "$id": "467", "kind": "model", "name": "ModelState", "namespace": "AnomalyDetector.Multivariate", @@ -3351,17 +3609,17 @@ "decorators": [], "properties": [ { - "$id": "436", + "$id": "468", "kind": "property", "name": "epochIds", "serializedName": "epochIds", "doc": "This indicates the number of passes of the entire training dataset the\nalgorithm has completed.", "type": { - "$id": "437", + "$id": "469", "kind": "array", "name": "Array3", "valueType": { - "$id": "438", + "$id": "470", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -3377,21 +3635,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelState.epochIds", "serializationOptions": { - "$id": "439", + "$id": "471", "json": { - "$id": "440", + "$id": "472", "name": "epochIds" } } }, { - "$id": "441", + "$id": "473", "kind": "property", "name": "trainLosses", "serializedName": "trainLosses", "doc": "List of metrics used to assess how the model fits the training data for each\nepoch.", "type": { - "$ref": "155" + "$ref": "187" }, "optional": true, "readOnly": false, @@ -3400,21 +3658,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelState.trainLosses", "serializationOptions": { - "$id": "442", + "$id": "474", "json": { - "$id": "443", + "$id": "475", "name": "trainLosses" } } }, { - "$id": "444", + "$id": "476", "kind": "property", "name": "validationLosses", "serializedName": "validationLosses", "doc": "List of metrics used to assess how the model fits the validation set for each\nepoch.", "type": { - "$ref": "155" + "$ref": "187" }, "optional": true, "readOnly": false, @@ -3423,21 +3681,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelState.validationLosses", "serializationOptions": { - "$id": "445", + "$id": "477", "json": { - "$id": "446", + "$id": "478", "name": "validationLosses" } } }, { - "$id": "447", + "$id": "479", "kind": "property", "name": "latenciesInSeconds", "serializedName": "latenciesInSeconds", "doc": "Latency for each epoch. ", "type": { - "$ref": "155" + "$ref": "187" }, "optional": true, "readOnly": false, @@ -3446,9 +3704,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelState.latenciesInSeconds", "serializationOptions": { - "$id": "448", + "$id": "480", "json": { - "$id": "449", + "$id": "481", "name": "latenciesInSeconds" } } @@ -3462,21 +3720,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.DiagnosticsInfo.modelState", "serializationOptions": { - "$id": "450", + "$id": "482", "json": { - "$id": "451", + "$id": "483", "name": "modelState" } } }, { - "$id": "452", + "$id": "484", "kind": "property", "name": "variableStates", "serializedName": "variableStates", "doc": "Variable Status.", "type": { - "$ref": "285" + "$ref": "317" }, "optional": true, "readOnly": false, @@ -3485,9 +3743,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.DiagnosticsInfo.variableStates", "serializationOptions": { - "$id": "453", + "$id": "485", "json": { - "$id": "454", + "$id": "486", "name": "variableStates" } } @@ -3501,9 +3759,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelInfo.diagnosticsInfo", "serializationOptions": { - "$id": "455", + "$id": "487", "json": { - "$id": "456", + "$id": "488", "name": "diagnosticsInfo" } } @@ -3511,16 +3769,16 @@ ] }, { - "$ref": "413" + "$ref": "445" }, { - "$ref": "433" + "$ref": "465" }, { - "$ref": "435" + "$ref": "467" }, { - "$id": "457", + "$id": "489", "kind": "model", "name": "AnomalyDetectionModel", "namespace": "AnomalyDetector.Multivariate", @@ -3530,18 +3788,18 @@ "decorators": [], "properties": [ { - "$id": "458", + "$id": "490", "kind": "property", "name": "modelId", "serializedName": "modelId", "doc": "Model identifier.", "type": { - "$id": "459", + "$id": "491", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "460", + "$id": "492", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3556,26 +3814,26 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AnomalyDetectionModel.modelId", "serializationOptions": { - "$id": "461", + "$id": "493", "json": { - "$id": "462", + "$id": "494", "name": "modelId" } } }, { - "$id": "463", + "$id": "495", "kind": "property", "name": "createdTime", "serializedName": "createdTime", "doc": "Date and time (UTC) when the model was created.", "type": { - "$id": "464", + "$id": "496", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "465", + "$id": "497", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3591,26 +3849,26 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AnomalyDetectionModel.createdTime", "serializationOptions": { - "$id": "466", + "$id": "498", "json": { - "$id": "467", + "$id": "499", "name": "createdTime" } } }, { - "$id": "468", + "$id": "500", "kind": "property", "name": "lastUpdatedTime", "serializedName": "lastUpdatedTime", "doc": "Date and time (UTC) when the model was last updated.", "type": { - "$id": "469", + "$id": "501", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "470", + "$id": "502", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3626,21 +3884,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AnomalyDetectionModel.lastUpdatedTime", "serializationOptions": { - "$id": "471", + "$id": "503", "json": { - "$id": "472", + "$id": "504", "name": "lastUpdatedTime" } } }, { - "$id": "473", + "$id": "505", "kind": "property", "name": "modelInfo", "serializedName": "modelInfo", "doc": "Training result of a model including its status, errors and diagnostics\ninformation.", "type": { - "$ref": "386" + "$ref": "418" }, "optional": true, "readOnly": false, @@ -3649,9 +3907,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.AnomalyDetectionModel.modelInfo", "serializationOptions": { - "$id": "474", + "$id": "506", "json": { - "$id": "475", + "$id": "507", "name": "modelInfo" } } @@ -3659,7 +3917,7 @@ ] }, { - "$id": "476", + "$id": "508", "kind": "model", "name": "ModelList", "namespace": "AnomalyDetector.Multivariate", @@ -3669,17 +3927,17 @@ "decorators": [], "properties": [ { - "$id": "477", + "$id": "509", "kind": "property", "name": "models", "serializedName": "models", "doc": "List of models.", "type": { - "$id": "478", + "$id": "510", "kind": "array", "name": "ArrayAnomalyDetectionModel", "valueType": { - "$ref": "457" + "$ref": "489" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -3691,21 +3949,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelList.models", "serializationOptions": { - "$id": "479", + "$id": "511", "json": { - "$id": "480", + "$id": "512", "name": "models" } } }, { - "$id": "481", + "$id": "513", "kind": "property", "name": "currentCount", "serializedName": "currentCount", "doc": "Number of trained multivariate models.", "type": { - "$id": "482", + "$id": "514", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -3718,21 +3976,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelList.currentCount", "serializationOptions": { - "$id": "483", + "$id": "515", "json": { - "$id": "484", + "$id": "516", "name": "currentCount" } } }, { - "$id": "485", + "$id": "517", "kind": "property", "name": "maxCount", "serializedName": "maxCount", "doc": "Maximum number of models that can be trained for this Anomaly Detector resource.", "type": { - "$id": "486", + "$id": "518", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -3745,21 +4003,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelList.maxCount", "serializationOptions": { - "$id": "487", + "$id": "519", "json": { - "$id": "488", + "$id": "520", "name": "maxCount" } } }, { - "$id": "489", + "$id": "521", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to fetch more models.", "type": { - "$id": "490", + "$id": "522", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3772,9 +4030,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ModelList.nextLink", "serializationOptions": { - "$id": "491", + "$id": "523", "json": { - "$id": "492", + "$id": "524", "name": "nextLink" } } @@ -3782,7 +4040,7 @@ ] }, { - "$id": "493", + "$id": "525", "kind": "model", "name": "MultivariateLastDetectionOptions", "namespace": "AnomalyDetector.Multivariate", @@ -3792,17 +4050,17 @@ "decorators": [], "properties": [ { - "$id": "494", + "$id": "526", "kind": "property", "name": "variables", "serializedName": "variables", "doc": "This contains the inference data, including the name, timestamps(ISO 8601) and\nvalues of variables.", "type": { - "$id": "495", + "$id": "527", "kind": "array", "name": "ArrayVariableValues", "valueType": { - "$id": "496", + "$id": "528", "kind": "model", "name": "VariableValues", "namespace": "AnomalyDetector.Multivariate", @@ -3812,13 +4070,13 @@ "decorators": [], "properties": [ { - "$id": "497", + "$id": "529", "kind": "property", "name": "variable", "serializedName": "variable", "doc": "Variable name of last detection request.", "type": { - "$id": "498", + "$id": "530", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3831,21 +4089,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.VariableValues.variable", "serializationOptions": { - "$id": "499", + "$id": "531", "json": { - "$id": "500", + "$id": "532", "name": "variable" } } }, { - "$id": "501", + "$id": "533", "kind": "property", "name": "timestamps", "serializedName": "timestamps", "doc": "Timestamps of last detection request", "type": { - "$ref": "371" + "$ref": "403" }, "optional": false, "readOnly": false, @@ -3854,21 +4112,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.VariableValues.timestamps", "serializationOptions": { - "$id": "502", + "$id": "534", "json": { - "$id": "503", + "$id": "535", "name": "timestamps" } } }, { - "$id": "504", + "$id": "536", "kind": "property", "name": "values", "serializedName": "values", "doc": "Values of variables.", "type": { - "$ref": "155" + "$ref": "187" }, "optional": false, "readOnly": false, @@ -3877,9 +4135,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.VariableValues.values", "serializationOptions": { - "$id": "505", + "$id": "537", "json": { - "$id": "506", + "$id": "538", "name": "values" } } @@ -3896,21 +4154,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.MultivariateLastDetectionOptions.variables", "serializationOptions": { - "$id": "507", + "$id": "539", "json": { - "$id": "508", + "$id": "540", "name": "variables" } } }, { - "$id": "509", + "$id": "541", "kind": "property", "name": "topContributorCount", "serializedName": "topContributorCount", "doc": "An optional field, which is used to specify the number of top contributed\nvariables for one anomalous timestamp in the response. The default number is\n10.", "type": { - "$id": "510", + "$id": "542", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -3923,9 +4181,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.MultivariateLastDetectionOptions.topContributorCount", "serializationOptions": { - "$id": "511", + "$id": "543", "json": { - "$id": "512", + "$id": "544", "name": "topContributorCount" } } @@ -3933,10 +4191,10 @@ ] }, { - "$ref": "496" + "$ref": "528" }, { - "$id": "513", + "$id": "545", "kind": "model", "name": "MultivariateLastDetectionResult", "namespace": "AnomalyDetector.Multivariate", @@ -3946,13 +4204,13 @@ "decorators": [], "properties": [ { - "$id": "514", + "$id": "546", "kind": "property", "name": "variableStates", "serializedName": "variableStates", "doc": "Variable Status.", "type": { - "$ref": "285" + "$ref": "317" }, "optional": true, "readOnly": false, @@ -3961,21 +4219,21 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.MultivariateLastDetectionResult.variableStates", "serializationOptions": { - "$id": "515", + "$id": "547", "json": { - "$id": "516", + "$id": "548", "name": "variableStates" } } }, { - "$id": "517", + "$id": "549", "kind": "property", "name": "results", "serializedName": "results", "doc": "Anomaly status and information.", "type": { - "$ref": "336" + "$ref": "368" }, "optional": true, "readOnly": false, @@ -3984,9 +4242,9 @@ "decorators": [], "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.MultivariateLastDetectionResult.results", "serializationOptions": { - "$id": "518", + "$id": "550", "json": { - "$id": "519", + "$id": "551", "name": "results" } } @@ -3996,7 +4254,7 @@ ], "clients": [ { - "$id": "520", + "$id": "552", "kind": "client", "name": "AnomalyDetectorClient", "namespace": "AnomalyDetector", @@ -4004,12 +4262,12 @@ "methods": [], "parameters": [ { - "$id": "521", + "$id": "553", "name": "Endpoint", "nameInRequest": "Endpoint", "doc": "Supported Cognitive Services endpoints (protocol and hostname, for example:\nhttps://westus2.api.cognitive.microsoft.com).", "type": { - "$id": "522", + "$id": "554", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4024,7 +4282,7 @@ "kind": "Client" }, { - "$id": "523", + "$id": "555", "name": "ApiVersion", "nameInRequest": "ApiVersion", "doc": "Api Version", @@ -4040,9 +4298,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "524", + "$id": "556", "type": { - "$id": "525", + "$id": "557", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4053,12 +4311,12 @@ ], "decorators": [ { - "$id": "526", + "$id": "558", "name": "TypeSpec.@service", "arguments": { - "$id": "527", + "$id": "559", "options": { - "$id": "528", + "$id": "560", "title": "Anomaly Detector" } } @@ -4070,13 +4328,13 @@ ], "children": [ { - "$id": "529", + "$id": "561", "kind": "client", "name": "Univariate", "namespace": "AnomalyDetector.Univariate", "methods": [ { - "$id": "530", + "$id": "562", "kind": "basic", "name": "DetectUnivariateEntireSeries", "accessibility": "public", @@ -4086,7 +4344,7 @@ "doc": "This operation generates a model with an entire series, each point is detected\nwith the same model. With this method, points before and after a certain point\nare used to determine whether it is an anomaly. The entire detection can give\nuser an overall status of the time series.", "summary": "Detect anomalies for the entire series in batch.", "operation": { - "$id": "531", + "$id": "563", "name": "DetectUnivariateEntireSeries", "resourceName": "Univariate", "summary": "Detect anomalies for the entire series in batch.", @@ -4094,25 +4352,12 @@ "accessibility": "public", "parameters": [ { - "$id": "532", + "$id": "564", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "533", - "kind": "constant", - "name": "DetectUnivariateEntireSeriesContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "534", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -4125,24 +4370,11 @@ "skipUrlEncoding": false }, { - "$id": "535", + "$id": "565", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "536", - "kind": "constant", - "name": "DetectUnivariateEntireSeriesContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "537", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -4155,12 +4387,12 @@ "skipUrlEncoding": false }, { - "$id": "538", + "$id": "566", "name": "options", "nameInRequest": "options", "doc": "Method of univariate anomaly detection.", "type": { - "$ref": "108" + "$ref": "140" }, "location": "Body", "isApiVersion": false, @@ -4175,12 +4407,12 @@ ], "responses": [ { - "$id": "539", + "$id": "567", "statusCodes": [ 200 ], "bodyType": { - "$ref": "149" + "$ref": "181" }, "headers": [], "isErrorResponse": false, @@ -4202,1289 +4434,1289 @@ "decorators": [], "examples": [ { - "$id": "540", + "$id": "568", "kind": "http", "name": "Univariate detect entire series", "description": "Univariate detect entire series", "filePath": "v1.1/EntireDetect.json", "parameters": [ { - "$id": "541", + "$id": "569", "parameter": { - "$ref": "532" + "$ref": "564" }, "value": { - "$id": "542", + "$id": "570", "kind": "string", "type": { - "$ref": "533" + "$ref": "108" }, "value": "application/json" } }, { - "$id": "543", + "$id": "571", "parameter": { - "$ref": "538" + "$ref": "566" }, "value": { - "$id": "544", + "$id": "572", "kind": "model", "type": { - "$ref": "108" + "$ref": "140" }, "value": { - "$id": "545", + "$id": "573", "series": { - "$id": "546", + "$id": "574", "kind": "array", "type": { - "$ref": "110" + "$ref": "142" }, "value": [ { - "$id": "547", + "$id": "575", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "548", + "$id": "576", "timestamp": { - "$id": "549", + "$id": "577", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1972-01-01T00:00:00Z" }, "value": { - "$id": "550", + "$id": "578", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 826 } } }, { - "$id": "551", + "$id": "579", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "552", + "$id": "580", "timestamp": { - "$id": "553", + "$id": "581", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1972-02-01T00:00:00Z" }, "value": { - "$id": "554", + "$id": "582", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 799 } } }, { - "$id": "555", + "$id": "583", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "556", + "$id": "584", "timestamp": { - "$id": "557", + "$id": "585", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1972-03-01T00:00:00Z" }, "value": { - "$id": "558", + "$id": "586", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 890 } } }, { - "$id": "559", + "$id": "587", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "560", + "$id": "588", "timestamp": { - "$id": "561", + "$id": "589", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1972-04-01T00:00:00Z" }, "value": { - "$id": "562", + "$id": "590", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 900 } } }, { - "$id": "563", + "$id": "591", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "564", + "$id": "592", "timestamp": { - "$id": "565", + "$id": "593", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1972-05-01T00:00:00Z" }, "value": { - "$id": "566", + "$id": "594", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 961 } } }, { - "$id": "567", + "$id": "595", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "568", + "$id": "596", "timestamp": { - "$id": "569", + "$id": "597", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1972-06-01T00:00:00Z" }, "value": { - "$id": "570", + "$id": "598", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 935 } } }, { - "$id": "571", + "$id": "599", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "572", + "$id": "600", "timestamp": { - "$id": "573", + "$id": "601", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1972-07-01T00:00:00Z" }, "value": { - "$id": "574", + "$id": "602", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 894 } } }, { - "$id": "575", + "$id": "603", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "576", + "$id": "604", "timestamp": { - "$id": "577", + "$id": "605", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1972-08-01T00:00:00Z" }, "value": { - "$id": "578", + "$id": "606", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 855 } } }, { - "$id": "579", + "$id": "607", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "580", + "$id": "608", "timestamp": { - "$id": "581", + "$id": "609", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1972-09-01T00:00:00Z" }, "value": { - "$id": "582", + "$id": "610", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 809 } } }, { - "$id": "583", + "$id": "611", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "584", + "$id": "612", "timestamp": { - "$id": "585", + "$id": "613", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1972-10-01T00:00:00Z" }, "value": { - "$id": "586", + "$id": "614", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 810 } } }, { - "$id": "587", + "$id": "615", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "588", + "$id": "616", "timestamp": { - "$id": "589", + "$id": "617", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1972-11-01T00:00:00Z" }, "value": { - "$id": "590", + "$id": "618", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 766 } } }, { - "$id": "591", + "$id": "619", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "592", + "$id": "620", "timestamp": { - "$id": "593", + "$id": "621", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1972-12-01T00:00:00Z" }, "value": { - "$id": "594", + "$id": "622", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 805 } } }, { - "$id": "595", + "$id": "623", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "596", + "$id": "624", "timestamp": { - "$id": "597", + "$id": "625", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1973-01-01T00:00:00Z" }, "value": { - "$id": "598", + "$id": "626", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 821 } } }, { - "$id": "599", + "$id": "627", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "600", + "$id": "628", "timestamp": { - "$id": "601", + "$id": "629", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1973-02-01T00:00:00Z" }, "value": { - "$id": "602", + "$id": "630", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 773 } } }, { - "$id": "603", + "$id": "631", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "604", + "$id": "632", "timestamp": { - "$id": "605", + "$id": "633", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1973-03-01T00:00:00Z" }, "value": { - "$id": "606", + "$id": "634", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 883 } } }, { - "$id": "607", + "$id": "635", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "608", + "$id": "636", "timestamp": { - "$id": "609", + "$id": "637", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1973-04-01T00:00:00Z" }, "value": { - "$id": "610", + "$id": "638", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 898 } } }, { - "$id": "611", + "$id": "639", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "612", + "$id": "640", "timestamp": { - "$id": "613", + "$id": "641", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1973-05-01T00:00:00Z" }, "value": { - "$id": "614", + "$id": "642", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 957 } } }, { - "$id": "615", + "$id": "643", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "616", + "$id": "644", "timestamp": { - "$id": "617", + "$id": "645", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1973-06-01T00:00:00Z" }, "value": { - "$id": "618", + "$id": "646", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 924 } } }, { - "$id": "619", + "$id": "647", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "620", + "$id": "648", "timestamp": { - "$id": "621", + "$id": "649", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1973-07-01T00:00:00Z" }, "value": { - "$id": "622", + "$id": "650", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 881 } } }, { - "$id": "623", + "$id": "651", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "624", + "$id": "652", "timestamp": { - "$id": "625", + "$id": "653", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1973-08-01T00:00:00Z" }, "value": { - "$id": "626", + "$id": "654", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 837 } } }, { - "$id": "627", + "$id": "655", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "628", + "$id": "656", "timestamp": { - "$id": "629", + "$id": "657", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1973-09-01T00:00:00Z" }, "value": { - "$id": "630", + "$id": "658", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 784 } } }, { - "$id": "631", + "$id": "659", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "632", + "$id": "660", "timestamp": { - "$id": "633", + "$id": "661", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1973-10-01T00:00:00Z" }, "value": { - "$id": "634", + "$id": "662", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 791 } } }, { - "$id": "635", + "$id": "663", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "636", + "$id": "664", "timestamp": { - "$id": "637", + "$id": "665", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1973-11-01T00:00:00Z" }, "value": { - "$id": "638", + "$id": "666", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 760 } } }, { - "$id": "639", + "$id": "667", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "640", + "$id": "668", "timestamp": { - "$id": "641", + "$id": "669", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1973-12-01T00:00:00Z" }, "value": { - "$id": "642", + "$id": "670", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 802 } } }, { - "$id": "643", + "$id": "671", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "644", + "$id": "672", "timestamp": { - "$id": "645", + "$id": "673", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1974-01-01T00:00:00Z" }, "value": { - "$id": "646", + "$id": "674", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 828 } } }, { - "$id": "647", + "$id": "675", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "648", + "$id": "676", "timestamp": { - "$id": "649", + "$id": "677", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1974-02-01T00:00:00Z" }, "value": { - "$id": "650", + "$id": "678", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 1030 } } }, { - "$id": "651", + "$id": "679", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "652", + "$id": "680", "timestamp": { - "$id": "653", + "$id": "681", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1974-03-01T00:00:00Z" }, "value": { - "$id": "654", + "$id": "682", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 889 } } }, { - "$id": "655", + "$id": "683", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "656", + "$id": "684", "timestamp": { - "$id": "657", + "$id": "685", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1974-04-01T00:00:00Z" }, "value": { - "$id": "658", + "$id": "686", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 902 } } }, { - "$id": "659", + "$id": "687", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "660", + "$id": "688", "timestamp": { - "$id": "661", + "$id": "689", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1974-05-01T00:00:00Z" }, "value": { - "$id": "662", + "$id": "690", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 969 } } }, { - "$id": "663", + "$id": "691", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "664", + "$id": "692", "timestamp": { - "$id": "665", + "$id": "693", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1974-06-01T00:00:00Z" }, "value": { - "$id": "666", + "$id": "694", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 947 } } }, { - "$id": "667", + "$id": "695", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "668", + "$id": "696", "timestamp": { - "$id": "669", + "$id": "697", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1974-07-01T00:00:00Z" }, "value": { - "$id": "670", + "$id": "698", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 908 } } }, { - "$id": "671", + "$id": "699", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "672", + "$id": "700", "timestamp": { - "$id": "673", + "$id": "701", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1974-08-01T00:00:00Z" }, "value": { - "$id": "674", + "$id": "702", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 867 } } }, { - "$id": "675", + "$id": "703", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "676", + "$id": "704", "timestamp": { - "$id": "677", + "$id": "705", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1974-09-01T00:00:00Z" }, "value": { - "$id": "678", + "$id": "706", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 815 } } }, { - "$id": "679", + "$id": "707", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "680", + "$id": "708", "timestamp": { - "$id": "681", + "$id": "709", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1974-10-01T00:00:00Z" }, "value": { - "$id": "682", + "$id": "710", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 812 } } }, { - "$id": "683", + "$id": "711", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "684", + "$id": "712", "timestamp": { - "$id": "685", + "$id": "713", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1974-11-01T00:00:00Z" }, "value": { - "$id": "686", + "$id": "714", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 773 } } }, { - "$id": "687", + "$id": "715", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "688", + "$id": "716", "timestamp": { - "$id": "689", + "$id": "717", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1974-12-01T00:00:00Z" }, "value": { - "$id": "690", + "$id": "718", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 813 } } }, { - "$id": "691", + "$id": "719", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "692", + "$id": "720", "timestamp": { - "$id": "693", + "$id": "721", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1975-01-01T00:00:00Z" }, "value": { - "$id": "694", + "$id": "722", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 834 } } }, { - "$id": "695", + "$id": "723", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "696", + "$id": "724", "timestamp": { - "$id": "697", + "$id": "725", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1975-02-01T00:00:00Z" }, "value": { - "$id": "698", + "$id": "726", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 782 } } }, { - "$id": "699", + "$id": "727", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "700", + "$id": "728", "timestamp": { - "$id": "701", + "$id": "729", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1975-03-01T00:00:00Z" }, "value": { - "$id": "702", + "$id": "730", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 892 } } }, { - "$id": "703", + "$id": "731", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "704", + "$id": "732", "timestamp": { - "$id": "705", + "$id": "733", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1975-04-01T00:00:00Z" }, "value": { - "$id": "706", + "$id": "734", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 903 } } }, { - "$id": "707", + "$id": "735", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "708", + "$id": "736", "timestamp": { - "$id": "709", + "$id": "737", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1975-05-01T00:00:00Z" }, "value": { - "$id": "710", + "$id": "738", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 966 } } }, { - "$id": "711", + "$id": "739", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "712", + "$id": "740", "timestamp": { - "$id": "713", + "$id": "741", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1975-06-01T00:00:00Z" }, "value": { - "$id": "714", + "$id": "742", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 937 } } }, { - "$id": "715", + "$id": "743", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "716", + "$id": "744", "timestamp": { - "$id": "717", + "$id": "745", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1975-07-01T00:00:00Z" }, "value": { - "$id": "718", + "$id": "746", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 896 } } }, { - "$id": "719", + "$id": "747", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "720", + "$id": "748", "timestamp": { - "$id": "721", + "$id": "749", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1975-08-01T00:00:00Z" }, "value": { - "$id": "722", + "$id": "750", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 858 } } }, { - "$id": "723", + "$id": "751", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "724", + "$id": "752", "timestamp": { - "$id": "725", + "$id": "753", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1975-09-01T00:00:00Z" }, "value": { - "$id": "726", + "$id": "754", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 817 } } }, { - "$id": "727", + "$id": "755", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "728", + "$id": "756", "timestamp": { - "$id": "729", + "$id": "757", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1975-10-01T00:00:00Z" }, "value": { - "$id": "730", + "$id": "758", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 827 } } }, { - "$id": "731", + "$id": "759", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "732", + "$id": "760", "timestamp": { - "$id": "733", + "$id": "761", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1975-11-01T00:00:00Z" }, "value": { - "$id": "734", + "$id": "762", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 797 } } }, { - "$id": "735", + "$id": "763", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "736", + "$id": "764", "timestamp": { - "$id": "737", + "$id": "765", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "1975-12-01T00:00:00Z" }, "value": { - "$id": "738", + "$id": "766", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 843 } @@ -5493,23 +5725,23 @@ ] }, "maxAnomalyRatio": { - "$id": "739", + "$id": "767", "kind": "number", "type": { - "$ref": "135" + "$ref": "167" }, "value": 0.25 }, "sensitivity": { - "$id": "740", + "$id": "768", "kind": "number", "type": { - "$ref": "139" + "$ref": "171" }, "value": 95 }, "granularity": { - "$id": "741", + "$id": "769", "kind": "string", "type": { "$ref": "2" @@ -5517,7 +5749,7 @@ "value": "monthly" }, "imputeMode": { - "$id": "742", + "$id": "770", "kind": "string", "type": { "$ref": "22" @@ -5530,2773 +5762,2773 @@ ], "responses": [ { - "$id": "743", + "$id": "771", "response": { - "$ref": "539" + "$ref": "567" }, "statusCode": 200, "bodyValue": { - "$id": "744", + "$id": "772", "kind": "model", "type": { - "$ref": "149" + "$ref": "181" }, "value": { - "$id": "745", + "$id": "773", "isNegativeAnomaly": { - "$id": "746", + "$id": "774", "kind": "array", "type": { - "$ref": "166" + "$ref": "198" }, "value": [ { - "$id": "747", + "$id": "775", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "748", + "$id": "776", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "749", + "$id": "777", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "750", + "$id": "778", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "751", + "$id": "779", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "752", + "$id": "780", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "753", + "$id": "781", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "754", + "$id": "782", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "755", + "$id": "783", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "756", + "$id": "784", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "757", + "$id": "785", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "758", + "$id": "786", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "759", + "$id": "787", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "760", + "$id": "788", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "761", + "$id": "789", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "762", + "$id": "790", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "763", + "$id": "791", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "764", + "$id": "792", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "765", + "$id": "793", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "766", + "$id": "794", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "767", + "$id": "795", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "768", + "$id": "796", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "769", + "$id": "797", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "770", + "$id": "798", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "771", + "$id": "799", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "772", + "$id": "800", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "773", + "$id": "801", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "774", + "$id": "802", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "775", + "$id": "803", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "776", + "$id": "804", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "777", + "$id": "805", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "778", + "$id": "806", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "779", + "$id": "807", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "780", + "$id": "808", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "781", + "$id": "809", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "782", + "$id": "810", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "783", + "$id": "811", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "784", + "$id": "812", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "785", + "$id": "813", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "786", + "$id": "814", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "787", + "$id": "815", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "788", + "$id": "816", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "789", + "$id": "817", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "790", + "$id": "818", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "791", + "$id": "819", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "792", + "$id": "820", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "793", + "$id": "821", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "794", + "$id": "822", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false } ] }, "expectedValues": { - "$id": "795", + "$id": "823", "kind": "array", "type": { - "$ref": "155" + "$ref": "187" }, "value": [ { - "$id": "796", + "$id": "824", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 827.7940908243968 }, { - "$id": "797", + "$id": "825", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 798.9133774671927 }, { - "$id": "798", + "$id": "826", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 888.6058431807189 }, { - "$id": "799", + "$id": "827", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 900.5606407986661 }, { - "$id": "800", + "$id": "828", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 962.8389426378304 }, { - "$id": "801", + "$id": "829", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 933.2591606306954 }, { - "$id": "802", + "$id": "830", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 891.0784104799666 }, { - "$id": "803", + "$id": "831", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 856.1781601363697 }, { - "$id": "804", + "$id": "832", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 809.8987227908941 }, { - "$id": "805", + "$id": "833", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 807.375129007505 }, { - "$id": "806", + "$id": "834", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 764.3196682448518 }, { - "$id": "807", + "$id": "835", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 803.933498594564 }, { - "$id": "808", + "$id": "836", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 823.5900620883058 }, { - "$id": "809", + "$id": "837", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 794.0905641334288 }, { - "$id": "810", + "$id": "838", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 883.164245249282 }, { - "$id": "811", + "$id": "839", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 894.8419000690953 }, { - "$id": "812", + "$id": "840", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 956.8430591101258 }, { - "$id": "813", + "$id": "841", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 927.6285055190114 }, { - "$id": "814", + "$id": "842", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 885.812983784303 }, { - "$id": "815", + "$id": "843", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 851.6424797402517 }, { - "$id": "816", + "$id": "844", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 806.0927886943216 }, { - "$id": "817", + "$id": "845", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 804.6826815312029 }, { - "$id": "818", + "$id": "846", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 762.74070738882 }, { - "$id": "819", + "$id": "847", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 804.0251702513732 }, { - "$id": "820", + "$id": "848", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 825.3523662579559 }, { - "$id": "821", + "$id": "849", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 798.0404188724976 }, { - "$id": "822", + "$id": "850", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 889.3016505577698 }, { - "$id": "823", + "$id": "851", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 902.4226124345937 }, { - "$id": "824", + "$id": "852", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 965.867078532635 }, { - "$id": "825", + "$id": "853", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 937.3200495736695 }, { - "$id": "826", + "$id": "854", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 896.1720524711102 }, { - "$id": "827", + "$id": "855", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 862.0087368413656 }, { - "$id": "828", + "$id": "856", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 816.4662342097423 }, { - "$id": "829", + "$id": "857", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 814.4297745524709 }, { - "$id": "830", + "$id": "858", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 771.8614479159354 }, { - "$id": "831", + "$id": "859", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 811.859271346729 }, { - "$id": "832", + "$id": "860", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 831.8998279215521 }, { - "$id": "833", + "$id": "861", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 802.947544797165 }, { - "$id": "834", + "$id": "862", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 892.5684407435083 }, { - "$id": "835", + "$id": "863", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 904.5488214533809 }, { - "$id": "836", + "$id": "864", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 966.8527063844707 }, { - "$id": "837", + "$id": "865", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 937.3168391003043 }, { - "$id": "838", + "$id": "866", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 895.180003672544 }, { - "$id": "839", + "$id": "867", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 860.3649596356635 }, { - "$id": "840", + "$id": "868", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 814.1707285969043 }, { - "$id": "841", + "$id": "869", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 811.9054862686213 }, { - "$id": "842", + "$id": "870", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 769.1083769610742 }, { - "$id": "843", + "$id": "871", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 809.2328084659704 } ] }, "isPositiveAnomaly": { - "$id": "844", + "$id": "872", "kind": "array", "type": { - "$ref": "166" + "$ref": "198" }, "value": [ { - "$id": "845", + "$id": "873", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "846", + "$id": "874", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "847", + "$id": "875", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "848", + "$id": "876", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "849", + "$id": "877", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "850", + "$id": "878", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "851", + "$id": "879", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "852", + "$id": "880", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "853", + "$id": "881", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "854", + "$id": "882", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "855", + "$id": "883", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "856", + "$id": "884", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "857", + "$id": "885", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "858", + "$id": "886", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "859", + "$id": "887", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "860", + "$id": "888", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "861", + "$id": "889", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "862", + "$id": "890", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "863", + "$id": "891", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "864", + "$id": "892", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "865", + "$id": "893", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "866", + "$id": "894", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "867", + "$id": "895", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "868", + "$id": "896", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "869", + "$id": "897", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "870", + "$id": "898", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": true }, { - "$id": "871", + "$id": "899", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "872", + "$id": "900", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "873", + "$id": "901", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "874", + "$id": "902", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "875", + "$id": "903", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "876", + "$id": "904", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "877", + "$id": "905", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "878", + "$id": "906", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "879", + "$id": "907", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "880", + "$id": "908", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "881", + "$id": "909", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "882", + "$id": "910", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "883", + "$id": "911", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "884", + "$id": "912", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "885", + "$id": "913", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "886", + "$id": "914", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "887", + "$id": "915", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "888", + "$id": "916", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "889", + "$id": "917", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "890", + "$id": "918", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "891", + "$id": "919", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "892", + "$id": "920", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false } ] }, "lowerMargins": { - "$id": "893", + "$id": "921", "kind": "array", "type": { - "$ref": "155" + "$ref": "187" }, "value": [ { - "$id": "894", + "$id": "922", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 41.389704541219835 }, { - "$id": "895", + "$id": "923", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 39.94566887335964 }, { - "$id": "896", + "$id": "924", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.43029215903594 }, { - "$id": "897", + "$id": "925", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 45.02803203993331 }, { - "$id": "898", + "$id": "926", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 48.14194713189152 }, { - "$id": "899", + "$id": "927", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 46.66295803153477 }, { - "$id": "900", + "$id": "928", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.55392052399833 }, { - "$id": "901", + "$id": "929", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 42.808908006818484 }, { - "$id": "902", + "$id": "930", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.494936139544706 }, { - "$id": "903", + "$id": "931", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.36875645037525 }, { - "$id": "904", + "$id": "932", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 38.215983412242586 }, { - "$id": "905", + "$id": "933", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.196674929728196 }, { - "$id": "906", + "$id": "934", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 41.17950310441529 }, { - "$id": "907", + "$id": "935", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 39.70452820667144 }, { - "$id": "908", + "$id": "936", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.1582122624641 }, { - "$id": "909", + "$id": "937", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.74209500345477 }, { - "$id": "910", + "$id": "938", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 47.84215295550629 }, { - "$id": "911", + "$id": "939", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 46.38142527595057 }, { - "$id": "912", + "$id": "940", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.290649189215145 }, { - "$id": "913", + "$id": "941", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 42.58212398701258 }, { - "$id": "914", + "$id": "942", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.30463943471608 }, { - "$id": "915", + "$id": "943", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.234134076560146 }, { - "$id": "916", + "$id": "944", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 38.137035369441 }, { - "$id": "917", + "$id": "945", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.201258512568664 }, { - "$id": "918", + "$id": "946", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 41.267618312897795 }, { - "$id": "919", + "$id": "947", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 39.90202094362488 }, { - "$id": "920", + "$id": "948", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.46508252788849 }, { - "$id": "921", + "$id": "949", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 45.121130621729684 }, { - "$id": "922", + "$id": "950", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 48.29335392663175 }, { - "$id": "923", + "$id": "951", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 46.86600247868348 }, { - "$id": "924", + "$id": "952", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.80860262355551 }, { - "$id": "925", + "$id": "953", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 43.100436842068284 }, { - "$id": "926", + "$id": "954", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.82331171048711 }, { - "$id": "927", + "$id": "955", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.721488727623544 }, { - "$id": "928", + "$id": "956", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 38.593072395796774 }, { - "$id": "929", + "$id": "957", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.59296356733645 }, { - "$id": "930", + "$id": "958", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 41.5949913960776 }, { - "$id": "931", + "$id": "959", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.14737723985825 }, { - "$id": "932", + "$id": "960", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.62842203717541 }, { - "$id": "933", + "$id": "961", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 45.227441072669045 }, { - "$id": "934", + "$id": "962", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 48.34263531922354 }, { - "$id": "935", + "$id": "963", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 46.86584195501521 }, { - "$id": "936", + "$id": "964", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.759000183627194 }, { - "$id": "937", + "$id": "965", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 43.01824798178317 }, { - "$id": "938", + "$id": "966", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.70853642984521 }, { - "$id": "939", + "$id": "967", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.59527431343106 }, { - "$id": "940", + "$id": "968", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 38.45541884805371 }, { - "$id": "941", + "$id": "969", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.46164042329852 } ] }, "period": { - "$id": "942", + "$id": "970", "kind": "number", "type": { - "$ref": "151" + "$ref": "183" }, "value": 12 }, "upperMargins": { - "$id": "943", + "$id": "971", "kind": "array", "type": { - "$ref": "155" + "$ref": "187" }, "value": [ { - "$id": "944", + "$id": "972", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 41.389704541219835 }, { - "$id": "945", + "$id": "973", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 39.94566887335964 }, { - "$id": "946", + "$id": "974", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.43029215903594 }, { - "$id": "947", + "$id": "975", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 45.02803203993331 }, { - "$id": "948", + "$id": "976", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 48.14194713189152 }, { - "$id": "949", + "$id": "977", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 46.66295803153477 }, { - "$id": "950", + "$id": "978", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.55392052399833 }, { - "$id": "951", + "$id": "979", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 42.808908006818484 }, { - "$id": "952", + "$id": "980", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.494936139544706 }, { - "$id": "953", + "$id": "981", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.36875645037525 }, { - "$id": "954", + "$id": "982", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 38.215983412242586 }, { - "$id": "955", + "$id": "983", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.196674929728196 }, { - "$id": "956", + "$id": "984", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 41.17950310441529 }, { - "$id": "957", + "$id": "985", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 39.70452820667144 }, { - "$id": "958", + "$id": "986", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.1582122624641 }, { - "$id": "959", + "$id": "987", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.74209500345477 }, { - "$id": "960", + "$id": "988", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 47.84215295550629 }, { - "$id": "961", + "$id": "989", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 46.38142527595057 }, { - "$id": "962", + "$id": "990", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.290649189215145 }, { - "$id": "963", + "$id": "991", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 42.58212398701258 }, { - "$id": "964", + "$id": "992", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.30463943471608 }, { - "$id": "965", + "$id": "993", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.234134076560146 }, { - "$id": "966", + "$id": "994", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 38.137035369441 }, { - "$id": "967", + "$id": "995", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.201258512568664 }, { - "$id": "968", + "$id": "996", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 41.267618312897795 }, { - "$id": "969", + "$id": "997", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 39.90202094362488 }, { - "$id": "970", + "$id": "998", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.46508252788849 }, { - "$id": "971", + "$id": "999", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 45.121130621729684 }, { - "$id": "972", + "$id": "1000", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 48.29335392663175 }, { - "$id": "973", + "$id": "1001", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 46.86600247868348 }, { - "$id": "974", + "$id": "1002", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.80860262355551 }, { - "$id": "975", + "$id": "1003", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 43.100436842068284 }, { - "$id": "976", + "$id": "1004", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.82331171048711 }, { - "$id": "977", + "$id": "1005", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.721488727623544 }, { - "$id": "978", + "$id": "1006", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 38.593072395796774 }, { - "$id": "979", + "$id": "1007", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.59296356733645 }, { - "$id": "980", + "$id": "1008", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 41.5949913960776 }, { - "$id": "981", + "$id": "1009", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.14737723985825 }, { - "$id": "982", + "$id": "1010", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.62842203717541 }, { - "$id": "983", + "$id": "1011", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 45.227441072669045 }, { - "$id": "984", + "$id": "1012", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 48.34263531922354 }, { - "$id": "985", + "$id": "1013", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 46.86584195501521 }, { - "$id": "986", + "$id": "1014", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 44.759000183627194 }, { - "$id": "987", + "$id": "1015", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 43.01824798178317 }, { - "$id": "988", + "$id": "1016", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.70853642984521 }, { - "$id": "989", + "$id": "1017", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.59527431343106 }, { - "$id": "990", + "$id": "1018", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 38.45541884805371 }, { - "$id": "991", + "$id": "1019", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 40.46164042329852 } ] }, "isAnomaly": { - "$id": "992", + "$id": "1020", "kind": "array", "type": { - "$ref": "166" + "$ref": "198" }, "value": [ { - "$id": "993", + "$id": "1021", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "994", + "$id": "1022", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "995", + "$id": "1023", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "996", + "$id": "1024", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "997", + "$id": "1025", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "998", + "$id": "1026", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "999", + "$id": "1027", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1000", + "$id": "1028", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1001", + "$id": "1029", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1002", + "$id": "1030", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1003", + "$id": "1031", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1004", + "$id": "1032", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1005", + "$id": "1033", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1006", + "$id": "1034", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1007", + "$id": "1035", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1008", + "$id": "1036", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1009", + "$id": "1037", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1010", + "$id": "1038", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1011", + "$id": "1039", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1012", + "$id": "1040", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1013", + "$id": "1041", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1014", + "$id": "1042", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1015", + "$id": "1043", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1016", + "$id": "1044", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1017", + "$id": "1045", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1018", + "$id": "1046", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": true }, { - "$id": "1019", + "$id": "1047", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1020", + "$id": "1048", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1021", + "$id": "1049", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1022", + "$id": "1050", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1023", + "$id": "1051", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1024", + "$id": "1052", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1025", + "$id": "1053", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1026", + "$id": "1054", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1027", + "$id": "1055", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1028", + "$id": "1056", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1029", + "$id": "1057", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1030", + "$id": "1058", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1031", + "$id": "1059", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1032", + "$id": "1060", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1033", + "$id": "1061", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1034", + "$id": "1062", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1035", + "$id": "1063", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1036", + "$id": "1064", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1037", + "$id": "1065", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1038", + "$id": "1066", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1039", + "$id": "1067", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, { - "$id": "1040", + "$id": "1068", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false } ] }, "severity": { - "$id": "1041", + "$id": "1069", "kind": "array", "type": { - "$ref": "155" + "$ref": "187" }, "value": [ { - "$id": "1042", + "$id": "1070", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1043", + "$id": "1071", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1044", + "$id": "1072", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1045", + "$id": "1073", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1046", + "$id": "1074", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1047", + "$id": "1075", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1048", + "$id": "1076", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1049", + "$id": "1077", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1050", + "$id": "1078", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1051", + "$id": "1079", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1052", + "$id": "1080", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1053", + "$id": "1081", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1054", + "$id": "1082", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1055", + "$id": "1083", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1056", + "$id": "1084", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1057", + "$id": "1085", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1058", + "$id": "1086", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1059", + "$id": "1087", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1060", + "$id": "1088", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1061", + "$id": "1089", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1062", + "$id": "1090", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1063", + "$id": "1091", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1064", + "$id": "1092", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1065", + "$id": "1093", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1066", + "$id": "1094", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1067", + "$id": "1095", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.2906614447614368 }, { - "$id": "1068", + "$id": "1096", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1069", + "$id": "1097", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1070", + "$id": "1098", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1071", + "$id": "1099", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1072", + "$id": "1100", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1073", + "$id": "1101", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1074", + "$id": "1102", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1075", + "$id": "1103", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1076", + "$id": "1104", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1077", + "$id": "1105", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1078", + "$id": "1106", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1079", + "$id": "1107", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1080", + "$id": "1108", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1081", + "$id": "1109", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1082", + "$id": "1110", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1083", + "$id": "1111", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1084", + "$id": "1112", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1085", + "$id": "1113", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1086", + "$id": "1114", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1087", + "$id": "1115", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1088", + "$id": "1116", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 }, { - "$id": "1089", + "$id": "1117", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0 } @@ -8311,12 +8543,12 @@ }, "parameters": [ { - "$id": "1090", + "$id": "1118", "name": "options", "nameInRequest": "options", "doc": "Method of univariate anomaly detection.", "type": { - "$ref": "108" + "$ref": "140" }, "location": "Body", "isApiVersion": false, @@ -8329,12 +8561,12 @@ "skipUrlEncoding": false }, { - "$id": "1091", + "$id": "1119", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "533" + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -8347,11 +8579,11 @@ "skipUrlEncoding": false }, { - "$id": "1092", + "$id": "1120", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "536" + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -8365,9 +8597,9 @@ } ], "response": { - "$id": "1093", + "$id": "1121", "type": { - "$ref": "149" + "$ref": "181" } }, "isOverride": false, @@ -8376,7 +8608,7 @@ "crossLanguageDefinitionId": "AnomalyDetector.Univariate.DetectUnivariateEntireSeries" }, { - "$id": "1094", + "$id": "1122", "kind": "basic", "name": "DetectUnivariateLastPoint", "accessibility": "public", @@ -8386,7 +8618,7 @@ "doc": "This operation generates a model using the points that you sent into the API,\nand based on all data to determine whether the last point is anomalous.", "summary": "Detect anomaly status of the latest point in time series.", "operation": { - "$id": "1095", + "$id": "1123", "name": "DetectUnivariateLastPoint", "resourceName": "Univariate", "summary": "Detect anomaly status of the latest point in time series.", @@ -8394,25 +8626,12 @@ "accessibility": "public", "parameters": [ { - "$id": "1096", + "$id": "1124", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "1097", - "kind": "constant", - "name": "DetectUnivariateLastPointContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "1098", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -8425,24 +8644,11 @@ "skipUrlEncoding": false }, { - "$id": "1099", + "$id": "1125", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "1100", - "kind": "constant", - "name": "DetectUnivariateLastPointContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "1101", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -8455,12 +8661,12 @@ "skipUrlEncoding": false }, { - "$id": "1102", + "$id": "1126", "name": "options", "nameInRequest": "options", "doc": "Method of univariate anomaly detection.", "type": { - "$ref": "108" + "$ref": "140" }, "location": "Body", "isApiVersion": false, @@ -8475,12 +8681,12 @@ ], "responses": [ { - "$id": "1103", + "$id": "1127", "statusCodes": [ 200 ], "bodyType": { - "$ref": "189" + "$ref": "221" }, "headers": [], "isErrorResponse": false, @@ -8502,207 +8708,51 @@ "decorators": [], "examples": [ { - "$id": "1104", + "$id": "1128", "kind": "http", "name": "Detect univariate last point", "description": "Detect univariate last point", "filePath": "v1.1/LastDetect.json", "parameters": [ { - "$id": "1105", + "$id": "1129", "parameter": { - "$ref": "1096" + "$ref": "1124" }, "value": { - "$id": "1106", + "$id": "1130", "kind": "string", "type": { - "$ref": "1097" + "$ref": "112" }, "value": "application/json" } }, { - "$id": "1107", + "$id": "1131", "parameter": { - "$ref": "1102" + "$ref": "1126" }, "value": { - "$id": "1108", + "$id": "1132", "kind": "model", "type": { - "$ref": "108" + "$ref": "140" }, "value": { - "$id": "1109", + "$id": "1133", "series": { - "$id": "1110", + "$id": "1134", "kind": "array", "type": { - "$ref": "110" + "$ref": "142" }, "value": [ - { - "$id": "1111", - "kind": "model", - "type": { - "$ref": "111" - }, - "value": { - "$id": "1112", - "timestamp": { - "$id": "1113", - "kind": "string", - "type": { - "$ref": "113" - }, - "value": "1972-01-01T00:00:00Z" - }, - "value": { - "$id": "1114", - "kind": "number", - "type": { - "$ref": "118" - }, - "value": 826 - } - } - }, - { - "$id": "1115", - "kind": "model", - "type": { - "$ref": "111" - }, - "value": { - "$id": "1116", - "timestamp": { - "$id": "1117", - "kind": "string", - "type": { - "$ref": "113" - }, - "value": "1972-02-01T00:00:00Z" - }, - "value": { - "$id": "1118", - "kind": "number", - "type": { - "$ref": "118" - }, - "value": 799 - } - } - }, - { - "$id": "1119", - "kind": "model", - "type": { - "$ref": "111" - }, - "value": { - "$id": "1120", - "timestamp": { - "$id": "1121", - "kind": "string", - "type": { - "$ref": "113" - }, - "value": "1972-03-01T00:00:00Z" - }, - "value": { - "$id": "1122", - "kind": "number", - "type": { - "$ref": "118" - }, - "value": 890 - } - } - }, - { - "$id": "1123", - "kind": "model", - "type": { - "$ref": "111" - }, - "value": { - "$id": "1124", - "timestamp": { - "$id": "1125", - "kind": "string", - "type": { - "$ref": "113" - }, - "value": "1972-04-01T00:00:00Z" - }, - "value": { - "$id": "1126", - "kind": "number", - "type": { - "$ref": "118" - }, - "value": 900 - } - } - }, - { - "$id": "1127", - "kind": "model", - "type": { - "$ref": "111" - }, - "value": { - "$id": "1128", - "timestamp": { - "$id": "1129", - "kind": "string", - "type": { - "$ref": "113" - }, - "value": "1972-05-01T00:00:00Z" - }, - "value": { - "$id": "1130", - "kind": "number", - "type": { - "$ref": "118" - }, - "value": 961 - } - } - }, - { - "$id": "1131", - "kind": "model", - "type": { - "$ref": "111" - }, - "value": { - "$id": "1132", - "timestamp": { - "$id": "1133", - "kind": "string", - "type": { - "$ref": "113" - }, - "value": "1972-06-01T00:00:00Z" - }, - "value": { - "$id": "1134", - "kind": "number", - "type": { - "$ref": "118" - }, - "value": 935 - } - } - }, { "$id": "1135", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1136", @@ -8710,17 +8760,17 @@ "$id": "1137", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1972-07-01T00:00:00Z" + "value": "1972-01-01T00:00:00Z" }, "value": { "$id": "1138", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 894 + "value": 826 } } }, @@ -8728,7 +8778,7 @@ "$id": "1139", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1140", @@ -8736,17 +8786,17 @@ "$id": "1141", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1972-08-01T00:00:00Z" + "value": "1972-02-01T00:00:00Z" }, "value": { "$id": "1142", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 855 + "value": 799 } } }, @@ -8754,7 +8804,7 @@ "$id": "1143", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1144", @@ -8762,17 +8812,17 @@ "$id": "1145", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1972-09-01T00:00:00Z" + "value": "1972-03-01T00:00:00Z" }, "value": { "$id": "1146", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 809 + "value": 890 } } }, @@ -8780,7 +8830,7 @@ "$id": "1147", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1148", @@ -8788,17 +8838,17 @@ "$id": "1149", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1972-10-01T00:00:00Z" + "value": "1972-04-01T00:00:00Z" }, "value": { "$id": "1150", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 810 + "value": 900 } } }, @@ -8806,7 +8856,7 @@ "$id": "1151", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1152", @@ -8814,17 +8864,17 @@ "$id": "1153", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1972-11-01T00:00:00Z" + "value": "1972-05-01T00:00:00Z" }, "value": { "$id": "1154", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 766 + "value": 961 } } }, @@ -8832,7 +8882,7 @@ "$id": "1155", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1156", @@ -8840,17 +8890,17 @@ "$id": "1157", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1972-12-01T00:00:00Z" + "value": "1972-06-01T00:00:00Z" }, "value": { "$id": "1158", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 805 + "value": 935 } } }, @@ -8858,7 +8908,7 @@ "$id": "1159", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1160", @@ -8866,17 +8916,17 @@ "$id": "1161", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1973-01-01T00:00:00Z" + "value": "1972-07-01T00:00:00Z" }, "value": { "$id": "1162", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 821 + "value": 894 } } }, @@ -8884,7 +8934,7 @@ "$id": "1163", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1164", @@ -8892,17 +8942,17 @@ "$id": "1165", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1973-02-01T00:00:00Z" + "value": "1972-08-01T00:00:00Z" }, "value": { "$id": "1166", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 773 + "value": 855 } } }, @@ -8910,7 +8960,7 @@ "$id": "1167", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1168", @@ -8918,17 +8968,17 @@ "$id": "1169", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1973-03-01T00:00:00Z" + "value": "1972-09-01T00:00:00Z" }, "value": { "$id": "1170", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 883 + "value": 809 } } }, @@ -8936,7 +8986,7 @@ "$id": "1171", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1172", @@ -8944,17 +8994,17 @@ "$id": "1173", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1973-04-01T00:00:00Z" + "value": "1972-10-01T00:00:00Z" }, "value": { "$id": "1174", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 898 + "value": 810 } } }, @@ -8962,7 +9012,7 @@ "$id": "1175", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1176", @@ -8970,17 +9020,17 @@ "$id": "1177", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1973-05-01T00:00:00Z" + "value": "1972-11-01T00:00:00Z" }, "value": { "$id": "1178", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 957 + "value": 766 } } }, @@ -8988,7 +9038,7 @@ "$id": "1179", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1180", @@ -8996,17 +9046,17 @@ "$id": "1181", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1973-06-01T00:00:00Z" + "value": "1972-12-01T00:00:00Z" }, "value": { "$id": "1182", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 924 + "value": 805 } } }, @@ -9014,7 +9064,7 @@ "$id": "1183", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1184", @@ -9022,17 +9072,17 @@ "$id": "1185", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1973-07-01T00:00:00Z" + "value": "1973-01-01T00:00:00Z" }, "value": { "$id": "1186", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 881 + "value": 821 } } }, @@ -9040,7 +9090,7 @@ "$id": "1187", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1188", @@ -9048,17 +9098,17 @@ "$id": "1189", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1973-08-01T00:00:00Z" + "value": "1973-02-01T00:00:00Z" }, "value": { "$id": "1190", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 837 + "value": 773 } } }, @@ -9066,7 +9116,7 @@ "$id": "1191", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1192", @@ -9074,17 +9124,17 @@ "$id": "1193", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1973-09-01T00:00:00Z" + "value": "1973-03-01T00:00:00Z" }, "value": { "$id": "1194", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 784 + "value": 883 } } }, @@ -9092,7 +9142,7 @@ "$id": "1195", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1196", @@ -9100,17 +9150,17 @@ "$id": "1197", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1973-10-01T00:00:00Z" + "value": "1973-04-01T00:00:00Z" }, "value": { "$id": "1198", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 791 + "value": 898 } } }, @@ -9118,7 +9168,7 @@ "$id": "1199", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1200", @@ -9126,17 +9176,17 @@ "$id": "1201", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1973-11-01T00:00:00Z" + "value": "1973-05-01T00:00:00Z" }, "value": { "$id": "1202", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 760 + "value": 957 } } }, @@ -9144,7 +9194,7 @@ "$id": "1203", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1204", @@ -9152,17 +9202,17 @@ "$id": "1205", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1973-12-01T00:00:00Z" + "value": "1973-06-01T00:00:00Z" }, "value": { "$id": "1206", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 802 + "value": 924 } } }, @@ -9170,7 +9220,7 @@ "$id": "1207", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1208", @@ -9178,17 +9228,17 @@ "$id": "1209", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1974-01-01T00:00:00Z" + "value": "1973-07-01T00:00:00Z" }, "value": { "$id": "1210", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 828 + "value": 881 } } }, @@ -9196,7 +9246,7 @@ "$id": "1211", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1212", @@ -9204,17 +9254,17 @@ "$id": "1213", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1974-02-01T00:00:00Z" + "value": "1973-08-01T00:00:00Z" }, "value": { "$id": "1214", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1030 + "value": 837 } } }, @@ -9222,7 +9272,7 @@ "$id": "1215", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1216", @@ -9230,17 +9280,17 @@ "$id": "1217", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1974-03-01T00:00:00Z" + "value": "1973-09-01T00:00:00Z" }, "value": { "$id": "1218", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 889 + "value": 784 } } }, @@ -9248,7 +9298,7 @@ "$id": "1219", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1220", @@ -9256,17 +9306,17 @@ "$id": "1221", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1974-04-01T00:00:00Z" + "value": "1973-10-01T00:00:00Z" }, "value": { "$id": "1222", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 902 + "value": 791 } } }, @@ -9274,7 +9324,7 @@ "$id": "1223", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1224", @@ -9282,17 +9332,17 @@ "$id": "1225", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1974-05-01T00:00:00Z" + "value": "1973-11-01T00:00:00Z" }, "value": { "$id": "1226", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 969 + "value": 760 } } }, @@ -9300,7 +9350,7 @@ "$id": "1227", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1228", @@ -9308,17 +9358,17 @@ "$id": "1229", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1974-06-01T00:00:00Z" + "value": "1973-12-01T00:00:00Z" }, "value": { "$id": "1230", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 947 + "value": 802 } } }, @@ -9326,7 +9376,7 @@ "$id": "1231", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1232", @@ -9334,17 +9384,17 @@ "$id": "1233", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1974-07-01T00:00:00Z" + "value": "1974-01-01T00:00:00Z" }, "value": { "$id": "1234", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 908 + "value": 828 } } }, @@ -9352,7 +9402,7 @@ "$id": "1235", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1236", @@ -9360,17 +9410,17 @@ "$id": "1237", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1974-08-01T00:00:00Z" + "value": "1974-02-01T00:00:00Z" }, "value": { "$id": "1238", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 867 + "value": 1030 } } }, @@ -9378,7 +9428,7 @@ "$id": "1239", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1240", @@ -9386,17 +9436,17 @@ "$id": "1241", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1974-09-01T00:00:00Z" + "value": "1974-03-01T00:00:00Z" }, "value": { "$id": "1242", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 815 + "value": 889 } } }, @@ -9404,7 +9454,7 @@ "$id": "1243", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1244", @@ -9412,17 +9462,17 @@ "$id": "1245", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1974-10-01T00:00:00Z" + "value": "1974-04-01T00:00:00Z" }, "value": { "$id": "1246", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 812 + "value": 902 } } }, @@ -9430,7 +9480,7 @@ "$id": "1247", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1248", @@ -9438,17 +9488,17 @@ "$id": "1249", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1974-11-01T00:00:00Z" + "value": "1974-05-01T00:00:00Z" }, "value": { "$id": "1250", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 773 + "value": 969 } } }, @@ -9456,7 +9506,7 @@ "$id": "1251", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1252", @@ -9464,17 +9514,17 @@ "$id": "1253", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1974-12-01T00:00:00Z" + "value": "1974-06-01T00:00:00Z" }, "value": { "$id": "1254", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 813 + "value": 947 } } }, @@ -9482,7 +9532,7 @@ "$id": "1255", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1256", @@ -9490,17 +9540,17 @@ "$id": "1257", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1975-01-01T00:00:00Z" + "value": "1974-07-01T00:00:00Z" }, "value": { "$id": "1258", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 834 + "value": 908 } } }, @@ -9508,7 +9558,7 @@ "$id": "1259", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1260", @@ -9516,17 +9566,17 @@ "$id": "1261", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1975-02-01T00:00:00Z" + "value": "1974-08-01T00:00:00Z" }, "value": { "$id": "1262", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 782 + "value": 867 } } }, @@ -9534,7 +9584,7 @@ "$id": "1263", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1264", @@ -9542,17 +9592,17 @@ "$id": "1265", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1975-03-01T00:00:00Z" + "value": "1974-09-01T00:00:00Z" }, "value": { "$id": "1266", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 892 + "value": 815 } } }, @@ -9560,7 +9610,7 @@ "$id": "1267", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1268", @@ -9568,17 +9618,17 @@ "$id": "1269", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1975-04-01T00:00:00Z" + "value": "1974-10-01T00:00:00Z" }, "value": { "$id": "1270", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 903 + "value": 812 } } }, @@ -9586,7 +9636,7 @@ "$id": "1271", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1272", @@ -9594,17 +9644,17 @@ "$id": "1273", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1975-05-01T00:00:00Z" + "value": "1974-11-01T00:00:00Z" }, "value": { "$id": "1274", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 966 + "value": 773 } } }, @@ -9612,7 +9662,7 @@ "$id": "1275", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1276", @@ -9620,17 +9670,17 @@ "$id": "1277", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1975-06-01T00:00:00Z" + "value": "1974-12-01T00:00:00Z" }, "value": { "$id": "1278", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 937 + "value": 813 } } }, @@ -9638,7 +9688,7 @@ "$id": "1279", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1280", @@ -9646,17 +9696,17 @@ "$id": "1281", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1975-07-01T00:00:00Z" + "value": "1975-01-01T00:00:00Z" }, "value": { "$id": "1282", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 896 + "value": 834 } } }, @@ -9664,7 +9714,7 @@ "$id": "1283", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1284", @@ -9672,17 +9722,17 @@ "$id": "1285", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1975-08-01T00:00:00Z" + "value": "1975-02-01T00:00:00Z" }, "value": { "$id": "1286", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 858 + "value": 782 } } }, @@ -9690,7 +9740,7 @@ "$id": "1287", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1288", @@ -9698,17 +9748,17 @@ "$id": "1289", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1975-09-01T00:00:00Z" + "value": "1975-03-01T00:00:00Z" }, "value": { "$id": "1290", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 817 + "value": 892 } } }, @@ -9716,7 +9766,7 @@ "$id": "1291", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1292", @@ -9724,17 +9774,17 @@ "$id": "1293", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1975-10-01T00:00:00Z" + "value": "1975-04-01T00:00:00Z" }, "value": { "$id": "1294", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 827 + "value": 903 } } }, @@ -9742,7 +9792,7 @@ "$id": "1295", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1296", @@ -9750,17 +9800,17 @@ "$id": "1297", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1975-11-01T00:00:00Z" + "value": "1975-05-01T00:00:00Z" }, "value": { "$id": "1298", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 797 + "value": 966 } } }, @@ -9768,7 +9818,7 @@ "$id": "1299", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1300", @@ -9776,15 +9826,171 @@ "$id": "1301", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "1975-12-01T00:00:00Z" + "value": "1975-06-01T00:00:00Z" }, "value": { "$id": "1302", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" + }, + "value": 937 + } + } + }, + { + "$id": "1303", + "kind": "model", + "type": { + "$ref": "143" + }, + "value": { + "$id": "1304", + "timestamp": { + "$id": "1305", + "kind": "string", + "type": { + "$ref": "145" + }, + "value": "1975-07-01T00:00:00Z" + }, + "value": { + "$id": "1306", + "kind": "number", + "type": { + "$ref": "150" + }, + "value": 896 + } + } + }, + { + "$id": "1307", + "kind": "model", + "type": { + "$ref": "143" + }, + "value": { + "$id": "1308", + "timestamp": { + "$id": "1309", + "kind": "string", + "type": { + "$ref": "145" + }, + "value": "1975-08-01T00:00:00Z" + }, + "value": { + "$id": "1310", + "kind": "number", + "type": { + "$ref": "150" + }, + "value": 858 + } + } + }, + { + "$id": "1311", + "kind": "model", + "type": { + "$ref": "143" + }, + "value": { + "$id": "1312", + "timestamp": { + "$id": "1313", + "kind": "string", + "type": { + "$ref": "145" + }, + "value": "1975-09-01T00:00:00Z" + }, + "value": { + "$id": "1314", + "kind": "number", + "type": { + "$ref": "150" + }, + "value": 817 + } + } + }, + { + "$id": "1315", + "kind": "model", + "type": { + "$ref": "143" + }, + "value": { + "$id": "1316", + "timestamp": { + "$id": "1317", + "kind": "string", + "type": { + "$ref": "145" + }, + "value": "1975-10-01T00:00:00Z" + }, + "value": { + "$id": "1318", + "kind": "number", + "type": { + "$ref": "150" + }, + "value": 827 + } + } + }, + { + "$id": "1319", + "kind": "model", + "type": { + "$ref": "143" + }, + "value": { + "$id": "1320", + "timestamp": { + "$id": "1321", + "kind": "string", + "type": { + "$ref": "145" + }, + "value": "1975-11-01T00:00:00Z" + }, + "value": { + "$id": "1322", + "kind": "number", + "type": { + "$ref": "150" + }, + "value": 797 + } + } + }, + { + "$id": "1323", + "kind": "model", + "type": { + "$ref": "143" + }, + "value": { + "$id": "1324", + "timestamp": { + "$id": "1325", + "kind": "string", + "type": { + "$ref": "145" + }, + "value": "1975-12-01T00:00:00Z" + }, + "value": { + "$id": "1326", + "kind": "number", + "type": { + "$ref": "150" }, "value": 843 } @@ -9793,23 +9999,23 @@ ] }, "maxAnomalyRatio": { - "$id": "1303", + "$id": "1327", "kind": "number", "type": { - "$ref": "135" + "$ref": "167" }, "value": 0.25 }, "sensitivity": { - "$id": "1304", + "$id": "1328", "kind": "number", "type": { - "$ref": "139" + "$ref": "171" }, "value": 95 }, "granularity": { - "$id": "1305", + "$id": "1329", "kind": "string", "type": { "$ref": "2" @@ -9817,7 +10023,7 @@ "value": "monthly" }, "imputeMode": { - "$id": "1306", + "$id": "1330", "kind": "string", "type": { "$ref": "22" @@ -9825,10 +10031,10 @@ "value": "fixed" }, "imputeFixedValue": { - "$id": "1307", + "$id": "1331", "kind": "number", "type": { - "$ref": "146" + "$ref": "178" }, "value": 800 } @@ -9838,88 +10044,88 @@ ], "responses": [ { - "$id": "1308", + "$id": "1332", "response": { - "$ref": "1103" + "$ref": "1127" }, "statusCode": 200, "bodyValue": { - "$id": "1309", + "$id": "1333", "kind": "model", "type": { - "$ref": "189" + "$ref": "221" }, "value": { - "$id": "1310", + "$id": "1334", "isAnomaly": { - "$id": "1311", + "$id": "1335", "kind": "boolean", "type": { - "$ref": "211" + "$ref": "243" }, "value": false }, "isPositiveAnomaly": { - "$id": "1312", + "$id": "1336", "kind": "boolean", "type": { - "$ref": "219" + "$ref": "251" }, "value": false }, "isNegativeAnomaly": { - "$id": "1313", + "$id": "1337", "kind": "boolean", "type": { - "$ref": "215" + "$ref": "247" }, "value": false }, "period": { - "$id": "1314", + "$id": "1338", "kind": "number", "type": { - "$ref": "191" + "$ref": "223" }, "value": 12 }, "expectedValue": { - "$id": "1315", + "$id": "1339", "kind": "number", "type": { - "$ref": "199" + "$ref": "231" }, "value": 809.2328084659704 }, "upperMargin": { - "$id": "1316", + "$id": "1340", "kind": "number", "type": { - "$ref": "203" + "$ref": "235" }, "value": 40.46164042329852 }, "lowerMargin": { - "$id": "1317", + "$id": "1341", "kind": "number", "type": { - "$ref": "207" + "$ref": "239" }, "value": 40.46164042329852 }, "suggestedWindow": { - "$id": "1318", + "$id": "1342", "kind": "number", "type": { - "$ref": "195" + "$ref": "227" }, "value": 49 }, "severity": { - "$id": "1319", + "$id": "1343", "kind": "number", "type": { - "$ref": "223" + "$ref": "255" }, "value": 0 } @@ -9932,12 +10138,12 @@ }, "parameters": [ { - "$id": "1320", + "$id": "1344", "name": "options", "nameInRequest": "options", "doc": "Method of univariate anomaly detection.", "type": { - "$ref": "108" + "$ref": "140" }, "location": "Body", "isApiVersion": false, @@ -9950,12 +10156,12 @@ "skipUrlEncoding": false }, { - "$id": "1321", + "$id": "1345", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1097" + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -9968,11 +10174,11 @@ "skipUrlEncoding": false }, { - "$id": "1322", + "$id": "1346", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "1100" + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -9986,9 +10192,9 @@ } ], "response": { - "$id": "1323", + "$id": "1347", "type": { - "$ref": "189" + "$ref": "221" } }, "isOverride": false, @@ -9997,7 +10203,7 @@ "crossLanguageDefinitionId": "AnomalyDetector.Univariate.DetectUnivariateLastPoint" }, { - "$id": "1324", + "$id": "1348", "kind": "basic", "name": "DetectUnivariateChangePoint", "accessibility": "public", @@ -10007,7 +10213,7 @@ "doc": "Evaluate change point score of every series point", "summary": "Detect change point for the entire series", "operation": { - "$id": "1325", + "$id": "1349", "name": "DetectUnivariateChangePoint", "resourceName": "Univariate", "summary": "Detect change point for the entire series", @@ -10015,25 +10221,12 @@ "accessibility": "public", "parameters": [ { - "$id": "1326", + "$id": "1350", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "1327", - "kind": "constant", - "name": "DetectUnivariateChangePointContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "1328", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -10046,24 +10239,11 @@ "skipUrlEncoding": false }, { - "$id": "1329", + "$id": "1351", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "1330", - "kind": "constant", - "name": "DetectUnivariateChangePointContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "1331", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -10076,12 +10256,12 @@ "skipUrlEncoding": false }, { - "$id": "1332", + "$id": "1352", "name": "options", "nameInRequest": "options", "doc": "Method of univariate anomaly detection.", "type": { - "$ref": "226" + "$ref": "258" }, "location": "Body", "isApiVersion": false, @@ -10096,12 +10276,12 @@ ], "responses": [ { - "$id": "1333", + "$id": "1353", "statusCodes": [ 200 ], "bodyType": { - "$ref": "249" + "$ref": "281" }, "headers": [], "isErrorResponse": false, @@ -10123,563 +10303,433 @@ "decorators": [], "examples": [ { - "$id": "1334", + "$id": "1354", "kind": "http", "name": "Univariate detection of a change point", "description": "Univariate detection of a change point", "filePath": "v1.1/ChangePointDetect.json", "parameters": [ { - "$id": "1335", + "$id": "1355", "parameter": { - "$ref": "1326" + "$ref": "1350" }, "value": { - "$id": "1336", + "$id": "1356", "kind": "string", "type": { - "$ref": "1327" + "$ref": "116" }, "value": "application/json" } }, { - "$id": "1337", + "$id": "1357", "parameter": { - "$ref": "1332" + "$ref": "1352" }, "value": { - "$id": "1338", + "$id": "1358", "kind": "model", "type": { - "$ref": "226" + "$ref": "258" }, "value": { - "$id": "1339", + "$id": "1359", "series": { - "$id": "1340", + "$id": "1360", "kind": "array", "type": { - "$ref": "110" + "$ref": "142" }, "value": [ { - "$id": "1341", + "$id": "1361", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "1342", + "$id": "1362", "timestamp": { - "$id": "1343", + "$id": "1363", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "2017-01-01T06:45:00Z" }, "value": { - "$id": "1344", + "$id": "1364", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 1639196 } } }, { - "$id": "1345", + "$id": "1365", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "1346", + "$id": "1366", "timestamp": { - "$id": "1347", + "$id": "1367", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "2017-01-01T06:50:00Z" }, "value": { - "$id": "1348", + "$id": "1368", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 1639290 } } }, { - "$id": "1349", + "$id": "1369", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "1350", + "$id": "1370", "timestamp": { - "$id": "1351", + "$id": "1371", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "2017-01-01T06:55:00Z" }, "value": { - "$id": "1352", + "$id": "1372", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 1667293 } } }, { - "$id": "1353", + "$id": "1373", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "1354", + "$id": "1374", "timestamp": { - "$id": "1355", + "$id": "1375", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "2017-01-01T07:00:00Z" }, "value": { - "$id": "1356", + "$id": "1376", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 1703130 } } }, { - "$id": "1357", + "$id": "1377", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "1358", + "$id": "1378", "timestamp": { - "$id": "1359", + "$id": "1379", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "2017-01-01T07:05:00Z" }, "value": { - "$id": "1360", + "$id": "1380", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 1650912 } } }, { - "$id": "1361", + "$id": "1381", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "1362", + "$id": "1382", "timestamp": { - "$id": "1363", + "$id": "1383", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "2017-01-01T07:10:00Z" }, "value": { - "$id": "1364", + "$id": "1384", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 1653596 } } }, { - "$id": "1365", + "$id": "1385", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "1366", + "$id": "1386", "timestamp": { - "$id": "1367", + "$id": "1387", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "2017-01-01T07:15:00Z" }, "value": { - "$id": "1368", + "$id": "1388", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 1653793 } } }, { - "$id": "1369", + "$id": "1389", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "1370", + "$id": "1390", "timestamp": { - "$id": "1371", + "$id": "1391", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "2017-01-01T07:20:00Z" }, "value": { - "$id": "1372", + "$id": "1392", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 1653795 } } }, { - "$id": "1373", + "$id": "1393", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "1374", + "$id": "1394", "timestamp": { - "$id": "1375", + "$id": "1395", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "2017-01-01T07:25:00Z" }, "value": { - "$id": "1376", + "$id": "1396", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 1663471 } } }, { - "$id": "1377", + "$id": "1397", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "1378", + "$id": "1398", "timestamp": { - "$id": "1379", + "$id": "1399", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "2017-01-01T07:30:00Z" }, "value": { - "$id": "1380", + "$id": "1400", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 1662358 } } }, { - "$id": "1381", + "$id": "1401", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "1382", + "$id": "1402", "timestamp": { - "$id": "1383", + "$id": "1403", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "2017-01-01T07:35:00Z" }, "value": { - "$id": "1384", + "$id": "1404", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 1664320 } } }, { - "$id": "1385", + "$id": "1405", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "1386", + "$id": "1406", "timestamp": { - "$id": "1387", + "$id": "1407", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "2017-01-01T07:40:00Z" }, "value": { - "$id": "1388", + "$id": "1408", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 1664942 } } }, { - "$id": "1389", + "$id": "1409", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "1390", + "$id": "1410", "timestamp": { - "$id": "1391", + "$id": "1411", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "2017-01-01T07:45:00Z" }, "value": { - "$id": "1392", + "$id": "1412", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 1664966 } } }, { - "$id": "1393", + "$id": "1413", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "1394", + "$id": "1414", "timestamp": { - "$id": "1395", + "$id": "1415", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, "value": "2017-01-01T07:50:00Z" }, "value": { - "$id": "1396", + "$id": "1416", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, "value": 1724271 } } }, { - "$id": "1397", + "$id": "1417", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { - "$id": "1398", - "timestamp": { - "$id": "1399", - "kind": "string", - "type": { - "$ref": "113" - }, - "value": "2017-01-01T07:55:00Z" - }, - "value": { - "$id": "1400", - "kind": "number", - "type": { - "$ref": "118" - }, - "value": 1678720 - } - } - }, - { - "$id": "1401", - "kind": "model", - "type": { - "$ref": "111" - }, - "value": { - "$id": "1402", - "timestamp": { - "$id": "1403", - "kind": "string", - "type": { - "$ref": "113" - }, - "value": "2017-01-01T08:00:00Z" - }, - "value": { - "$id": "1404", - "kind": "number", - "type": { - "$ref": "118" - }, - "value": 1672536 - } - } - }, - { - "$id": "1405", - "kind": "model", - "type": { - "$ref": "111" - }, - "value": { - "$id": "1406", - "timestamp": { - "$id": "1407", - "kind": "string", - "type": { - "$ref": "113" - }, - "value": "2017-01-01T08:05:00Z" - }, - "value": { - "$id": "1408", - "kind": "number", - "type": { - "$ref": "118" - }, - "value": 1672544 - } - } - }, - { - "$id": "1409", - "kind": "model", - "type": { - "$ref": "111" - }, - "value": { - "$id": "1410", - "timestamp": { - "$id": "1411", - "kind": "string", - "type": { - "$ref": "113" - }, - "value": "2017-01-01T08:10:00Z" - }, - "value": { - "$id": "1412", - "kind": "number", - "type": { - "$ref": "118" - }, - "value": 1672364 - } - } - }, - { - "$id": "1413", - "kind": "model", - "type": { - "$ref": "111" - }, - "value": { - "$id": "1414", - "timestamp": { - "$id": "1415", - "kind": "string", - "type": { - "$ref": "113" - }, - "value": "2017-01-01T08:15:00Z" - }, - "value": { - "$id": "1416", - "kind": "number", - "type": { - "$ref": "118" - }, - "value": 1672912 - } - } - }, - { - "$id": "1417", - "kind": "model", - "type": { - "$ref": "111" - }, - "value": { - "$id": "1418", + "$id": "1418", "timestamp": { "$id": "1419", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T08:20:00Z" + "value": "2017-01-01T07:55:00Z" }, "value": { "$id": "1420", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1672736 + "value": 1678720 } } }, @@ -10687,7 +10737,7 @@ "$id": "1421", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1422", @@ -10695,17 +10745,17 @@ "$id": "1423", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T08:25:00Z" + "value": "2017-01-01T08:00:00Z" }, "value": { "$id": "1424", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1672725 + "value": 1672536 } } }, @@ -10713,7 +10763,7 @@ "$id": "1425", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1426", @@ -10721,17 +10771,17 @@ "$id": "1427", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T08:30:00Z" + "value": "2017-01-01T08:05:00Z" }, "value": { "$id": "1428", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1673247 + "value": 1672544 } } }, @@ -10739,7 +10789,7 @@ "$id": "1429", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1430", @@ -10747,17 +10797,17 @@ "$id": "1431", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T08:35:00Z" + "value": "2017-01-01T08:10:00Z" }, "value": { "$id": "1432", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1673109 + "value": 1672364 } } }, @@ -10765,7 +10815,7 @@ "$id": "1433", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1434", @@ -10773,17 +10823,17 @@ "$id": "1435", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T08:40:00Z" + "value": "2017-01-01T08:15:00Z" }, "value": { "$id": "1436", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1690088 + "value": 1672912 } } }, @@ -10791,7 +10841,7 @@ "$id": "1437", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1438", @@ -10799,17 +10849,17 @@ "$id": "1439", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T08:45:00Z" + "value": "2017-01-01T08:20:00Z" }, "value": { "$id": "1440", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1703865 + "value": 1672736 } } }, @@ -10817,7 +10867,7 @@ "$id": "1441", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1442", @@ -10825,17 +10875,17 @@ "$id": "1443", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T08:50:00Z" + "value": "2017-01-01T08:25:00Z" }, "value": { "$id": "1444", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1703865 + "value": 1672725 } } }, @@ -10843,7 +10893,7 @@ "$id": "1445", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1446", @@ -10851,17 +10901,17 @@ "$id": "1447", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T08:55:00Z" + "value": "2017-01-01T08:30:00Z" }, "value": { "$id": "1448", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1786581 + "value": 1673247 } } }, @@ -10869,7 +10919,7 @@ "$id": "1449", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1450", @@ -10877,17 +10927,17 @@ "$id": "1451", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T09:00:00Z" + "value": "2017-01-01T08:35:00Z" }, "value": { "$id": "1452", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1800945 + "value": 1673109 } } }, @@ -10895,7 +10945,7 @@ "$id": "1453", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1454", @@ -10903,17 +10953,17 @@ "$id": "1455", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T09:05:00Z" + "value": "2017-01-01T08:40:00Z" }, "value": { "$id": "1456", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1800957 + "value": 1690088 } } }, @@ -10921,7 +10971,7 @@ "$id": "1457", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1458", @@ -10929,17 +10979,17 @@ "$id": "1459", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T09:10:00Z" + "value": "2017-01-01T08:45:00Z" }, "value": { "$id": "1460", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1801191 + "value": 1703865 } } }, @@ -10947,7 +10997,7 @@ "$id": "1461", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1462", @@ -10955,17 +11005,17 @@ "$id": "1463", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T09:15:00Z" + "value": "2017-01-01T08:50:00Z" }, "value": { "$id": "1464", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1801412 + "value": 1703865 } } }, @@ -10973,7 +11023,7 @@ "$id": "1465", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1466", @@ -10981,17 +11031,17 @@ "$id": "1467", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T09:20:00Z" + "value": "2017-01-01T08:55:00Z" }, "value": { "$id": "1468", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1801621 + "value": 1786581 } } }, @@ -10999,7 +11049,7 @@ "$id": "1469", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1470", @@ -11007,17 +11057,17 @@ "$id": "1471", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T09:25:00Z" + "value": "2017-01-01T09:00:00Z" }, "value": { "$id": "1472", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1801621 + "value": 1800945 } } }, @@ -11025,7 +11075,7 @@ "$id": "1473", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1474", @@ -11033,17 +11083,17 @@ "$id": "1475", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T09:30:00Z" + "value": "2017-01-01T09:05:00Z" }, "value": { "$id": "1476", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1801654 + "value": 1800957 } } }, @@ -11051,7 +11101,7 @@ "$id": "1477", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1478", @@ -11059,17 +11109,17 @@ "$id": "1479", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T09:35:00Z" + "value": "2017-01-01T09:10:00Z" }, "value": { "$id": "1480", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1802105 + "value": 1801191 } } }, @@ -11077,7 +11127,7 @@ "$id": "1481", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1482", @@ -11085,17 +11135,17 @@ "$id": "1483", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T09:40:00Z" + "value": "2017-01-01T09:15:00Z" }, "value": { "$id": "1484", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1801800 + "value": 1801412 } } }, @@ -11103,7 +11153,7 @@ "$id": "1485", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1486", @@ -11111,17 +11161,17 @@ "$id": "1487", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T09:45:00Z" + "value": "2017-01-01T09:20:00Z" }, "value": { "$id": "1488", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803040 + "value": 1801621 } } }, @@ -11129,7 +11179,7 @@ "$id": "1489", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1490", @@ -11137,17 +11187,17 @@ "$id": "1491", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T09:50:00Z" + "value": "2017-01-01T09:25:00Z" }, "value": { "$id": "1492", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803672 + "value": 1801621 } } }, @@ -11155,7 +11205,7 @@ "$id": "1493", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1494", @@ -11163,17 +11213,17 @@ "$id": "1495", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T09:55:00Z" + "value": "2017-01-01T09:30:00Z" }, "value": { "$id": "1496", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803535 + "value": 1801654 } } }, @@ -11181,7 +11231,7 @@ "$id": "1497", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1498", @@ -11189,17 +11239,17 @@ "$id": "1499", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T10:00:00Z" + "value": "2017-01-01T09:35:00Z" }, "value": { "$id": "1500", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803541 + "value": 1802105 } } }, @@ -11207,7 +11257,7 @@ "$id": "1501", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1502", @@ -11215,17 +11265,17 @@ "$id": "1503", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T10:05:00Z" + "value": "2017-01-01T09:40:00Z" }, "value": { "$id": "1504", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803545 + "value": 1801800 } } }, @@ -11233,7 +11283,7 @@ "$id": "1505", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1506", @@ -11241,17 +11291,17 @@ "$id": "1507", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T10:10:00Z" + "value": "2017-01-01T09:45:00Z" }, "value": { "$id": "1508", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803599 + "value": 1803040 } } }, @@ -11259,7 +11309,7 @@ "$id": "1509", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1510", @@ -11267,17 +11317,17 @@ "$id": "1511", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T10:15:00Z" + "value": "2017-01-01T09:50:00Z" }, "value": { "$id": "1512", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803616 + "value": 1803672 } } }, @@ -11285,7 +11335,7 @@ "$id": "1513", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1514", @@ -11293,17 +11343,17 @@ "$id": "1515", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T10:20:00Z" + "value": "2017-01-01T09:55:00Z" }, "value": { "$id": "1516", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803619 + "value": 1803535 } } }, @@ -11311,7 +11361,7 @@ "$id": "1517", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1518", @@ -11319,17 +11369,17 @@ "$id": "1519", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T10:25:00Z" + "value": "2017-01-01T10:00:00Z" }, "value": { "$id": "1520", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1809942 + "value": 1803541 } } }, @@ -11337,7 +11387,7 @@ "$id": "1521", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1522", @@ -11345,17 +11395,17 @@ "$id": "1523", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T10:30:00Z" + "value": "2017-01-01T10:05:00Z" }, "value": { "$id": "1524", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1802720 + "value": 1803545 } } }, @@ -11363,7 +11413,7 @@ "$id": "1525", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1526", @@ -11371,17 +11421,17 @@ "$id": "1527", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T10:35:00Z" + "value": "2017-01-01T10:10:00Z" }, "value": { "$id": "1528", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1802720 + "value": 1803599 } } }, @@ -11389,7 +11439,7 @@ "$id": "1529", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1530", @@ -11397,17 +11447,17 @@ "$id": "1531", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T10:40:00Z" + "value": "2017-01-01T10:15:00Z" }, "value": { "$id": "1532", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1802888 + "value": 1803616 } } }, @@ -11415,7 +11465,7 @@ "$id": "1533", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1534", @@ -11423,17 +11473,17 @@ "$id": "1535", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T10:45:00Z" + "value": "2017-01-01T10:20:00Z" }, "value": { "$id": "1536", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1809574 + "value": 1803619 } } }, @@ -11441,7 +11491,7 @@ "$id": "1537", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1538", @@ -11449,17 +11499,17 @@ "$id": "1539", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T10:50:00Z" + "value": "2017-01-01T10:25:00Z" }, "value": { "$id": "1540", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803896 + "value": 1809942 } } }, @@ -11467,7 +11517,7 @@ "$id": "1541", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1542", @@ -11475,17 +11525,17 @@ "$id": "1543", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T10:55:00Z" + "value": "2017-01-01T10:30:00Z" }, "value": { "$id": "1544", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803850 + "value": 1802720 } } }, @@ -11493,7 +11543,7 @@ "$id": "1545", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1546", @@ -11501,17 +11551,17 @@ "$id": "1547", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T11:00:00Z" + "value": "2017-01-01T10:35:00Z" }, "value": { "$id": "1548", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803854 + "value": 1802720 } } }, @@ -11519,7 +11569,7 @@ "$id": "1549", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1550", @@ -11527,17 +11577,17 @@ "$id": "1551", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T11:05:00Z" + "value": "2017-01-01T10:40:00Z" }, "value": { "$id": "1552", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803854 + "value": 1802888 } } }, @@ -11545,7 +11595,7 @@ "$id": "1553", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1554", @@ -11553,17 +11603,17 @@ "$id": "1555", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T11:10:00Z" + "value": "2017-01-01T10:45:00Z" }, "value": { "$id": "1556", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803797 + "value": 1809574 } } }, @@ -11571,7 +11621,7 @@ "$id": "1557", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1558", @@ -11579,17 +11629,17 @@ "$id": "1559", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T11:15:00Z" + "value": "2017-01-01T10:50:00Z" }, "value": { "$id": "1560", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803921 + "value": 1803896 } } }, @@ -11597,7 +11647,7 @@ "$id": "1561", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1562", @@ -11605,17 +11655,17 @@ "$id": "1563", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T11:20:00Z" + "value": "2017-01-01T10:55:00Z" }, "value": { "$id": "1564", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803933 + "value": 1803850 } } }, @@ -11623,7 +11673,7 @@ "$id": "1565", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1566", @@ -11631,17 +11681,17 @@ "$id": "1567", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T11:25:00Z" + "value": "2017-01-01T11:00:00Z" }, "value": { "$id": "1568", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804040 + "value": 1803854 } } }, @@ -11649,7 +11699,7 @@ "$id": "1569", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1570", @@ -11657,17 +11707,17 @@ "$id": "1571", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T11:30:00Z" + "value": "2017-01-01T11:05:00Z" }, "value": { "$id": "1572", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804044 + "value": 1803854 } } }, @@ -11675,7 +11725,7 @@ "$id": "1573", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1574", @@ -11683,17 +11733,17 @@ "$id": "1575", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T11:35:00Z" + "value": "2017-01-01T11:10:00Z" }, "value": { "$id": "1576", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804070 + "value": 1803797 } } }, @@ -11701,7 +11751,7 @@ "$id": "1577", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1578", @@ -11709,17 +11759,17 @@ "$id": "1579", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T11:40:00Z" + "value": "2017-01-01T11:15:00Z" }, "value": { "$id": "1580", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804070 + "value": 1803921 } } }, @@ -11727,7 +11777,7 @@ "$id": "1581", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1582", @@ -11735,17 +11785,17 @@ "$id": "1583", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T11:45:00Z" + "value": "2017-01-01T11:20:00Z" }, "value": { "$id": "1584", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804068 + "value": 1803933 } } }, @@ -11753,7 +11803,7 @@ "$id": "1585", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1586", @@ -11761,17 +11811,17 @@ "$id": "1587", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T11:50:00Z" + "value": "2017-01-01T11:25:00Z" }, "value": { "$id": "1588", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804073 + "value": 1804040 } } }, @@ -11779,7 +11829,7 @@ "$id": "1589", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1590", @@ -11787,17 +11837,17 @@ "$id": "1591", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T11:55:00Z" + "value": "2017-01-01T11:30:00Z" }, "value": { "$id": "1592", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804101 + "value": 1804044 } } }, @@ -11805,7 +11855,7 @@ "$id": "1593", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1594", @@ -11813,17 +11863,17 @@ "$id": "1595", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T12:00:00Z" + "value": "2017-01-01T11:35:00Z" }, "value": { "$id": "1596", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804674 + "value": 1804070 } } }, @@ -11831,7 +11881,7 @@ "$id": "1597", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1598", @@ -11839,17 +11889,17 @@ "$id": "1599", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T12:05:00Z" + "value": "2017-01-01T11:40:00Z" }, "value": { "$id": "1600", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804714 + "value": 1804070 } } }, @@ -11857,7 +11907,7 @@ "$id": "1601", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1602", @@ -11865,17 +11915,17 @@ "$id": "1603", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T12:10:00Z" + "value": "2017-01-01T11:45:00Z" }, "value": { "$id": "1604", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804730 + "value": 1804068 } } }, @@ -11883,7 +11933,7 @@ "$id": "1605", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1606", @@ -11891,17 +11941,17 @@ "$id": "1607", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T12:15:00Z" + "value": "2017-01-01T11:50:00Z" }, "value": { "$id": "1608", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804816 + "value": 1804073 } } }, @@ -11909,7 +11959,7 @@ "$id": "1609", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1610", @@ -11917,17 +11967,17 @@ "$id": "1611", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T12:20:00Z" + "value": "2017-01-01T11:55:00Z" }, "value": { "$id": "1612", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803996 + "value": 1804101 } } }, @@ -11935,7 +11985,7 @@ "$id": "1613", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1614", @@ -11943,17 +11993,17 @@ "$id": "1615", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T12:25:00Z" + "value": "2017-01-01T12:00:00Z" }, "value": { "$id": "1616", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1803998 + "value": 1804674 } } }, @@ -11961,7 +12011,7 @@ "$id": "1617", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1618", @@ -11969,17 +12019,17 @@ "$id": "1619", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T12:30:00Z" + "value": "2017-01-01T12:05:00Z" }, "value": { "$id": "1620", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804015 + "value": 1804714 } } }, @@ -11987,7 +12037,7 @@ "$id": "1621", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1622", @@ -11995,17 +12045,17 @@ "$id": "1623", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T12:35:00Z" + "value": "2017-01-01T12:10:00Z" }, "value": { "$id": "1624", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804047 + "value": 1804730 } } }, @@ -12013,7 +12063,7 @@ "$id": "1625", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1626", @@ -12021,17 +12071,17 @@ "$id": "1627", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T12:40:00Z" + "value": "2017-01-01T12:15:00Z" }, "value": { "$id": "1628", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804050 + "value": 1804816 } } }, @@ -12039,7 +12089,7 @@ "$id": "1629", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1630", @@ -12047,17 +12097,17 @@ "$id": "1631", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T12:45:00Z" + "value": "2017-01-01T12:20:00Z" }, "value": { "$id": "1632", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804218 + "value": 1803996 } } }, @@ -12065,7 +12115,7 @@ "$id": "1633", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1634", @@ -12073,17 +12123,17 @@ "$id": "1635", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T12:50:00Z" + "value": "2017-01-01T12:25:00Z" }, "value": { "$id": "1636", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804217 + "value": 1803998 } } }, @@ -12091,7 +12141,7 @@ "$id": "1637", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1638", @@ -12099,17 +12149,17 @@ "$id": "1639", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T12:55:00Z" + "value": "2017-01-01T12:30:00Z" }, "value": { "$id": "1640", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804217 + "value": 1804015 } } }, @@ -12117,7 +12167,7 @@ "$id": "1641", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1642", @@ -12125,17 +12175,17 @@ "$id": "1643", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T13:00:00Z" + "value": "2017-01-01T12:35:00Z" }, "value": { "$id": "1644", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804205 + "value": 1804047 } } }, @@ -12143,7 +12193,7 @@ "$id": "1645", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1646", @@ -12151,17 +12201,17 @@ "$id": "1647", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T13:05:00Z" + "value": "2017-01-01T12:40:00Z" }, "value": { "$id": "1648", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804728 + "value": 1804050 } } }, @@ -12169,7 +12219,7 @@ "$id": "1649", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1650", @@ -12177,17 +12227,17 @@ "$id": "1651", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T13:10:00Z" + "value": "2017-01-01T12:45:00Z" }, "value": { "$id": "1652", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1804748 + "value": 1804218 } } }, @@ -12195,7 +12245,7 @@ "$id": "1653", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1654", @@ -12203,17 +12253,17 @@ "$id": "1655", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T13:15:00Z" + "value": "2017-01-01T12:50:00Z" }, "value": { "$id": "1656", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1805232 + "value": 1804217 } } }, @@ -12221,7 +12271,7 @@ "$id": "1657", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1658", @@ -12229,17 +12279,17 @@ "$id": "1659", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T13:20:00Z" + "value": "2017-01-01T12:55:00Z" }, "value": { "$id": "1660", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1814121 + "value": 1804217 } } }, @@ -12247,7 +12297,7 @@ "$id": "1661", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1662", @@ -12255,17 +12305,17 @@ "$id": "1663", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T13:25:00Z" + "value": "2017-01-01T13:00:00Z" }, "value": { "$id": "1664", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1806789 + "value": 1804205 } } }, @@ -12273,7 +12323,7 @@ "$id": "1665", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1666", @@ -12281,17 +12331,17 @@ "$id": "1667", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T13:30:00Z" + "value": "2017-01-01T13:05:00Z" }, "value": { "$id": "1668", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1806119 + "value": 1804728 } } }, @@ -12299,7 +12349,7 @@ "$id": "1669", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1670", @@ -12307,17 +12357,17 @@ "$id": "1671", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T13:35:00Z" + "value": "2017-01-01T13:10:00Z" }, "value": { "$id": "1672", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1806329 + "value": 1804748 } } }, @@ -12325,7 +12375,7 @@ "$id": "1673", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1674", @@ -12333,17 +12383,17 @@ "$id": "1675", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T13:40:00Z" + "value": "2017-01-01T13:15:00Z" }, "value": { "$id": "1676", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1806454 + "value": 1805232 } } }, @@ -12351,7 +12401,7 @@ "$id": "1677", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1678", @@ -12359,17 +12409,17 @@ "$id": "1679", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T13:45:00Z" + "value": "2017-01-01T13:20:00Z" }, "value": { "$id": "1680", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1806852 + "value": 1814121 } } }, @@ -12377,7 +12427,7 @@ "$id": "1681", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1682", @@ -12385,17 +12435,17 @@ "$id": "1683", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T13:50:00Z" + "value": "2017-01-01T13:25:00Z" }, "value": { "$id": "1684", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1807347 + "value": 1806789 } } }, @@ -12403,7 +12453,7 @@ "$id": "1685", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1686", @@ -12411,17 +12461,17 @@ "$id": "1687", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T13:55:00Z" + "value": "2017-01-01T13:30:00Z" }, "value": { "$id": "1688", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1812144 + "value": 1806119 } } }, @@ -12429,7 +12479,7 @@ "$id": "1689", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1690", @@ -12437,17 +12487,17 @@ "$id": "1691", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T14:00:00Z" + "value": "2017-01-01T13:35:00Z" }, "value": { "$id": "1692", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1807418 + "value": 1806329 } } }, @@ -12455,7 +12505,7 @@ "$id": "1693", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1694", @@ -12463,17 +12513,17 @@ "$id": "1695", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T14:05:00Z" + "value": "2017-01-01T13:40:00Z" }, "value": { "$id": "1696", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1807418 + "value": 1806454 } } }, @@ -12481,7 +12531,7 @@ "$id": "1697", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1698", @@ -12489,17 +12539,17 @@ "$id": "1699", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T14:10:00Z" + "value": "2017-01-01T13:45:00Z" }, "value": { "$id": "1700", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1807432 + "value": 1806852 } } }, @@ -12507,7 +12557,7 @@ "$id": "1701", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1702", @@ -12515,17 +12565,17 @@ "$id": "1703", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T14:15:00Z" + "value": "2017-01-01T13:50:00Z" }, "value": { "$id": "1704", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1808540 + "value": 1807347 } } }, @@ -12533,7 +12583,7 @@ "$id": "1705", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1706", @@ -12541,17 +12591,17 @@ "$id": "1707", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T14:20:00Z" + "value": "2017-01-01T13:55:00Z" }, "value": { "$id": "1708", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1808541 + "value": 1812144 } } }, @@ -12559,7 +12609,7 @@ "$id": "1709", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1710", @@ -12567,17 +12617,17 @@ "$id": "1711", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T14:25:00Z" + "value": "2017-01-01T14:00:00Z" }, "value": { "$id": "1712", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1807831 + "value": 1807418 } } }, @@ -12585,7 +12635,7 @@ "$id": "1713", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1714", @@ -12593,17 +12643,17 @@ "$id": "1715", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T14:30:00Z" + "value": "2017-01-01T14:05:00Z" }, "value": { "$id": "1716", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1807852 + "value": 1807418 } } }, @@ -12611,7 +12661,7 @@ "$id": "1717", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1718", @@ -12619,17 +12669,17 @@ "$id": "1719", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T14:35:00Z" + "value": "2017-01-01T14:10:00Z" }, "value": { "$id": "1720", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1807811 + "value": 1807432 } } }, @@ -12637,7 +12687,7 @@ "$id": "1721", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1722", @@ -12645,17 +12695,17 @@ "$id": "1723", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T14:40:00Z" + "value": "2017-01-01T14:15:00Z" }, "value": { "$id": "1724", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2214285 + "value": 1808540 } } }, @@ -12663,7 +12713,7 @@ "$id": "1725", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1726", @@ -12671,17 +12721,17 @@ "$id": "1727", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T14:45:00Z" + "value": "2017-01-01T14:20:00Z" }, "value": { "$id": "1728", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2215019 + "value": 1808541 } } }, @@ -12689,7 +12739,7 @@ "$id": "1729", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1730", @@ -12697,17 +12747,17 @@ "$id": "1731", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T14:50:00Z" + "value": "2017-01-01T14:25:00Z" }, "value": { "$id": "1732", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2215329 + "value": 1807831 } } }, @@ -12715,7 +12765,7 @@ "$id": "1733", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1734", @@ -12723,17 +12773,17 @@ "$id": "1735", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T14:55:00Z" + "value": "2017-01-01T14:30:00Z" }, "value": { "$id": "1736", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2215097 + "value": 1807852 } } }, @@ -12741,7 +12791,7 @@ "$id": "1737", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1738", @@ -12749,17 +12799,17 @@ "$id": "1739", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T15:00:00Z" + "value": "2017-01-01T14:35:00Z" }, "value": { "$id": "1740", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2215129 + "value": 1807811 } } }, @@ -12767,7 +12817,7 @@ "$id": "1741", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1742", @@ -12775,17 +12825,17 @@ "$id": "1743", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T15:05:00Z" + "value": "2017-01-01T14:40:00Z" }, "value": { "$id": "1744", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2215120 + "value": 2214285 } } }, @@ -12793,7 +12843,7 @@ "$id": "1745", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1746", @@ -12801,17 +12851,17 @@ "$id": "1747", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T15:10:00Z" + "value": "2017-01-01T14:45:00Z" }, "value": { "$id": "1748", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2217056 + "value": 2215019 } } }, @@ -12819,7 +12869,7 @@ "$id": "1749", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1750", @@ -12827,17 +12877,17 @@ "$id": "1751", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T15:15:00Z" + "value": "2017-01-01T14:50:00Z" }, "value": { "$id": "1752", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2217056 + "value": 2215329 } } }, @@ -12845,7 +12895,7 @@ "$id": "1753", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1754", @@ -12853,17 +12903,17 @@ "$id": "1755", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T15:20:00Z" + "value": "2017-01-01T14:55:00Z" }, "value": { "$id": "1756", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2222126 + "value": 2215097 } } }, @@ -12871,7 +12921,7 @@ "$id": "1757", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1758", @@ -12879,17 +12929,17 @@ "$id": "1759", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T15:25:00Z" + "value": "2017-01-01T15:00:00Z" }, "value": { "$id": "1760", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2226472 + "value": 2215129 } } }, @@ -12897,7 +12947,7 @@ "$id": "1761", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1762", @@ -12905,17 +12955,17 @@ "$id": "1763", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T15:30:00Z" + "value": "2017-01-01T15:05:00Z" }, "value": { "$id": "1764", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2226722 + "value": 2215120 } } }, @@ -12923,7 +12973,7 @@ "$id": "1765", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1766", @@ -12931,17 +12981,17 @@ "$id": "1767", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T15:35:00Z" + "value": "2017-01-01T15:10:00Z" }, "value": { "$id": "1768", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2226729 + "value": 2217056 } } }, @@ -12949,7 +12999,7 @@ "$id": "1769", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1770", @@ -12957,17 +13007,17 @@ "$id": "1771", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T15:40:00Z" + "value": "2017-01-01T15:15:00Z" }, "value": { "$id": "1772", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2226735 + "value": 2217056 } } }, @@ -12975,7 +13025,7 @@ "$id": "1773", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1774", @@ -12983,17 +13033,17 @@ "$id": "1775", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T15:45:00Z" + "value": "2017-01-01T15:20:00Z" }, "value": { "$id": "1776", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2226735 + "value": 2222126 } } }, @@ -13001,7 +13051,7 @@ "$id": "1777", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1778", @@ -13009,17 +13059,17 @@ "$id": "1779", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T15:50:00Z" + "value": "2017-01-01T15:25:00Z" }, "value": { "$id": "1780", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2226735 + "value": 2226472 } } }, @@ -13027,7 +13077,7 @@ "$id": "1781", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1782", @@ -13035,17 +13085,17 @@ "$id": "1783", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T15:55:00Z" + "value": "2017-01-01T15:30:00Z" }, "value": { "$id": "1784", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2226952 + "value": 2226722 } } }, @@ -13053,7 +13103,7 @@ "$id": "1785", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1786", @@ -13061,17 +13111,17 @@ "$id": "1787", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T16:00:00Z" + "value": "2017-01-01T15:35:00Z" }, "value": { "$id": "1788", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2226962 + "value": 2226729 } } }, @@ -13079,7 +13129,7 @@ "$id": "1789", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1790", @@ -13087,17 +13137,17 @@ "$id": "1791", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T16:05:00Z" + "value": "2017-01-01T15:40:00Z" }, "value": { "$id": "1792", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2649337 + "value": 2226735 } } }, @@ -13105,7 +13155,7 @@ "$id": "1793", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1794", @@ -13113,17 +13163,17 @@ "$id": "1795", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T16:10:00Z" + "value": "2017-01-01T15:45:00Z" }, "value": { "$id": "1796", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2092796 + "value": 2226735 } } }, @@ -13131,7 +13181,7 @@ "$id": "1797", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1798", @@ -13139,17 +13189,17 @@ "$id": "1799", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T16:15:00Z" + "value": "2017-01-01T15:50:00Z" }, "value": { "$id": "1800", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2092839 + "value": 2226735 } } }, @@ -13157,7 +13207,7 @@ "$id": "1801", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1802", @@ -13165,17 +13215,17 @@ "$id": "1803", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T16:20:00Z" + "value": "2017-01-01T15:55:00Z" }, "value": { "$id": "1804", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2092940 + "value": 2226952 } } }, @@ -13183,7 +13233,7 @@ "$id": "1805", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1806", @@ -13191,17 +13241,17 @@ "$id": "1807", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T16:25:00Z" + "value": "2017-01-01T16:00:00Z" }, "value": { "$id": "1808", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2092940 + "value": 2226962 } } }, @@ -13209,7 +13259,7 @@ "$id": "1809", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1810", @@ -13217,17 +13267,17 @@ "$id": "1811", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T16:30:00Z" + "value": "2017-01-01T16:05:00Z" }, "value": { "$id": "1812", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2092965 + "value": 2649337 } } }, @@ -13235,7 +13285,7 @@ "$id": "1813", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1814", @@ -13243,17 +13293,17 @@ "$id": "1815", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T16:35:00Z" + "value": "2017-01-01T16:10:00Z" }, "value": { "$id": "1816", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2092979 + "value": 2092796 } } }, @@ -13261,7 +13311,7 @@ "$id": "1817", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1818", @@ -13269,17 +13319,17 @@ "$id": "1819", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T16:40:00Z" + "value": "2017-01-01T16:15:00Z" }, "value": { "$id": "1820", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2095588 + "value": 2092839 } } }, @@ -13287,7 +13337,7 @@ "$id": "1821", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1822", @@ -13295,17 +13345,17 @@ "$id": "1823", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T16:45:00Z" + "value": "2017-01-01T16:20:00Z" }, "value": { "$id": "1824", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2099586 + "value": 2092940 } } }, @@ -13313,7 +13363,7 @@ "$id": "1825", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1826", @@ -13321,17 +13371,17 @@ "$id": "1827", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T16:50:00Z" + "value": "2017-01-01T16:25:00Z" }, "value": { "$id": "1828", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2102981 + "value": 2092940 } } }, @@ -13339,7 +13389,7 @@ "$id": "1829", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1830", @@ -13347,17 +13397,17 @@ "$id": "1831", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T16:55:00Z" + "value": "2017-01-01T16:30:00Z" }, "value": { "$id": "1832", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2108053 + "value": 2092965 } } }, @@ -13365,7 +13415,7 @@ "$id": "1833", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1834", @@ -13373,17 +13423,17 @@ "$id": "1835", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T17:00:00Z" + "value": "2017-01-01T16:35:00Z" }, "value": { "$id": "1836", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2107907 + "value": 2092979 } } }, @@ -13391,7 +13441,7 @@ "$id": "1837", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1838", @@ -13399,17 +13449,17 @@ "$id": "1839", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T17:05:00Z" + "value": "2017-01-01T16:40:00Z" }, "value": { "$id": "1840", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2108241 + "value": 2095588 } } }, @@ -13417,7 +13467,7 @@ "$id": "1841", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1842", @@ -13425,17 +13475,17 @@ "$id": "1843", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T17:10:00Z" + "value": "2017-01-01T16:45:00Z" }, "value": { "$id": "1844", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2100321 + "value": 2099586 } } }, @@ -13443,7 +13493,7 @@ "$id": "1845", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1846", @@ -13451,17 +13501,17 @@ "$id": "1847", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T17:15:00Z" + "value": "2017-01-01T16:50:00Z" }, "value": { "$id": "1848", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2100448 + "value": 2102981 } } }, @@ -13469,7 +13519,7 @@ "$id": "1849", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1850", @@ -13477,17 +13527,17 @@ "$id": "1851", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T17:20:00Z" + "value": "2017-01-01T16:55:00Z" }, "value": { "$id": "1852", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2100483 + "value": 2108053 } } }, @@ -13495,7 +13545,7 @@ "$id": "1853", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1854", @@ -13503,17 +13553,17 @@ "$id": "1855", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T17:25:00Z" + "value": "2017-01-01T17:00:00Z" }, "value": { "$id": "1856", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2103042 + "value": 2107907 } } }, @@ -13521,7 +13571,7 @@ "$id": "1857", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1858", @@ -13529,17 +13579,17 @@ "$id": "1859", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T17:30:00Z" + "value": "2017-01-01T17:05:00Z" }, "value": { "$id": "1860", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2103037 + "value": 2108241 } } }, @@ -13547,7 +13597,7 @@ "$id": "1861", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1862", @@ -13555,17 +13605,17 @@ "$id": "1863", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T17:35:00Z" + "value": "2017-01-01T17:10:00Z" }, "value": { "$id": "1864", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2103040 + "value": 2100321 } } }, @@ -13573,7 +13623,7 @@ "$id": "1865", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1866", @@ -13581,17 +13631,17 @@ "$id": "1867", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T17:40:00Z" + "value": "2017-01-01T17:15:00Z" }, "value": { "$id": "1868", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2103054 + "value": 2100448 } } }, @@ -13599,7 +13649,7 @@ "$id": "1869", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1870", @@ -13607,17 +13657,17 @@ "$id": "1871", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T17:45:00Z" + "value": "2017-01-01T17:20:00Z" }, "value": { "$id": "1872", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2103058 + "value": 2100483 } } }, @@ -13625,7 +13675,7 @@ "$id": "1873", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1874", @@ -13633,17 +13683,17 @@ "$id": "1875", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T17:50:00Z" + "value": "2017-01-01T17:25:00Z" }, "value": { "$id": "1876", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1830757 + "value": 2103042 } } }, @@ -13651,7 +13701,7 @@ "$id": "1877", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1878", @@ -13659,17 +13709,17 @@ "$id": "1879", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T17:55:00Z" + "value": "2017-01-01T17:30:00Z" }, "value": { "$id": "1880", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1830855 + "value": 2103037 } } }, @@ -13677,7 +13727,7 @@ "$id": "1881", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1882", @@ -13685,17 +13735,17 @@ "$id": "1883", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T18:00:00Z" + "value": "2017-01-01T17:35:00Z" }, "value": { "$id": "1884", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1831495 + "value": 2103040 } } }, @@ -13703,7 +13753,7 @@ "$id": "1885", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1886", @@ -13711,17 +13761,17 @@ "$id": "1887", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T18:05:00Z" + "value": "2017-01-01T17:40:00Z" }, "value": { "$id": "1888", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1831463 + "value": 2103054 } } }, @@ -13729,7 +13779,7 @@ "$id": "1889", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1890", @@ -13737,17 +13787,17 @@ "$id": "1891", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T18:10:00Z" + "value": "2017-01-01T17:45:00Z" }, "value": { "$id": "1892", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1831963 + "value": 2103058 } } }, @@ -13755,7 +13805,7 @@ "$id": "1893", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1894", @@ -13763,17 +13813,17 @@ "$id": "1895", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T18:15:00Z" + "value": "2017-01-01T17:50:00Z" }, "value": { "$id": "1896", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1832046 + "value": 1830757 } } }, @@ -13781,7 +13831,7 @@ "$id": "1897", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1898", @@ -13789,17 +13839,17 @@ "$id": "1899", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T18:20:00Z" + "value": "2017-01-01T17:55:00Z" }, "value": { "$id": "1900", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1832070 + "value": 1830855 } } }, @@ -13807,7 +13857,7 @@ "$id": "1901", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1902", @@ -13815,17 +13865,17 @@ "$id": "1903", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T18:25:00Z" + "value": "2017-01-01T18:00:00Z" }, "value": { "$id": "1904", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1835511 + "value": 1831495 } } }, @@ -13833,7 +13883,7 @@ "$id": "1905", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1906", @@ -13841,17 +13891,17 @@ "$id": "1907", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T18:30:00Z" + "value": "2017-01-01T18:05:00Z" }, "value": { "$id": "1908", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1835265 + "value": 1831463 } } }, @@ -13859,7 +13909,7 @@ "$id": "1909", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1910", @@ -13867,17 +13917,17 @@ "$id": "1911", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T18:35:00Z" + "value": "2017-01-01T18:10:00Z" }, "value": { "$id": "1912", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1835481 + "value": 1831963 } } }, @@ -13885,7 +13935,7 @@ "$id": "1913", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1914", @@ -13893,17 +13943,17 @@ "$id": "1915", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T18:40:00Z" + "value": "2017-01-01T18:15:00Z" }, "value": { "$id": "1916", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1835578 + "value": 1832046 } } }, @@ -13911,7 +13961,7 @@ "$id": "1917", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1918", @@ -13919,17 +13969,17 @@ "$id": "1919", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T18:45:00Z" + "value": "2017-01-01T18:20:00Z" }, "value": { "$id": "1920", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1835611 + "value": 1832070 } } }, @@ -13937,7 +13987,7 @@ "$id": "1921", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1922", @@ -13945,17 +13995,17 @@ "$id": "1923", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T18:50:00Z" + "value": "2017-01-01T18:25:00Z" }, "value": { "$id": "1924", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1836314 + "value": 1835511 } } }, @@ -13963,7 +14013,7 @@ "$id": "1925", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1926", @@ -13971,17 +14021,17 @@ "$id": "1927", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T18:55:00Z" + "value": "2017-01-01T18:30:00Z" }, "value": { "$id": "1928", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1836369 + "value": 1835265 } } }, @@ -13989,7 +14039,7 @@ "$id": "1929", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1930", @@ -13997,17 +14047,17 @@ "$id": "1931", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T19:00:00Z" + "value": "2017-01-01T18:35:00Z" }, "value": { "$id": "1932", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1837280 + "value": 1835481 } } }, @@ -14015,7 +14065,7 @@ "$id": "1933", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1934", @@ -14023,17 +14073,17 @@ "$id": "1935", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T19:05:00Z" + "value": "2017-01-01T18:40:00Z" }, "value": { "$id": "1936", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1842939 + "value": 1835578 } } }, @@ -14041,7 +14091,7 @@ "$id": "1937", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1938", @@ -14049,17 +14099,17 @@ "$id": "1939", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T19:10:00Z" + "value": "2017-01-01T18:45:00Z" }, "value": { "$id": "1940", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1843126 + "value": 1835611 } } }, @@ -14067,7 +14117,7 @@ "$id": "1941", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1942", @@ -14075,17 +14125,17 @@ "$id": "1943", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T19:15:00Z" + "value": "2017-01-01T18:50:00Z" }, "value": { "$id": "1944", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1845840 + "value": 1836314 } } }, @@ -14093,7 +14143,7 @@ "$id": "1945", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1946", @@ -14101,17 +14151,17 @@ "$id": "1947", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T19:20:00Z" + "value": "2017-01-01T18:55:00Z" }, "value": { "$id": "1948", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1842444 + "value": 1836369 } } }, @@ -14119,7 +14169,7 @@ "$id": "1949", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1950", @@ -14127,17 +14177,17 @@ "$id": "1951", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T19:25:00Z" + "value": "2017-01-01T19:00:00Z" }, "value": { "$id": "1952", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1839891 + "value": 1837280 } } }, @@ -14145,7 +14195,7 @@ "$id": "1953", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1954", @@ -14153,17 +14203,17 @@ "$id": "1955", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T19:30:00Z" + "value": "2017-01-01T19:05:00Z" }, "value": { "$id": "1956", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1839875 + "value": 1842939 } } }, @@ -14171,7 +14221,7 @@ "$id": "1957", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1958", @@ -14179,17 +14229,17 @@ "$id": "1959", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T19:35:00Z" + "value": "2017-01-01T19:10:00Z" }, "value": { "$id": "1960", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1839870 + "value": 1843126 } } }, @@ -14197,7 +14247,7 @@ "$id": "1961", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1962", @@ -14205,17 +14255,17 @@ "$id": "1963", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T19:40:00Z" + "value": "2017-01-01T19:15:00Z" }, "value": { "$id": "1964", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1840090 + "value": 1845840 } } }, @@ -14223,7 +14273,7 @@ "$id": "1965", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1966", @@ -14231,17 +14281,17 @@ "$id": "1967", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T19:45:00Z" + "value": "2017-01-01T19:20:00Z" }, "value": { "$id": "1968", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1840479 + "value": 1842444 } } }, @@ -14249,7 +14299,7 @@ "$id": "1969", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1970", @@ -14257,17 +14307,17 @@ "$id": "1971", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T19:50:00Z" + "value": "2017-01-01T19:25:00Z" }, "value": { "$id": "1972", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1840479 + "value": 1839891 } } }, @@ -14275,7 +14325,7 @@ "$id": "1973", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1974", @@ -14283,17 +14333,17 @@ "$id": "1975", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T19:55:00Z" + "value": "2017-01-01T19:30:00Z" }, "value": { "$id": "1976", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1840482 + "value": 1839875 } } }, @@ -14301,7 +14351,7 @@ "$id": "1977", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1978", @@ -14309,17 +14359,17 @@ "$id": "1979", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T20:00:00Z" + "value": "2017-01-01T19:35:00Z" }, "value": { "$id": "1980", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1841522 + "value": 1839870 } } }, @@ -14327,7 +14377,7 @@ "$id": "1981", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1982", @@ -14335,17 +14385,17 @@ "$id": "1983", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T20:05:00Z" + "value": "2017-01-01T19:40:00Z" }, "value": { "$id": "1984", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1841836 + "value": 1840090 } } }, @@ -14353,7 +14403,7 @@ "$id": "1985", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1986", @@ -14361,17 +14411,17 @@ "$id": "1987", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T20:10:00Z" + "value": "2017-01-01T19:45:00Z" }, "value": { "$id": "1988", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1842377 + "value": 1840479 } } }, @@ -14379,7 +14429,7 @@ "$id": "1989", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1990", @@ -14387,17 +14437,17 @@ "$id": "1991", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T20:15:00Z" + "value": "2017-01-01T19:50:00Z" }, "value": { "$id": "1992", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1842388 + "value": 1840479 } } }, @@ -14405,7 +14455,7 @@ "$id": "1993", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1994", @@ -14413,17 +14463,17 @@ "$id": "1995", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T20:20:00Z" + "value": "2017-01-01T19:55:00Z" }, "value": { "$id": "1996", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1842489 + "value": 1840482 } } }, @@ -14431,7 +14481,7 @@ "$id": "1997", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "1998", @@ -14439,17 +14489,17 @@ "$id": "1999", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T20:25:00Z" + "value": "2017-01-01T20:00:00Z" }, "value": { "$id": "2000", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1842489 + "value": 1841522 } } }, @@ -14457,7 +14507,7 @@ "$id": "2001", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2002", @@ -14465,17 +14515,17 @@ "$id": "2003", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T20:30:00Z" + "value": "2017-01-01T20:05:00Z" }, "value": { "$id": "2004", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1842489 + "value": 1841836 } } }, @@ -14483,7 +14533,7 @@ "$id": "2005", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2006", @@ -14491,17 +14541,17 @@ "$id": "2007", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T20:35:00Z" + "value": "2017-01-01T20:10:00Z" }, "value": { "$id": "2008", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1842496 + "value": 1842377 } } }, @@ -14509,7 +14559,7 @@ "$id": "2009", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2010", @@ -14517,17 +14567,17 @@ "$id": "2011", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T20:40:00Z" + "value": "2017-01-01T20:15:00Z" }, "value": { "$id": "2012", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1842689 + "value": 1842388 } } }, @@ -14535,7 +14585,7 @@ "$id": "2013", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2014", @@ -14543,17 +14593,17 @@ "$id": "2015", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T20:45:00Z" + "value": "2017-01-01T20:20:00Z" }, "value": { "$id": "2016", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1843117 + "value": 1842489 } } }, @@ -14561,7 +14611,7 @@ "$id": "2017", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2018", @@ -14569,17 +14619,17 @@ "$id": "2019", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T20:50:00Z" + "value": "2017-01-01T20:25:00Z" }, "value": { "$id": "2020", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1843116 + "value": 1842489 } } }, @@ -14587,7 +14637,7 @@ "$id": "2021", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2022", @@ -14595,17 +14645,17 @@ "$id": "2023", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T20:55:00Z" + "value": "2017-01-01T20:30:00Z" }, "value": { "$id": "2024", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1843227 + "value": 1842489 } } }, @@ -14613,7 +14663,7 @@ "$id": "2025", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2026", @@ -14621,17 +14671,17 @@ "$id": "2027", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T21:00:00Z" + "value": "2017-01-01T20:35:00Z" }, "value": { "$id": "2028", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1843138 + "value": 1842496 } } }, @@ -14639,7 +14689,7 @@ "$id": "2029", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2030", @@ -14647,17 +14697,17 @@ "$id": "2031", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T21:05:00Z" + "value": "2017-01-01T20:40:00Z" }, "value": { "$id": "2032", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1843141 + "value": 1842689 } } }, @@ -14665,7 +14715,7 @@ "$id": "2033", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2034", @@ -14673,17 +14723,17 @@ "$id": "2035", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T21:10:00Z" + "value": "2017-01-01T20:45:00Z" }, "value": { "$id": "2036", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1843310 + "value": 1843117 } } }, @@ -14691,7 +14741,7 @@ "$id": "2037", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2038", @@ -14699,17 +14749,17 @@ "$id": "2039", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T21:15:00Z" + "value": "2017-01-01T20:50:00Z" }, "value": { "$id": "2040", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1843310 + "value": 1843116 } } }, @@ -14717,7 +14767,7 @@ "$id": "2041", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2042", @@ -14725,17 +14775,17 @@ "$id": "2043", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T21:20:00Z" + "value": "2017-01-01T20:55:00Z" }, "value": { "$id": "2044", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1843507 + "value": 1843227 } } }, @@ -14743,7 +14793,7 @@ "$id": "2045", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2046", @@ -14751,17 +14801,17 @@ "$id": "2047", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T21:25:00Z" + "value": "2017-01-01T21:00:00Z" }, "value": { "$id": "2048", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1843953 + "value": 1843138 } } }, @@ -14769,7 +14819,7 @@ "$id": "2049", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2050", @@ -14777,17 +14827,17 @@ "$id": "2051", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T21:30:00Z" + "value": "2017-01-01T21:05:00Z" }, "value": { "$id": "2052", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1844778 + "value": 1843141 } } }, @@ -14795,7 +14845,7 @@ "$id": "2053", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2054", @@ -14803,17 +14853,17 @@ "$id": "2055", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T21:35:00Z" + "value": "2017-01-01T21:10:00Z" }, "value": { "$id": "2056", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1843918 + "value": 1843310 } } }, @@ -14821,7 +14871,7 @@ "$id": "2057", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2058", @@ -14829,17 +14879,17 @@ "$id": "2059", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T21:40:00Z" + "value": "2017-01-01T21:15:00Z" }, "value": { "$id": "2060", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1882692 + "value": 1843310 } } }, @@ -14847,7 +14897,7 @@ "$id": "2061", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2062", @@ -14855,17 +14905,17 @@ "$id": "2063", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T21:45:00Z" + "value": "2017-01-01T21:20:00Z" }, "value": { "$id": "2064", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 1974888 + "value": 1843507 } } }, @@ -14873,7 +14923,7 @@ "$id": "2065", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2066", @@ -14881,17 +14931,17 @@ "$id": "2067", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T21:50:00Z" + "value": "2017-01-01T21:25:00Z" }, "value": { "$id": "2068", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2157136 + "value": 1843953 } } }, @@ -14899,7 +14949,7 @@ "$id": "2069", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2070", @@ -14907,17 +14957,17 @@ "$id": "2071", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T21:55:00Z" + "value": "2017-01-01T21:30:00Z" }, "value": { "$id": "2072", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2154987 + "value": 1844778 } } }, @@ -14925,7 +14975,7 @@ "$id": "2073", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2074", @@ -14933,17 +14983,17 @@ "$id": "2075", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T22:00:00Z" + "value": "2017-01-01T21:35:00Z" }, "value": { "$id": "2076", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2155664 + "value": 1843918 } } }, @@ -14951,7 +15001,7 @@ "$id": "2077", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2078", @@ -14959,17 +15009,17 @@ "$id": "2079", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T22:05:00Z" + "value": "2017-01-01T21:40:00Z" }, "value": { "$id": "2080", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2155660 + "value": 1882692 } } }, @@ -14977,7 +15027,7 @@ "$id": "2081", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2082", @@ -14985,17 +15035,17 @@ "$id": "2083", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T22:10:00Z" + "value": "2017-01-01T21:45:00Z" }, "value": { "$id": "2084", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2155824 + "value": 1974888 } } }, @@ -15003,7 +15053,7 @@ "$id": "2085", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2086", @@ -15011,17 +15061,17 @@ "$id": "2087", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T22:15:00Z" + "value": "2017-01-01T21:50:00Z" }, "value": { "$id": "2088", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2155824 + "value": 2157136 } } }, @@ -15029,7 +15079,7 @@ "$id": "2089", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2090", @@ -15037,17 +15087,17 @@ "$id": "2091", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T22:20:00Z" + "value": "2017-01-01T21:55:00Z" }, "value": { "$id": "2092", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2156329 + "value": 2154987 } } }, @@ -15055,7 +15105,7 @@ "$id": "2093", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2094", @@ -15063,17 +15113,17 @@ "$id": "2095", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T22:25:00Z" + "value": "2017-01-01T22:00:00Z" }, "value": { "$id": "2096", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2156479 + "value": 2155664 } } }, @@ -15081,7 +15131,7 @@ "$id": "2097", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2098", @@ -15089,17 +15139,17 @@ "$id": "2099", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T22:30:00Z" + "value": "2017-01-01T22:05:00Z" }, "value": { "$id": "2100", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2165269 + "value": 2155660 } } }, @@ -15107,7 +15157,7 @@ "$id": "2101", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2102", @@ -15115,17 +15165,17 @@ "$id": "2103", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T22:35:00Z" + "value": "2017-01-01T22:10:00Z" }, "value": { "$id": "2104", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2165433 + "value": 2155824 } } }, @@ -15133,7 +15183,7 @@ "$id": "2105", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2106", @@ -15141,17 +15191,17 @@ "$id": "2107", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T22:40:00Z" + "value": "2017-01-01T22:15:00Z" }, "value": { "$id": "2108", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2165739 + "value": 2155824 } } }, @@ -15159,7 +15209,7 @@ "$id": "2109", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2110", @@ -15167,17 +15217,17 @@ "$id": "2111", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T22:45:00Z" + "value": "2017-01-01T22:20:00Z" }, "value": { "$id": "2112", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2165931 + "value": 2156329 } } }, @@ -15185,7 +15235,7 @@ "$id": "2113", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2114", @@ -15193,17 +15243,17 @@ "$id": "2115", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T22:50:00Z" + "value": "2017-01-01T22:25:00Z" }, "value": { "$id": "2116", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2165928 + "value": 2156479 } } }, @@ -15211,7 +15261,7 @@ "$id": "2117", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2118", @@ -15219,17 +15269,17 @@ "$id": "2119", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T22:55:00Z" + "value": "2017-01-01T22:30:00Z" }, "value": { "$id": "2120", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2165989 + "value": 2165269 } } }, @@ -15237,7 +15287,7 @@ "$id": "2121", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2122", @@ -15245,17 +15295,17 @@ "$id": "2123", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T23:00:00Z" + "value": "2017-01-01T22:35:00Z" }, "value": { "$id": "2124", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2228961 + "value": 2165433 } } }, @@ -15263,7 +15313,7 @@ "$id": "2125", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2126", @@ -15271,17 +15321,17 @@ "$id": "2127", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T23:05:00Z" + "value": "2017-01-01T22:40:00Z" }, "value": { "$id": "2128", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2228961 + "value": 2165739 } } }, @@ -15289,7 +15339,7 @@ "$id": "2129", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2130", @@ -15297,17 +15347,17 @@ "$id": "2131", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T23:10:00Z" + "value": "2017-01-01T22:45:00Z" }, "value": { "$id": "2132", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2228961 + "value": 2165931 } } }, @@ -15315,7 +15365,7 @@ "$id": "2133", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2134", @@ -15323,17 +15373,17 @@ "$id": "2135", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T23:15:00Z" + "value": "2017-01-01T22:50:00Z" }, "value": { "$id": "2136", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2485802 + "value": 2165928 } } }, @@ -15341,7 +15391,7 @@ "$id": "2137", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2138", @@ -15349,17 +15399,17 @@ "$id": "2139", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T23:20:00Z" + "value": "2017-01-01T22:55:00Z" }, "value": { "$id": "2140", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2485802 + "value": 2165989 } } }, @@ -15367,7 +15417,7 @@ "$id": "2141", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2142", @@ -15375,17 +15425,17 @@ "$id": "2143", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T23:25:00Z" + "value": "2017-01-01T23:00:00Z" }, "value": { "$id": "2144", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2486021 + "value": 2228961 } } }, @@ -15393,7 +15443,7 @@ "$id": "2145", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2146", @@ -15401,17 +15451,17 @@ "$id": "2147", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T23:30:00Z" + "value": "2017-01-01T23:05:00Z" }, "value": { "$id": "2148", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2485293 + "value": 2228961 } } }, @@ -15419,7 +15469,7 @@ "$id": "2149", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2150", @@ -15427,17 +15477,17 @@ "$id": "2151", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T23:35:00Z" + "value": "2017-01-01T23:10:00Z" }, "value": { "$id": "2152", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2485293 + "value": 2228961 } } }, @@ -15445,7 +15495,7 @@ "$id": "2153", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2154", @@ -15453,17 +15503,17 @@ "$id": "2155", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T23:40:00Z" + "value": "2017-01-01T23:15:00Z" }, "value": { "$id": "2156", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2485324 + "value": 2485802 } } }, @@ -15471,7 +15521,7 @@ "$id": "2157", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2158", @@ -15479,17 +15529,17 @@ "$id": "2159", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T23:45:00Z" + "value": "2017-01-01T23:20:00Z" }, "value": { "$id": "2160", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2489142 + "value": 2485802 } } }, @@ -15497,7 +15547,7 @@ "$id": "2161", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2162", @@ -15505,17 +15555,17 @@ "$id": "2163", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T23:50:00Z" + "value": "2017-01-01T23:25:00Z" }, "value": { "$id": "2164", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526312 + "value": 2486021 } } }, @@ -15523,7 +15573,7 @@ "$id": "2165", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2166", @@ -15531,17 +15581,17 @@ "$id": "2167", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-01T23:55:00Z" + "value": "2017-01-01T23:30:00Z" }, "value": { "$id": "2168", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526313 + "value": 2485293 } } }, @@ -15549,7 +15599,7 @@ "$id": "2169", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2170", @@ -15557,17 +15607,17 @@ "$id": "2171", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T00:00:00Z" + "value": "2017-01-01T23:35:00Z" }, "value": { "$id": "2172", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526314 + "value": 2485293 } } }, @@ -15575,7 +15625,7 @@ "$id": "2173", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2174", @@ -15583,17 +15633,17 @@ "$id": "2175", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T00:05:00Z" + "value": "2017-01-01T23:40:00Z" }, "value": { "$id": "2176", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526324 + "value": 2485324 } } }, @@ -15601,7 +15651,7 @@ "$id": "2177", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2178", @@ -15609,17 +15659,17 @@ "$id": "2179", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T00:10:00Z" + "value": "2017-01-01T23:45:00Z" }, "value": { "$id": "2180", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526325 + "value": 2489142 } } }, @@ -15627,7 +15677,7 @@ "$id": "2181", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2182", @@ -15635,17 +15685,17 @@ "$id": "2183", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T00:15:00Z" + "value": "2017-01-01T23:50:00Z" }, "value": { "$id": "2184", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526205 + "value": 2526312 } } }, @@ -15653,7 +15703,7 @@ "$id": "2185", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2186", @@ -15661,17 +15711,17 @@ "$id": "2187", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T00:20:00Z" + "value": "2017-01-01T23:55:00Z" }, "value": { "$id": "2188", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526226 + "value": 2526313 } } }, @@ -15679,7 +15729,7 @@ "$id": "2189", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2190", @@ -15687,17 +15737,17 @@ "$id": "2191", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T00:25:00Z" + "value": "2017-01-02T00:00:00Z" }, "value": { "$id": "2192", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526475 + "value": 2526314 } } }, @@ -15705,7 +15755,7 @@ "$id": "2193", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2194", @@ -15713,17 +15763,17 @@ "$id": "2195", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T00:30:00Z" + "value": "2017-01-02T00:05:00Z" }, "value": { "$id": "2196", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526471 + "value": 2526324 } } }, @@ -15731,7 +15781,7 @@ "$id": "2197", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2198", @@ -15739,17 +15789,17 @@ "$id": "2199", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T00:35:00Z" + "value": "2017-01-02T00:10:00Z" }, "value": { "$id": "2200", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526471 + "value": 2526325 } } }, @@ -15757,7 +15807,7 @@ "$id": "2201", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2202", @@ -15765,17 +15815,17 @@ "$id": "2203", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T00:40:00Z" + "value": "2017-01-02T00:15:00Z" }, "value": { "$id": "2204", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526534 + "value": 2526205 } } }, @@ -15783,7 +15833,7 @@ "$id": "2205", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2206", @@ -15791,17 +15841,17 @@ "$id": "2207", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T00:45:00Z" + "value": "2017-01-02T00:20:00Z" }, "value": { "$id": "2208", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526646 + "value": 2526226 } } }, @@ -15809,7 +15859,7 @@ "$id": "2209", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2210", @@ -15817,17 +15867,17 @@ "$id": "2211", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T00:50:00Z" + "value": "2017-01-02T00:25:00Z" }, "value": { "$id": "2212", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526646 + "value": 2526475 } } }, @@ -15835,7 +15885,7 @@ "$id": "2213", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2214", @@ -15843,17 +15893,17 @@ "$id": "2215", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T00:55:00Z" + "value": "2017-01-02T00:30:00Z" }, "value": { "$id": "2216", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526648 + "value": 2526471 } } }, @@ -15861,7 +15911,7 @@ "$id": "2217", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2218", @@ -15869,17 +15919,17 @@ "$id": "2219", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T01:00:00Z" + "value": "2017-01-02T00:35:00Z" }, "value": { "$id": "2220", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526658 + "value": 2526471 } } }, @@ -15887,7 +15937,7 @@ "$id": "2221", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2222", @@ -15895,17 +15945,17 @@ "$id": "2223", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T01:05:00Z" + "value": "2017-01-02T00:40:00Z" }, "value": { "$id": "2224", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526771 + "value": 2526534 } } }, @@ -15913,7 +15963,7 @@ "$id": "2225", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2226", @@ -15921,17 +15971,17 @@ "$id": "2227", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T01:10:00Z" + "value": "2017-01-02T00:45:00Z" }, "value": { "$id": "2228", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526773 + "value": 2526646 } } }, @@ -15939,7 +15989,7 @@ "$id": "2229", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2230", @@ -15947,17 +15997,17 @@ "$id": "2231", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T01:15:00Z" + "value": "2017-01-02T00:50:00Z" }, "value": { "$id": "2232", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2526793 + "value": 2526646 } } }, @@ -15965,7 +16015,7 @@ "$id": "2233", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2234", @@ -15973,17 +16023,17 @@ "$id": "2235", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T01:20:00Z" + "value": "2017-01-02T00:55:00Z" }, "value": { "$id": "2236", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2527010 + "value": 2526648 } } }, @@ -15991,7 +16041,7 @@ "$id": "2237", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2238", @@ -15999,17 +16049,17 @@ "$id": "2239", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T01:25:00Z" + "value": "2017-01-02T01:00:00Z" }, "value": { "$id": "2240", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 2527031 + "value": 2526658 } } }, @@ -16017,7 +16067,7 @@ "$id": "2241", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2242", @@ -16025,17 +16075,17 @@ "$id": "2243", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T01:30:00Z" + "value": "2017-01-02T01:05:00Z" }, "value": { "$id": "2244", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3178096 + "value": 2526771 } } }, @@ -16043,7 +16093,7 @@ "$id": "2245", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2246", @@ -16051,17 +16101,17 @@ "$id": "2247", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T01:35:00Z" + "value": "2017-01-02T01:10:00Z" }, "value": { "$id": "2248", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3196305 + "value": 2526773 } } }, @@ -16069,7 +16119,7 @@ "$id": "2249", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2250", @@ -16077,17 +16127,17 @@ "$id": "2251", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T01:40:00Z" + "value": "2017-01-02T01:15:00Z" }, "value": { "$id": "2252", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3196202 + "value": 2526793 } } }, @@ -16095,7 +16145,7 @@ "$id": "2253", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2254", @@ -16103,17 +16153,17 @@ "$id": "2255", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T01:45:00Z" + "value": "2017-01-02T01:20:00Z" }, "value": { "$id": "2256", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3196202 + "value": 2527010 } } }, @@ -16121,7 +16171,7 @@ "$id": "2257", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2258", @@ -16129,17 +16179,17 @@ "$id": "2259", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T01:50:00Z" + "value": "2017-01-02T01:25:00Z" }, "value": { "$id": "2260", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3196205 + "value": 2527031 } } }, @@ -16147,7 +16197,7 @@ "$id": "2261", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2262", @@ -16155,17 +16205,17 @@ "$id": "2263", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T01:55:00Z" + "value": "2017-01-02T01:30:00Z" }, "value": { "$id": "2264", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3229232 + "value": 3178096 } } }, @@ -16173,7 +16223,7 @@ "$id": "2265", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2266", @@ -16181,17 +16231,17 @@ "$id": "2267", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T02:00:00Z" + "value": "2017-01-02T01:35:00Z" }, "value": { "$id": "2268", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3230463 + "value": 3196305 } } }, @@ -16199,7 +16249,7 @@ "$id": "2269", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2270", @@ -16207,17 +16257,17 @@ "$id": "2271", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T02:05:00Z" + "value": "2017-01-02T01:40:00Z" }, "value": { "$id": "2272", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3230468 + "value": 3196202 } } }, @@ -16225,7 +16275,7 @@ "$id": "2273", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2274", @@ -16233,17 +16283,17 @@ "$id": "2275", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T02:10:00Z" + "value": "2017-01-02T01:45:00Z" }, "value": { "$id": "2276", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3230468 + "value": 3196202 } } }, @@ -16251,7 +16301,7 @@ "$id": "2277", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2278", @@ -16259,17 +16309,17 @@ "$id": "2279", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T02:15:00Z" + "value": "2017-01-02T01:50:00Z" }, "value": { "$id": "2280", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3230468 + "value": 3196205 } } }, @@ -16277,7 +16327,7 @@ "$id": "2281", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2282", @@ -16285,17 +16335,17 @@ "$id": "2283", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T02:20:00Z" + "value": "2017-01-02T01:55:00Z" }, "value": { "$id": "2284", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3230470 + "value": 3229232 } } }, @@ -16303,7 +16353,7 @@ "$id": "2285", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2286", @@ -16311,17 +16361,17 @@ "$id": "2287", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T02:25:00Z" + "value": "2017-01-02T02:00:00Z" }, "value": { "$id": "2288", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3230467 + "value": 3230463 } } }, @@ -16329,7 +16379,7 @@ "$id": "2289", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2290", @@ -16337,17 +16387,17 @@ "$id": "2291", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T02:30:00Z" + "value": "2017-01-02T02:05:00Z" }, "value": { "$id": "2292", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3230506 + "value": 3230468 } } }, @@ -16355,7 +16405,7 @@ "$id": "2293", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2294", @@ -16363,17 +16413,17 @@ "$id": "2295", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T02:35:00Z" + "value": "2017-01-02T02:10:00Z" }, "value": { "$id": "2296", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3231536 + "value": 3230468 } } }, @@ -16381,7 +16431,7 @@ "$id": "2297", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2298", @@ -16389,17 +16439,17 @@ "$id": "2299", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T02:40:00Z" + "value": "2017-01-02T02:15:00Z" }, "value": { "$id": "2300", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3230723 + "value": 3230468 } } }, @@ -16407,7 +16457,7 @@ "$id": "2301", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2302", @@ -16415,17 +16465,17 @@ "$id": "2303", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T02:45:00Z" + "value": "2017-01-02T02:20:00Z" }, "value": { "$id": "2304", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3230727 + "value": 3230470 } } }, @@ -16433,7 +16483,7 @@ "$id": "2305", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2306", @@ -16441,17 +16491,17 @@ "$id": "2307", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T02:50:00Z" + "value": "2017-01-02T02:25:00Z" }, "value": { "$id": "2308", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3230727 + "value": 3230467 } } }, @@ -16459,7 +16509,7 @@ "$id": "2309", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2310", @@ -16467,17 +16517,17 @@ "$id": "2311", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T02:55:00Z" + "value": "2017-01-02T02:30:00Z" }, "value": { "$id": "2312", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3230727 + "value": 3230506 } } }, @@ -16485,7 +16535,7 @@ "$id": "2313", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2314", @@ -16493,17 +16543,17 @@ "$id": "2315", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T03:00:00Z" + "value": "2017-01-02T02:35:00Z" }, "value": { "$id": "2316", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3231880 + "value": 3231536 } } }, @@ -16511,7 +16561,7 @@ "$id": "2317", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2318", @@ -16519,17 +16569,17 @@ "$id": "2319", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T03:05:00Z" + "value": "2017-01-02T02:40:00Z" }, "value": { "$id": "2320", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3232283 + "value": 3230723 } } }, @@ -16537,7 +16587,7 @@ "$id": "2321", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2322", @@ -16545,17 +16595,17 @@ "$id": "2323", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T03:10:00Z" + "value": "2017-01-02T02:45:00Z" }, "value": { "$id": "2324", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3232283 + "value": 3230727 } } }, @@ -16563,7 +16613,7 @@ "$id": "2325", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2326", @@ -16571,17 +16621,17 @@ "$id": "2327", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T03:15:00Z" + "value": "2017-01-02T02:50:00Z" }, "value": { "$id": "2328", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3232283 + "value": 3230727 } } }, @@ -16589,7 +16639,7 @@ "$id": "2329", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2330", @@ -16597,17 +16647,17 @@ "$id": "2331", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T03:20:00Z" + "value": "2017-01-02T02:55:00Z" }, "value": { "$id": "2332", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3232325 + "value": 3230727 } } }, @@ -16615,7 +16665,7 @@ "$id": "2333", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2334", @@ -16623,17 +16673,17 @@ "$id": "2335", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T03:25:00Z" + "value": "2017-01-02T03:00:00Z" }, "value": { "$id": "2336", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3232323 + "value": 3231880 } } }, @@ -16641,7 +16691,7 @@ "$id": "2337", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2338", @@ -16649,17 +16699,17 @@ "$id": "2339", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T03:30:00Z" + "value": "2017-01-02T03:05:00Z" }, "value": { "$id": "2340", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3232327 + "value": 3232283 } } }, @@ -16667,7 +16717,7 @@ "$id": "2341", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2342", @@ -16675,17 +16725,17 @@ "$id": "2343", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T03:35:00Z" + "value": "2017-01-02T03:10:00Z" }, "value": { "$id": "2344", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3232340 + "value": 3232283 } } }, @@ -16693,7 +16743,7 @@ "$id": "2345", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2346", @@ -16701,17 +16751,17 @@ "$id": "2347", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T03:40:00Z" + "value": "2017-01-02T03:15:00Z" }, "value": { "$id": "2348", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3232713 + "value": 3232283 } } }, @@ -16719,7 +16769,7 @@ "$id": "2349", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2350", @@ -16727,17 +16777,17 @@ "$id": "2351", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T03:45:00Z" + "value": "2017-01-02T03:20:00Z" }, "value": { "$id": "2352", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3232729 + "value": 3232325 } } }, @@ -16745,7 +16795,7 @@ "$id": "2353", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2354", @@ -16753,17 +16803,17 @@ "$id": "2355", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T03:50:00Z" + "value": "2017-01-02T03:25:00Z" }, "value": { "$id": "2356", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3232756 + "value": 3232323 } } }, @@ -16771,7 +16821,7 @@ "$id": "2357", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2358", @@ -16779,17 +16829,17 @@ "$id": "2359", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T03:55:00Z" + "value": "2017-01-02T03:30:00Z" }, "value": { "$id": "2360", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3233500 + "value": 3232327 } } }, @@ -16797,7 +16847,7 @@ "$id": "2361", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2362", @@ -16805,17 +16855,17 @@ "$id": "2363", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T04:00:00Z" + "value": "2017-01-02T03:35:00Z" }, "value": { "$id": "2364", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" }, - "value": 3233500 + "value": 3232340 } } }, @@ -16823,7 +16873,7 @@ "$id": "2365", "kind": "model", "type": { - "$ref": "111" + "$ref": "143" }, "value": { "$id": "2366", @@ -16831,15 +16881,145 @@ "$id": "2367", "kind": "string", "type": { - "$ref": "113" + "$ref": "145" }, - "value": "2017-01-02T04:05:00Z" + "value": "2017-01-02T03:40:00Z" }, "value": { "$id": "2368", "kind": "number", "type": { - "$ref": "118" + "$ref": "150" + }, + "value": 3232713 + } + } + }, + { + "$id": "2369", + "kind": "model", + "type": { + "$ref": "143" + }, + "value": { + "$id": "2370", + "timestamp": { + "$id": "2371", + "kind": "string", + "type": { + "$ref": "145" + }, + "value": "2017-01-02T03:45:00Z" + }, + "value": { + "$id": "2372", + "kind": "number", + "type": { + "$ref": "150" + }, + "value": 3232729 + } + } + }, + { + "$id": "2373", + "kind": "model", + "type": { + "$ref": "143" + }, + "value": { + "$id": "2374", + "timestamp": { + "$id": "2375", + "kind": "string", + "type": { + "$ref": "145" + }, + "value": "2017-01-02T03:50:00Z" + }, + "value": { + "$id": "2376", + "kind": "number", + "type": { + "$ref": "150" + }, + "value": 3232756 + } + } + }, + { + "$id": "2377", + "kind": "model", + "type": { + "$ref": "143" + }, + "value": { + "$id": "2378", + "timestamp": { + "$id": "2379", + "kind": "string", + "type": { + "$ref": "145" + }, + "value": "2017-01-02T03:55:00Z" + }, + "value": { + "$id": "2380", + "kind": "number", + "type": { + "$ref": "150" + }, + "value": 3233500 + } + } + }, + { + "$id": "2381", + "kind": "model", + "type": { + "$ref": "143" + }, + "value": { + "$id": "2382", + "timestamp": { + "$id": "2383", + "kind": "string", + "type": { + "$ref": "145" + }, + "value": "2017-01-02T04:00:00Z" + }, + "value": { + "$id": "2384", + "kind": "number", + "type": { + "$ref": "150" + }, + "value": 3233500 + } + } + }, + { + "$id": "2385", + "kind": "model", + "type": { + "$ref": "143" + }, + "value": { + "$id": "2386", + "timestamp": { + "$id": "2387", + "kind": "string", + "type": { + "$ref": "145" + }, + "value": "2017-01-02T04:05:00Z" + }, + "value": { + "$id": "2388", + "kind": "number", + "type": { + "$ref": "150" }, "value": 3233500 } @@ -16848,7 +17028,7 @@ ] }, "granularity": { - "$id": "2369", + "$id": "2389", "kind": "string", "type": { "$ref": "2" @@ -16856,34 +17036,34 @@ "value": "minutely" }, "customInterval": { - "$id": "2370", + "$id": "2390", "kind": "number", "type": { - "$ref": "234" + "$ref": "266" }, "value": 5 }, "stableTrendWindow": { - "$id": "2371", + "$id": "2391", "kind": "number", "type": { - "$ref": "242" + "$ref": "274" }, "value": 10 }, "threshold": { - "$id": "2372", + "$id": "2392", "kind": "number", "type": { - "$ref": "246" + "$ref": "278" }, "value": 0.99 }, "period": { - "$id": "2373", + "$id": "2393", "kind": "number", "type": { - "$ref": "238" + "$ref": "270" }, "value": 0 } @@ -16893,1103 +17073,943 @@ ], "responses": [ { - "$id": "2374", + "$id": "2394", "response": { - "$ref": "1333" + "$ref": "1353" }, "statusCode": 200, "bodyValue": { - "$id": "2375", + "$id": "2395", "kind": "model", "type": { - "$ref": "249" + "$ref": "281" }, "value": { - "$id": "2376", + "$id": "2396", "period": { - "$id": "2377", + "$id": "2397", "kind": "number", "type": { - "$ref": "251" + "$ref": "283" }, "value": 0 }, "confidenceScores": { - "$id": "2378", + "$id": "2398", "kind": "array", "type": { - "$ref": "155" + "$ref": "187" }, "value": [ - { - "$id": "2379", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.11841763735063232 - }, - { - "$id": "2380", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.014857199927548581 - }, - { - "$id": "2381", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.0887032374955278 - }, - { - "$id": "2382", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.07430314751946857 - }, - { - "$id": "2383", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.059903057543409355 - }, - { - "$id": "2384", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.04132288981790399 - }, - { - "$id": "2385", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.022742722092391268 - }, - { - "$id": "2386", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.0005683208474757854 - }, - { - "$id": "2387", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.0216060803974397 - }, - { - "$id": "2388", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.053248991089971616 - }, - { - "$id": "2389", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.08489190178249614 - }, - { - "$id": "2390", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.04322511558132514 - }, - { - "$id": "2391", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.085336620199234 - }, - { - "$id": "2392", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.05876047041512903 - }, - { - "$id": "2393", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.02673755265447302 - }, - { - "$id": "2394", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.005032027060762012 - }, - { - "$id": "2395", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.031323171543775764 - }, - { - "$id": "2396", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.06299774949197792 - }, - { - "$id": "2397", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.08944723025337244 - }, - { - "$id": "2398", - "kind": "number", - "type": { - "$ref": "156" - }, - "value": 0.11523169864554421 - }, { "$id": "2399", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.14288453512268834 + "value": 0.11841763735063232 }, { "$id": "2400", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.001592562559717675 + "value": 0.014857199927548581 }, { "$id": "2401", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.32637788222282893 + "value": 0.0887032374955278 }, { "$id": "2402", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0 + "value": 0.07430314751946857 }, { "$id": "2403", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 7.37310752217245e-15 + "value": 0.059903057543409355 }, { "$id": "2404", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 2.211932256651735e-14 + "value": 0.04132288981790399 }, { "$id": "2405", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 1 + "value": 0.022742722092391268 }, { "$id": "2406", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.015697015891758138 + "value": 0.0005683208474757854 }, { "$id": "2407", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.01242773215043403 + "value": 0.0216060803974397 }, { "$id": "2408", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.016188579169534697 + "value": 0.053248991089971616 }, { "$id": "2409", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.019537751864826272 + "value": 0.08489190178249614 }, { "$id": "2410", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.022506917491993753 + "value": 0.04322511558132514 }, { "$id": "2411", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.01885762668253081 + "value": 0.085336620199234 }, { "$id": "2412", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.016253355310429398 + "value": 0.05876047041512903 }, { "$id": "2413", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.017227483829906676 + "value": 0.02673755265447302 }, { "$id": "2414", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.023236706002118527 + "value": 0.005032027060762012 }, { "$id": "2415", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03906277743439327 + "value": 0.031323171543775764 }, { "$id": "2416", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0354134866249377 + "value": 0.06299774949197792 }, { "$id": "2417", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.037084294769315296 + "value": 0.08944723025337244 }, { "$id": "2418", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.038248426822850935 + "value": 0.11523169864554421 }, { "$id": "2419", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.050274427573818385 + "value": 0.14288453512268834 }, { "$id": "2420", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.046815140298421175 + "value": 0.001592562559717675 }, { "$id": "2421", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.043292518511668716 + "value": 0.32637788222282893 }, { "$id": "2422", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.041353259508804745 + "value": 0 }, { "$id": "2423", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.038242312045861385 + "value": 7.37310752217245e-15 }, { "$id": "2424", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0346880230034313 + "value": 2.211932256651735e-14 }, { "$id": "2425", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.032717096744889713 + "value": 1 }, { "$id": "2426", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.033026212895129546 + "value": 0.015697015891758138 }, { "$id": "2427", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.031055286636580585 + "value": 0.01242773215043403 }, { "$id": "2428", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0275326648498355 + "value": 0.016188579169534697 }, { "$id": "2429", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.023883374040372555 + "value": 0.019537751864826272 }, { "$id": "2430", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.021564107969369743 + "value": 0.022506917491993753 }, { "$id": "2431", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.018706498551854727 + "value": 0.01885762668253081 }, { "$id": "2432", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.01543721481052325 + "value": 0.016253355310429398 }, { "$id": "2433", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.015176320358565887 + "value": 0.017227483829906676 }, { "$id": "2434", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.011527029549110314 + "value": 0.023236706002118527 }, { "$id": "2435", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.008004407762357859 + "value": 0.03906277743439327 }, { "$id": "2436", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.004355116952902286 + "value": 0.0354134866249377 }, { "$id": "2437", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0007058261434393403 + "value": 0.037084294769315296 }, { "$id": "2438", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0030701336887340946 + "value": 0.038248426822850935 }, { "$id": "2439", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.006592755475479178 + "value": 0.050274427573818385 }, { "$id": "2440", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.010147044517909256 + "value": 0.046815140298421175 }, { "$id": "2441", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.013701333560339335 + "value": 0.043292518511668716 }, { "$id": "2442", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.016780613767597707 + "value": 0.041353259508804745 }, { "$id": "2443", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.020366570065705403 + "value": 0.038242312045861385 }, { "$id": "2444", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.024015860875168354 + "value": 0.0346880230034313 }, { "$id": "2445", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.02757014991759106 + "value": 0.032717096744889713 }, { "$id": "2446", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03033275756808058 + "value": 0.033026212895129546 }, { "$id": "2447", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03068865378707081 + "value": 0.031055286636580585 }, { "$id": "2448", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03395793752839492 + "value": 0.0275326648498355 }, { "$id": "2449", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03760722833785786 + "value": 0.023883374040372555 }, { "$id": "2450", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.04122485189164318 + "value": 0.021564107969369743 }, { "$id": "2451", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.030433874112103007 + "value": 0.018706498551854727 }, { "$id": "2452", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.032816474694461056 + "value": 0.01543721481052325 }, { "$id": "2453", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03602242392443729 + "value": 0.015176320358565887 }, { "$id": "2454", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03960838022253762 + "value": 0.011527029549110314 }, { "$id": "2455", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.04268766042980336 + "value": 0.008004407762357859 }, { "$id": "2456", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.04633695123926631 + "value": 0.004355116952902286 }, { "$id": "2457", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0346592903007527 + "value": 0.0007058261434393403 }, { "$id": "2458", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.010219725324164698 + "value": 0.0030701336887340946 }, { "$id": "2459", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.007218892441326965 + "value": 0.006592755475479178 }, { "$id": "2460", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.006909776291079754 + "value": 0.010147044517909256 }, { "$id": "2461", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.000049463551460760754 + "value": 0.013701333560339335 }, { "$id": "2462", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0016047901503119819 + "value": 0.016780613767597707 }, { "$id": "2463", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.01042121060065547 + "value": 0.020366570065705403 }, { "$id": "2464", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.009020294944303705 + "value": 0.024015860875168354 }, { "$id": "2465", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.005371004134840759 + "value": 0.02757014991759106 }, { "$id": "2466", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0021650549048718984 + "value": 0.03033275756808058 }, { "$id": "2467", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.010517653997227793 + "value": 0.03068865378707081 }, { "$id": "2468", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0075017083013172925 + "value": 0.03395793752839492 }, { "$id": "2469", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.00385241749186172 + "value": 0.03760722833785786 }, { "$id": "2470", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0008681390516288423 + "value": 0.04122485189164318 }, { "$id": "2471", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.019005920148370017 + "value": 0.030433874112103007 }, { "$id": "2472", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.015388296594592068 + "value": 0.032816474694461056 }, { "$id": "2473", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.12583612799160215 + "value": 0.03602242392443729 }, { "$id": "2474", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 1 + "value": 0.03960838022253762 }, { "$id": "2475", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.005055878353042495 + "value": 0.04268766042980336 }, { "$id": "2476", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.007613932468790628 + "value": 0.04633695123926631 }, { "$id": "2477", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.011913685646822731 + "value": 0.0346592903007527 }, { "$id": "2478", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0166567804043268 + "value": 0.010219725324164698 }, { "$id": "2479", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.015351429327405014 + "value": 0.007218892441326965 }, { "$id": "2480", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.034309821169245976 + "value": 0.006909776291079754 }, { "$id": "2481", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0292817211106433 + "value": 0.000049463551460760754 }, { "$id": "2482", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.02425362105202589 + "value": 0.0016047901503119819 }, { "$id": "2483", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.019225520993423218 + "value": 0.01042121060065547 }, { "$id": "2484", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.01419742093482055 + "value": 0.009020294944303705 }, { "$id": "2485", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.00916932087621788 + "value": 0.005371004134840759 }, { "$id": "2486", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.004141220817600464 + "value": 0.0021650549048718984 }, { "$id": "2487", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0008868792410022057 + "value": 0.010517653997227793 }, { "$id": "2488", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0059149792996048755 + "value": 0.0075017083013172925 }, { "$id": "2489", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.010943079358207547 + "value": 0.00385241749186172 }, { "$id": "2490", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.015971179416810213 + "value": 0.0008681390516288423 }, { "$id": "2491", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.02099927947542763 + "value": 0.019005920148370017 }, { "$id": "2492", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 1 + "value": 0.015388296594592068 }, { "$id": "2493", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.11533376425564247 + "value": 0.12583612799160215 }, { "$id": "2494", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.1207645081246342 + "value": 1 }, { "$id": "2495", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.025174230145423273 + "value": 0.005055878353042495 }, { "$id": "2496", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.09422487163021387 + "value": 0.007613932468790628 }, { "$id": "2497", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.08417070843230404 + "value": 0.011913685646822731 }, { "$id": "2498", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.07411654523437947 + "value": 0.0166567804043268 }, { "$id": "2499", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.06406238203646963 + "value": 0.015351429327405014 }, { "$id": "2500", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0540082188385598 + "value": 0.034309821169245976 }, { "$id": "2501", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.04395405564064997 + "value": 0.0292817211106433 }, { "$id": "2502", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03500824639144218 + "value": 0.02425362105202589 }, { "$id": "2503", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.024954083193532338 + "value": 0.019225520993423218 }, { "$id": "2504", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.014899919995622513 + "value": 0.01419742093482055 }, { "$id": "2505", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.004845756797712681 + "value": 0.00916932087621788 }, { "$id": "2506", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.005208406400211895 + "value": 0.004141220817600464 }, { "$id": "2507", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.015262569598121728 + "value": 0.0008868792410022057 }, { "$id": "2508", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.025316732796031558 + "value": 0.0059149792996048755 }, { "$id": "2509", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03537089599394139 + "value": 0.010943079358207547 }, { "$id": "2510", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.045425059191865964 + "value": 0.015971179416810213 }, { "$id": "2511", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.05145748091871777 + "value": 0.02099927947542763 }, { "$id": "2512", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 1 }, @@ -17997,1160 +18017,1160 @@ "$id": "2513", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.011663506282381296 + "value": 0.11533376425564247 }, { "$id": "2514", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0043856580970499884 + "value": 0.1207645081246342 }, { "$id": "2515", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.002892190088273945 + "value": 0.025174230145423273 }, { "$id": "2516", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.01017003827359788 + "value": 0.09422487163021387 }, { "$id": "2517", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.01744788645892181 + "value": 0.08417070843230404 }, { "$id": "2518", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.024725734644253115 + "value": 0.07411654523437947 }, { "$id": "2519", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03200358282957705 + "value": 0.06406238203646963 }, { "$id": "2520", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03928143101490098 + "value": 0.0540082188385598 }, { "$id": "2521", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.046559279200224915 + "value": 0.04395405564064997 }, { "$id": "2522", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.05383712738555622 + "value": 0.03500824639144218 }, { "$id": "2523", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.060069956133518614 + "value": 0.024954083193532338 }, { "$id": "2524", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0450857235774741 + "value": 0.014899919995622513 }, { "$id": "2525", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.050621872700536176 + "value": 0.004845756797712681 }, { "$id": "2526", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.029050850963546225 + "value": 0.005208406400211895 }, { "$id": "2527", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.045689493056171517 + "value": 0.015262569598121728 }, { "$id": "2528", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0385699811492357 + "value": 0.025316732796031558 }, { "$id": "2529", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03179880905474635 + "value": 0.03537089599394139 }, { "$id": "2530", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03082274474926925 + "value": 0.045425059191865964 }, { "$id": "2531", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03586345902254038 + "value": 0.05145748091871777 }, { "$id": "2532", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.028585610837209074 + "value": 1 }, { "$id": "2533", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.021402764418918006 + "value": 0.011663506282381296 }, { "$id": "2534", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.04705886213832124 + "value": 0.0043856580970499884 }, { "$id": "2535", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.049724532235770696 + "value": 0.002892190088273945 }, { "$id": "2536", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.05957866937203304 + "value": 0.01017003827359788 }, { "$id": "2537", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.052649160999162954 + "value": 0.01744788645892181 }, { "$id": "2538", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.045371312813839014 + "value": 0.024725734644253115 }, { "$id": "2539", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03809346462851508 + "value": 0.03200358282957705 }, { "$id": "2540", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.030815616443183775 + "value": 0.03928143101490098 }, { "$id": "2541", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.023537768257859845 + "value": 0.046559279200224915 }, { "$id": "2542", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.01945831289597576 + "value": 0.05383712738555622 }, { "$id": "2543", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.012180464710644455 + "value": 0.060069956133518614 }, { "$id": "2544", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.00490261652532052 + "value": 0.0450857235774741 }, { "$id": "2545", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.002153560870260057 + "value": 0.050621872700536176 }, { "$id": "2546", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0033196287098028916 + "value": 0.029050850963546225 }, { "$id": "2547", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0029244412792105113 + "value": 0.045689493056171517 }, { "$id": "2548", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0043217396504358 + "value": 0.0385699811492357 }, { "$id": "2549", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.010934575466529664 + "value": 0.03179880905474635 }, { "$id": "2550", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.018117421884820732 + "value": 0.03082274474926925 }, { "$id": "2551", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.02267188608187652 + "value": 0.03586345902254038 }, { "$id": "2552", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.027321352045957807 + "value": 0.028585610837209074 }, { "$id": "2553", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03459920023128174 + "value": 0.021402764418918006 }, { "$id": "2554", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03563859904812146 + "value": 0.04705886213832124 }, { "$id": "2555", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.02990120514994264 + "value": 0.049724532235770696 }, { "$id": "2556", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03607069938654979 + "value": 0.05957866937203304 }, { "$id": "2557", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.017223061637835352 + "value": 0.052649160999162954 }, { "$id": "2558", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 7.37310752217245e-15 + "value": 0.045371312813839014 }, { "$id": "2559", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 1.47462150443449e-14 + "value": 0.03809346462851508 }, { "$id": "2560", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 1 + "value": 0.030815616443183775 }, { "$id": "2561", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.046440552438977135 + "value": 0.023537768257859845 }, { "$id": "2562", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.012233652454378385 + "value": 0.01945831289597576 }, { "$id": "2563", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.017033155644526038 + "value": 0.012180464710644455 }, { "$id": "2564", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.05136672465183527 + "value": 0.00490261652532052 }, { "$id": "2565", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.06970832954194527 + "value": 0.002153560870260057 }, { "$id": "2566", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.09929181019761117 + "value": 0.0033196287098028916 }, { "$id": "2567", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.11281999222473732 + "value": 0.0029244412792105113 }, { "$id": "2568", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.11039622919405537 + "value": 0.0043217396504358 }, { "$id": "2569", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.08125609011787617 + "value": 0.010934575466529664 }, { "$id": "2570", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.05661270134791935 + "value": 0.018117421884820732 }, { "$id": "2571", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.028264243663680723 + "value": 0.02267188608187652 }, { "$id": "2572", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.005974323576610399 + "value": 0.027321352045957807 }, { "$id": "2573", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.038471191754617544 + "value": 0.03459920023128174 }, { "$id": "2574", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0 + "value": 0.03563859904812146 }, { "$id": "2575", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0 + "value": 0.02990120514994264 }, { "$id": "2576", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0 + "value": 0.03607069938654979 }, { "$id": "2577", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.020288532128574968 + "value": 0.017223061637835352 }, { "$id": "2578", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.005041879493223223 + "value": 7.37310752217245e-15 }, { "$id": "2579", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.009223088216122232 + "value": 1.47462150443449e-14 }, { "$id": "2580", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.009332792637570532 + "value": 1 }, { "$id": "2581", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.024579445272937026 + "value": 0.046440552438977135 }, { "$id": "2582", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.03289096891488949 + "value": 0.012233652454378385 }, { "$id": "2583", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.050695883419617865 + "value": 0.017033155644526038 }, { "$id": "2584", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 1 + "value": 0.05136672465183527 }, { "$id": "2585", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.000748013913075547 + "value": 0.06970832954194527 }, { "$id": "2586", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.002186373999917361 + "value": 0.09929181019761117 }, { "$id": "2587", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0009330173541465358 + "value": 0.11281999222473732 }, { "$id": "2588", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.00032033929162428933 + "value": 0.11039622919405537 }, { "$id": "2589", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0012886906362965138 + "value": 0.08125609011787617 }, { "$id": "2590", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.002542047282052593 + "value": 0.05661270134791935 }, { "$id": "2591", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0007963481454318109 + "value": 0.028264243663680723 }, { "$id": "2592", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0004886757560166365 + "value": 0.005974323576610399 }, { "$id": "2593", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0016470306347398486 + "value": 0.038471191754617544 }, { "$id": "2594", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.001063686451208582 + "value": 0 }, { "$id": "2595", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0011980222832366648 + "value": 0 }, { "$id": "2596", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.00008700161821178273 + "value": 0 }, { "$id": "2597", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0013086910082902394 + "value": 0.020288532128574968 }, { "$id": "2598", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0022770423529624643 + "value": 0.005041879493223223 }, { "$id": "2599", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.000016333637160404937 + "value": 0.009223088216122232 }, { "$id": "2600", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0012053557529180517 + "value": 0.009332792637570532 }, { "$id": "2601", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0018570345408140537 + "value": 0.024579445272937026 }, { "$id": "2602", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0037297360397815314 + "value": 0.03289096891488949 }, { "$id": "2603", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.003109724507563151 + "value": 0.050695883419617865 }, { "$id": "2604", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.22869458705263188 + "value": 1 }, { "$id": "2605", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.2293374323429407 + "value": 0.000748013913075547 }, { "$id": "2606", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.1140021204394844 + "value": 0.002186373999917361 }, { "$id": "2607", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0012381896969537412 + "value": 0.0009330173541465358 }, { "$id": "2608", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.11340677603264777 + "value": 0.00032033929162428933 }, { "$id": "2609", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 1 + "value": 0.0012886906362965138 }, { "$id": "2610", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.011793249472519423 + "value": 0.002542047282052593 }, { "$id": "2611", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.008293225072094536 + "value": 0.0007963481454318109 }, { "$id": "2612", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.00469819890465153 + "value": 0.0004886757560166365 }, { "$id": "2613", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0010715054815308995 + "value": 0.0016470306347398486 }, { "$id": "2614", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0025551879416044767 + "value": 0.001063686451208582 }, { "$id": "2615", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.006118546853369862 + "value": 0.0011980222832366648 }, { "$id": "2616", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.008605219072110835 + "value": 0.00008700161821178273 }, { "$id": "2617", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0053601180131874334 + "value": 0.0013086910082902394 }, { "$id": "2618", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.008860142413597574 + "value": 0.0022770423529624643 }, { "$id": "2619", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.01248683583673295 + "value": 0.000016333637160404937 }, { "$id": "2620", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.01611352925985358 + "value": 0.0012053557529180517 }, { "$id": "2621", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.005878587160222206 + "value": 0.0018570345408140537 }, { "$id": "2622", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.013145429690188892 + "value": 0.0037297360397815314 }, { "$id": "2623", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.022280640305150038 + "value": 0.003109724507563151 }, { "$id": "2624", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.01865394688201466 + "value": 0.22869458705263188 }, { "$id": "2625", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.015027253458894031 + "value": 0.2293374323429407 }, { "$id": "2626", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.012033905149325846 + "value": 0.1140021204394844 }, { "$id": "2627", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.009040556839742916 + "value": 0.0012381896969537412 }, { "$id": "2628", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.005445530672299909 + "value": 0.11340677603264777 }, { "$id": "2629", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.0018505045048569009 + "value": 1 }, { "$id": "2630", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.001744521662600853 + "value": 0.011793249472519423 }, { "$id": "2631", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.005339547830043862 + "value": 0.008293225072094536 }, { "$id": "2632", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.008760404091259945 + "value": 0.00469819890465153 }, { "$id": "2633", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.012181260352490777 + "value": 0.0010715054815308995 }, { "$id": "2634", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.009902010591734853 + "value": 0.0025551879416044767 }, { "$id": "2635", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, - "value": 0.007622760830993676 - } - ] - }, - "isChangePoint": { - "$id": "2636", - "kind": "array", - "type": { - "$ref": "166" - }, - "value": [ + "value": 0.006118546853369862 + }, + { + "$id": "2636", + "kind": "number", + "type": { + "$ref": "188" + }, + "value": 0.008605219072110835 + }, { "$id": "2637", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.0053601180131874334 }, { "$id": "2638", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.008860142413597574 }, { "$id": "2639", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.01248683583673295 }, { "$id": "2640", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.01611352925985358 }, { "$id": "2641", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.005878587160222206 }, { "$id": "2642", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.013145429690188892 }, { "$id": "2643", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.022280640305150038 }, { "$id": "2644", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.01865394688201466 }, { "$id": "2645", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.015027253458894031 }, { "$id": "2646", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.012033905149325846 }, { "$id": "2647", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.009040556839742916 }, { "$id": "2648", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.005445530672299909 }, { "$id": "2649", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.0018505045048569009 }, { "$id": "2650", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.001744521662600853 }, { "$id": "2651", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.005339547830043862 }, { "$id": "2652", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.008760404091259945 }, { "$id": "2653", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.012181260352490777 }, { "$id": "2654", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false + "value": 0.009902010591734853 }, { "$id": "2655", - "kind": "boolean", - "type": { - "$ref": "167" - }, - "value": false - }, - { - "$id": "2656", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "167" + "$ref": "188" }, - "value": false - }, + "value": 0.007622760830993676 + } + ] + }, + "isChangePoint": { + "$id": "2656", + "kind": "array", + "type": { + "$ref": "198" + }, + "value": [ { "$id": "2657", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19158,7 +19178,7 @@ "$id": "2658", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19166,7 +19186,7 @@ "$id": "2659", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19174,7 +19194,7 @@ "$id": "2660", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19182,7 +19202,7 @@ "$id": "2661", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19190,7 +19210,7 @@ "$id": "2662", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19198,15 +19218,15 @@ "$id": "2663", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, - "value": true + "value": false }, { "$id": "2664", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19214,7 +19234,7 @@ "$id": "2665", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19222,7 +19242,7 @@ "$id": "2666", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19230,7 +19250,7 @@ "$id": "2667", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19238,7 +19258,7 @@ "$id": "2668", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19246,7 +19266,7 @@ "$id": "2669", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19254,7 +19274,7 @@ "$id": "2670", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19262,7 +19282,7 @@ "$id": "2671", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19270,7 +19290,7 @@ "$id": "2672", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19278,7 +19298,7 @@ "$id": "2673", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19286,7 +19306,7 @@ "$id": "2674", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19294,7 +19314,7 @@ "$id": "2675", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19302,7 +19322,7 @@ "$id": "2676", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19310,7 +19330,7 @@ "$id": "2677", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19318,7 +19338,7 @@ "$id": "2678", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19326,7 +19346,7 @@ "$id": "2679", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19334,7 +19354,7 @@ "$id": "2680", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19342,7 +19362,7 @@ "$id": "2681", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19350,7 +19370,7 @@ "$id": "2682", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19358,15 +19378,15 @@ "$id": "2683", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, - "value": false + "value": true }, { "$id": "2684", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19374,7 +19394,7 @@ "$id": "2685", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19382,7 +19402,7 @@ "$id": "2686", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19390,7 +19410,7 @@ "$id": "2687", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19398,7 +19418,7 @@ "$id": "2688", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19406,7 +19426,7 @@ "$id": "2689", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19414,7 +19434,7 @@ "$id": "2690", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19422,7 +19442,7 @@ "$id": "2691", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19430,7 +19450,7 @@ "$id": "2692", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19438,7 +19458,7 @@ "$id": "2693", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19446,7 +19466,7 @@ "$id": "2694", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19454,7 +19474,7 @@ "$id": "2695", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19462,7 +19482,7 @@ "$id": "2696", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19470,7 +19490,7 @@ "$id": "2697", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19478,7 +19498,7 @@ "$id": "2698", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19486,7 +19506,7 @@ "$id": "2699", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19494,7 +19514,7 @@ "$id": "2700", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19502,7 +19522,7 @@ "$id": "2701", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19510,7 +19530,7 @@ "$id": "2702", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19518,7 +19538,7 @@ "$id": "2703", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19526,7 +19546,7 @@ "$id": "2704", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19534,7 +19554,7 @@ "$id": "2705", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19542,7 +19562,7 @@ "$id": "2706", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19550,7 +19570,7 @@ "$id": "2707", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19558,7 +19578,7 @@ "$id": "2708", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19566,7 +19586,7 @@ "$id": "2709", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19574,7 +19594,7 @@ "$id": "2710", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19582,7 +19602,7 @@ "$id": "2711", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19590,7 +19610,7 @@ "$id": "2712", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19598,7 +19618,7 @@ "$id": "2713", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19606,7 +19626,7 @@ "$id": "2714", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19614,7 +19634,7 @@ "$id": "2715", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19622,7 +19642,7 @@ "$id": "2716", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19630,7 +19650,7 @@ "$id": "2717", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19638,7 +19658,7 @@ "$id": "2718", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19646,7 +19666,7 @@ "$id": "2719", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19654,7 +19674,7 @@ "$id": "2720", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19662,7 +19682,7 @@ "$id": "2721", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19670,7 +19690,7 @@ "$id": "2722", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19678,7 +19698,7 @@ "$id": "2723", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19686,7 +19706,7 @@ "$id": "2724", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19694,7 +19714,7 @@ "$id": "2725", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19702,7 +19722,7 @@ "$id": "2726", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19710,7 +19730,7 @@ "$id": "2727", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19718,7 +19738,7 @@ "$id": "2728", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19726,7 +19746,7 @@ "$id": "2729", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19734,7 +19754,7 @@ "$id": "2730", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19742,7 +19762,7 @@ "$id": "2731", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19750,15 +19770,15 @@ "$id": "2732", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, - "value": true + "value": false }, { "$id": "2733", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19766,7 +19786,7 @@ "$id": "2734", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19774,7 +19794,7 @@ "$id": "2735", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19782,7 +19802,7 @@ "$id": "2736", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19790,7 +19810,7 @@ "$id": "2737", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19798,7 +19818,7 @@ "$id": "2738", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19806,7 +19826,7 @@ "$id": "2739", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19814,7 +19834,7 @@ "$id": "2740", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19822,7 +19842,7 @@ "$id": "2741", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19830,7 +19850,7 @@ "$id": "2742", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19838,7 +19858,7 @@ "$id": "2743", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19846,7 +19866,7 @@ "$id": "2744", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19854,7 +19874,7 @@ "$id": "2745", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19862,7 +19882,7 @@ "$id": "2746", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19870,7 +19890,7 @@ "$id": "2747", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19878,7 +19898,7 @@ "$id": "2748", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19886,7 +19906,7 @@ "$id": "2749", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19894,15 +19914,15 @@ "$id": "2750", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, - "value": true + "value": false }, { "$id": "2751", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19910,15 +19930,15 @@ "$id": "2752", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, - "value": false + "value": true }, { "$id": "2753", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19926,7 +19946,7 @@ "$id": "2754", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19934,7 +19954,7 @@ "$id": "2755", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19942,7 +19962,7 @@ "$id": "2756", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19950,7 +19970,7 @@ "$id": "2757", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19958,7 +19978,7 @@ "$id": "2758", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19966,7 +19986,7 @@ "$id": "2759", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19974,7 +19994,7 @@ "$id": "2760", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19982,7 +20002,7 @@ "$id": "2761", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19990,7 +20010,7 @@ "$id": "2762", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -19998,7 +20018,7 @@ "$id": "2763", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20006,7 +20026,7 @@ "$id": "2764", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20014,7 +20034,7 @@ "$id": "2765", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20022,7 +20042,7 @@ "$id": "2766", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20030,7 +20050,7 @@ "$id": "2767", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20038,7 +20058,7 @@ "$id": "2768", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20046,7 +20066,7 @@ "$id": "2769", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20054,7 +20074,7 @@ "$id": "2770", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": true }, @@ -20062,7 +20082,7 @@ "$id": "2771", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20070,7 +20090,7 @@ "$id": "2772", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20078,7 +20098,7 @@ "$id": "2773", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20086,7 +20106,7 @@ "$id": "2774", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20094,7 +20114,7 @@ "$id": "2775", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20102,7 +20122,7 @@ "$id": "2776", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20110,7 +20130,7 @@ "$id": "2777", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20118,7 +20138,7 @@ "$id": "2778", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20126,7 +20146,7 @@ "$id": "2779", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20134,7 +20154,7 @@ "$id": "2780", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20142,7 +20162,7 @@ "$id": "2781", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20150,7 +20170,7 @@ "$id": "2782", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20158,7 +20178,7 @@ "$id": "2783", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20166,7 +20186,7 @@ "$id": "2784", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20174,7 +20194,7 @@ "$id": "2785", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20182,7 +20202,7 @@ "$id": "2786", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20190,7 +20210,7 @@ "$id": "2787", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20198,7 +20218,7 @@ "$id": "2788", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20206,7 +20226,7 @@ "$id": "2789", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20214,15 +20234,15 @@ "$id": "2790", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, - "value": false + "value": true }, { "$id": "2791", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20230,7 +20250,7 @@ "$id": "2792", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20238,7 +20258,7 @@ "$id": "2793", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20246,7 +20266,7 @@ "$id": "2794", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20254,7 +20274,7 @@ "$id": "2795", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20262,7 +20282,7 @@ "$id": "2796", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20270,7 +20290,7 @@ "$id": "2797", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20278,7 +20298,7 @@ "$id": "2798", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20286,7 +20306,7 @@ "$id": "2799", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20294,7 +20314,7 @@ "$id": "2800", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20302,7 +20322,7 @@ "$id": "2801", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20310,7 +20330,7 @@ "$id": "2802", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20318,7 +20338,7 @@ "$id": "2803", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20326,7 +20346,7 @@ "$id": "2804", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20334,7 +20354,7 @@ "$id": "2805", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20342,7 +20362,7 @@ "$id": "2806", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20350,7 +20370,7 @@ "$id": "2807", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20358,7 +20378,7 @@ "$id": "2808", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20366,7 +20386,7 @@ "$id": "2809", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20374,7 +20394,7 @@ "$id": "2810", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20382,7 +20402,7 @@ "$id": "2811", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20390,7 +20410,7 @@ "$id": "2812", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20398,7 +20418,7 @@ "$id": "2813", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20406,7 +20426,7 @@ "$id": "2814", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20414,7 +20434,7 @@ "$id": "2815", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20422,7 +20442,7 @@ "$id": "2816", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20430,7 +20450,7 @@ "$id": "2817", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20438,15 +20458,15 @@ "$id": "2818", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, - "value": true + "value": false }, { "$id": "2819", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20454,7 +20474,7 @@ "$id": "2820", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20462,7 +20482,7 @@ "$id": "2821", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20470,7 +20490,7 @@ "$id": "2822", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20478,7 +20498,7 @@ "$id": "2823", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20486,7 +20506,7 @@ "$id": "2824", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20494,7 +20514,7 @@ "$id": "2825", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20502,7 +20522,7 @@ "$id": "2826", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20510,7 +20530,7 @@ "$id": "2827", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20518,7 +20538,7 @@ "$id": "2828", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20526,7 +20546,7 @@ "$id": "2829", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20534,7 +20554,7 @@ "$id": "2830", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20542,7 +20562,7 @@ "$id": "2831", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20550,7 +20570,7 @@ "$id": "2832", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20558,7 +20578,7 @@ "$id": "2833", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20566,7 +20586,7 @@ "$id": "2834", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20574,7 +20594,7 @@ "$id": "2835", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20582,7 +20602,7 @@ "$id": "2836", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20590,7 +20610,7 @@ "$id": "2837", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20598,15 +20618,15 @@ "$id": "2838", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, - "value": false + "value": true }, { "$id": "2839", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20614,7 +20634,7 @@ "$id": "2840", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20622,7 +20642,7 @@ "$id": "2841", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20630,15 +20650,15 @@ "$id": "2842", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, - "value": true + "value": false }, { "$id": "2843", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20646,7 +20666,7 @@ "$id": "2844", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20654,7 +20674,7 @@ "$id": "2845", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20662,7 +20682,7 @@ "$id": "2846", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20670,7 +20690,7 @@ "$id": "2847", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20678,7 +20698,7 @@ "$id": "2848", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20686,7 +20706,7 @@ "$id": "2849", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20694,7 +20714,7 @@ "$id": "2850", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20702,7 +20722,7 @@ "$id": "2851", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20710,7 +20730,7 @@ "$id": "2852", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20718,7 +20738,7 @@ "$id": "2853", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20726,7 +20746,7 @@ "$id": "2854", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20734,7 +20754,7 @@ "$id": "2855", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20742,7 +20762,7 @@ "$id": "2856", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20750,7 +20770,7 @@ "$id": "2857", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20758,7 +20778,7 @@ "$id": "2858", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20766,7 +20786,7 @@ "$id": "2859", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20774,7 +20794,7 @@ "$id": "2860", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20782,7 +20802,7 @@ "$id": "2861", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20790,15 +20810,15 @@ "$id": "2862", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, - "value": false + "value": true }, { "$id": "2863", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20806,7 +20826,7 @@ "$id": "2864", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20814,7 +20834,7 @@ "$id": "2865", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20822,7 +20842,7 @@ "$id": "2866", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20830,15 +20850,15 @@ "$id": "2867", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, - "value": true + "value": false }, { "$id": "2868", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20846,7 +20866,7 @@ "$id": "2869", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20854,7 +20874,7 @@ "$id": "2870", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20862,7 +20882,7 @@ "$id": "2871", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20870,7 +20890,7 @@ "$id": "2872", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20878,7 +20898,7 @@ "$id": "2873", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20886,7 +20906,7 @@ "$id": "2874", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20894,7 +20914,7 @@ "$id": "2875", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20902,7 +20922,7 @@ "$id": "2876", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20910,7 +20930,7 @@ "$id": "2877", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20918,7 +20938,7 @@ "$id": "2878", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20926,7 +20946,7 @@ "$id": "2879", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20934,7 +20954,7 @@ "$id": "2880", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20942,7 +20962,7 @@ "$id": "2881", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20950,7 +20970,7 @@ "$id": "2882", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20958,7 +20978,7 @@ "$id": "2883", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20966,7 +20986,7 @@ "$id": "2884", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20974,7 +20994,7 @@ "$id": "2885", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20982,7 +21002,7 @@ "$id": "2886", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -20990,15 +21010,15 @@ "$id": "2887", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, - "value": false + "value": true }, { "$id": "2888", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -21006,7 +21026,7 @@ "$id": "2889", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -21014,7 +21034,7 @@ "$id": "2890", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -21022,7 +21042,7 @@ "$id": "2891", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -21030,7 +21050,7 @@ "$id": "2892", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" }, "value": false }, @@ -21038,7 +21058,167 @@ "$id": "2893", "kind": "boolean", "type": { - "$ref": "167" + "$ref": "199" + }, + "value": false + }, + { + "$id": "2894", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2895", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2896", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2897", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2898", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2899", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2900", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2901", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2902", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2903", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2904", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2905", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2906", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2907", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2908", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2909", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2910", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2911", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2912", + "kind": "boolean", + "type": { + "$ref": "199" + }, + "value": false + }, + { + "$id": "2913", + "kind": "boolean", + "type": { + "$ref": "199" }, "value": false } @@ -21053,12 +21233,12 @@ }, "parameters": [ { - "$id": "2894", + "$id": "2914", "name": "options", "nameInRequest": "options", "doc": "Method of univariate anomaly detection.", "type": { - "$ref": "226" + "$ref": "258" }, "location": "Body", "isApiVersion": false, @@ -21071,12 +21251,12 @@ "skipUrlEncoding": false }, { - "$id": "2895", + "$id": "2915", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1327" + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -21089,11 +21269,11 @@ "skipUrlEncoding": false }, { - "$id": "2896", + "$id": "2916", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "1330" + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -21107,9 +21287,9 @@ } ], "response": { - "$id": "2897", + "$id": "2917", "type": { - "$ref": "249" + "$ref": "281" } }, "isOverride": false, @@ -21120,12 +21300,12 @@ ], "parameters": [ { - "$id": "2898", + "$id": "2918", "name": "Endpoint", "nameInRequest": "Endpoint", "doc": "Supported Cognitive Services endpoints (protocol and hostname, for example:\nhttps://westus2.api.cognitive.microsoft.com).", "type": { - "$id": "2899", + "$id": "2919", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -21140,7 +21320,7 @@ "kind": "Client" }, { - "$id": "2900", + "$id": "2920", "name": "ApiVersion", "nameInRequest": "ApiVersion", "doc": "Api Version", @@ -21156,9 +21336,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "2901", + "$id": "2921", "type": { - "$id": "2902", + "$id": "2922", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -21173,17 +21353,17 @@ "v1.1" ], "parent": { - "$ref": "520" + "$ref": "552" } }, { - "$id": "2903", + "$id": "2923", "kind": "client", "name": "Multivariate", "namespace": "AnomalyDetector.Multivariate", "methods": [ { - "$id": "2904", + "$id": "2924", "kind": "basic", "name": "GetMultivariateBatchDetectionResult", "accessibility": "public", @@ -21193,7 +21373,7 @@ "doc": "For asynchronous inference, get multivariate anomaly detection result based on\nresultId returned by the BatchDetectAnomaly api.", "summary": "Get Multivariate Anomaly Detection Result", "operation": { - "$id": "2905", + "$id": "2925", "name": "GetMultivariateBatchDetectionResult", "resourceName": "Multivariate", "summary": "Get Multivariate Anomaly Detection Result", @@ -21201,17 +21381,17 @@ "accessibility": "public", "parameters": [ { - "$id": "2906", + "$id": "2926", "name": "resultId", "nameInRequest": "resultId", "doc": "ID of a batch detection result.", "type": { - "$id": "2907", + "$id": "2927", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "2908", + "$id": "2928", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21230,24 +21410,11 @@ "skipUrlEncoding": false }, { - "$id": "2909", + "$id": "2929", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "2910", - "kind": "constant", - "name": "GetMultivariateBatchDetectionResultContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "2911", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -21262,12 +21429,12 @@ ], "responses": [ { - "$id": "2912", + "$id": "2930", "statusCodes": [ 200 ], "bodyType": { - "$ref": "260" + "$ref": "292" }, "headers": [], "isErrorResponse": false, @@ -21286,22 +21453,22 @@ "decorators": [], "examples": [ { - "$id": "2913", + "$id": "2931", "kind": "http", "name": "Get multivariate batch detection result", "description": "Get multivariate batch detection result", "filePath": "v1.1/GetResult.json", "parameters": [ { - "$id": "2914", + "$id": "2932", "parameter": { - "$ref": "2906" + "$ref": "2926" }, "value": { - "$id": "2915", + "$id": "2933", "kind": "string", "type": { - "$ref": "2907" + "$ref": "2927" }, "value": "663884e6-b117-11ea-b3de-0242ac130004" } @@ -21309,37 +21476,37 @@ ], "responses": [ { - "$id": "2916", + "$id": "2934", "response": { - "$ref": "2912" + "$ref": "2930" }, "statusCode": 200, "bodyValue": { - "$id": "2917", + "$id": "2935", "kind": "model", "type": { - "$ref": "260" + "$ref": "292" }, "value": { - "$id": "2918", + "$id": "2936", "resultId": { - "$id": "2919", + "$id": "2937", "kind": "string", "type": { - "$ref": "262" + "$ref": "294" }, "value": "663884e6-b117-11ea-b3de-0242ac130004" }, "summary": { - "$id": "2920", + "$id": "2938", "kind": "model", "type": { - "$ref": "267" + "$ref": "299" }, "value": { - "$id": "2921", + "$id": "2939", "status": { - "$id": "2922", + "$id": "2940", "kind": "string", "type": { "$ref": "60" @@ -21347,165 +21514,165 @@ "value": "READY" }, "errors": { - "$id": "2923", + "$id": "2941", "kind": "array", "type": { - "$ref": "272" + "$ref": "304" }, "value": [] }, "variableStates": { - "$id": "2924", + "$id": "2942", "kind": "array", "type": { - "$ref": "285" + "$ref": "317" }, "value": [ { - "$id": "2925", + "$id": "2943", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "2926", + "$id": "2944", "variable": { - "$id": "2927", + "$id": "2945", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "variable_1" }, "filledNARatio": { - "$id": "2928", + "$id": "2946", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "2929", + "$id": "2947", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 30 }, "firstTimestamp": { - "$id": "2930", + "$id": "2948", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2021-01-01T00:00:00Z" }, "lastTimestamp": { - "$id": "2931", + "$id": "2949", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2021-01-01T00:29:00Z" } } }, { - "$id": "2932", + "$id": "2950", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "2933", + "$id": "2951", "variable": { - "$id": "2934", + "$id": "2952", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "variable_2" }, "filledNARatio": { - "$id": "2935", + "$id": "2953", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "2936", + "$id": "2954", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 30 }, "firstTimestamp": { - "$id": "2937", + "$id": "2955", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2021-01-01T00:00:00Z" }, "lastTimestamp": { - "$id": "2938", + "$id": "2956", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2021-01-01T00:29:00Z" } } }, { - "$id": "2939", + "$id": "2957", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "2940", + "$id": "2958", "variable": { - "$id": "2941", + "$id": "2959", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "variable_3" }, "filledNARatio": { - "$id": "2942", + "$id": "2960", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "2943", + "$id": "2961", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 30 }, "firstTimestamp": { - "$id": "2944", + "$id": "2962", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2021-01-01T00:00:00Z" }, "lastTimestamp": { - "$id": "2945", + "$id": "2963", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2021-01-01T00:29:00Z" } @@ -21514,42 +21681,42 @@ ] }, "setupInfo": { - "$id": "2946", + "$id": "2964", "kind": "model", "type": { - "$ref": "312" + "$ref": "344" }, "value": { - "$id": "2947", + "$id": "2965", "dataSource": { - "$id": "2948", + "$id": "2966", "kind": "string", "type": { - "$ref": "314" + "$ref": "346" }, "value": "https://multiadsample.blob.core.windows.net/data/sample_data_2_1000.csv" }, "topContributorCount": { - "$id": "2949", + "$id": "2967", "kind": "number", "type": { - "$ref": "318" + "$ref": "350" }, "value": 10 }, "startTime": { - "$id": "2950", + "$id": "2968", "kind": "string", "type": { - "$ref": "322" + "$ref": "354" }, "value": "2021-01-01T00:00:00Z" }, "endTime": { - "$id": "2951", + "$id": "2969", "kind": "string", "type": { - "$ref": "327" + "$ref": "359" }, "value": "2021-01-01T00:29:00Z" } @@ -21558,179 +21725,179 @@ } }, "results": { - "$id": "2952", + "$id": "2970", "kind": "array", "type": { - "$ref": "336" + "$ref": "368" }, "value": [ { - "$id": "2953", + "$id": "2971", "kind": "model", "type": { - "$ref": "337" + "$ref": "369" }, "value": { - "$id": "2954", + "$id": "2972", "timestamp": { - "$id": "2955", + "$id": "2973", "kind": "string", "type": { - "$ref": "339" + "$ref": "371" }, "value": "2021-01-01T00:28:00Z" }, "value": { - "$id": "2956", + "$id": "2974", "kind": "model", "type": { - "$ref": "344" + "$ref": "376" }, "value": { - "$id": "2957", + "$id": "2975", "isAnomaly": { - "$id": "2958", + "$id": "2976", "kind": "boolean", "type": { - "$ref": "346" + "$ref": "378" }, "value": false }, "severity": { - "$id": "2959", + "$id": "2977", "kind": "number", "type": { - "$ref": "350" + "$ref": "382" }, "value": 0 }, "score": { - "$id": "2960", + "$id": "2978", "kind": "number", "type": { - "$ref": "354" + "$ref": "386" }, "value": 0.6928471326828003 } } }, "errors": { - "$id": "2961", + "$id": "2979", "kind": "array", "type": { - "$ref": "272" + "$ref": "304" }, "value": [] } } }, { - "$id": "2962", + "$id": "2980", "kind": "model", "type": { - "$ref": "337" + "$ref": "369" }, "value": { - "$id": "2963", + "$id": "2981", "timestamp": { - "$id": "2964", + "$id": "2982", "kind": "string", "type": { - "$ref": "339" + "$ref": "371" }, "value": "2021-01-01T00:29:00Z" }, "value": { - "$id": "2965", + "$id": "2983", "kind": "model", "type": { - "$ref": "344" + "$ref": "376" }, "value": { - "$id": "2966", + "$id": "2984", "isAnomaly": { - "$id": "2967", + "$id": "2985", "kind": "boolean", "type": { - "$ref": "346" + "$ref": "378" }, "value": true }, "severity": { - "$id": "2968", + "$id": "2986", "kind": "number", "type": { - "$ref": "350" + "$ref": "382" }, "value": 0.5337404608726501 }, "score": { - "$id": "2969", + "$id": "2987", "kind": "number", "type": { - "$ref": "354" + "$ref": "386" }, "value": 0.9171165823936462 }, "interpretation": { - "$id": "2970", + "$id": "2988", "kind": "array", "type": { - "$ref": "358" + "$ref": "390" }, "value": [ { - "$id": "2971", + "$id": "2989", "kind": "model", "type": { - "$ref": "359" + "$ref": "391" }, "value": { - "$id": "2972", + "$id": "2990", "variable": { - "$id": "2973", + "$id": "2991", "kind": "string", "type": { - "$ref": "361" + "$ref": "393" }, "value": "variable_2" }, "contributionScore": { - "$id": "2974", + "$id": "2992", "kind": "number", "type": { - "$ref": "365" + "$ref": "397" }, "value": 0.5371576215 }, "correlationChanges": { - "$id": "2975", + "$id": "2993", "kind": "model", "type": { - "$ref": "369" + "$ref": "401" }, "value": { - "$id": "2976", + "$id": "2994", "changedVariables": { - "$id": "2977", + "$id": "2995", "kind": "array", "type": { - "$ref": "371" + "$ref": "403" }, "value": [ { - "$id": "2978", + "$id": "2996", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "variable_1" }, { - "$id": "2979", + "$id": "2997", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "variable_3" } @@ -21741,49 +21908,49 @@ } }, { - "$id": "2980", + "$id": "2998", "kind": "model", "type": { - "$ref": "359" + "$ref": "391" }, "value": { - "$id": "2981", + "$id": "2999", "variable": { - "$id": "2982", + "$id": "3000", "kind": "string", "type": { - "$ref": "361" + "$ref": "393" }, "value": "variable_3" }, "contributionScore": { - "$id": "2983", + "$id": "3001", "kind": "number", "type": { - "$ref": "365" + "$ref": "397" }, "value": 0.3324159383 }, "correlationChanges": { - "$id": "2984", + "$id": "3002", "kind": "model", "type": { - "$ref": "369" + "$ref": "401" }, "value": { - "$id": "2985", + "$id": "3003", "changedVariables": { - "$id": "2986", + "$id": "3004", "kind": "array", "type": { - "$ref": "371" + "$ref": "403" }, "value": [ { - "$id": "2987", + "$id": "3005", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "variable_2" } @@ -21794,42 +21961,42 @@ } }, { - "$id": "2988", + "$id": "3006", "kind": "model", "type": { - "$ref": "359" + "$ref": "391" }, "value": { - "$id": "2989", + "$id": "3007", "variable": { - "$id": "2990", + "$id": "3008", "kind": "string", "type": { - "$ref": "361" + "$ref": "393" }, "value": "variable_1" }, "contributionScore": { - "$id": "2991", + "$id": "3009", "kind": "number", "type": { - "$ref": "365" + "$ref": "397" }, "value": 0.1304264402 }, "correlationChanges": { - "$id": "2992", + "$id": "3010", "kind": "model", "type": { - "$ref": "369" + "$ref": "401" }, "value": { - "$id": "2993", + "$id": "3011", "changedVariables": { - "$id": "2994", + "$id": "3012", "kind": "array", "type": { - "$ref": "371" + "$ref": "403" }, "value": [] } @@ -21854,17 +22021,17 @@ }, "parameters": [ { - "$id": "2995", + "$id": "3013", "name": "resultId", "nameInRequest": "resultId", "doc": "ID of a batch detection result.", "type": { - "$id": "2996", + "$id": "3014", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "2997", + "$id": "3015", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21883,11 +22050,11 @@ "skipUrlEncoding": false }, { - "$id": "2998", + "$id": "3016", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "2910" + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -21901,9 +22068,9 @@ } ], "response": { - "$id": "2999", + "$id": "3017", "type": { - "$ref": "260" + "$ref": "292" } }, "isOverride": false, @@ -21912,7 +22079,7 @@ "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.GetMultivariateBatchDetectionResult" }, { - "$id": "3000", + "$id": "3018", "kind": "basic", "name": "TrainMultivariateModel", "accessibility": "public", @@ -21922,7 +22089,7 @@ "doc": "Create and train a multivariate anomaly detection model. The request must\ninclude a source parameter to indicate an externally accessible Azure blob\nstorage URI.There are two types of data input: An URI pointed to an Azure blob\nstorage folder which contains multiple CSV files, and each CSV file contains\ntwo columns, timestamp and variable. Another type of input is an URI pointed to\na CSV file in Azure blob storage, which contains all the variables and a\ntimestamp column.", "summary": "Train a Multivariate Anomaly Detection Model", "operation": { - "$id": "3001", + "$id": "3019", "name": "TrainMultivariateModel", "resourceName": "Multivariate", "summary": "Train a Multivariate Anomaly Detection Model", @@ -21930,25 +22097,12 @@ "accessibility": "public", "parameters": [ { - "$id": "3002", + "$id": "3020", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "3003", - "kind": "constant", - "name": "TrainMultivariateModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "3004", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -21961,24 +22115,11 @@ "skipUrlEncoding": false }, { - "$id": "3005", + "$id": "3021", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "3006", - "kind": "constant", - "name": "TrainMultivariateModelContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "3007", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -21991,12 +22132,12 @@ "skipUrlEncoding": false }, { - "$id": "3008", + "$id": "3022", "name": "modelInfo", "nameInRequest": "modelInfo", "doc": "Model information.", "type": { - "$ref": "386" + "$ref": "418" }, "location": "Body", "isApiVersion": false, @@ -22011,21 +22152,21 @@ ], "responses": [ { - "$id": "3009", + "$id": "3023", "statusCodes": [ 201 ], "bodyType": { - "$ref": "457" + "$ref": "489" }, "headers": [ { - "$id": "3010", + "$id": "3024", "name": "Location", "nameInResponse": "location", "doc": "Location and ID of the model.", "type": { - "$id": "3011", + "$id": "3025", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22052,57 +22193,57 @@ "decorators": [], "examples": [ { - "$id": "3012", + "$id": "3026", "kind": "http", "name": "Create and train multivariate model", "description": "Create and train multivariate model", "filePath": "v1.1/TrainModel.json", "parameters": [ { - "$id": "3013", + "$id": "3027", "parameter": { - "$ref": "3002" + "$ref": "3020" }, "value": { - "$id": "3014", + "$id": "3028", "kind": "string", "type": { - "$ref": "3003" + "$ref": "122" }, "value": "application/json" } }, { - "$id": "3015", + "$id": "3029", "parameter": { - "$ref": "3008" + "$ref": "3022" }, "value": { - "$id": "3016", + "$id": "3030", "kind": "model", "type": { - "$ref": "386" + "$ref": "418" }, "value": { - "$id": "3017", + "$id": "3031", "slidingWindow": { - "$id": "3018", + "$id": "3032", "kind": "number", "type": { - "$ref": "409" + "$ref": "441" }, "value": 20 }, "alignPolicy": { - "$id": "3019", + "$id": "3033", "kind": "model", "type": { - "$ref": "413" + "$ref": "445" }, "value": { - "$id": "3020", + "$id": "3034", "alignMode": { - "$id": "3021", + "$id": "3035", "kind": "string", "type": { "$ref": "76" @@ -22110,7 +22251,7 @@ "value": "Outer" }, "fillNAMethod": { - "$id": "3022", + "$id": "3036", "kind": "string", "type": { "$ref": "82" @@ -22118,25 +22259,25 @@ "value": "Linear" }, "paddingValue": { - "$id": "3023", + "$id": "3037", "kind": "number", "type": { - "$ref": "421" + "$ref": "453" }, "value": 0 } } }, "dataSource": { - "$id": "3024", + "$id": "3038", "kind": "string", "type": { - "$ref": "388" + "$ref": "420" }, "value": "https://multiadsample.blob.core.windows.net/data/sample_data_2_1000.csv" }, "dataSchema": { - "$id": "3025", + "$id": "3039", "kind": "string", "type": { "$ref": "70" @@ -22144,26 +22285,26 @@ "value": "OneTable" }, "startTime": { - "$id": "3026", + "$id": "3040", "kind": "string", "type": { - "$ref": "395" + "$ref": "427" }, "value": "2019-04-01T00:00:00Z" }, "endTime": { - "$id": "3027", + "$id": "3041", "kind": "string", "type": { - "$ref": "400" + "$ref": "432" }, "value": "2019-04-02T00:00:00Z" }, "displayName": { - "$id": "3028", + "$id": "3042", "kind": "string", "type": { - "$ref": "405" + "$ref": "437" }, "value": "Devops-MultiAD" } @@ -22173,69 +22314,69 @@ ], "responses": [ { - "$id": "3029", + "$id": "3043", "response": { - "$ref": "3009" + "$ref": "3023" }, "statusCode": 201, "bodyValue": { - "$id": "3030", + "$id": "3044", "kind": "model", "type": { - "$ref": "457" + "$ref": "489" }, "value": { - "$id": "3031", + "$id": "3045", "modelId": { - "$id": "3032", + "$id": "3046", "kind": "string", "type": { - "$ref": "459" + "$ref": "491" }, "value": "45aad126-aafd-11ea-b8fb-d89ef3400c5f" }, "createdTime": { - "$id": "3033", + "$id": "3047", "kind": "string", "type": { - "$ref": "464" + "$ref": "496" }, "value": "2020-06-30T00:00:00Z" }, "lastUpdatedTime": { - "$id": "3034", + "$id": "3048", "kind": "string", "type": { - "$ref": "469" + "$ref": "501" }, "value": "2020-06-30T00:00:00Z" }, "modelInfo": { - "$id": "3035", + "$id": "3049", "kind": "model", "type": { - "$ref": "386" + "$ref": "418" }, "value": { - "$id": "3036", + "$id": "3050", "slidingWindow": { - "$id": "3037", + "$id": "3051", "kind": "number", "type": { - "$ref": "409" + "$ref": "441" }, "value": 20 }, "alignPolicy": { - "$id": "3038", + "$id": "3052", "kind": "model", "type": { - "$ref": "413" + "$ref": "445" }, "value": { - "$id": "3039", + "$id": "3053", "alignMode": { - "$id": "3040", + "$id": "3054", "kind": "string", "type": { "$ref": "76" @@ -22243,7 +22384,7 @@ "value": "Outer" }, "fillNAMethod": { - "$id": "3041", + "$id": "3055", "kind": "string", "type": { "$ref": "82" @@ -22251,25 +22392,25 @@ "value": "Linear" }, "paddingValue": { - "$id": "3042", + "$id": "3056", "kind": "number", "type": { - "$ref": "421" + "$ref": "453" }, "value": 0 } } }, "dataSource": { - "$id": "3043", + "$id": "3057", "kind": "string", "type": { - "$ref": "388" + "$ref": "420" }, "value": "https://multiadsample.blob.core.windows.net/data/sample_data_2_1000.csv" }, "dataSchema": { - "$id": "3044", + "$id": "3058", "kind": "string", "type": { "$ref": "70" @@ -22277,31 +22418,31 @@ "value": "OneTable" }, "startTime": { - "$id": "3045", + "$id": "3059", "kind": "string", "type": { - "$ref": "395" + "$ref": "427" }, "value": "2019-04-01T00:00:00Z" }, "endTime": { - "$id": "3046", + "$id": "3060", "kind": "string", "type": { - "$ref": "400" + "$ref": "432" }, "value": "2019-04-02T00:00:00Z" }, "displayName": { - "$id": "3047", + "$id": "3061", "kind": "string", "type": { - "$ref": "405" + "$ref": "437" }, "value": "Devops-MultiAD" }, "status": { - "$id": "3048", + "$id": "3062", "kind": "string", "type": { "$ref": "94" @@ -22309,10 +22450,10 @@ "value": "CREATED" }, "errors": { - "$id": "3049", + "$id": "3063", "kind": "array", "type": { - "$ref": "272" + "$ref": "304" }, "value": [] } @@ -22327,12 +22468,12 @@ }, "parameters": [ { - "$id": "3050", + "$id": "3064", "name": "modelInfo", "nameInRequest": "modelInfo", "doc": "Model information.", "type": { - "$ref": "386" + "$ref": "418" }, "location": "Body", "isApiVersion": false, @@ -22345,12 +22486,12 @@ "skipUrlEncoding": false }, { - "$id": "3051", + "$id": "3065", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "3003" + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -22363,11 +22504,11 @@ "skipUrlEncoding": false }, { - "$id": "3052", + "$id": "3066", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "3006" + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -22381,9 +22522,9 @@ } ], "response": { - "$id": "3053", + "$id": "3067", "type": { - "$ref": "457" + "$ref": "489" } }, "isOverride": false, @@ -22392,7 +22533,7 @@ "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.TrainMultivariateModel" }, { - "$id": "3054", + "$id": "3068", "kind": "paging", "name": "ListMultivariateModels", "accessibility": "public", @@ -22402,7 +22543,7 @@ "doc": "List models of a resource.", "summary": "List Multivariate Models", "operation": { - "$id": "3055", + "$id": "3069", "name": "ListMultivariateModels", "resourceName": "Multivariate", "summary": "List Multivariate Models", @@ -22410,12 +22551,12 @@ "accessibility": "public", "parameters": [ { - "$id": "3056", + "$id": "3070", "name": "skip", "nameInRequest": "skip", "doc": "Skip indicates how many models will be skipped.", "type": { - "$id": "3057", + "$id": "3071", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -22432,12 +22573,12 @@ "skipUrlEncoding": false }, { - "$id": "3058", + "$id": "3072", "name": "top", "nameInRequest": "top", "doc": "Top indicates how many models will be fetched.", "type": { - "$id": "3059", + "$id": "3073", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -22454,24 +22595,11 @@ "skipUrlEncoding": false }, { - "$id": "3060", + "$id": "3074", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "3061", - "kind": "constant", - "name": "ListMultivariateModelsContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "3062", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -22486,12 +22614,12 @@ ], "responses": [ { - "$id": "3063", + "$id": "3075", "statusCodes": [ 200 ], "bodyType": { - "$ref": "476" + "$ref": "508" }, "headers": [], "isErrorResponse": false, @@ -22510,36 +22638,36 @@ "decorators": [], "examples": [ { - "$id": "3064", + "$id": "3076", "kind": "http", "name": "List multivariate models", "description": "List multivariate models", "filePath": "v1.1/ListModel.json", "parameters": [ { - "$id": "3065", + "$id": "3077", "parameter": { - "$ref": "3056" + "$ref": "3070" }, "value": { - "$id": "3066", + "$id": "3078", "kind": "number", "type": { - "$ref": "3057" + "$ref": "3071" }, "value": 0 } }, { - "$id": "3067", + "$id": "3079", "parameter": { - "$ref": "3058" + "$ref": "3072" }, "value": { - "$id": "3068", + "$id": "3080", "kind": "number", "type": { - "$ref": "3059" + "$ref": "3073" }, "value": 10 } @@ -22547,84 +22675,84 @@ ], "responses": [ { - "$id": "3069", + "$id": "3081", "response": { - "$ref": "3063" + "$ref": "3075" }, "statusCode": 200, "bodyValue": { - "$id": "3070", + "$id": "3082", "kind": "model", "type": { - "$ref": "476" + "$ref": "508" }, "value": { - "$id": "3071", + "$id": "3083", "models": { - "$id": "3072", + "$id": "3084", "kind": "array", "type": { - "$ref": "478" + "$ref": "510" }, "value": [ { - "$id": "3073", + "$id": "3085", "kind": "model", "type": { - "$ref": "457" + "$ref": "489" }, "value": { - "$id": "3074", + "$id": "3086", "modelId": { - "$id": "3075", + "$id": "3087", "kind": "string", "type": { - "$ref": "459" + "$ref": "491" }, "value": "45aad126-aafd-11ea-b8fb-d89ef3400c5f" }, "createdTime": { - "$id": "3076", + "$id": "3088", "kind": "string", "type": { - "$ref": "464" + "$ref": "496" }, "value": "2020-06-30T00:00:00Z" }, "lastUpdatedTime": { - "$id": "3077", + "$id": "3089", "kind": "string", "type": { - "$ref": "469" + "$ref": "501" }, "value": "2020-06-30T00:00:00Z" }, "modelInfo": { - "$id": "3078", + "$id": "3090", "kind": "model", "type": { - "$ref": "386" + "$ref": "418" }, "value": { - "$id": "3079", + "$id": "3091", "slidingWindow": { - "$id": "3080", + "$id": "3092", "kind": "number", "type": { - "$ref": "409" + "$ref": "441" }, "value": 20 }, "alignPolicy": { - "$id": "3081", + "$id": "3093", "kind": "model", "type": { - "$ref": "413" + "$ref": "445" }, "value": { - "$id": "3082", + "$id": "3094", "alignMode": { - "$id": "3083", + "$id": "3095", "kind": "string", "type": { "$ref": "76" @@ -22632,7 +22760,7 @@ "value": "Outer" }, "fillNAMethod": { - "$id": "3084", + "$id": "3096", "kind": "string", "type": { "$ref": "82" @@ -22640,25 +22768,25 @@ "value": "Linear" }, "paddingValue": { - "$id": "3085", + "$id": "3097", "kind": "number", "type": { - "$ref": "421" + "$ref": "453" }, "value": 0 } } }, "dataSource": { - "$id": "3086", + "$id": "3098", "kind": "string", "type": { - "$ref": "388" + "$ref": "420" }, "value": "https://multiadsample.blob.core.windows.net/data/sample_data_2_1000.csv" }, "dataSchema": { - "$id": "3087", + "$id": "3099", "kind": "string", "type": { "$ref": "70" @@ -22666,31 +22794,31 @@ "value": "OneTable" }, "startTime": { - "$id": "3088", + "$id": "3100", "kind": "string", "type": { - "$ref": "395" + "$ref": "427" }, "value": "2019-04-01T00:00:00Z" }, "endTime": { - "$id": "3089", + "$id": "3101", "kind": "string", "type": { - "$ref": "400" + "$ref": "432" }, "value": "2019-04-02T00:00:00Z" }, "displayName": { - "$id": "3090", + "$id": "3102", "kind": "string", "type": { - "$ref": "405" + "$ref": "437" }, "value": "Devops-MultiAD" }, "status": { - "$id": "3091", + "$id": "3103", "kind": "string", "type": { "$ref": "94" @@ -22698,380 +22826,380 @@ "value": "READY" }, "errors": { - "$id": "3092", + "$id": "3104", "kind": "array", "type": { - "$ref": "272" + "$ref": "304" }, "value": [] }, "diagnosticsInfo": { - "$id": "3093", + "$id": "3105", "kind": "model", "type": { - "$ref": "433" + "$ref": "465" }, "value": { - "$id": "3094", + "$id": "3106", "modelState": { - "$id": "3095", + "$id": "3107", "kind": "model", "type": { - "$ref": "435" + "$ref": "467" }, "value": { - "$id": "3096", + "$id": "3108", "epochIds": { - "$id": "3097", + "$id": "3109", "kind": "array", "type": { - "$ref": "437" + "$ref": "469" }, "value": [ { - "$id": "3098", + "$id": "3110", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 10 }, { - "$id": "3099", + "$id": "3111", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 20 }, { - "$id": "3100", + "$id": "3112", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 30 }, { - "$id": "3101", + "$id": "3113", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 40 }, { - "$id": "3102", + "$id": "3114", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 50 }, { - "$id": "3103", + "$id": "3115", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 60 }, { - "$id": "3104", + "$id": "3116", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 70 }, { - "$id": "3105", + "$id": "3117", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 80 }, { - "$id": "3106", + "$id": "3118", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 90 }, { - "$id": "3107", + "$id": "3119", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 100 } ] }, "trainLosses": { - "$id": "3108", + "$id": "3120", "kind": "array", "type": { - "$ref": "155" + "$ref": "187" }, "value": [ { - "$id": "3109", + "$id": "3121", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.6291328072547913 }, { - "$id": "3110", + "$id": "3122", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.1671326905488968 }, { - "$id": "3111", + "$id": "3123", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.12354248017072678 }, { - "$id": "3112", + "$id": "3124", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.10259664058685303 }, { - "$id": "3113", + "$id": "3125", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.09584927558898926 }, { - "$id": "3114", + "$id": "3126", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.09069952368736267 }, { - "$id": "3115", + "$id": "3127", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.08686016499996185 }, { - "$id": "3116", + "$id": "3128", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.08603022992610931 }, { - "$id": "3117", + "$id": "3129", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.08287354558706284 }, { - "$id": "3118", + "$id": "3130", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.08235538005828857 } ] }, "validationLosses": { - "$id": "3119", + "$id": "3131", "kind": "array", "type": { - "$ref": "155" + "$ref": "187" }, "value": [ { - "$id": "3120", + "$id": "3132", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 1.9232804775238037 }, { - "$id": "3121", + "$id": "3133", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 1.0645641088485718 }, { - "$id": "3122", + "$id": "3134", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.6031560301780701 }, { - "$id": "3123", + "$id": "3135", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.5302737951278687 }, { - "$id": "3124", + "$id": "3136", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.46980252861976624 }, { - "$id": "3125", + "$id": "3137", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.4395163357257843 }, { - "$id": "3126", + "$id": "3138", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.41829314827919006 }, { - "$id": "3127", + "$id": "3139", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.40579143166542053 }, { - "$id": "3128", + "$id": "3140", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.405649870634079 }, { - "$id": "3129", + "$id": "3141", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.38492488861083984 } ] }, "latenciesInSeconds": { - "$id": "3130", + "$id": "3142", "kind": "array", "type": { - "$ref": "155" + "$ref": "187" }, "value": [ { - "$id": "3131", + "$id": "3143", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.3398594856262207 }, { - "$id": "3132", + "$id": "3144", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.3659665584564209 }, { - "$id": "3133", + "$id": "3145", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.37360644340515137 }, { - "$id": "3134", + "$id": "3146", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.35134077072143555 }, { - "$id": "3135", + "$id": "3147", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.33703041076660156 }, { - "$id": "3136", + "$id": "3148", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.31876277923583984 }, { - "$id": "3137", + "$id": "3149", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.32833099365234375 }, { - "$id": "3138", + "$id": "3150", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.3503587245941162 }, { - "$id": "3139", + "$id": "3151", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.3080024719238281 }, { - "$id": "3140", + "$id": "3152", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.3327946662902832 } @@ -23080,457 +23208,457 @@ } }, "variableStates": { - "$id": "3141", + "$id": "3153", "kind": "array", "type": { - "$ref": "285" + "$ref": "317" }, "value": [ { - "$id": "3142", + "$id": "3154", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3143", + "$id": "3155", "variable": { - "$id": "3144", + "$id": "3156", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "ad_input" }, "filledNARatio": { - "$id": "3145", + "$id": "3157", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3146", + "$id": "3158", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3147", + "$id": "3159", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3148", + "$id": "3160", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3149", + "$id": "3161", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3150", + "$id": "3162", "variable": { - "$id": "3151", + "$id": "3163", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "ad_ontimer_output" }, "filledNARatio": { - "$id": "3152", + "$id": "3164", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3153", + "$id": "3165", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3154", + "$id": "3166", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3155", + "$id": "3167", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3156", + "$id": "3168", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3157", + "$id": "3169", "variable": { - "$id": "3158", + "$id": "3170", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "ingestion" }, "filledNARatio": { - "$id": "3159", + "$id": "3171", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3160", + "$id": "3172", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3161", + "$id": "3173", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3162", + "$id": "3174", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3163", + "$id": "3175", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3164", + "$id": "3176", "variable": { - "$id": "3165", + "$id": "3177", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "data_in_speed" }, "filledNARatio": { - "$id": "3166", + "$id": "3178", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3167", + "$id": "3179", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3168", + "$id": "3180", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3169", + "$id": "3181", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3170", + "$id": "3182", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3171", + "$id": "3183", "variable": { - "$id": "3172", + "$id": "3184", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "cpu" }, "filledNARatio": { - "$id": "3173", + "$id": "3185", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3174", + "$id": "3186", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3175", + "$id": "3187", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3176", + "$id": "3188", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3177", + "$id": "3189", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3178", + "$id": "3190", "variable": { - "$id": "3179", + "$id": "3191", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "ad_series_init" }, "filledNARatio": { - "$id": "3180", + "$id": "3192", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3181", + "$id": "3193", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3182", + "$id": "3194", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3183", + "$id": "3195", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3184", + "$id": "3196", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3185", + "$id": "3197", "variable": { - "$id": "3186", + "$id": "3198", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "flink_last_ckpt_duration" }, "filledNARatio": { - "$id": "3187", + "$id": "3199", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3188", + "$id": "3200", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3189", + "$id": "3201", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3190", + "$id": "3202", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3191", + "$id": "3203", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3192", + "$id": "3204", "variable": { - "$id": "3193", + "$id": "3205", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "data_out_speed" }, "filledNARatio": { - "$id": "3194", + "$id": "3206", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3195", + "$id": "3207", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3196", + "$id": "3208", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3197", + "$id": "3209", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3198", + "$id": "3210", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3199", + "$id": "3211", "variable": { - "$id": "3200", + "$id": "3212", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "ad_output" }, "filledNARatio": { - "$id": "3201", + "$id": "3213", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3202", + "$id": "3214", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3203", + "$id": "3215", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3204", + "$id": "3216", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } @@ -23547,26 +23675,26 @@ ] }, "currentCount": { - "$id": "3205", + "$id": "3217", "kind": "number", "type": { - "$ref": "482" + "$ref": "514" }, "value": 1 }, "maxCount": { - "$id": "3206", + "$id": "3218", "kind": "number", "type": { - "$ref": "486" + "$ref": "518" }, "value": 20 }, "nextLink": { - "$id": "3207", + "$id": "3219", "kind": "string", "type": { - "$ref": "490" + "$ref": "522" }, "value": "" } @@ -23579,12 +23707,12 @@ }, "parameters": [ { - "$id": "3208", + "$id": "3220", "name": "skip", "nameInRequest": "skip", "doc": "Skip indicates how many models will be skipped.", "type": { - "$id": "3209", + "$id": "3221", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -23601,12 +23729,12 @@ "skipUrlEncoding": false }, { - "$id": "3210", + "$id": "3222", "name": "top", "nameInRequest": "top", "doc": "Top indicates how many models will be fetched.", "type": { - "$id": "3211", + "$id": "3223", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -23623,11 +23751,11 @@ "skipUrlEncoding": false }, { - "$id": "3212", + "$id": "3224", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "3061" + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -23641,9 +23769,9 @@ } ], "response": { - "$id": "3213", + "$id": "3225", "type": { - "$ref": "478" + "$ref": "510" }, "resultSegments": [ "models" @@ -23654,12 +23782,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.ListMultivariateModels", "pagingMetadata": { - "$id": "3214", + "$id": "3226", "itemPropertySegments": [ "models" ], "nextLink": { - "$id": "3215", + "$id": "3227", "responseSegments": [ "nextLink" ], @@ -23668,7 +23796,7 @@ } }, { - "$id": "3216", + "$id": "3228", "kind": "basic", "name": "DeleteMultivariateModel", "accessibility": "public", @@ -23678,7 +23806,7 @@ "doc": "Delete an existing multivariate model according to the modelId", "summary": "Delete Multivariate Model", "operation": { - "$id": "3217", + "$id": "3229", "name": "DeleteMultivariateModel", "resourceName": "Multivariate", "summary": "Delete Multivariate Model", @@ -23686,12 +23814,12 @@ "accessibility": "public", "parameters": [ { - "$id": "3218", + "$id": "3230", "name": "modelId", "nameInRequest": "modelId", "doc": "Model identifier.", "type": { - "$id": "3219", + "$id": "3231", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23708,24 +23836,11 @@ "skipUrlEncoding": false }, { - "$id": "3220", + "$id": "3232", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "3221", - "kind": "constant", - "name": "DeleteMultivariateModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "3222", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -23740,7 +23855,7 @@ ], "responses": [ { - "$id": "3223", + "$id": "3233", "statusCodes": [ 204 ], @@ -23758,22 +23873,22 @@ "decorators": [], "examples": [ { - "$id": "3224", + "$id": "3234", "kind": "http", "name": "Delete multivariate model", "description": "Delete multivariate model", "filePath": "v1.1/DeleteModel.json", "parameters": [ { - "$id": "3225", + "$id": "3235", "parameter": { - "$ref": "3218" + "$ref": "3230" }, "value": { - "$id": "3226", + "$id": "3236", "kind": "string", "type": { - "$ref": "3219" + "$ref": "3231" }, "value": "45aad126-aafd-11ea-b8fb-d89ef3400c5f" } @@ -23781,9 +23896,9 @@ ], "responses": [ { - "$id": "3227", + "$id": "3237", "response": { - "$ref": "3223" + "$ref": "3233" }, "statusCode": 204 } @@ -23793,12 +23908,12 @@ }, "parameters": [ { - "$id": "3228", + "$id": "3238", "name": "modelId", "nameInRequest": "modelId", "doc": "Model identifier.", "type": { - "$id": "3229", + "$id": "3239", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23815,11 +23930,11 @@ "skipUrlEncoding": false }, { - "$id": "3230", + "$id": "3240", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "3221" + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -23833,7 +23948,7 @@ } ], "response": { - "$id": "3231" + "$id": "3241" }, "isOverride": false, "generateConvenient": true, @@ -23841,7 +23956,7 @@ "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.DeleteMultivariateModel" }, { - "$id": "3232", + "$id": "3242", "kind": "basic", "name": "GetMultivariateModel", "accessibility": "public", @@ -23851,7 +23966,7 @@ "doc": "Get detailed information of multivariate model, including the training status\nand variables used in the model.", "summary": "Get Multivariate Model", "operation": { - "$id": "3233", + "$id": "3243", "name": "GetMultivariateModel", "resourceName": "Multivariate", "summary": "Get Multivariate Model", @@ -23859,12 +23974,12 @@ "accessibility": "public", "parameters": [ { - "$id": "3234", + "$id": "3244", "name": "modelId", "nameInRequest": "modelId", "doc": "Model identifier.", "type": { - "$id": "3235", + "$id": "3245", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23881,24 +23996,11 @@ "skipUrlEncoding": false }, { - "$id": "3236", + "$id": "3246", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "3237", - "kind": "constant", - "name": "GetMultivariateModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "3238", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -23913,12 +24015,12 @@ ], "responses": [ { - "$id": "3239", + "$id": "3247", "statusCodes": [ 200 ], "bodyType": { - "$ref": "457" + "$ref": "489" }, "headers": [], "isErrorResponse": false, @@ -23937,22 +24039,22 @@ "decorators": [], "examples": [ { - "$id": "3240", + "$id": "3248", "kind": "http", "name": "Get a multivariate model", "description": "Get a multivariate model", "filePath": "v1.1/GetModel.json", "parameters": [ { - "$id": "3241", + "$id": "3249", "parameter": { - "$ref": "3234" + "$ref": "3244" }, "value": { - "$id": "3242", + "$id": "3250", "kind": "string", "type": { - "$ref": "3235" + "$ref": "3245" }, "value": "45aad126-aafd-11ea-b8fb-d89ef3400c5f" } @@ -23960,69 +24062,69 @@ ], "responses": [ { - "$id": "3243", + "$id": "3251", "response": { - "$ref": "3239" + "$ref": "3247" }, "statusCode": 200, "bodyValue": { - "$id": "3244", + "$id": "3252", "kind": "model", "type": { - "$ref": "457" + "$ref": "489" }, "value": { - "$id": "3245", + "$id": "3253", "modelId": { - "$id": "3246", + "$id": "3254", "kind": "string", "type": { - "$ref": "459" + "$ref": "491" }, "value": "45aad126-aafd-11ea-b8fb-d89ef3400c5f" }, "createdTime": { - "$id": "3247", + "$id": "3255", "kind": "string", "type": { - "$ref": "464" + "$ref": "496" }, "value": "2020-06-30T00:00:00Z" }, "lastUpdatedTime": { - "$id": "3248", + "$id": "3256", "kind": "string", "type": { - "$ref": "469" + "$ref": "501" }, "value": "2020-06-30T00:00:00Z" }, "modelInfo": { - "$id": "3249", + "$id": "3257", "kind": "model", "type": { - "$ref": "386" + "$ref": "418" }, "value": { - "$id": "3250", + "$id": "3258", "slidingWindow": { - "$id": "3251", + "$id": "3259", "kind": "number", "type": { - "$ref": "409" + "$ref": "441" }, "value": 20 }, "alignPolicy": { - "$id": "3252", + "$id": "3260", "kind": "model", "type": { - "$ref": "413" + "$ref": "445" }, "value": { - "$id": "3253", + "$id": "3261", "alignMode": { - "$id": "3254", + "$id": "3262", "kind": "string", "type": { "$ref": "76" @@ -24030,7 +24132,7 @@ "value": "Outer" }, "fillNAMethod": { - "$id": "3255", + "$id": "3263", "kind": "string", "type": { "$ref": "82" @@ -24038,25 +24140,25 @@ "value": "Linear" }, "paddingValue": { - "$id": "3256", + "$id": "3264", "kind": "number", "type": { - "$ref": "421" + "$ref": "453" }, "value": 0 } } }, "dataSource": { - "$id": "3257", + "$id": "3265", "kind": "string", "type": { - "$ref": "388" + "$ref": "420" }, "value": "https://multiadsample.blob.core.windows.net/data/sample_data_2_1000.csv" }, "dataSchema": { - "$id": "3258", + "$id": "3266", "kind": "string", "type": { "$ref": "70" @@ -24064,31 +24166,31 @@ "value": "OneTable" }, "startTime": { - "$id": "3259", + "$id": "3267", "kind": "string", "type": { - "$ref": "395" + "$ref": "427" }, "value": "2019-04-01T00:00:00Z" }, "endTime": { - "$id": "3260", + "$id": "3268", "kind": "string", "type": { - "$ref": "400" + "$ref": "432" }, "value": "2019-04-02T00:00:00Z" }, "displayName": { - "$id": "3261", + "$id": "3269", "kind": "string", "type": { - "$ref": "405" + "$ref": "437" }, "value": "Devops-MultiAD" }, "status": { - "$id": "3262", + "$id": "3270", "kind": "string", "type": { "$ref": "94" @@ -24096,380 +24198,380 @@ "value": "READY" }, "errors": { - "$id": "3263", + "$id": "3271", "kind": "array", "type": { - "$ref": "272" + "$ref": "304" }, "value": [] }, "diagnosticsInfo": { - "$id": "3264", + "$id": "3272", "kind": "model", "type": { - "$ref": "433" + "$ref": "465" }, "value": { - "$id": "3265", + "$id": "3273", "modelState": { - "$id": "3266", + "$id": "3274", "kind": "model", "type": { - "$ref": "435" + "$ref": "467" }, "value": { - "$id": "3267", + "$id": "3275", "epochIds": { - "$id": "3268", + "$id": "3276", "kind": "array", "type": { - "$ref": "437" + "$ref": "469" }, "value": [ { - "$id": "3269", + "$id": "3277", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 10 }, { - "$id": "3270", + "$id": "3278", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 20 }, { - "$id": "3271", + "$id": "3279", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 30 }, { - "$id": "3272", + "$id": "3280", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 40 }, { - "$id": "3273", + "$id": "3281", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 50 }, { - "$id": "3274", + "$id": "3282", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 60 }, { - "$id": "3275", + "$id": "3283", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 70 }, { - "$id": "3276", + "$id": "3284", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 80 }, { - "$id": "3277", + "$id": "3285", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 90 }, { - "$id": "3278", + "$id": "3286", "kind": "number", "type": { - "$ref": "438" + "$ref": "470" }, "value": 100 } ] }, "trainLosses": { - "$id": "3279", + "$id": "3287", "kind": "array", "type": { - "$ref": "155" + "$ref": "187" }, "value": [ { - "$id": "3280", + "$id": "3288", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.6291328072547913 }, { - "$id": "3281", + "$id": "3289", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.1671326905488968 }, { - "$id": "3282", + "$id": "3290", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.12354248017072678 }, { - "$id": "3283", + "$id": "3291", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.10259664058685303 }, { - "$id": "3284", + "$id": "3292", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.09584927558898926 }, { - "$id": "3285", + "$id": "3293", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.09069952368736267 }, { - "$id": "3286", + "$id": "3294", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.08686016499996185 }, { - "$id": "3287", + "$id": "3295", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.08603022992610931 }, { - "$id": "3288", + "$id": "3296", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.08287354558706284 }, { - "$id": "3289", + "$id": "3297", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.08235538005828857 } ] }, "validationLosses": { - "$id": "3290", + "$id": "3298", "kind": "array", "type": { - "$ref": "155" + "$ref": "187" }, "value": [ { - "$id": "3291", + "$id": "3299", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 1.9232804775238037 }, { - "$id": "3292", + "$id": "3300", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 1.0645641088485718 }, { - "$id": "3293", + "$id": "3301", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.6031560301780701 }, { - "$id": "3294", + "$id": "3302", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.5302737951278687 }, { - "$id": "3295", + "$id": "3303", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.46980252861976624 }, { - "$id": "3296", + "$id": "3304", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.4395163357257843 }, { - "$id": "3297", + "$id": "3305", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.41829314827919006 }, { - "$id": "3298", + "$id": "3306", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.40579143166542053 }, { - "$id": "3299", + "$id": "3307", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.405649870634079 }, { - "$id": "3300", + "$id": "3308", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.38492488861083984 } ] }, "latenciesInSeconds": { - "$id": "3301", + "$id": "3309", "kind": "array", "type": { - "$ref": "155" + "$ref": "187" }, "value": [ { - "$id": "3302", + "$id": "3310", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.3398594856262207 }, { - "$id": "3303", + "$id": "3311", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.3659665584564209 }, { - "$id": "3304", + "$id": "3312", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.37360644340515137 }, { - "$id": "3305", + "$id": "3313", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.35134077072143555 }, { - "$id": "3306", + "$id": "3314", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.33703041076660156 }, { - "$id": "3307", + "$id": "3315", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.31876277923583984 }, { - "$id": "3308", + "$id": "3316", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.32833099365234375 }, { - "$id": "3309", + "$id": "3317", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.3503587245941162 }, { - "$id": "3310", + "$id": "3318", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.3080024719238281 }, { - "$id": "3311", + "$id": "3319", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.3327946662902832 } @@ -24478,457 +24580,457 @@ } }, "variableStates": { - "$id": "3312", + "$id": "3320", "kind": "array", "type": { - "$ref": "285" + "$ref": "317" }, "value": [ { - "$id": "3313", + "$id": "3321", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3314", + "$id": "3322", "variable": { - "$id": "3315", + "$id": "3323", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "ad_input" }, "filledNARatio": { - "$id": "3316", + "$id": "3324", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3317", + "$id": "3325", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3318", + "$id": "3326", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3319", + "$id": "3327", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3320", + "$id": "3328", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3321", + "$id": "3329", "variable": { - "$id": "3322", + "$id": "3330", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "ad_ontimer_output" }, "filledNARatio": { - "$id": "3323", + "$id": "3331", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3324", + "$id": "3332", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3325", + "$id": "3333", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3326", + "$id": "3334", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3327", + "$id": "3335", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3328", + "$id": "3336", "variable": { - "$id": "3329", + "$id": "3337", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "ingestion" }, "filledNARatio": { - "$id": "3330", + "$id": "3338", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3331", + "$id": "3339", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3332", + "$id": "3340", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3333", + "$id": "3341", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3334", + "$id": "3342", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3335", + "$id": "3343", "variable": { - "$id": "3336", + "$id": "3344", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "data_in_speed" }, "filledNARatio": { - "$id": "3337", + "$id": "3345", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3338", + "$id": "3346", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3339", + "$id": "3347", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3340", + "$id": "3348", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3341", + "$id": "3349", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3342", + "$id": "3350", "variable": { - "$id": "3343", + "$id": "3351", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "cpu" }, "filledNARatio": { - "$id": "3344", + "$id": "3352", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3345", + "$id": "3353", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3346", + "$id": "3354", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3347", + "$id": "3355", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3348", + "$id": "3356", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3349", + "$id": "3357", "variable": { - "$id": "3350", + "$id": "3358", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "ad_series_init" }, "filledNARatio": { - "$id": "3351", + "$id": "3359", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3352", + "$id": "3360", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3353", + "$id": "3361", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3354", + "$id": "3362", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3355", + "$id": "3363", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3356", + "$id": "3364", "variable": { - "$id": "3357", + "$id": "3365", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "flink_last_ckpt_duration" }, "filledNARatio": { - "$id": "3358", + "$id": "3366", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3359", + "$id": "3367", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3360", + "$id": "3368", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3361", + "$id": "3369", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3362", + "$id": "3370", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3363", + "$id": "3371", "variable": { - "$id": "3364", + "$id": "3372", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "data_out_speed" }, "filledNARatio": { - "$id": "3365", + "$id": "3373", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3366", + "$id": "3374", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3367", + "$id": "3375", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3368", + "$id": "3376", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } } }, { - "$id": "3369", + "$id": "3377", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { - "$id": "3370", + "$id": "3378", "variable": { - "$id": "3371", + "$id": "3379", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "ad_output" }, "filledNARatio": { - "$id": "3372", + "$id": "3380", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, "effectiveCount": { - "$id": "3373", + "$id": "3381", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 1441 }, "firstTimestamp": { - "$id": "3374", + "$id": "3382", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3375", + "$id": "3383", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2019-04-02T00:00:00Z" } @@ -24949,12 +25051,12 @@ }, "parameters": [ { - "$id": "3376", + "$id": "3384", "name": "modelId", "nameInRequest": "modelId", "doc": "Model identifier.", "type": { - "$id": "3377", + "$id": "3385", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24971,11 +25073,11 @@ "skipUrlEncoding": false }, { - "$id": "3378", + "$id": "3386", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "3237" + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -24989,9 +25091,9 @@ } ], "response": { - "$id": "3379", + "$id": "3387", "type": { - "$ref": "457" + "$ref": "489" } }, "isOverride": false, @@ -25000,7 +25102,7 @@ "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.GetMultivariateModel" }, { - "$id": "3380", + "$id": "3388", "kind": "basic", "name": "DetectMultivariateBatchAnomaly", "accessibility": "public", @@ -25010,7 +25112,7 @@ "doc": "Submit multivariate anomaly detection task with the modelId of trained model\nand inference data, the input schema should be the same with the training\nrequest. The request will complete asynchronously and return a resultId to\nquery the detection result.The request should be a source link to indicate an\nexternally accessible Azure storage Uri, either pointed to an Azure blob\nstorage folder, or pointed to a CSV file in Azure blob storage.", "summary": "Detect Multivariate Anomaly", "operation": { - "$id": "3381", + "$id": "3389", "name": "DetectMultivariateBatchAnomaly", "resourceName": "Multivariate", "summary": "Detect Multivariate Anomaly", @@ -25018,12 +25120,12 @@ "accessibility": "public", "parameters": [ { - "$id": "3382", + "$id": "3390", "name": "modelId", "nameInRequest": "modelId", "doc": "Model identifier.", "type": { - "$id": "3383", + "$id": "3391", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25040,25 +25142,12 @@ "skipUrlEncoding": false }, { - "$id": "3384", + "$id": "3392", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "3385", - "kind": "constant", - "name": "DetectMultivariateBatchAnomalyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "3386", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -25071,24 +25160,11 @@ "skipUrlEncoding": false }, { - "$id": "3387", + "$id": "3393", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "3388", - "kind": "constant", - "name": "DetectMultivariateBatchAnomalyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "3389", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -25101,12 +25177,12 @@ "skipUrlEncoding": false }, { - "$id": "3390", + "$id": "3394", "name": "options", "nameInRequest": "options", "doc": "Request of multivariate anomaly detection.", "type": { - "$ref": "312" + "$ref": "344" }, "location": "Body", "isApiVersion": false, @@ -25121,21 +25197,21 @@ ], "responses": [ { - "$id": "3391", + "$id": "3395", "statusCodes": [ 202 ], "bodyType": { - "$ref": "260" + "$ref": "292" }, "headers": [ { - "$id": "3392", + "$id": "3396", "name": "Operation-Id", "nameInResponse": "operation-id", "doc": "Id of the detection result.", "type": { - "$id": "3393", + "$id": "3397", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25143,12 +25219,12 @@ } }, { - "$id": "3394", + "$id": "3398", "name": "Operation-Location", "nameInResponse": "operation-location", "doc": "Location of the detection result.", "type": { - "$id": "3395", + "$id": "3399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25175,82 +25251,82 @@ "decorators": [], "examples": [ { - "$id": "3396", + "$id": "3400", "kind": "http", "name": "Detect multivariate batch anomaly", "description": "Detect multivariate batch anomaly", "filePath": "v1.1/DetectAnomaly.json", "parameters": [ { - "$id": "3397", + "$id": "3401", "parameter": { - "$ref": "3384" + "$ref": "3392" }, "value": { - "$id": "3398", + "$id": "3402", "kind": "string", "type": { - "$ref": "3385" + "$ref": "132" }, "value": "application/json" } }, { - "$id": "3399", + "$id": "3403", "parameter": { - "$ref": "3382" + "$ref": "3390" }, "value": { - "$id": "3400", + "$id": "3404", "kind": "string", "type": { - "$ref": "3383" + "$ref": "3391" }, "value": "45aad126-aafd-11ea-b8fb-d89ef3400c5f" } }, { - "$id": "3401", + "$id": "3405", "parameter": { - "$ref": "3390" + "$ref": "3394" }, "value": { - "$id": "3402", + "$id": "3406", "kind": "model", "type": { - "$ref": "312" + "$ref": "344" }, "value": { - "$id": "3403", + "$id": "3407", "dataSource": { - "$id": "3404", + "$id": "3408", "kind": "string", "type": { - "$ref": "314" + "$ref": "346" }, "value": "https://multiadsample.blob.core.windows.net/data/sample_data_2_1000.csv" }, "topContributorCount": { - "$id": "3405", + "$id": "3409", "kind": "number", "type": { - "$ref": "318" + "$ref": "350" }, "value": 10 }, "startTime": { - "$id": "3406", + "$id": "3410", "kind": "string", "type": { - "$ref": "322" + "$ref": "354" }, "value": "2019-04-01T00:15:00Z" }, "endTime": { - "$id": "3407", + "$id": "3411", "kind": "string", "type": { - "$ref": "327" + "$ref": "359" }, "value": "2019-04-01T00:40:00Z" } @@ -25260,37 +25336,37 @@ ], "responses": [ { - "$id": "3408", + "$id": "3412", "response": { - "$ref": "3391" + "$ref": "3395" }, "statusCode": 202, "bodyValue": { - "$id": "3409", + "$id": "3413", "kind": "model", "type": { - "$ref": "260" + "$ref": "292" }, "value": { - "$id": "3410", + "$id": "3414", "resultId": { - "$id": "3411", + "$id": "3415", "kind": "string", "type": { - "$ref": "262" + "$ref": "294" }, "value": "663884e6-b117-11ea-b3de-0242ac130004" }, "summary": { - "$id": "3412", + "$id": "3416", "kind": "model", "type": { - "$ref": "267" + "$ref": "299" }, "value": { - "$id": "3413", + "$id": "3417", "status": { - "$id": "3414", + "$id": "3418", "kind": "string", "type": { "$ref": "60" @@ -25298,50 +25374,50 @@ "value": "CREATED" }, "errors": { - "$id": "3415", + "$id": "3419", "kind": "array", "type": { - "$ref": "272" + "$ref": "304" }, "value": [] }, "setupInfo": { - "$id": "3416", + "$id": "3420", "kind": "model", "type": { - "$ref": "312" + "$ref": "344" }, "value": { - "$id": "3417", + "$id": "3421", "dataSource": { - "$id": "3418", + "$id": "3422", "kind": "string", "type": { - "$ref": "314" + "$ref": "346" }, "value": "https://multiadsample.blob.core.windows.net/data/sample_data_2_1000.csv" }, "topContributorCount": { - "$id": "3419", + "$id": "3423", "kind": "number", "type": { - "$ref": "318" + "$ref": "350" }, "value": 10 }, "startTime": { - "$id": "3420", + "$id": "3424", "kind": "string", "type": { - "$ref": "322" + "$ref": "354" }, "value": "2021-01-01T00:00:00Z" }, "endTime": { - "$id": "3421", + "$id": "3425", "kind": "string", "type": { - "$ref": "327" + "$ref": "359" }, "value": "2021-01-01T00:29:00Z" } @@ -25350,10 +25426,10 @@ } }, "results": { - "$id": "3422", + "$id": "3426", "kind": "array", "type": { - "$ref": "336" + "$ref": "368" }, "value": [] } @@ -25366,12 +25442,12 @@ }, "parameters": [ { - "$id": "3423", + "$id": "3427", "name": "modelId", "nameInRequest": "modelId", "doc": "Model identifier.", "type": { - "$id": "3424", + "$id": "3428", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25388,12 +25464,12 @@ "skipUrlEncoding": false }, { - "$id": "3425", + "$id": "3429", "name": "options", "nameInRequest": "options", "doc": "Request of multivariate anomaly detection.", "type": { - "$ref": "312" + "$ref": "344" }, "location": "Body", "isApiVersion": false, @@ -25406,12 +25482,12 @@ "skipUrlEncoding": false }, { - "$id": "3426", + "$id": "3430", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "3385" + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -25424,11 +25500,11 @@ "skipUrlEncoding": false }, { - "$id": "3427", + "$id": "3431", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "3388" + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -25442,9 +25518,9 @@ } ], "response": { - "$id": "3428", + "$id": "3432", "type": { - "$ref": "260" + "$ref": "292" } }, "isOverride": false, @@ -25453,7 +25529,7 @@ "crossLanguageDefinitionId": "AnomalyDetector.Multivariate.DetectMultivariateBatchAnomaly" }, { - "$id": "3429", + "$id": "3433", "kind": "basic", "name": "DetectMultivariateLastAnomaly", "accessibility": "public", @@ -25463,7 +25539,7 @@ "doc": "Submit multivariate anomaly detection task with the modelId of trained model\nand inference data, and the inference data should be put into request body in a\nJSON format. The request will complete synchronously and return the detection\nimmediately in the response body.", "summary": "Detect anomalies in the last point of the request body", "operation": { - "$id": "3430", + "$id": "3434", "name": "DetectMultivariateLastAnomaly", "resourceName": "Multivariate", "summary": "Detect anomalies in the last point of the request body", @@ -25471,12 +25547,12 @@ "accessibility": "public", "parameters": [ { - "$id": "3431", + "$id": "3435", "name": "modelId", "nameInRequest": "modelId", "doc": "Model identifier.", "type": { - "$id": "3432", + "$id": "3436", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25493,25 +25569,12 @@ "skipUrlEncoding": false }, { - "$id": "3433", + "$id": "3437", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "3434", - "kind": "constant", - "name": "DetectMultivariateLastAnomalyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "3435", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -25524,24 +25587,11 @@ "skipUrlEncoding": false }, { - "$id": "3436", + "$id": "3438", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "3437", - "kind": "constant", - "name": "DetectMultivariateLastAnomalyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "3438", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -25559,7 +25609,7 @@ "nameInRequest": "options", "doc": "Request of last detection.", "type": { - "$ref": "493" + "$ref": "525" }, "location": "Body", "isApiVersion": false, @@ -25579,7 +25629,7 @@ 200 ], "bodyType": { - "$ref": "513" + "$ref": "545" }, "headers": [], "isErrorResponse": false, @@ -25610,13 +25660,13 @@ { "$id": "3442", "parameter": { - "$ref": "3433" + "$ref": "3437" }, "value": { "$id": "3443", "kind": "string", "type": { - "$ref": "3434" + "$ref": "136" }, "value": "application/json" } @@ -25624,13 +25674,13 @@ { "$id": "3444", "parameter": { - "$ref": "3431" + "$ref": "3435" }, "value": { "$id": "3445", "kind": "string", "type": { - "$ref": "3432" + "$ref": "3436" }, "value": "45aad126-aafd-11ea-b8fb-d89ef3400c5f" } @@ -25644,7 +25694,7 @@ "$id": "3447", "kind": "model", "type": { - "$ref": "493" + "$ref": "525" }, "value": { "$id": "3448", @@ -25652,14 +25702,14 @@ "$id": "3449", "kind": "array", "type": { - "$ref": "495" + "$ref": "527" }, "value": [ { "$id": "3450", "kind": "model", "type": { - "$ref": "496" + "$ref": "528" }, "value": { "$id": "3451", @@ -25667,7 +25717,7 @@ "$id": "3452", "kind": "string", "type": { - "$ref": "498" + "$ref": "530" }, "value": "Variable_1" }, @@ -25675,14 +25725,14 @@ "$id": "3453", "kind": "array", "type": { - "$ref": "371" + "$ref": "403" }, "value": [ { "$id": "3454", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:00:00Z" }, @@ -25690,7 +25740,7 @@ "$id": "3455", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:01:00Z" }, @@ -25698,7 +25748,7 @@ "$id": "3456", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:02:00Z" }, @@ -25706,7 +25756,7 @@ "$id": "3457", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:03:00Z" }, @@ -25714,7 +25764,7 @@ "$id": "3458", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:04:00Z" }, @@ -25722,7 +25772,7 @@ "$id": "3459", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:05:00Z" }, @@ -25730,7 +25780,7 @@ "$id": "3460", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:06:00Z" }, @@ -25738,7 +25788,7 @@ "$id": "3461", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:07:00Z" }, @@ -25746,7 +25796,7 @@ "$id": "3462", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:08:00Z" }, @@ -25754,7 +25804,7 @@ "$id": "3463", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:09:00Z" }, @@ -25762,7 +25812,7 @@ "$id": "3464", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:10:00Z" }, @@ -25770,7 +25820,7 @@ "$id": "3465", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:11:00Z" }, @@ -25778,7 +25828,7 @@ "$id": "3466", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:12:00Z" }, @@ -25786,7 +25836,7 @@ "$id": "3467", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:13:00Z" }, @@ -25794,7 +25844,7 @@ "$id": "3468", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:14:00Z" }, @@ -25802,7 +25852,7 @@ "$id": "3469", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:15:00Z" }, @@ -25810,7 +25860,7 @@ "$id": "3470", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:16:00Z" }, @@ -25818,7 +25868,7 @@ "$id": "3471", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:17:00Z" }, @@ -25826,7 +25876,7 @@ "$id": "3472", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:18:00Z" }, @@ -25834,7 +25884,7 @@ "$id": "3473", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:19:00Z" }, @@ -25842,7 +25892,7 @@ "$id": "3474", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:20:00Z" }, @@ -25850,7 +25900,7 @@ "$id": "3475", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:21:00Z" }, @@ -25858,7 +25908,7 @@ "$id": "3476", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:22:00Z" }, @@ -25866,7 +25916,7 @@ "$id": "3477", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:23:00Z" }, @@ -25874,7 +25924,7 @@ "$id": "3478", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:24:00Z" }, @@ -25882,7 +25932,7 @@ "$id": "3479", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:25:00Z" }, @@ -25890,7 +25940,7 @@ "$id": "3480", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:26:00Z" }, @@ -25898,7 +25948,7 @@ "$id": "3481", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:27:00Z" }, @@ -25906,7 +25956,7 @@ "$id": "3482", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:28:00Z" }, @@ -25914,7 +25964,7 @@ "$id": "3483", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:29:00Z" } @@ -25924,14 +25974,14 @@ "$id": "3484", "kind": "array", "type": { - "$ref": "155" + "$ref": "187" }, "value": [ { "$id": "3485", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.4551378545933972 }, @@ -25939,7 +25989,7 @@ "$id": "3486", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.7388603950488748 }, @@ -25947,7 +25997,7 @@ "$id": "3487", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.201088255984052 }, @@ -25955,7 +26005,7 @@ "$id": "3488", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.7462812245891899 }, @@ -25963,7 +26013,7 @@ "$id": "3489", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.07308128850401663 }, @@ -25971,7 +26021,7 @@ "$id": "3490", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.33090474587393537 }, @@ -25979,7 +26029,7 @@ "$id": "3491", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.7544925268153315 }, @@ -25987,7 +26037,7 @@ "$id": "3492", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.987506336316328 }, @@ -25995,7 +26045,7 @@ "$id": "3493", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.6665932993421468 }, @@ -26003,7 +26053,7 @@ "$id": "3494", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.6308351543168672 }, @@ -26011,7 +26061,7 @@ "$id": "3495", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.08083310161466228 }, @@ -26019,7 +26069,7 @@ "$id": "3496", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.8414415588668442 }, @@ -26027,7 +26077,7 @@ "$id": "3497", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.514583545640453 }, @@ -26035,7 +26085,7 @@ "$id": "3498", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.0954489875193526 }, @@ -26043,7 +26093,7 @@ "$id": "3499", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.7786793231920507 }, @@ -26051,7 +26101,7 @@ "$id": "3500", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.41646133667960994 }, @@ -26059,7 +26109,7 @@ "$id": "3501", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.030176187583339287 }, @@ -26067,7 +26117,7 @@ "$id": "3502", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.3474214937189324 }, @@ -26075,7 +26125,7 @@ "$id": "3503", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.508530173413991 }, @@ -26083,7 +26133,7 @@ "$id": "3504", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.42451199127255046 }, @@ -26091,7 +26141,7 @@ "$id": "3505", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.2115944222725208 }, @@ -26099,7 +26149,7 @@ "$id": "3506", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.24733519545833516 }, @@ -26107,7 +26157,7 @@ "$id": "3507", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.8791022110982156 }, @@ -26115,7 +26165,7 @@ "$id": "3508", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.9479621899884665 }, @@ -26123,7 +26173,7 @@ "$id": "3509", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.26702703121252136 }, @@ -26131,7 +26181,7 @@ "$id": "3510", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.6954503497669413 }, @@ -26139,7 +26189,7 @@ "$id": "3511", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.1235728391488995 }, @@ -26147,7 +26197,7 @@ "$id": "3512", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.8214915473050647 }, @@ -26155,7 +26205,7 @@ "$id": "3513", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.11813002444192677 }, @@ -26163,7 +26213,7 @@ "$id": "3514", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.8579045951076123 } @@ -26175,7 +26225,7 @@ "$id": "3515", "kind": "model", "type": { - "$ref": "496" + "$ref": "528" }, "value": { "$id": "3516", @@ -26183,7 +26233,7 @@ "$id": "3517", "kind": "string", "type": { - "$ref": "498" + "$ref": "530" }, "value": "Variable_2" }, @@ -26191,14 +26241,14 @@ "$id": "3518", "kind": "array", "type": { - "$ref": "371" + "$ref": "403" }, "value": [ { "$id": "3519", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:00:00Z" }, @@ -26206,7 +26256,7 @@ "$id": "3520", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:01:00Z" }, @@ -26214,7 +26264,7 @@ "$id": "3521", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:02:00Z" }, @@ -26222,7 +26272,7 @@ "$id": "3522", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:03:00Z" }, @@ -26230,7 +26280,7 @@ "$id": "3523", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:04:00Z" }, @@ -26238,7 +26288,7 @@ "$id": "3524", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:05:00Z" }, @@ -26246,7 +26296,7 @@ "$id": "3525", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:06:00Z" }, @@ -26254,7 +26304,7 @@ "$id": "3526", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:07:00Z" }, @@ -26262,7 +26312,7 @@ "$id": "3527", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:08:00Z" }, @@ -26270,7 +26320,7 @@ "$id": "3528", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:09:00Z" }, @@ -26278,7 +26328,7 @@ "$id": "3529", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:10:00Z" }, @@ -26286,7 +26336,7 @@ "$id": "3530", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:11:00Z" }, @@ -26294,7 +26344,7 @@ "$id": "3531", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:12:00Z" }, @@ -26302,7 +26352,7 @@ "$id": "3532", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:13:00Z" }, @@ -26310,7 +26360,7 @@ "$id": "3533", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:14:00Z" }, @@ -26318,7 +26368,7 @@ "$id": "3534", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:15:00Z" }, @@ -26326,7 +26376,7 @@ "$id": "3535", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:16:00Z" }, @@ -26334,7 +26384,7 @@ "$id": "3536", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:17:00Z" }, @@ -26342,7 +26392,7 @@ "$id": "3537", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:18:00Z" }, @@ -26350,7 +26400,7 @@ "$id": "3538", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:19:00Z" }, @@ -26358,7 +26408,7 @@ "$id": "3539", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:20:00Z" }, @@ -26366,7 +26416,7 @@ "$id": "3540", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:21:00Z" }, @@ -26374,7 +26424,7 @@ "$id": "3541", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:22:00Z" }, @@ -26382,7 +26432,7 @@ "$id": "3542", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:23:00Z" }, @@ -26390,7 +26440,7 @@ "$id": "3543", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:24:00Z" }, @@ -26398,7 +26448,7 @@ "$id": "3544", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:25:00Z" }, @@ -26406,7 +26456,7 @@ "$id": "3545", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:26:00Z" }, @@ -26414,7 +26464,7 @@ "$id": "3546", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:27:00Z" }, @@ -26422,7 +26472,7 @@ "$id": "3547", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:28:00Z" }, @@ -26430,7 +26480,7 @@ "$id": "3548", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:29:00Z" } @@ -26440,14 +26490,14 @@ "$id": "3549", "kind": "array", "type": { - "$ref": "155" + "$ref": "187" }, "value": [ { "$id": "3550", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.9617871613964145 }, @@ -26455,7 +26505,7 @@ "$id": "3551", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.24903311574778408 }, @@ -26463,7 +26513,7 @@ "$id": "3552", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.4920561254118613 }, @@ -26471,7 +26521,7 @@ "$id": "3553", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.9895601049618598 }, @@ -26479,7 +26529,7 @@ "$id": "3554", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.9171759283128094 }, @@ -26487,7 +26537,7 @@ "$id": "3555", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.5754204711105273 }, @@ -26495,7 +26545,7 @@ "$id": "3556", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.1811033296265634 }, @@ -26503,7 +26553,7 @@ "$id": "3557", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.8852311981742577 }, @@ -26511,7 +26561,7 @@ "$id": "3558", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.9543231904644779 }, @@ -26519,7 +26569,7 @@ "$id": "3559", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.7088012446094262 }, @@ -26527,7 +26577,7 @@ "$id": "3560", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.7843572237149014 }, @@ -26535,7 +26585,7 @@ "$id": "3561", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.7664787010700046 }, @@ -26543,7 +26593,7 @@ "$id": "3562", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.3699552325387093 }, @@ -26551,7 +26601,7 @@ "$id": "3563", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.504519908266789 }, @@ -26559,7 +26609,7 @@ "$id": "3564", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.5848930929950164 }, @@ -26567,7 +26617,7 @@ "$id": "3565", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.7628913396089576 }, @@ -26575,7 +26625,7 @@ "$id": "3566", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.8148405868900065 }, @@ -26583,7 +26633,7 @@ "$id": "3567", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.08540458873739332 }, @@ -26591,7 +26641,7 @@ "$id": "3568", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.03481976727525682 }, @@ -26599,7 +26649,7 @@ "$id": "3569", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.21275099339467762 }, @@ -26607,7 +26657,7 @@ "$id": "3570", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.9836175579199806 }, @@ -26615,7 +26665,7 @@ "$id": "3571", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.9321441483364282 }, @@ -26623,7 +26673,7 @@ "$id": "3572", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.038466608085469534 }, @@ -26631,7 +26681,7 @@ "$id": "3573", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.1723138437622782 }, @@ -26639,7 +26689,7 @@ "$id": "3574", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.8626383410218382 }, @@ -26647,7 +26697,7 @@ "$id": "3575", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.35053229974224254 }, @@ -26655,7 +26705,7 @@ "$id": "3576", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.631141662835182 }, @@ -26663,7 +26713,7 @@ "$id": "3577", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.0730352607990088 }, @@ -26671,7 +26721,7 @@ "$id": "3578", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.08886179043386 }, @@ -26679,7 +26729,7 @@ "$id": "3579", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.7488606040971179 } @@ -26691,7 +26741,7 @@ "$id": "3580", "kind": "model", "type": { - "$ref": "496" + "$ref": "528" }, "value": { "$id": "3581", @@ -26699,7 +26749,7 @@ "$id": "3582", "kind": "string", "type": { - "$ref": "498" + "$ref": "530" }, "value": "Variable_3" }, @@ -26707,14 +26757,14 @@ "$id": "3583", "kind": "array", "type": { - "$ref": "371" + "$ref": "403" }, "value": [ { "$id": "3584", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:00:00Z" }, @@ -26722,7 +26772,7 @@ "$id": "3585", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:01:00Z" }, @@ -26730,7 +26780,7 @@ "$id": "3586", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:02:00Z" }, @@ -26738,7 +26788,7 @@ "$id": "3587", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:03:00Z" }, @@ -26746,7 +26796,7 @@ "$id": "3588", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:04:00Z" }, @@ -26754,7 +26804,7 @@ "$id": "3589", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:05:00Z" }, @@ -26762,7 +26812,7 @@ "$id": "3590", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:06:00Z" }, @@ -26770,7 +26820,7 @@ "$id": "3591", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:07:00Z" }, @@ -26778,7 +26828,7 @@ "$id": "3592", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:08:00Z" }, @@ -26786,7 +26836,7 @@ "$id": "3593", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:09:00Z" }, @@ -26794,7 +26844,7 @@ "$id": "3594", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:10:00Z" }, @@ -26802,7 +26852,7 @@ "$id": "3595", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:11:00Z" }, @@ -26810,7 +26860,7 @@ "$id": "3596", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:12:00Z" }, @@ -26818,7 +26868,7 @@ "$id": "3597", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:13:00Z" }, @@ -26826,7 +26876,7 @@ "$id": "3598", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:14:00Z" }, @@ -26834,7 +26884,7 @@ "$id": "3599", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:15:00Z" }, @@ -26842,7 +26892,7 @@ "$id": "3600", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:16:00Z" }, @@ -26850,7 +26900,7 @@ "$id": "3601", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:17:00Z" }, @@ -26858,7 +26908,7 @@ "$id": "3602", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:18:00Z" }, @@ -26866,7 +26916,7 @@ "$id": "3603", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:19:00Z" }, @@ -26874,7 +26924,7 @@ "$id": "3604", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:20:00Z" }, @@ -26882,7 +26932,7 @@ "$id": "3605", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:21:00Z" }, @@ -26890,7 +26940,7 @@ "$id": "3606", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:22:00Z" }, @@ -26898,7 +26948,7 @@ "$id": "3607", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:23:00Z" }, @@ -26906,7 +26956,7 @@ "$id": "3608", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:24:00Z" }, @@ -26914,7 +26964,7 @@ "$id": "3609", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:25:00Z" }, @@ -26922,7 +26972,7 @@ "$id": "3610", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:26:00Z" }, @@ -26930,7 +26980,7 @@ "$id": "3611", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:27:00Z" }, @@ -26938,7 +26988,7 @@ "$id": "3612", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:28:00Z" }, @@ -26946,7 +26996,7 @@ "$id": "3613", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "2021-01-01T00:29:00Z" } @@ -26956,14 +27006,14 @@ "$id": "3614", "kind": "array", "type": { - "$ref": "155" + "$ref": "187" }, "value": [ { "$id": "3615", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.4030756879437628 }, @@ -26971,7 +27021,7 @@ "$id": "3616", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.15526889968448554 }, @@ -26979,7 +27029,7 @@ "$id": "3617", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.36352226408981103 }, @@ -26987,7 +27037,7 @@ "$id": "3618", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.6051200637229004 }, @@ -26995,7 +27045,7 @@ "$id": "3619", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.8516795018476276 }, @@ -27003,7 +27053,7 @@ "$id": "3620", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.2645605735279929 }, @@ -27011,7 +27061,7 @@ "$id": "3621", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.6810875830037345 }, @@ -27019,7 +27069,7 @@ "$id": "3622", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.9165894221681316 }, @@ -27027,7 +27077,7 @@ "$id": "3623", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.700783245230424 }, @@ -27035,7 +27085,7 @@ "$id": "3624", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.5624155469940331 }, @@ -27043,7 +27093,7 @@ "$id": "3625", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.6277289685127893 }, @@ -27051,7 +27101,7 @@ "$id": "3626", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.15992056539730204 }, @@ -27059,7 +27109,7 @@ "$id": "3627", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.6020964482827594 }, @@ -27067,7 +27117,7 @@ "$id": "3628", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.35937967753105915 }, @@ -27075,7 +27125,7 @@ "$id": "3629", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.8731686034848609 }, @@ -27083,7 +27133,7 @@ "$id": "3630", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.20301549117588935 }, @@ -27091,7 +27141,7 @@ "$id": "3631", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.029261872151168933 }, @@ -27099,7 +27149,7 @@ "$id": "3632", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.6261499548828445 }, @@ -27107,7 +27157,7 @@ "$id": "3633", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.45850782028563386 }, @@ -27115,7 +27165,7 @@ "$id": "3634", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.8275006940083313 }, @@ -27123,7 +27173,7 @@ "$id": "3635", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.032760268834037376 }, @@ -27131,7 +27181,7 @@ "$id": "3636", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.4485202784055029 }, @@ -27139,7 +27189,7 @@ "$id": "3637", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.8915691008748384 }, @@ -27147,7 +27197,7 @@ "$id": "3638", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.891669051517807 }, @@ -27155,7 +27205,7 @@ "$id": "3639", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.9469979353323046 }, @@ -27163,7 +27213,7 @@ "$id": "3640", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.115293087370132 }, @@ -27171,7 +27221,7 @@ "$id": "3641", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.08818772518459506 }, @@ -27179,7 +27229,7 @@ "$id": "3642", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.7426286620589166 }, @@ -27187,7 +27237,7 @@ "$id": "3643", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.32372247468990756 }, @@ -27195,7 +27245,7 @@ "$id": "3644", "kind": "number", "type": { - "$ref": "156" + "$ref": "188" }, "value": 0.936268139507417 } @@ -27209,7 +27259,7 @@ "$id": "3645", "kind": "number", "type": { - "$ref": "510" + "$ref": "542" }, "value": 10 } @@ -27228,7 +27278,7 @@ "$id": "3647", "kind": "model", "type": { - "$ref": "513" + "$ref": "545" }, "value": { "$id": "3648", @@ -27236,14 +27286,14 @@ "$id": "3649", "kind": "array", "type": { - "$ref": "285" + "$ref": "317" }, "value": [ { "$id": "3650", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { "$id": "3651", @@ -27251,7 +27301,7 @@ "$id": "3652", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "variable_1" }, @@ -27259,7 +27309,7 @@ "$id": "3653", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, @@ -27267,7 +27317,7 @@ "$id": "3654", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 30 }, @@ -27275,7 +27325,7 @@ "$id": "3655", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2021-01-01T00:00:00Z" }, @@ -27283,7 +27333,7 @@ "$id": "3656", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2021-01-01T00:29:00Z" } @@ -27293,7 +27343,7 @@ "$id": "3657", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { "$id": "3658", @@ -27301,7 +27351,7 @@ "$id": "3659", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "variable_2" }, @@ -27309,7 +27359,7 @@ "$id": "3660", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, @@ -27317,7 +27367,7 @@ "$id": "3661", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 30 }, @@ -27325,7 +27375,7 @@ "$id": "3662", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2021-01-01T00:00:00Z" }, @@ -27333,7 +27383,7 @@ "$id": "3663", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2021-01-01T00:29:00Z" } @@ -27343,7 +27393,7 @@ "$id": "3664", "kind": "model", "type": { - "$ref": "286" + "$ref": "318" }, "value": { "$id": "3665", @@ -27351,7 +27401,7 @@ "$id": "3666", "kind": "string", "type": { - "$ref": "288" + "$ref": "320" }, "value": "variable_3" }, @@ -27359,7 +27409,7 @@ "$id": "3667", "kind": "number", "type": { - "$ref": "292" + "$ref": "324" }, "value": 0 }, @@ -27367,7 +27417,7 @@ "$id": "3668", "kind": "number", "type": { - "$ref": "296" + "$ref": "328" }, "value": 30 }, @@ -27375,7 +27425,7 @@ "$id": "3669", "kind": "string", "type": { - "$ref": "300" + "$ref": "332" }, "value": "2021-01-01T00:00:00Z" }, @@ -27383,7 +27433,7 @@ "$id": "3670", "kind": "string", "type": { - "$ref": "305" + "$ref": "337" }, "value": "2021-01-01T00:29:00Z" } @@ -27395,14 +27445,14 @@ "$id": "3671", "kind": "array", "type": { - "$ref": "336" + "$ref": "368" }, "value": [ { "$id": "3672", "kind": "model", "type": { - "$ref": "337" + "$ref": "369" }, "value": { "$id": "3673", @@ -27410,7 +27460,7 @@ "$id": "3674", "kind": "string", "type": { - "$ref": "339" + "$ref": "371" }, "value": "2021-01-01T00:28:00Z" }, @@ -27418,7 +27468,7 @@ "$id": "3675", "kind": "model", "type": { - "$ref": "344" + "$ref": "376" }, "value": { "$id": "3676", @@ -27426,7 +27476,7 @@ "$id": "3677", "kind": "boolean", "type": { - "$ref": "346" + "$ref": "378" }, "value": false }, @@ -27434,7 +27484,7 @@ "$id": "3678", "kind": "number", "type": { - "$ref": "350" + "$ref": "382" }, "value": 0 }, @@ -27442,7 +27492,7 @@ "$id": "3679", "kind": "number", "type": { - "$ref": "354" + "$ref": "386" }, "value": 0.6928471326828003 } @@ -27452,7 +27502,7 @@ "$id": "3680", "kind": "array", "type": { - "$ref": "272" + "$ref": "304" }, "value": [] } @@ -27462,7 +27512,7 @@ "$id": "3681", "kind": "model", "type": { - "$ref": "337" + "$ref": "369" }, "value": { "$id": "3682", @@ -27470,7 +27520,7 @@ "$id": "3683", "kind": "string", "type": { - "$ref": "339" + "$ref": "371" }, "value": "2021-01-01T00:29:00Z" }, @@ -27478,7 +27528,7 @@ "$id": "3684", "kind": "model", "type": { - "$ref": "344" + "$ref": "376" }, "value": { "$id": "3685", @@ -27486,7 +27536,7 @@ "$id": "3686", "kind": "boolean", "type": { - "$ref": "346" + "$ref": "378" }, "value": true }, @@ -27494,7 +27544,7 @@ "$id": "3687", "kind": "number", "type": { - "$ref": "350" + "$ref": "382" }, "value": 0.5337404608726501 }, @@ -27502,7 +27552,7 @@ "$id": "3688", "kind": "number", "type": { - "$ref": "354" + "$ref": "386" }, "value": 0.9171165823936462 }, @@ -27510,14 +27560,14 @@ "$id": "3689", "kind": "array", "type": { - "$ref": "358" + "$ref": "390" }, "value": [ { "$id": "3690", "kind": "model", "type": { - "$ref": "359" + "$ref": "391" }, "value": { "$id": "3691", @@ -27525,7 +27575,7 @@ "$id": "3692", "kind": "string", "type": { - "$ref": "361" + "$ref": "393" }, "value": "variable_2" }, @@ -27533,7 +27583,7 @@ "$id": "3693", "kind": "number", "type": { - "$ref": "365" + "$ref": "397" }, "value": 0.5371576215 }, @@ -27541,7 +27591,7 @@ "$id": "3694", "kind": "model", "type": { - "$ref": "369" + "$ref": "401" }, "value": { "$id": "3695", @@ -27549,14 +27599,14 @@ "$id": "3696", "kind": "array", "type": { - "$ref": "371" + "$ref": "403" }, "value": [ { "$id": "3697", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "variable_1" }, @@ -27564,7 +27614,7 @@ "$id": "3698", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "variable_3" } @@ -27578,7 +27628,7 @@ "$id": "3699", "kind": "model", "type": { - "$ref": "359" + "$ref": "391" }, "value": { "$id": "3700", @@ -27586,7 +27636,7 @@ "$id": "3701", "kind": "string", "type": { - "$ref": "361" + "$ref": "393" }, "value": "variable_3" }, @@ -27594,7 +27644,7 @@ "$id": "3702", "kind": "number", "type": { - "$ref": "365" + "$ref": "397" }, "value": 0.3324159383 }, @@ -27602,7 +27652,7 @@ "$id": "3703", "kind": "model", "type": { - "$ref": "369" + "$ref": "401" }, "value": { "$id": "3704", @@ -27610,14 +27660,14 @@ "$id": "3705", "kind": "array", "type": { - "$ref": "371" + "$ref": "403" }, "value": [ { "$id": "3706", "kind": "string", "type": { - "$ref": "372" + "$ref": "404" }, "value": "variable_2" } @@ -27631,7 +27681,7 @@ "$id": "3707", "kind": "model", "type": { - "$ref": "359" + "$ref": "391" }, "value": { "$id": "3708", @@ -27639,7 +27689,7 @@ "$id": "3709", "kind": "string", "type": { - "$ref": "361" + "$ref": "393" }, "value": "variable_1" }, @@ -27647,7 +27697,7 @@ "$id": "3710", "kind": "number", "type": { - "$ref": "365" + "$ref": "397" }, "value": 0.1304264402 }, @@ -27655,7 +27705,7 @@ "$id": "3711", "kind": "model", "type": { - "$ref": "369" + "$ref": "401" }, "value": { "$id": "3712", @@ -27663,7 +27713,7 @@ "$id": "3713", "kind": "array", "type": { - "$ref": "371" + "$ref": "403" }, "value": [] } @@ -27679,7 +27729,7 @@ "$id": "3714", "kind": "array", "type": { - "$ref": "272" + "$ref": "304" }, "value": [] } @@ -27723,7 +27773,7 @@ "nameInRequest": "options", "doc": "Request of last detection.", "type": { - "$ref": "493" + "$ref": "525" }, "location": "Body", "isApiVersion": false, @@ -27741,7 +27791,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "3434" + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -27758,7 +27808,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "3437" + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -27774,7 +27824,7 @@ "response": { "$id": "3720", "type": { - "$ref": "513" + "$ref": "545" } }, "isOverride": false, @@ -27838,7 +27888,7 @@ "v1.1" ], "parent": { - "$ref": "520" + "$ref": "552" } } ] diff --git a/src/AutoRest.CSharp/Common/Input/CodeModelConverter.cs b/src/AutoRest.CSharp/Common/Input/CodeModelConverter.cs index d879268a09c..e11dac30377 100644 --- a/src/AutoRest.CSharp/Common/Input/CodeModelConverter.cs +++ b/src/AutoRest.CSharp/Common/Input/CodeModelConverter.cs @@ -59,6 +59,7 @@ private InputNamespace CreateNamespace(Dictionary ApiVersions { get; init; } + public IReadOnlyList Constants { get; init; } public IReadOnlyList Enums { get; init; } public IReadOnlyList Models { get; init; } private IReadOnlyList Clients { get; init; } // we should not be using this because this only contains the top level clients public InputAuth Auth { get; init; } public IReadOnlyList AllClients { get; init; } - public InputNamespace(string name, IReadOnlyList apiVersions, IReadOnlyList enums, IReadOnlyList models, IReadOnlyList clients, InputAuth auth) + public InputNamespace(string name, IReadOnlyList apiVersions, IReadOnlyList constants, IReadOnlyList enums, IReadOnlyList models, IReadOnlyList clients, InputAuth auth) { Name = name; ApiVersions = apiVersions; + Constants = constants; Enums = enums; Models = models; Clients = clients; @@ -27,7 +29,7 @@ public InputNamespace(string name, IReadOnlyList apiVersions, IReadOnlyL AllClients = EnumerateClients(clients); } - public InputNamespace() : this(name: string.Empty, apiVersions: Array.Empty(), enums: Array.Empty(), models: Array.Empty(), clients: Array.Empty(), auth: new InputAuth()) { } + public InputNamespace() : this(name: string.Empty, apiVersions: Array.Empty(), constants: Array.Empty(), enums: Array.Empty(), models: Array.Empty(), clients: Array.Empty(), auth: new InputAuth()) { } private static IReadOnlyList EnumerateClients(IEnumerable clients) { diff --git a/src/AutoRest.CSharp/Common/Input/InputTypes/Serialization/TypeSpecInputNamespaceConverter.cs b/src/AutoRest.CSharp/Common/Input/InputTypes/Serialization/TypeSpecInputNamespaceConverter.cs index 8bfd5dfdb7b..ca037ce62cf 100644 --- a/src/AutoRest.CSharp/Common/Input/InputTypes/Serialization/TypeSpecInputNamespaceConverter.cs +++ b/src/AutoRest.CSharp/Common/Input/InputTypes/Serialization/TypeSpecInputNamespaceConverter.cs @@ -35,12 +35,14 @@ public override void Write(Utf8JsonWriter writer, InputNamespace value, JsonSeri IReadOnlyList? enums = null; IReadOnlyList? models = null; IReadOnlyList? clients = null; + IReadOnlyList? constants = null; InputAuth? auth = null; while (reader.TokenType != JsonTokenType.EndObject) { var isKnownProperty = reader.TryReadString("name", ref name) || reader.TryReadComplexType("apiVersions", options, ref apiVersions) + || reader.TryReadComplexType("constants", options, ref constants) || reader.TryReadComplexType("enums", options, ref enums) || reader.TryReadComplexType("models", options, ref models) || reader.TryReadComplexType("clients", options, ref clients) @@ -55,6 +57,7 @@ public override void Write(Utf8JsonWriter writer, InputNamespace value, JsonSeri return new InputNamespace( name ?? throw new JsonException(), apiVersions ?? [], + constants ?? [], enums ?? [], models ?? [], clients ?? [], diff --git a/src/TypeSpec.Extension/Emitter.Csharp/src/backward-compatibility.ts b/src/TypeSpec.Extension/Emitter.Csharp/src/backward-compatibility.ts index e9f74b06d9b..cc4118d8272 100644 --- a/src/TypeSpec.Extension/Emitter.Csharp/src/backward-compatibility.ts +++ b/src/TypeSpec.Extension/Emitter.Csharp/src/backward-compatibility.ts @@ -58,10 +58,7 @@ export function transformCodeModel(codeModel: CodeModel): CodeModel { } } } - return { - ...codeModel, - constants: undefined // TODO -- this is a workaround to reduce the amount of changes in our tspCodeModel.json file. We could remove it later - } as unknown as CodeModel; + return codeModel; } interface DecoratedType { diff --git a/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/CollectionWritingTests.cs b/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/CollectionWritingTests.cs index eee84b4b7c1..70056159f2a 100644 --- a/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/CollectionWritingTests.cs +++ b/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/CollectionWritingTests.cs @@ -65,8 +65,7 @@ public void ModelTypeCollectionProperties(string expectedModelCodes, string expe }, null, new List(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.ModelCollectionProperties.Models", new List(), - new List(), new List { elementModelType, collectionModelType }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.ModelCollectionProperties.Models", [], [], [], [elementModelType, collectionModelType], [], new InputAuth()), default).Build(true); ValidateGeneratedCodes("ModelCollectionModel", expectedModelCodes, expectedSerializationCodes, library); } @@ -88,8 +87,7 @@ public void ModelType2DCollectionProperties(string expectedModelCodes, string ex }, null, new List(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.ModelCollectionProperties.Models", new List(), - new List(), new List { elementModelType, collectionModelType }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.ModelCollectionProperties.Models", [], [], [], [elementModelType, collectionModelType], [], new InputAuth()), default).Build(true); ValidateGeneratedCodes("ModelCollectionModel", expectedModelCodes, expectedSerializationCodes, library); } diff --git a/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/DictionaryWritingTests.cs b/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/DictionaryWritingTests.cs index 5f7e548ad72..ab7fd8ea9e2 100644 --- a/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/DictionaryWritingTests.cs +++ b/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/DictionaryWritingTests.cs @@ -17,8 +17,7 @@ public void RoundTripDictionaryProperties(string expectedModelCodes, string expe var model = new InputModelType("RoundTripModel", "Cadl.TestServer.DictionaryProperties.Models", "public", null, null, "Round-trip model with dictionary properties", InputModelTypeUsage.Input | InputModelTypeUsage.Output, DictionaryProperties, null, new List(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.DictionaryProperties.Models", new List(), - new List(), new List { model, ElementModelType }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.DictionaryProperties.Models", [], [], [], [model, ElementModelType], [], new InputAuth()), default).Build(true); ValidateGeneratedCodes("RoundTripModel", expectedModelCodes, expectedSerializationCodes, library); } @@ -29,8 +28,7 @@ public void InputDictionaryProperties(string expectedModelCodes, string expected var model = new InputModelType("InputModel", "Cadl.TestServer.DictionaryProperties.Models", "public", null, null, "Input model with dictionary properties", InputModelTypeUsage.Input, DictionaryProperties, null, new List(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.DictionaryProperties.Models", new List(), - new List(), new List { model, ElementModelType }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.DictionaryProperties.Models", [], [], [], [model, ElementModelType], [], new InputAuth()), default).Build(true); ValidateGeneratedCodes("InputModel", expectedModelCodes, expectedSerializationCodes, library); @@ -42,8 +40,7 @@ public void OutputDictionaryProperties(string expectedModelCodes, string expecte var model = new InputModelType("OutputModel", "Cadl.TestServer.DictionaryProperties.Models", "public", null, null, "Output model with dictionary properties", InputModelTypeUsage.Output, DictionaryProperties, null, new List(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.DictionaryProperties.Models", new List(), - new List(), new List { model, ElementModelType }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.DictionaryProperties.Models", [], [], [], [model, ElementModelType], [], new InputAuth()), default).Build(true); ValidateGeneratedCodes("OutputModel", expectedModelCodes, expectedSerializationCodes, library); } diff --git a/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/EnumWritingTests.cs b/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/EnumWritingTests.cs index 9f93b86a6c2..ee4053c85a2 100644 --- a/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/EnumWritingTests.cs +++ b/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/EnumWritingTests.cs @@ -39,8 +39,7 @@ public void RoundTripEnumProperties(string expectedModelCodes, string expectedSe new InputModelProperty("Language", "Language", string.Empty, "Required string enum value.", ExtensibleEnumType, null, true, false, false) }, null, new List(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.EnumPropertiesBasic", new List(), - new List { FixedEnumType, ExtensibleEnumType }, new List { modelType }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.EnumPropertiesBasic", [], [], [FixedEnumType, ExtensibleEnumType], [modelType], [], new InputAuth()), default).Build(true); ValidateGeneratedCodes("RoundTripModel", expectedModelCodes, expectedSerializationCodes, library); } @@ -55,8 +54,7 @@ public void InputEnumProperties(string expectedModelCodes, string expectedSerial new InputModelProperty("Language", "Language", string.Empty, "Required string enum value.", ExtensibleEnumType, null, true, false, false) }, null, new List(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.EnumPropertiesBasic", new List(), - new List { FixedEnumType, ExtensibleEnumType }, new List { modelType }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.EnumPropertiesBasic", [], [], [FixedEnumType, ExtensibleEnumType], [modelType], [], new InputAuth()), default).Build(true); ValidateGeneratedCodes("InputModel", expectedModelCodes, expectedSerializationCodes, library); } @@ -71,8 +69,7 @@ public void OutputEnumProperties(string expectedModelCodes, string expectedSeria new InputModelProperty("Language", "Language", string.Empty, "Required string enum value.", ExtensibleEnumType, null, true, false, false) }, null, new List(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.EnumPropertiesBasic", new List(), - new List { FixedEnumType, ExtensibleEnumType }, new List { modelType }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.EnumPropertiesBasic", [], [], [FixedEnumType, ExtensibleEnumType], [modelType], new List(), new InputAuth()), default).Build(true); ValidateGeneratedCodes("OutputModel", expectedModelCodes, expectedSerializationCodes, library); } diff --git a/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/NestedModelWritingTests.cs b/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/NestedModelWritingTests.cs index 68be98b3b77..f9c98a0cfb7 100644 --- a/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/NestedModelWritingTests.cs +++ b/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/NestedModelWritingTests.cs @@ -22,8 +22,7 @@ public void RoundTripModel(string expectedModelCodes, string expectedSerializati }, null, new List(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("NestedModelsBasic.Models", new List(), - new List(), new List { model, NestedRoundTripOnlyModelType, NestedRoundTripSharedModelType }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("NestedModelsBasic.Models", [], [], [], [model, NestedRoundTripOnlyModelType, NestedRoundTripSharedModelType], [], new InputAuth()), default).Build(true); ValidateGeneratedCodes("RoundTripModel", expectedModelCodes, expectedSerializationCodes, library); } @@ -40,8 +39,7 @@ public void InputModel(string expectedModelCodes, string expectedSerializationCo }, null, new List(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("NestedModelsBasic.Models", new List(), - new List(), new List { model, NestedInputOnlyModelType, NestedRoundTripSharedModelType }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("NestedModelsBasic.Models", [], [], [], [model, NestedInputOnlyModelType, NestedRoundTripSharedModelType], [], new InputAuth()), default).Build(true); ValidateGeneratedCodes("InputModel", expectedModelCodes, expectedSerializationCodes, library); } @@ -58,8 +56,7 @@ public void OutpuModel(string expectedModelCodes, string expectedSerializationCo }, null, new List(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("NestedModelsBasic.Models", new List(), - new List(), new List { model, NestedOutputOnlyModelType, NestedRoundTripSharedModelType }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("NestedModelsBasic.Models", [], [], [], [model, NestedOutputOnlyModelType, NestedRoundTripSharedModelType], [], new InputAuth()), default).Build(true); ValidateGeneratedCodes("OutputModel", expectedModelCodes, expectedSerializationCodes, library); } diff --git a/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/OptionalPropertyWritingTests.cs b/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/OptionalPropertyWritingTests.cs index ceb26e0a349..fa16b5cf489 100644 --- a/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/OptionalPropertyWritingTests.cs +++ b/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/OptionalPropertyWritingTests.cs @@ -15,8 +15,7 @@ public void RoundTripModel(string expectedModelCodes, string expectedSerializati var model = new InputModelType("RoundTripModel", "Cadl.TestServer.OptionalProperties.Models", "public", null, null, "Round-trip model with optional properties.", InputModelTypeUsage.Input | InputModelTypeUsage.Output, OptionalProperties, null, Array.Empty(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.OptionalProperties.Models", new List(), - new List(), new List { ElementModelType, model }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.OptionalProperties.Models", [], [], [], [ElementModelType, model], [], new InputAuth()), default).Build(true); ValidateGeneratedCodes("RoundTripModel", expectedModelCodes, expectedSerializationCodes, library); } @@ -28,8 +27,7 @@ public void InputModel(string expectedModelCodes, string expectedSerializationCo var model = new InputModelType("InputModel", "Cadl.TestServer.OptionalProperties.Models", "public", null, null, "Input model with optional properties.", InputModelTypeUsage.Input, OptionalProperties, null, Array.Empty(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.OptionalProperties.Models", new List(), - new List(), new List { ElementModelType, model }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.OptionalProperties.Models", [], [], [], [ElementModelType, model], [], new InputAuth()), default).Build(true); ValidateGeneratedCodes("InputModel", expectedModelCodes, expectedSerializationCodes, library); } @@ -41,8 +39,7 @@ public void OutputModel(string expectedModelCodes, string expectedSerializationC var model = new InputModelType("OutputModel", "Cadl.TestServer.OptionalProperties.Models", "public", null, null, "Output model with optional properties.", InputModelTypeUsage.Output, OptionalProperties, null, Array.Empty(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.OptionalProperties.Models", new List(), - new List(), new List { ElementModelType, model }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.OptionalProperties.Models", [], [], [], [ElementModelType, model], [], new InputAuth()), default).Build(true); ValidateGeneratedCodes("OutputModel", expectedModelCodes, expectedSerializationCodes, library); } diff --git a/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/ReadonlyPropertyWritingTests.cs b/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/ReadonlyPropertyWritingTests.cs index cd89a90b500..05f194fbc0e 100644 --- a/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/ReadonlyPropertyWritingTests.cs +++ b/test/AutoRest.TestServerLowLevel.Tests/LowLevel/Generation/ReadonlyPropertyWritingTests.cs @@ -15,8 +15,7 @@ public void RoundTripModel(string expectedModelCodes, string expectedSerializati var model = new InputModelType("RoundTripModel", "Cadl.TestServer.ReadonlyProperties.Models", "public", null, null, "Readonly model", InputModelTypeUsage.Input | InputModelTypeUsage.Output, ReadOnlyProperties, null, Array.Empty(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.ReadonlyProperties.Models", new List(), - new List(), new List { ReadonlyModel, model }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.ReadonlyProperties.Models", [], [], [], [ReadonlyModel, model], [], new InputAuth()), default).Build(true); ValidateGeneratedCodes("RoundTripModel", expectedModelCodes, expectedSerializationCodes, library); } @@ -28,8 +27,7 @@ public void OutputModel(string expectedModelCodes, string expectedSerializationC var model = new InputModelType("OutputModel", "Cadl.TestServer.ReadonlyProperties.Models", "public", null, null, "Readonly model", InputModelTypeUsage.Output, ReadOnlyProperties, null, Array.Empty(), null, null, null, null); - var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.ReadonlyProperties.Models", new List(), - new List(), new List { ReadonlyModel, model }, new List(), new InputAuth()), default).Build(true); + var library = new DpgOutputLibraryBuilder(new InputNamespace("Cadl.TestServer.ReadonlyProperties.Models", [], [], [], [ReadonlyModel, model], [], new InputAuth()), default).Build(true); ValidateGeneratedCodes("OutputModel", expectedModelCodes, expectedSerializationCodes, library); } diff --git a/test/CadlRanchProjects/authentication/api-key/tspCodeModel.json b/test/CadlRanchProjects/authentication/api-key/tspCodeModel.json index a1fe49dedfe..ee9fa7332c2 100644 --- a/test/CadlRanchProjects/authentication/api-key/tspCodeModel.json +++ b/test/CadlRanchProjects/authentication/api-key/tspCodeModel.json @@ -3,9 +3,27 @@ "name": "Authentication.ApiKey", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "invalidContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "4", "kind": "model", "name": "InvalidAuth", "namespace": "Authentication.ApiKey", @@ -14,12 +32,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "5", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$id": "4", + "$id": "6", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32,9 +50,9 @@ "decorators": [], "crossLanguageDefinitionId": "Authentication.ApiKey.InvalidAuth.error", "serializationOptions": { - "$id": "5", + "$id": "7", "json": { - "$id": "6", + "$id": "8", "name": "error" } } @@ -44,21 +62,21 @@ ], "clients": [ { - "$id": "7", + "$id": "9", "kind": "client", "name": "ApiKeyClient", "namespace": "Authentication.ApiKey", "doc": "Illustrates clients generated with ApiKey authentication.", "methods": [ { - "$id": "8", + "$id": "10", "kind": "basic", "name": "valid", "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated", "operation": { - "$id": "9", + "$id": "11", "name": "valid", "resourceName": "ApiKey", "doc": "Check whether client is authenticated", @@ -66,7 +84,7 @@ "parameters": [], "responses": [ { - "$id": "10", + "$id": "12", "statusCodes": [ 204 ], @@ -85,7 +103,7 @@ }, "parameters": [], "response": { - "$id": "11" + "$id": "13" }, "isOverride": false, "generateConvenient": true, @@ -93,38 +111,25 @@ "crossLanguageDefinitionId": "Authentication.ApiKey.valid" }, { - "$id": "12", + "$id": "14", "kind": "basic", "name": "invalid", "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated.", "operation": { - "$id": "13", + "$id": "15", "name": "invalid", "resourceName": "ApiKey", "doc": "Check whether client is authenticated.", "accessibility": "public", "parameters": [ { - "$id": "14", + "$id": "16", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "15", - "kind": "constant", - "name": "invalidContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -162,7 +167,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "15" + "$ref": "2" }, "location": "Header", "isApiVersion": false, diff --git a/test/CadlRanchProjects/authentication/http/custom/tspCodeModel.json b/test/CadlRanchProjects/authentication/http/custom/tspCodeModel.json index d6f132e6fe2..22fb8f77093 100644 --- a/test/CadlRanchProjects/authentication/http/custom/tspCodeModel.json +++ b/test/CadlRanchProjects/authentication/http/custom/tspCodeModel.json @@ -3,9 +3,27 @@ "name": "Authentication.Http.Custom", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "invalidContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "4", "kind": "model", "name": "InvalidAuth", "namespace": "Authentication.Http.Custom", @@ -14,12 +32,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "5", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$id": "4", + "$id": "6", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32,9 +50,9 @@ "decorators": [], "crossLanguageDefinitionId": "Authentication.Http.Custom.InvalidAuth.error", "serializationOptions": { - "$id": "5", + "$id": "7", "json": { - "$id": "6", + "$id": "8", "name": "error" } } @@ -44,21 +62,21 @@ ], "clients": [ { - "$id": "7", + "$id": "9", "kind": "client", "name": "CustomClient", "namespace": "Authentication.Http.Custom", "doc": "Illustrates clients generated with generic HTTP auth.", "methods": [ { - "$id": "8", + "$id": "10", "kind": "basic", "name": "valid", "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated", "operation": { - "$id": "9", + "$id": "11", "name": "valid", "resourceName": "Custom", "doc": "Check whether client is authenticated", @@ -66,7 +84,7 @@ "parameters": [], "responses": [ { - "$id": "10", + "$id": "12", "statusCodes": [ 204 ], @@ -85,7 +103,7 @@ }, "parameters": [], "response": { - "$id": "11" + "$id": "13" }, "isOverride": false, "generateConvenient": true, @@ -93,38 +111,25 @@ "crossLanguageDefinitionId": "Authentication.Http.Custom.valid" }, { - "$id": "12", + "$id": "14", "kind": "basic", "name": "invalid", "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated.", "operation": { - "$id": "13", + "$id": "15", "name": "invalid", "resourceName": "Custom", "doc": "Check whether client is authenticated.", "accessibility": "public", "parameters": [ { - "$id": "14", + "$id": "16", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "15", - "kind": "constant", - "name": "invalidContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -162,7 +167,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "15" + "$ref": "2" }, "location": "Header", "isApiVersion": false, diff --git a/test/CadlRanchProjects/authentication/oauth2/tspCodeModel.json b/test/CadlRanchProjects/authentication/oauth2/tspCodeModel.json index 393f2c53060..9004a1e03f0 100644 --- a/test/CadlRanchProjects/authentication/oauth2/tspCodeModel.json +++ b/test/CadlRanchProjects/authentication/oauth2/tspCodeModel.json @@ -3,9 +3,27 @@ "name": "Authentication.OAuth2", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "invalidContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "4", "kind": "model", "name": "InvalidAuth", "namespace": "Authentication.OAuth2", @@ -14,12 +32,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "5", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$id": "4", + "$id": "6", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32,9 +50,9 @@ "decorators": [], "crossLanguageDefinitionId": "Authentication.OAuth2.InvalidAuth.error", "serializationOptions": { - "$id": "5", + "$id": "7", "json": { - "$id": "6", + "$id": "8", "name": "error" } } @@ -44,21 +62,21 @@ ], "clients": [ { - "$id": "7", + "$id": "9", "kind": "client", "name": "OAuth2Client", "namespace": "Authentication.OAuth2", "doc": "Illustrates clients generated with OAuth2 authentication.", "methods": [ { - "$id": "8", + "$id": "10", "kind": "basic", "name": "valid", "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated", "operation": { - "$id": "9", + "$id": "11", "name": "valid", "resourceName": "OAuth2", "doc": "Check whether client is authenticated", @@ -66,7 +84,7 @@ "parameters": [], "responses": [ { - "$id": "10", + "$id": "12", "statusCodes": [ 204 ], @@ -85,7 +103,7 @@ }, "parameters": [], "response": { - "$id": "11" + "$id": "13" }, "isOverride": false, "generateConvenient": true, @@ -93,38 +111,25 @@ "crossLanguageDefinitionId": "Authentication.OAuth2.valid" }, { - "$id": "12", + "$id": "14", "kind": "basic", "name": "invalid", "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated. Will return an invalid bearer error.", "operation": { - "$id": "13", + "$id": "15", "name": "invalid", "resourceName": "OAuth2", "doc": "Check whether client is authenticated. Will return an invalid bearer error.", "accessibility": "public", "parameters": [ { - "$id": "14", + "$id": "16", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "15", - "kind": "constant", - "name": "invalidContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -162,7 +167,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "15" + "$ref": "2" }, "location": "Header", "isApiVersion": false, diff --git a/test/CadlRanchProjects/authentication/union/tspCodeModel.json b/test/CadlRanchProjects/authentication/union/tspCodeModel.json index 6d58ca2f4f0..1161b88dcc6 100644 --- a/test/CadlRanchProjects/authentication/union/tspCodeModel.json +++ b/test/CadlRanchProjects/authentication/union/tspCodeModel.json @@ -3,6 +3,7 @@ "name": "Authentication.Union", "apiVersions": [], "enums": [], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/azure/client-generator-core/access/tspCodeModel.json b/test/CadlRanchProjects/azure/client-generator-core/access/tspCodeModel.json index b59895df6d4..fbbea80b61b 100644 --- a/test/CadlRanchProjects/azure/client-generator-core/access/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/client-generator-core/access/tspCodeModel.json @@ -3,9 +3,171 @@ "name": "_Specs_.Azure.ClientGenerator.Core.Access", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "RealModelKind", + "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation", + "usage": "Output,Json", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "real", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "noDecoratorInPublicContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "publicDecoratorInPublicContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "noDecoratorInInternalContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "internalDecoratorInInternalContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "publicDecoratorInInternalContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "publicContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "internalContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "operationContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "discriminatorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "22", "kind": "model", "name": "NoDecoratorModelInPublic", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation", @@ -15,12 +177,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "23", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "4", + "$id": "24", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33,9 +195,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation.NoDecoratorModelInPublic.name", "serializationOptions": { - "$id": "5", + "$id": "25", "json": { - "$id": "6", + "$id": "26", "name": "name" } } @@ -43,7 +205,7 @@ ] }, { - "$id": "7", + "$id": "27", "kind": "model", "name": "PublicDecoratorModelInPublic", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation", @@ -54,12 +216,12 @@ "decorators": [], "properties": [ { - "$id": "8", + "$id": "28", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "9", + "$id": "29", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72,9 +234,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation.PublicDecoratorModelInPublic.name", "serializationOptions": { - "$id": "10", + "$id": "30", "json": { - "$id": "11", + "$id": "31", "name": "name" } } @@ -82,7 +244,7 @@ ] }, { - "$id": "12", + "$id": "32", "kind": "model", "name": "NoDecoratorModelInInternal", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation", @@ -92,12 +254,12 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "33", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "14", + "$id": "34", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110,9 +272,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.NoDecoratorModelInInternal.name", "serializationOptions": { - "$id": "15", + "$id": "35", "json": { - "$id": "16", + "$id": "36", "name": "name" } } @@ -120,7 +282,7 @@ ] }, { - "$id": "17", + "$id": "37", "kind": "model", "name": "InternalDecoratorModelInInternal", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation", @@ -131,12 +293,12 @@ "decorators": [], "properties": [ { - "$id": "18", + "$id": "38", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "19", + "$id": "39", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149,9 +311,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.InternalDecoratorModelInInternal.name", "serializationOptions": { - "$id": "20", + "$id": "40", "json": { - "$id": "21", + "$id": "41", "name": "name" } } @@ -159,7 +321,7 @@ ] }, { - "$id": "22", + "$id": "42", "kind": "model", "name": "PublicDecoratorModelInInternal", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation", @@ -170,12 +332,12 @@ "decorators": [], "properties": [ { - "$id": "23", + "$id": "43", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "24", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -188,9 +350,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.PublicDecoratorModelInInternal.name", "serializationOptions": { - "$id": "25", + "$id": "45", "json": { - "$id": "26", + "$id": "46", "name": "name" } } @@ -198,7 +360,7 @@ ] }, { - "$id": "27", + "$id": "47", "kind": "model", "name": "SharedModel", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation", @@ -208,12 +370,12 @@ "decorators": [], "properties": [ { - "$id": "28", + "$id": "48", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "29", + "$id": "49", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -226,9 +388,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation.SharedModel.name", "serializationOptions": { - "$id": "30", + "$id": "50", "json": { - "$id": "31", + "$id": "51", "name": "name" } } @@ -236,7 +398,7 @@ ] }, { - "$id": "32", + "$id": "52", "kind": "model", "name": "OuterModel", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation", @@ -245,7 +407,7 @@ "doc": "Used in internal operations, should be generated but not exported.", "decorators": [], "baseModel": { - "$id": "33", + "$id": "53", "kind": "model", "name": "BaseModel", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation", @@ -255,12 +417,12 @@ "decorators": [], "properties": [ { - "$id": "34", + "$id": "54", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "35", + "$id": "55", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -273,9 +435,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.BaseModel.name", "serializationOptions": { - "$id": "36", + "$id": "56", "json": { - "$id": "37", + "$id": "57", "name": "name" } } @@ -284,12 +446,12 @@ }, "properties": [ { - "$id": "38", + "$id": "58", "kind": "property", "name": "inner", "serializedName": "inner", "type": { - "$id": "39", + "$id": "59", "kind": "model", "name": "InnerModel", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation", @@ -299,12 +461,12 @@ "decorators": [], "properties": [ { - "$id": "40", + "$id": "60", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "41", + "$id": "61", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -317,9 +479,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.InnerModel.name", "serializationOptions": { - "$id": "42", + "$id": "62", "json": { - "$id": "43", + "$id": "63", "name": "name" } } @@ -333,9 +495,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.OuterModel.inner", "serializationOptions": { - "$id": "44", + "$id": "64", "json": { - "$id": "45", + "$id": "65", "name": "inner" } } @@ -343,13 +505,13 @@ ] }, { - "$ref": "39" + "$ref": "59" }, { - "$ref": "33" + "$ref": "53" }, { - "$id": "46", + "$id": "66", "kind": "model", "name": "AbstractModel", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation", @@ -358,13 +520,13 @@ "doc": "Used in internal operations, should be generated but not exported.", "decorators": [], "discriminatorProperty": { - "$id": "47", + "$id": "67", "kind": "property", "name": "kind", "serializedName": "kind", "doc": "Discriminator property for AbstractModel.", "type": { - "$id": "48", + "$id": "68", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -377,24 +539,24 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.AbstractModel.kind", "serializationOptions": { - "$id": "49", + "$id": "69", "json": { - "$id": "50", + "$id": "70", "name": "kind" } } }, "properties": [ { - "$ref": "47" + "$ref": "67" }, { - "$id": "51", + "$id": "71", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "52", + "$id": "72", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -407,18 +569,18 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.AbstractModel.name", "serializationOptions": { - "$id": "53", + "$id": "73", "json": { - "$id": "54", + "$id": "74", "name": "name" } } } ], "discriminatedSubtypes": { - "$id": "55", + "$id": "75", "real": { - "$id": "56", + "$id": "76", "kind": "model", "name": "RealModel", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation", @@ -428,29 +590,16 @@ "discriminatorValue": "real", "decorators": [], "baseModel": { - "$ref": "46" + "$ref": "66" }, "properties": [ { - "$id": "57", + "$id": "77", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "58", - "kind": "constant", - "name": "RealModelKind", - "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation", - "usage": "Output,Json", - "valueType": { - "$id": "59", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "real", - "decorators": [] + "$ref": "2" }, "optional": false, "readOnly": false, @@ -459,9 +608,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.RealModel.kind", "serializationOptions": { - "$id": "60", + "$id": "78", "json": { - "$id": "61", + "$id": "79", "name": "kind" } } @@ -471,12 +620,12 @@ } }, { - "$ref": "56" + "$ref": "76" } ], "clients": [ { - "$id": "62", + "$id": "80", "kind": "client", "name": "AccessClient", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access", @@ -484,12 +633,12 @@ "methods": [], "parameters": [ { - "$id": "63", + "$id": "81", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "64", + "$id": "82", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -503,9 +652,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "65", + "$id": "83", "type": { - "$id": "66", + "$id": "84", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -519,29 +668,29 @@ "apiVersions": [], "children": [ { - "$id": "67", + "$id": "85", "kind": "client", "name": "PublicOperation", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation", "methods": [ { - "$id": "68", + "$id": "86", "kind": "basic", "name": "noDecoratorInPublic", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "69", + "$id": "87", "name": "noDecoratorInPublic", "resourceName": "PublicOperation", "accessibility": "public", "parameters": [ { - "$id": "70", + "$id": "88", "name": "name", "nameInRequest": "name", "type": { - "$id": "71", + "$id": "89", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -558,24 +707,11 @@ "skipUrlEncoding": false }, { - "$id": "72", + "$id": "90", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "73", - "kind": "constant", - "name": "noDecoratorInPublicContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "74", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -590,12 +726,12 @@ ], "responses": [ { - "$id": "75", + "$id": "91", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "22" }, "headers": [], "isErrorResponse": false, @@ -615,11 +751,11 @@ }, "parameters": [ { - "$id": "76", + "$id": "92", "name": "name", "nameInRequest": "name", "type": { - "$id": "77", + "$id": "93", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -636,11 +772,11 @@ "skipUrlEncoding": false }, { - "$id": "78", + "$id": "94", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "73" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -654,9 +790,9 @@ } ], "response": { - "$id": "79", + "$id": "95", "type": { - "$ref": "2" + "$ref": "22" } }, "isOverride": false, @@ -665,23 +801,23 @@ "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation.noDecoratorInPublic" }, { - "$id": "80", + "$id": "96", "kind": "basic", "name": "publicDecoratorInPublic", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "81", + "$id": "97", "name": "publicDecoratorInPublic", "resourceName": "PublicOperation", "accessibility": "public", "parameters": [ { - "$id": "82", + "$id": "98", "name": "name", "nameInRequest": "name", "type": { - "$id": "83", + "$id": "99", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -698,24 +834,11 @@ "skipUrlEncoding": false }, { - "$id": "84", + "$id": "100", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "85", - "kind": "constant", - "name": "publicDecoratorInPublicContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "86", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -730,12 +853,12 @@ ], "responses": [ { - "$id": "87", + "$id": "101", "statusCodes": [ 200 ], "bodyType": { - "$ref": "7" + "$ref": "27" }, "headers": [], "isErrorResponse": false, @@ -755,11 +878,11 @@ }, "parameters": [ { - "$id": "88", + "$id": "102", "name": "name", "nameInRequest": "name", "type": { - "$id": "89", + "$id": "103", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -776,11 +899,11 @@ "skipUrlEncoding": false }, { - "$id": "90", + "$id": "104", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "85" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -794,9 +917,9 @@ } ], "response": { - "$id": "91", + "$id": "105", "type": { - "$ref": "7" + "$ref": "27" } }, "isOverride": false, @@ -807,12 +930,12 @@ ], "parameters": [ { - "$id": "92", + "$id": "106", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "93", + "$id": "107", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -826,9 +949,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "94", + "$id": "108", "type": { - "$id": "95", + "$id": "109", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -841,33 +964,33 @@ "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation", "apiVersions": [], "parent": { - "$ref": "62" + "$ref": "80" } }, { - "$id": "96", + "$id": "110", "kind": "client", "name": "InternalOperation", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation", "methods": [ { - "$id": "97", + "$id": "111", "kind": "basic", "name": "noDecoratorInInternal", "accessibility": "internal", "apiVersions": [], "operation": { - "$id": "98", + "$id": "112", "name": "noDecoratorInInternal", "resourceName": "InternalOperation", "accessibility": "internal", "parameters": [ { - "$id": "99", + "$id": "113", "name": "name", "nameInRequest": "name", "type": { - "$id": "100", + "$id": "114", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -884,24 +1007,11 @@ "skipUrlEncoding": false }, { - "$id": "101", + "$id": "115", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "102", - "kind": "constant", - "name": "noDecoratorInInternalContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "103", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -916,12 +1026,12 @@ ], "responses": [ { - "$id": "104", + "$id": "116", "statusCodes": [ 200 ], "bodyType": { - "$ref": "12" + "$ref": "32" }, "headers": [], "isErrorResponse": false, @@ -941,11 +1051,11 @@ }, "parameters": [ { - "$id": "105", + "$id": "117", "name": "name", "nameInRequest": "name", "type": { - "$id": "106", + "$id": "118", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -962,11 +1072,11 @@ "skipUrlEncoding": false }, { - "$id": "107", + "$id": "119", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "102" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -980,9 +1090,9 @@ } ], "response": { - "$id": "108", + "$id": "120", "type": { - "$ref": "12" + "$ref": "32" } }, "isOverride": false, @@ -991,23 +1101,23 @@ "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.noDecoratorInInternal" }, { - "$id": "109", + "$id": "121", "kind": "basic", "name": "internalDecoratorInInternal", "accessibility": "internal", "apiVersions": [], "operation": { - "$id": "110", + "$id": "122", "name": "internalDecoratorInInternal", "resourceName": "InternalOperation", "accessibility": "internal", "parameters": [ { - "$id": "111", + "$id": "123", "name": "name", "nameInRequest": "name", "type": { - "$id": "112", + "$id": "124", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1024,24 +1134,11 @@ "skipUrlEncoding": false }, { - "$id": "113", + "$id": "125", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "114", - "kind": "constant", - "name": "internalDecoratorInInternalContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "115", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1056,12 +1153,12 @@ ], "responses": [ { - "$id": "116", + "$id": "126", "statusCodes": [ 200 ], "bodyType": { - "$ref": "17" + "$ref": "37" }, "headers": [], "isErrorResponse": false, @@ -1081,11 +1178,11 @@ }, "parameters": [ { - "$id": "117", + "$id": "127", "name": "name", "nameInRequest": "name", "type": { - "$id": "118", + "$id": "128", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1102,11 +1199,11 @@ "skipUrlEncoding": false }, { - "$id": "119", + "$id": "129", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "114" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1120,9 +1217,9 @@ } ], "response": { - "$id": "120", + "$id": "130", "type": { - "$ref": "17" + "$ref": "37" } }, "isOverride": false, @@ -1131,23 +1228,23 @@ "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.internalDecoratorInInternal" }, { - "$id": "121", + "$id": "131", "kind": "basic", "name": "publicDecoratorInInternal", "accessibility": "internal", "apiVersions": [], "operation": { - "$id": "122", + "$id": "132", "name": "publicDecoratorInInternal", "resourceName": "InternalOperation", "accessibility": "internal", "parameters": [ { - "$id": "123", + "$id": "133", "name": "name", "nameInRequest": "name", "type": { - "$id": "124", + "$id": "134", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1164,24 +1261,11 @@ "skipUrlEncoding": false }, { - "$id": "125", + "$id": "135", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "126", - "kind": "constant", - "name": "publicDecoratorInInternalContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "127", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1196,12 +1280,12 @@ ], "responses": [ { - "$id": "128", + "$id": "136", "statusCodes": [ 200 ], "bodyType": { - "$ref": "22" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -1221,11 +1305,11 @@ }, "parameters": [ { - "$id": "129", + "$id": "137", "name": "name", "nameInRequest": "name", "type": { - "$id": "130", + "$id": "138", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1242,11 +1326,11 @@ "skipUrlEncoding": false }, { - "$id": "131", + "$id": "139", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "126" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1260,9 +1344,9 @@ } ], "response": { - "$id": "132", + "$id": "140", "type": { - "$ref": "22" + "$ref": "42" } }, "isOverride": false, @@ -1273,12 +1357,12 @@ ], "parameters": [ { - "$id": "133", + "$id": "141", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "134", + "$id": "142", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1292,9 +1376,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "135", + "$id": "143", "type": { - "$id": "136", + "$id": "144", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1307,33 +1391,33 @@ "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation", "apiVersions": [], "parent": { - "$ref": "62" + "$ref": "80" } }, { - "$id": "137", + "$id": "145", "kind": "client", "name": "SharedModelInOperation", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation", "methods": [ { - "$id": "138", + "$id": "146", "kind": "basic", "name": "public", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "139", + "$id": "147", "name": "public", "resourceName": "SharedModelInOperation", "accessibility": "public", "parameters": [ { - "$id": "140", + "$id": "148", "name": "name", "nameInRequest": "name", "type": { - "$id": "141", + "$id": "149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1350,24 +1434,11 @@ "skipUrlEncoding": false }, { - "$id": "142", + "$id": "150", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "143", - "kind": "constant", - "name": "publicContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "144", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1382,12 +1453,12 @@ ], "responses": [ { - "$id": "145", + "$id": "151", "statusCodes": [ 200 ], "bodyType": { - "$ref": "27" + "$ref": "47" }, "headers": [], "isErrorResponse": false, @@ -1407,11 +1478,11 @@ }, "parameters": [ { - "$id": "146", + "$id": "152", "name": "name", "nameInRequest": "name", "type": { - "$id": "147", + "$id": "153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1428,11 +1499,11 @@ "skipUrlEncoding": false }, { - "$id": "148", + "$id": "154", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "143" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1446,9 +1517,9 @@ } ], "response": { - "$id": "149", + "$id": "155", "type": { - "$ref": "27" + "$ref": "47" } }, "isOverride": false, @@ -1457,23 +1528,23 @@ "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation.public" }, { - "$id": "150", + "$id": "156", "kind": "basic", "name": "internal", "accessibility": "internal", "apiVersions": [], "operation": { - "$id": "151", + "$id": "157", "name": "internal", "resourceName": "SharedModelInOperation", "accessibility": "internal", "parameters": [ { - "$id": "152", + "$id": "158", "name": "name", "nameInRequest": "name", "type": { - "$id": "153", + "$id": "159", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1490,24 +1561,11 @@ "skipUrlEncoding": false }, { - "$id": "154", + "$id": "160", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "155", - "kind": "constant", - "name": "internalContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "156", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1522,12 +1580,12 @@ ], "responses": [ { - "$id": "157", + "$id": "161", "statusCodes": [ 200 ], "bodyType": { - "$ref": "27" + "$ref": "47" }, "headers": [], "isErrorResponse": false, @@ -1547,11 +1605,11 @@ }, "parameters": [ { - "$id": "158", + "$id": "162", "name": "name", "nameInRequest": "name", "type": { - "$id": "159", + "$id": "163", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1568,11 +1626,11 @@ "skipUrlEncoding": false }, { - "$id": "160", + "$id": "164", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "155" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1586,9 +1644,9 @@ } ], "response": { - "$id": "161", + "$id": "165", "type": { - "$ref": "27" + "$ref": "47" } }, "isOverride": false, @@ -1599,12 +1657,12 @@ ], "parameters": [ { - "$id": "162", + "$id": "166", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "163", + "$id": "167", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1618,9 +1676,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "164", + "$id": "168", "type": { - "$id": "165", + "$id": "169", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1633,35 +1691,35 @@ "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation", "apiVersions": [], "parent": { - "$ref": "62" + "$ref": "80" } }, { - "$id": "166", + "$id": "170", "kind": "client", "name": "RelativeModelInOperation", "namespace": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation", "methods": [ { - "$id": "167", + "$id": "171", "kind": "basic", "name": "operation", "accessibility": "internal", "apiVersions": [], "doc": "Expected query parameter: name=\"Madge\"\nExpected response body:\n```json\n{\n \"name\": \"Madge\",\n \"inner\":\n {\n \"name\": \"Madge\"\n }\n}\n```", "operation": { - "$id": "168", + "$id": "172", "name": "operation", "resourceName": "RelativeModelInOperation", "doc": "Expected query parameter: name=\"Madge\"\nExpected response body:\n```json\n{\n \"name\": \"Madge\",\n \"inner\":\n {\n \"name\": \"Madge\"\n }\n}\n```", "accessibility": "internal", "parameters": [ { - "$id": "169", + "$id": "173", "name": "name", "nameInRequest": "name", "type": { - "$id": "170", + "$id": "174", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1678,24 +1736,11 @@ "skipUrlEncoding": false }, { - "$id": "171", + "$id": "175", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "172", - "kind": "constant", - "name": "operationContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "173", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1710,12 +1755,12 @@ ], "responses": [ { - "$id": "174", + "$id": "176", "statusCodes": [ 200 ], "bodyType": { - "$ref": "32" + "$ref": "52" }, "headers": [], "isErrorResponse": false, @@ -1735,11 +1780,11 @@ }, "parameters": [ { - "$id": "175", + "$id": "177", "name": "name", "nameInRequest": "name", "type": { - "$id": "176", + "$id": "178", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1756,11 +1801,11 @@ "skipUrlEncoding": false }, { - "$id": "177", + "$id": "179", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "172" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1774,9 +1819,9 @@ } ], "response": { - "$id": "178", + "$id": "180", "type": { - "$ref": "32" + "$ref": "52" } }, "isOverride": false, @@ -1785,25 +1830,25 @@ "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.operation" }, { - "$id": "179", + "$id": "181", "kind": "basic", "name": "discriminator", "accessibility": "internal", "apiVersions": [], "doc": "Expected query parameter: kind=\"real\"\nExpected response body:\n```json\n{\n \"name\": \"Madge\",\n \"kind\": \"real\"\n}\n```", "operation": { - "$id": "180", + "$id": "182", "name": "discriminator", "resourceName": "RelativeModelInOperation", "doc": "Expected query parameter: kind=\"real\"\nExpected response body:\n```json\n{\n \"name\": \"Madge\",\n \"kind\": \"real\"\n}\n```", "accessibility": "internal", "parameters": [ { - "$id": "181", + "$id": "183", "name": "kind", "nameInRequest": "kind", "type": { - "$id": "182", + "$id": "184", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1820,24 +1865,11 @@ "skipUrlEncoding": false }, { - "$id": "183", + "$id": "185", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "184", - "kind": "constant", - "name": "discriminatorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "185", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1857,7 +1889,7 @@ 200 ], "bodyType": { - "$ref": "46" + "$ref": "66" }, "headers": [], "isErrorResponse": false, @@ -1902,7 +1934,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "184" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1918,7 +1950,7 @@ "response": { "$id": "190", "type": { - "$ref": "46" + "$ref": "66" } }, "isOverride": false, @@ -1963,7 +1995,7 @@ "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation", "apiVersions": [], "parent": { - "$ref": "62" + "$ref": "80" } } ] diff --git a/test/CadlRanchProjects/azure/client-generator-core/flatten-property/tspCodeModel.json b/test/CadlRanchProjects/azure/client-generator-core/flatten-property/tspCodeModel.json index 9698ff96a94..3d54498b448 100644 --- a/test/CadlRanchProjects/azure/client-generator-core/flatten-property/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/client-generator-core/flatten-property/tspCodeModel.json @@ -3,9 +3,75 @@ "name": "_Specs_.Azure.ClientGenerator.Core.FlattenProperty", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "putFlattenModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "putFlattenModelContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "putNestedFlattenModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "putNestedFlattenModelContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "10", "kind": "model", "name": "FlattenModel", "namespace": "_Specs_.Azure.ClientGenerator.Core.FlattenProperty", @@ -15,12 +81,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "11", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "4", + "$id": "12", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33,20 +99,20 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.FlattenProperty.FlattenModel.name", "serializationOptions": { - "$id": "5", + "$id": "13", "json": { - "$id": "6", + "$id": "14", "name": "name" } } }, { - "$id": "7", + "$id": "15", "kind": "property", "name": "properties", "serializedName": "properties", "type": { - "$id": "8", + "$id": "16", "kind": "model", "name": "ChildModel", "namespace": "_Specs_.Azure.ClientGenerator.Core.FlattenProperty", @@ -56,12 +122,12 @@ "decorators": [], "properties": [ { - "$id": "9", + "$id": "17", "kind": "property", "name": "description", "serializedName": "description", "type": { - "$id": "10", + "$id": "18", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74,20 +140,20 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.FlattenProperty.ChildModel.description", "serializationOptions": { - "$id": "11", + "$id": "19", "json": { - "$id": "12", + "$id": "20", "name": "description" } } }, { - "$id": "13", + "$id": "21", "kind": "property", "name": "age", "serializedName": "age", "type": { - "$id": "14", + "$id": "22", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -100,9 +166,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.FlattenProperty.ChildModel.age", "serializationOptions": { - "$id": "15", + "$id": "23", "json": { - "$id": "16", + "$id": "24", "name": "age" } } @@ -116,9 +182,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.FlattenProperty.FlattenModel.properties", "serializationOptions": { - "$id": "17", + "$id": "25", "json": { - "$id": "18", + "$id": "26", "name": "properties" } } @@ -126,10 +192,10 @@ ] }, { - "$ref": "8" + "$ref": "16" }, { - "$id": "19", + "$id": "27", "kind": "model", "name": "NestedFlattenModel", "namespace": "_Specs_.Azure.ClientGenerator.Core.FlattenProperty", @@ -139,12 +205,12 @@ "decorators": [], "properties": [ { - "$id": "20", + "$id": "28", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "21", + "$id": "29", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -157,20 +223,20 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.FlattenProperty.NestedFlattenModel.name", "serializationOptions": { - "$id": "22", + "$id": "30", "json": { - "$id": "23", + "$id": "31", "name": "name" } } }, { - "$id": "24", + "$id": "32", "kind": "property", "name": "properties", "serializedName": "properties", "type": { - "$id": "25", + "$id": "33", "kind": "model", "name": "ChildFlattenModel", "namespace": "_Specs_.Azure.ClientGenerator.Core.FlattenProperty", @@ -180,12 +246,12 @@ "decorators": [], "properties": [ { - "$id": "26", + "$id": "34", "kind": "property", "name": "summary", "serializedName": "summary", "type": { - "$id": "27", + "$id": "35", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -198,20 +264,20 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.FlattenProperty.ChildFlattenModel.summary", "serializationOptions": { - "$id": "28", + "$id": "36", "json": { - "$id": "29", + "$id": "37", "name": "summary" } } }, { - "$id": "30", + "$id": "38", "kind": "property", "name": "properties", "serializedName": "properties", "type": { - "$ref": "8" + "$ref": "16" }, "optional": false, "readOnly": false, @@ -220,9 +286,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.FlattenProperty.ChildFlattenModel.properties", "serializationOptions": { - "$id": "31", + "$id": "39", "json": { - "$id": "32", + "$id": "40", "name": "properties" } } @@ -236,9 +302,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.FlattenProperty.NestedFlattenModel.properties", "serializationOptions": { - "$id": "33", + "$id": "41", "json": { - "$id": "34", + "$id": "42", "name": "properties" } } @@ -246,49 +312,36 @@ ] }, { - "$ref": "25" + "$ref": "33" } ], "clients": [ { - "$id": "35", + "$id": "43", "kind": "client", "name": "FlattenPropertyClient", "namespace": "_Specs_.Azure.ClientGenerator.Core.FlattenProperty", "doc": "Illustrates the model flatten cases.", "methods": [ { - "$id": "36", + "$id": "44", "kind": "basic", "name": "putFlattenModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "37", + "$id": "45", "name": "putFlattenModel", "resourceName": "FlattenProperty", "accessibility": "public", "parameters": [ { - "$id": "38", + "$id": "46", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "39", - "kind": "constant", - "name": "putFlattenModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "40", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -301,24 +354,11 @@ "skipUrlEncoding": false }, { - "$id": "41", + "$id": "47", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "42", - "kind": "constant", - "name": "putFlattenModelContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "43", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -331,11 +371,11 @@ "skipUrlEncoding": false }, { - "$id": "44", + "$id": "48", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -350,12 +390,12 @@ ], "responses": [ { - "$id": "45", + "$id": "49", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "10" }, "headers": [], "isErrorResponse": false, @@ -378,11 +418,11 @@ }, "parameters": [ { - "$id": "46", + "$id": "50", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -395,12 +435,12 @@ "skipUrlEncoding": false }, { - "$id": "47", + "$id": "51", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "39" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -413,11 +453,11 @@ "skipUrlEncoding": false }, { - "$id": "48", + "$id": "52", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "42" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -431,9 +471,9 @@ } ], "response": { - "$id": "49", + "$id": "53", "type": { - "$ref": "2" + "$ref": "10" } }, "isOverride": false, @@ -442,37 +482,24 @@ "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.FlattenProperty.putFlattenModel" }, { - "$id": "50", + "$id": "54", "kind": "basic", "name": "putNestedFlattenModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "51", + "$id": "55", "name": "putNestedFlattenModel", "resourceName": "FlattenProperty", "accessibility": "public", "parameters": [ { - "$id": "52", + "$id": "56", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "53", - "kind": "constant", - "name": "putNestedFlattenModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "54", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -485,24 +512,11 @@ "skipUrlEncoding": false }, { - "$id": "55", + "$id": "57", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "56", - "kind": "constant", - "name": "putNestedFlattenModelContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "57", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -519,7 +533,7 @@ "name": "input", "nameInRequest": "input", "type": { - "$ref": "19" + "$ref": "27" }, "location": "Body", "isApiVersion": false, @@ -539,7 +553,7 @@ 200 ], "bodyType": { - "$ref": "19" + "$ref": "27" }, "headers": [], "isErrorResponse": false, @@ -566,7 +580,7 @@ "name": "input", "nameInRequest": "input", "type": { - "$ref": "19" + "$ref": "27" }, "location": "Body", "isApiVersion": false, @@ -584,7 +598,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "53" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -601,7 +615,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "56" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -617,7 +631,7 @@ "response": { "$id": "63", "type": { - "$ref": "19" + "$ref": "27" } }, "isOverride": false, diff --git a/test/CadlRanchProjects/azure/client-generator-core/usage/tspCodeModel.json b/test/CadlRanchProjects/azure/client-generator-core/usage/tspCodeModel.json index e5b810bd193..59cac0e5312 100644 --- a/test/CadlRanchProjects/azure/client-generator-core/usage/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/client-generator-core/usage/tspCodeModel.json @@ -3,9 +3,91 @@ "name": "_Specs_.Azure.ClientGenerator.Core.Usage", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "inputToInputOutputContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "outputToInputOutputContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "modelInReadOnlyPropertyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "modelInReadOnlyPropertyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "orphanModelSerializableContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "12", "kind": "model", "name": "InputModel", "namespace": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation", @@ -15,12 +97,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "13", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "4", + "$id": "14", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33,9 +115,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.InputModel.name", "serializationOptions": { - "$id": "5", + "$id": "15", "json": { - "$id": "6", + "$id": "16", "name": "name" } } @@ -43,7 +125,7 @@ ] }, { - "$id": "7", + "$id": "17", "kind": "model", "name": "OutputModel", "namespace": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation", @@ -53,12 +135,12 @@ "decorators": [], "properties": [ { - "$id": "8", + "$id": "18", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "9", + "$id": "19", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71,9 +153,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.OutputModel.name", "serializationOptions": { - "$id": "10", + "$id": "20", "json": { - "$id": "11", + "$id": "21", "name": "name" } } @@ -81,7 +163,7 @@ ] }, { - "$id": "12", + "$id": "22", "kind": "model", "name": "RoundTripModel", "namespace": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation", @@ -90,12 +172,12 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "23", "kind": "property", "name": "result", "serializedName": "result", "type": { - "$id": "14", + "$id": "24", "kind": "model", "name": "ResultModel", "namespace": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation", @@ -104,12 +186,12 @@ "decorators": [], "properties": [ { - "$id": "15", + "$id": "25", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "16", + "$id": "26", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122,9 +204,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.ResultModel.name", "serializationOptions": { - "$id": "17", + "$id": "27", "json": { - "$id": "18", + "$id": "28", "name": "name" } } @@ -138,9 +220,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.RoundTripModel.result", "serializationOptions": { - "$id": "19", + "$id": "29", "json": { - "$id": "20", + "$id": "30", "name": "result" } } @@ -148,10 +230,10 @@ ] }, { - "$ref": "14" + "$ref": "24" }, { - "$id": "21", + "$id": "31", "kind": "model", "name": "OrphanModel", "namespace": "_Specs_.Azure.ClientGenerator.Core.Usage", @@ -162,12 +244,12 @@ "decorators": [], "properties": [ { - "$id": "22", + "$id": "32", "kind": "property", "name": "modelName", "serializedName": "name", "type": { - "$id": "23", + "$id": "33", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -180,16 +262,16 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Usage.OrphanModel.name", "serializationOptions": { - "$id": "24" + "$id": "34" } }, { - "$id": "25", + "$id": "35", "kind": "property", "name": "description", "serializedName": "desc", "type": { - "$id": "26", + "$id": "36", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -202,9 +284,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Usage.OrphanModel.description", "serializationOptions": { - "$id": "27", + "$id": "37", "json": { - "$id": "28", + "$id": "38", "name": "desc" } } @@ -214,7 +296,7 @@ ], "clients": [ { - "$id": "29", + "$id": "39", "kind": "client", "name": "UsageClient", "namespace": "_Specs_.Azure.ClientGenerator.Core.Usage", @@ -222,12 +304,12 @@ "methods": [], "parameters": [ { - "$id": "30", + "$id": "40", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "31", + "$id": "41", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -241,9 +323,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "32", + "$id": "42", "type": { - "$id": "33", + "$id": "43", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -257,45 +339,32 @@ "apiVersions": [], "children": [ { - "$id": "34", + "$id": "44", "kind": "client", "name": "ModelInOperation", "namespace": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation", "methods": [ { - "$id": "35", + "$id": "45", "kind": "basic", "name": "inputToInputOutput", "accessibility": "public", "apiVersions": [], "doc": "Expected body parameter: \n```json\n{\n \"name\": \"Madge\"\n}\n```", "operation": { - "$id": "36", + "$id": "46", "name": "inputToInputOutput", "resourceName": "ModelInOperation", "doc": "Expected body parameter: \n```json\n{\n \"name\": \"Madge\"\n}\n```", "accessibility": "public", "parameters": [ { - "$id": "37", + "$id": "47", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "38", - "kind": "constant", - "name": "inputToInputOutputContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "39", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -308,11 +377,11 @@ "skipUrlEncoding": false }, { - "$id": "40", + "$id": "48", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "12" }, "location": "Body", "isApiVersion": false, @@ -327,7 +396,7 @@ ], "responses": [ { - "$id": "41", + "$id": "49", "statusCodes": [ 204 ], @@ -349,11 +418,11 @@ }, "parameters": [ { - "$id": "42", + "$id": "50", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "12" }, "location": "Body", "isApiVersion": false, @@ -366,12 +435,12 @@ "skipUrlEncoding": false }, { - "$id": "43", + "$id": "51", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "38" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -385,7 +454,7 @@ } ], "response": { - "$id": "44" + "$id": "52" }, "isOverride": false, "generateConvenient": true, @@ -393,38 +462,25 @@ "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.inputToInputOutput" }, { - "$id": "45", + "$id": "53", "kind": "basic", "name": "outputToInputOutput", "accessibility": "public", "apiVersions": [], "doc": "Expected response body: \n```json\n{\n \"name\": \"Madge\"\n}\n```", "operation": { - "$id": "46", + "$id": "54", "name": "outputToInputOutput", "resourceName": "ModelInOperation", "doc": "Expected response body: \n```json\n{\n \"name\": \"Madge\"\n}\n```", "accessibility": "public", "parameters": [ { - "$id": "47", + "$id": "55", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "48", - "kind": "constant", - "name": "outputToInputOutputContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "49", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -439,12 +495,12 @@ ], "responses": [ { - "$id": "50", + "$id": "56", "statusCodes": [ 200 ], "bodyType": { - "$ref": "7" + "$ref": "17" }, "headers": [], "isErrorResponse": false, @@ -464,11 +520,11 @@ }, "parameters": [ { - "$id": "51", + "$id": "57", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "48" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -482,9 +538,9 @@ } ], "response": { - "$id": "52", + "$id": "58", "type": { - "$ref": "7" + "$ref": "17" } }, "isOverride": false, @@ -493,39 +549,26 @@ "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.outputToInputOutput" }, { - "$id": "53", + "$id": "59", "kind": "basic", "name": "modelInReadOnlyProperty", "accessibility": "public", "apiVersions": [], "doc": "\"ResultModel\" should be usage=output, as it is read-only and does not exist in request body.\n\nExpected body parameter: \n```json\n{\n}\n```\n\nExpected response body: \n```json\n{\n \"result\": {\n \"name\": \"Madge\"\n }\n}\n```", "operation": { - "$id": "54", + "$id": "60", "name": "modelInReadOnlyProperty", "resourceName": "ModelInOperation", "doc": "\"ResultModel\" should be usage=output, as it is read-only and does not exist in request body.\n\nExpected body parameter: \n```json\n{\n}\n```\n\nExpected response body: \n```json\n{\n \"result\": {\n \"name\": \"Madge\"\n }\n}\n```", "accessibility": "public", "parameters": [ { - "$id": "55", + "$id": "61", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "56", - "kind": "constant", - "name": "modelInReadOnlyPropertyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "57", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -538,24 +581,11 @@ "skipUrlEncoding": false }, { - "$id": "58", + "$id": "62", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "59", - "kind": "constant", - "name": "modelInReadOnlyPropertyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "60", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -568,11 +598,11 @@ "skipUrlEncoding": false }, { - "$id": "61", + "$id": "63", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "22" }, "location": "Body", "isApiVersion": false, @@ -587,12 +617,12 @@ ], "responses": [ { - "$id": "62", + "$id": "64", "statusCodes": [ 200 ], "bodyType": { - "$ref": "12" + "$ref": "22" }, "headers": [], "isErrorResponse": false, @@ -615,11 +645,11 @@ }, "parameters": [ { - "$id": "63", + "$id": "65", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "22" }, "location": "Body", "isApiVersion": false, @@ -632,12 +662,12 @@ "skipUrlEncoding": false }, { - "$id": "64", + "$id": "66", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "56" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -650,11 +680,11 @@ "skipUrlEncoding": false }, { - "$id": "65", + "$id": "67", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "59" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -668,9 +698,9 @@ } ], "response": { - "$id": "66", + "$id": "68", "type": { - "$ref": "12" + "$ref": "22" } }, "isOverride": false, @@ -679,39 +709,26 @@ "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.modelInReadOnlyProperty" }, { - "$id": "67", + "$id": "69", "kind": "basic", "name": "orphanModelSerializable", "accessibility": "public", "apiVersions": [], "doc": "Serialize the 'OrphanModel' as request body.\n\nExpected body parameter: \n```json\n{\n \"name\": \"name\",\n \"desc\": \"desc\"\n}\n```", "operation": { - "$id": "68", + "$id": "70", "name": "orphanModelSerializable", "resourceName": "ModelInOperation", "doc": "Serialize the 'OrphanModel' as request body.\n\nExpected body parameter: \n```json\n{\n \"name\": \"name\",\n \"desc\": \"desc\"\n}\n```", "accessibility": "public", "parameters": [ { - "$id": "69", + "$id": "71", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "70", - "kind": "constant", - "name": "orphanModelSerializableContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "71", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -795,7 +812,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "70" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -853,7 +870,7 @@ "crossLanguageDefinitionId": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation", "apiVersions": [], "parent": { - "$ref": "29" + "$ref": "39" } } ] diff --git a/test/CadlRanchProjects/azure/core/basic/tspCodeModel.json b/test/CadlRanchProjects/azure/core/basic/tspCodeModel.json index 0e831b2c161..edfbf595ad3 100644 --- a/test/CadlRanchProjects/azure/core/basic/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/core/basic/tspCodeModel.json @@ -45,9 +45,171 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "6", + "kind": "constant", + "name": "CreateOrUpdateRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "createOrUpdateContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "CreateOrUpdateRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "createOrReplaceContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "createOrReplaceContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "listContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "deleteContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "exportContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "exportAllUsersContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "26", "kind": "model", "name": "User", "namespace": "_Specs_.Azure.Core.Basic", @@ -57,13 +219,13 @@ "decorators": [], "properties": [ { - "$id": "7", + "$id": "27", "kind": "property", "name": "id", "serializedName": "id", "doc": "The user's id.", "type": { - "$id": "8", + "$id": "28", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -76,21 +238,21 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Basic.User.id", "serializationOptions": { - "$id": "9", + "$id": "29", "json": { - "$id": "10", + "$id": "30", "name": "id" } } }, { - "$id": "11", + "$id": "31", "kind": "property", "name": "name", "serializedName": "name", "doc": "The user's name.", "type": { - "$id": "12", + "$id": "32", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103,25 +265,25 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Basic.User.name", "serializationOptions": { - "$id": "13", + "$id": "33", "json": { - "$id": "14", + "$id": "34", "name": "name" } } }, { - "$id": "15", + "$id": "35", "kind": "property", "name": "orders", "serializedName": "orders", "doc": "The user's order list", "type": { - "$id": "16", + "$id": "36", "kind": "array", "name": "ArrayUserOrder", "valueType": { - "$id": "17", + "$id": "37", "kind": "model", "name": "UserOrder", "namespace": "_Specs_.Azure.Core.Basic", @@ -131,13 +293,13 @@ "decorators": [], "properties": [ { - "$id": "18", + "$id": "38", "kind": "property", "name": "id", "serializedName": "id", "doc": "The user's id.", "type": { - "$id": "19", + "$id": "39", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -150,21 +312,21 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Basic.UserOrder.id", "serializationOptions": { - "$id": "20", + "$id": "40", "json": { - "$id": "21", + "$id": "41", "name": "id" } } }, { - "$id": "22", + "$id": "42", "kind": "property", "name": "userId", "serializedName": "userId", "doc": "The user's id.", "type": { - "$id": "23", + "$id": "43", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -177,21 +339,21 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Basic.UserOrder.userId", "serializationOptions": { - "$id": "24", + "$id": "44", "json": { - "$id": "25", + "$id": "45", "name": "userId" } } }, { - "$id": "26", + "$id": "46", "kind": "property", "name": "detail", "serializedName": "detail", "doc": "The user's order detail", "type": { - "$id": "27", + "$id": "47", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -204,9 +366,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Basic.UserOrder.detail", "serializationOptions": { - "$id": "28", + "$id": "48", "json": { - "$id": "29", + "$id": "49", "name": "detail" } } @@ -223,26 +385,26 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Basic.User.orders", "serializationOptions": { - "$id": "30", + "$id": "50", "json": { - "$id": "31", + "$id": "51", "name": "orders" } } }, { - "$id": "32", + "$id": "52", "kind": "property", "name": "etag", "serializedName": "etag", "doc": "The entity tag for this resource.", "type": { - "$id": "33", + "$id": "53", "kind": "string", "name": "eTag", "crossLanguageDefinitionId": "Azure.Core.eTag", "baseType": { - "$id": "34", + "$id": "54", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -257,9 +419,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Basic.User.etag", "serializationOptions": { - "$id": "35", + "$id": "55", "json": { - "$id": "36", + "$id": "56", "name": "etag" } } @@ -267,10 +429,10 @@ ] }, { - "$ref": "17" + "$ref": "37" }, { - "$id": "37", + "$id": "57", "kind": "model", "name": "UserList", "namespace": "_Specs_.Azure.Core.Basic", @@ -279,16 +441,16 @@ "decorators": [], "properties": [ { - "$id": "38", + "$id": "58", "kind": "property", "name": "users", "serializedName": "users", "type": { - "$id": "39", + "$id": "59", "kind": "array", "name": "ArrayUser", "valueType": { - "$ref": "6" + "$ref": "26" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -300,9 +462,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Basic.UserList.users", "serializationOptions": { - "$id": "40", + "$id": "60", "json": { - "$id": "41", + "$id": "61", "name": "users" } } @@ -310,7 +472,7 @@ ] }, { - "$id": "42", + "$id": "62", "kind": "model", "name": "PagedUser", "namespace": "Azure.Core.Foundations", @@ -320,13 +482,13 @@ "decorators": [], "properties": [ { - "$id": "43", + "$id": "63", "kind": "property", "name": "value", "serializedName": "value", "doc": "The User items on this page", "type": { - "$ref": "39" + "$ref": "59" }, "optional": false, "readOnly": false, @@ -335,26 +497,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.value", "serializationOptions": { - "$id": "44", + "$id": "64", "json": { - "$id": "45", + "$id": "65", "name": "value" } } }, { - "$id": "46", + "$id": "66", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "47", + "$id": "67", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "48", + "$id": "68", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -369,9 +531,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.nextLink", "serializationOptions": { - "$id": "49", + "$id": "69", "json": { - "$id": "50", + "$id": "70", "name": "nextLink" } } @@ -381,14 +543,14 @@ ], "clients": [ { - "$id": "51", + "$id": "71", "kind": "client", "name": "BasicClient", "namespace": "_Specs_.Azure.Core.Basic", "doc": "Illustrates bodies templated with Azure Core", "methods": [ { - "$id": "52", + "$id": "72", "kind": "basic", "name": "createOrUpdate", "accessibility": "public", @@ -398,7 +560,7 @@ "doc": "Creates or updates a User", "summary": "Adds a user or updates a user's fields.", "operation": { - "$id": "53", + "$id": "73", "name": "createOrUpdate", "resourceName": "User", "summary": "Adds a user or updates a user's fields.", @@ -406,12 +568,12 @@ "accessibility": "public", "parameters": [ { - "$id": "54", + "$id": "74", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "55", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -425,9 +587,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "56", + "$id": "76", "type": { - "$id": "57", + "$id": "77", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -438,12 +600,12 @@ "skipUrlEncoding": false }, { - "$id": "58", + "$id": "78", "name": "id", "nameInRequest": "id", "doc": "The user's id.", "type": { - "$id": "59", + "$id": "79", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -460,25 +622,12 @@ "skipUrlEncoding": false }, { - "$id": "60", + "$id": "80", "name": "contentType", "nameInRequest": "Content-Type", "doc": "This request has a JSON Merge Patch body.", "type": { - "$id": "61", - "kind": "constant", - "name": "CreateOrUpdateRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "62", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -491,24 +640,11 @@ "skipUrlEncoding": false }, { - "$id": "63", + "$id": "81", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "64", - "kind": "constant", - "name": "createOrUpdateContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "65", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -521,12 +657,12 @@ "skipUrlEncoding": false }, { - "$id": "66", + "$id": "82", "name": "resource", "nameInRequest": "resource", "doc": "The resource instance.", "type": { - "$ref": "6" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -541,12 +677,12 @@ ], "responses": [ { - "$id": "67", + "$id": "83", "statusCodes": [ 201 ], "bodyType": { - "$ref": "6" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -555,12 +691,12 @@ ] }, { - "$id": "68", + "$id": "84", "statusCodes": [ 200 ], "bodyType": { - "$ref": "6" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -583,12 +719,12 @@ }, "parameters": [ { - "$id": "69", + "$id": "85", "name": "id", "nameInRequest": "id", "doc": "The user's id.", "type": { - "$id": "70", + "$id": "86", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -605,25 +741,12 @@ "skipUrlEncoding": false }, { - "$id": "71", + "$id": "87", "name": "contentType", "nameInRequest": "Content-Type", "doc": "This request has a JSON Merge Patch body.", "type": { - "$id": "72", - "kind": "constant", - "name": "CreateOrUpdateRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "73", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -636,12 +759,12 @@ "skipUrlEncoding": false }, { - "$id": "74", + "$id": "88", "name": "resource", "nameInRequest": "resource", "doc": "The resource instance.", "type": { - "$ref": "6" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -654,11 +777,11 @@ "skipUrlEncoding": false }, { - "$id": "75", + "$id": "89", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "64" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -672,9 +795,9 @@ } ], "response": { - "$id": "76", + "$id": "90", "type": { - "$ref": "6" + "$ref": "26" } }, "isOverride": false, @@ -683,7 +806,7 @@ "crossLanguageDefinitionId": "_Specs_.Azure.Core.Basic.createOrUpdate" }, { - "$id": "77", + "$id": "91", "kind": "basic", "name": "createOrReplace", "accessibility": "public", @@ -693,7 +816,7 @@ "doc": "Creates or replaces a User", "summary": "Adds a user or replaces a user's fields.", "operation": { - "$id": "78", + "$id": "92", "name": "createOrReplace", "resourceName": "User", "summary": "Adds a user or replaces a user's fields.", @@ -701,12 +824,12 @@ "accessibility": "public", "parameters": [ { - "$id": "79", + "$id": "93", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "80", + "$id": "94", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -720,9 +843,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "81", + "$id": "95", "type": { - "$id": "82", + "$id": "96", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -733,12 +856,12 @@ "skipUrlEncoding": false }, { - "$id": "83", + "$id": "97", "name": "id", "nameInRequest": "id", "doc": "The user's id.", "type": { - "$id": "84", + "$id": "98", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -755,25 +878,12 @@ "skipUrlEncoding": false }, { - "$id": "85", + "$id": "99", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "86", - "kind": "constant", - "name": "createOrReplaceContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "87", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -786,24 +896,11 @@ "skipUrlEncoding": false }, { - "$id": "88", + "$id": "100", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "89", - "kind": "constant", - "name": "createOrReplaceContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "90", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -816,12 +913,12 @@ "skipUrlEncoding": false }, { - "$id": "91", + "$id": "101", "name": "resource", "nameInRequest": "resource", "doc": "The resource instance.", "type": { - "$ref": "6" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -836,12 +933,12 @@ ], "responses": [ { - "$id": "92", + "$id": "102", "statusCodes": [ 201 ], "bodyType": { - "$ref": "6" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -850,12 +947,12 @@ ] }, { - "$id": "93", + "$id": "103", "statusCodes": [ 200 ], "bodyType": { - "$ref": "6" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -878,12 +975,12 @@ }, "parameters": [ { - "$id": "94", + "$id": "104", "name": "id", "nameInRequest": "id", "doc": "The user's id.", "type": { - "$id": "95", + "$id": "105", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -900,12 +997,12 @@ "skipUrlEncoding": false }, { - "$id": "96", + "$id": "106", "name": "resource", "nameInRequest": "resource", "doc": "The resource instance.", "type": { - "$ref": "6" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -918,12 +1015,12 @@ "skipUrlEncoding": false }, { - "$id": "97", + "$id": "107", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "86" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -936,11 +1033,11 @@ "skipUrlEncoding": false }, { - "$id": "98", + "$id": "108", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "89" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -954,9 +1051,9 @@ } ], "response": { - "$id": "99", + "$id": "109", "type": { - "$ref": "6" + "$ref": "26" } }, "isOverride": false, @@ -965,7 +1062,7 @@ "crossLanguageDefinitionId": "_Specs_.Azure.Core.Basic.createOrReplace" }, { - "$id": "100", + "$id": "110", "kind": "basic", "name": "get", "accessibility": "public", @@ -975,7 +1072,7 @@ "doc": "Gets a User", "summary": "Gets a user.", "operation": { - "$id": "101", + "$id": "111", "name": "get", "resourceName": "User", "summary": "Gets a user.", @@ -983,12 +1080,12 @@ "accessibility": "public", "parameters": [ { - "$id": "102", + "$id": "112", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "103", + "$id": "113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1002,9 +1099,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "104", + "$id": "114", "type": { - "$id": "105", + "$id": "115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1015,12 +1112,12 @@ "skipUrlEncoding": false }, { - "$id": "106", + "$id": "116", "name": "id", "nameInRequest": "id", "doc": "The user's id.", "type": { - "$id": "107", + "$id": "117", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1037,24 +1134,11 @@ "skipUrlEncoding": false }, { - "$id": "108", + "$id": "118", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "109", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "110", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1069,12 +1153,12 @@ ], "responses": [ { - "$id": "111", + "$id": "119", "statusCodes": [ 200 ], "bodyType": { - "$ref": "6" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -1094,12 +1178,12 @@ }, "parameters": [ { - "$id": "112", + "$id": "120", "name": "id", "nameInRequest": "id", "doc": "The user's id.", "type": { - "$id": "113", + "$id": "121", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1116,11 +1200,11 @@ "skipUrlEncoding": false }, { - "$id": "114", + "$id": "122", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "109" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1134,9 +1218,9 @@ } ], "response": { - "$id": "115", + "$id": "123", "type": { - "$ref": "6" + "$ref": "26" } }, "isOverride": false, @@ -1145,7 +1229,7 @@ "crossLanguageDefinitionId": "_Specs_.Azure.Core.Basic.get" }, { - "$id": "116", + "$id": "124", "kind": "paging", "name": "list", "accessibility": "public", @@ -1155,7 +1239,7 @@ "doc": "Lists all Users", "summary": "Lists all users.", "operation": { - "$id": "117", + "$id": "125", "name": "list", "resourceName": "User", "summary": "Lists all users.", @@ -1163,12 +1247,12 @@ "accessibility": "public", "parameters": [ { - "$id": "118", + "$id": "126", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "119", + "$id": "127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1182,9 +1266,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "120", + "$id": "128", "type": { - "$id": "121", + "$id": "129", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1195,12 +1279,12 @@ "skipUrlEncoding": false }, { - "$id": "122", + "$id": "130", "name": "top", "nameInRequest": "top", "doc": "The number of result items to return.", "type": { - "$id": "123", + "$id": "131", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1217,12 +1301,12 @@ "skipUrlEncoding": false }, { - "$id": "124", + "$id": "132", "name": "skip", "nameInRequest": "skip", "doc": "The number of result items to skip.", "type": { - "$id": "125", + "$id": "133", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1239,12 +1323,12 @@ "skipUrlEncoding": false }, { - "$id": "126", + "$id": "134", "name": "maxpagesize", "nameInRequest": "maxpagesize", "doc": "The maximum number of result items per page.", "type": { - "$id": "127", + "$id": "135", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1261,16 +1345,16 @@ "skipUrlEncoding": false }, { - "$id": "128", + "$id": "136", "name": "orderby", "nameInRequest": "orderby", "doc": "Expressions that specify the order of returned results.", "type": { - "$id": "129", + "$id": "137", "kind": "array", "name": "Array", "valueType": { - "$id": "130", + "$id": "138", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1290,12 +1374,12 @@ "skipUrlEncoding": false }, { - "$id": "131", + "$id": "139", "name": "filter", "nameInRequest": "filter", "doc": "Filter the result list using the given expression.", "type": { - "$id": "132", + "$id": "140", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1312,12 +1396,12 @@ "skipUrlEncoding": false }, { - "$id": "133", + "$id": "141", "name": "select", "nameInRequest": "select", "doc": "Select the specified fields to be included in the response.", "type": { - "$ref": "129" + "$ref": "137" }, "location": "Query", "isApiVersion": false, @@ -1330,12 +1414,12 @@ "skipUrlEncoding": false }, { - "$id": "134", + "$id": "142", "name": "expand", "nameInRequest": "expand", "doc": "Expand the indicated resources into the response.", "type": { - "$ref": "129" + "$ref": "137" }, "location": "Query", "isApiVersion": false, @@ -1348,24 +1432,11 @@ "skipUrlEncoding": false }, { - "$id": "135", + "$id": "143", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "136", - "kind": "constant", - "name": "listContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "137", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1380,12 +1451,12 @@ ], "responses": [ { - "$id": "138", + "$id": "144", "statusCodes": [ 200 ], "bodyType": { - "$ref": "42" + "$ref": "62" }, "headers": [], "isErrorResponse": false, @@ -1405,12 +1476,12 @@ }, "parameters": [ { - "$id": "139", + "$id": "145", "name": "top", "nameInRequest": "top", "doc": "The number of result items to return.", "type": { - "$id": "140", + "$id": "146", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1427,12 +1498,12 @@ "skipUrlEncoding": false }, { - "$id": "141", + "$id": "147", "name": "skip", "nameInRequest": "skip", "doc": "The number of result items to skip.", "type": { - "$id": "142", + "$id": "148", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1449,12 +1520,12 @@ "skipUrlEncoding": false }, { - "$id": "143", + "$id": "149", "name": "maxpagesize", "nameInRequest": "maxpagesize", "doc": "The maximum number of result items per page.", "type": { - "$id": "144", + "$id": "150", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1471,12 +1542,12 @@ "skipUrlEncoding": false }, { - "$id": "145", + "$id": "151", "name": "orderby", "nameInRequest": "orderby", "doc": "Expressions that specify the order of returned results.", "type": { - "$ref": "129" + "$ref": "137" }, "location": "Query", "isApiVersion": false, @@ -1489,12 +1560,12 @@ "skipUrlEncoding": false }, { - "$id": "146", + "$id": "152", "name": "filter", "nameInRequest": "filter", "doc": "Filter the result list using the given expression.", "type": { - "$id": "147", + "$id": "153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1511,12 +1582,12 @@ "skipUrlEncoding": false }, { - "$id": "148", + "$id": "154", "name": "select", "nameInRequest": "select", "doc": "Select the specified fields to be included in the response.", "type": { - "$ref": "129" + "$ref": "137" }, "location": "Query", "isApiVersion": false, @@ -1529,12 +1600,12 @@ "skipUrlEncoding": false }, { - "$id": "149", + "$id": "155", "name": "expand", "nameInRequest": "expand", "doc": "Expand the indicated resources into the response.", "type": { - "$ref": "129" + "$ref": "137" }, "location": "Query", "isApiVersion": false, @@ -1547,11 +1618,11 @@ "skipUrlEncoding": false }, { - "$id": "150", + "$id": "156", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "136" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1565,9 +1636,9 @@ } ], "response": { - "$id": "151", + "$id": "157", "type": { - "$ref": "39" + "$ref": "59" }, "resultSegments": [ "value" @@ -1578,12 +1649,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "_Specs_.Azure.Core.Basic.list", "pagingMetadata": { - "$id": "152", + "$id": "158", "itemPropertySegments": [ "value" ], "nextLink": { - "$id": "153", + "$id": "159", "responseSegments": [ "nextLink" ], @@ -1592,7 +1663,7 @@ } }, { - "$id": "154", + "$id": "160", "kind": "basic", "name": "delete", "accessibility": "public", @@ -1602,7 +1673,7 @@ "doc": "Deletes a User", "summary": "Deletes a user.", "operation": { - "$id": "155", + "$id": "161", "name": "delete", "resourceName": "User", "summary": "Deletes a user.", @@ -1610,12 +1681,12 @@ "accessibility": "public", "parameters": [ { - "$id": "156", + "$id": "162", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "157", + "$id": "163", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1629,9 +1700,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "158", + "$id": "164", "type": { - "$id": "159", + "$id": "165", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1642,12 +1713,12 @@ "skipUrlEncoding": false }, { - "$id": "160", + "$id": "166", "name": "id", "nameInRequest": "id", "doc": "The user's id.", "type": { - "$id": "161", + "$id": "167", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1664,24 +1735,11 @@ "skipUrlEncoding": false }, { - "$id": "162", + "$id": "168", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "163", - "kind": "constant", - "name": "deleteContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "164", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1696,7 +1754,7 @@ ], "responses": [ { - "$id": "165", + "$id": "169", "statusCodes": [ 204 ], @@ -1715,12 +1773,12 @@ }, "parameters": [ { - "$id": "166", + "$id": "170", "name": "id", "nameInRequest": "id", "doc": "The user's id.", "type": { - "$id": "167", + "$id": "171", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1737,11 +1795,11 @@ "skipUrlEncoding": false }, { - "$id": "168", + "$id": "172", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "163" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1755,7 +1813,7 @@ } ], "response": { - "$id": "169" + "$id": "173" }, "isOverride": false, "generateConvenient": true, @@ -1763,7 +1821,7 @@ "crossLanguageDefinitionId": "_Specs_.Azure.Core.Basic.delete" }, { - "$id": "170", + "$id": "174", "kind": "basic", "name": "export", "accessibility": "public", @@ -1773,7 +1831,7 @@ "doc": "Exports a User", "summary": "Exports a user.", "operation": { - "$id": "171", + "$id": "175", "name": "export", "resourceName": "Basic", "summary": "Exports a user.", @@ -1781,12 +1839,12 @@ "accessibility": "public", "parameters": [ { - "$id": "172", + "$id": "176", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "173", + "$id": "177", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1800,9 +1858,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "174", + "$id": "178", "type": { - "$id": "175", + "$id": "179", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1813,12 +1871,12 @@ "skipUrlEncoding": false }, { - "$id": "176", + "$id": "180", "name": "id", "nameInRequest": "id", "doc": "The user's id.", "type": { - "$id": "177", + "$id": "181", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1835,12 +1893,12 @@ "skipUrlEncoding": false }, { - "$id": "178", + "$id": "182", "name": "format", "nameInRequest": "format", "doc": "The format of the data.", "type": { - "$id": "179", + "$id": "183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1857,24 +1915,11 @@ "skipUrlEncoding": false }, { - "$id": "180", + "$id": "184", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "181", - "kind": "constant", - "name": "exportContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "182", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1889,12 +1934,12 @@ ], "responses": [ { - "$id": "183", + "$id": "185", "statusCodes": [ 200 ], "bodyType": { - "$ref": "6" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -1914,12 +1959,12 @@ }, "parameters": [ { - "$id": "184", + "$id": "186", "name": "id", "nameInRequest": "id", "doc": "The user's id.", "type": { - "$id": "185", + "$id": "187", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1936,12 +1981,12 @@ "skipUrlEncoding": false }, { - "$id": "186", + "$id": "188", "name": "format", "nameInRequest": "format", "doc": "The format of the data.", "type": { - "$id": "187", + "$id": "189", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1958,11 +2003,11 @@ "skipUrlEncoding": false }, { - "$id": "188", + "$id": "190", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "181" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1976,9 +2021,9 @@ } ], "response": { - "$id": "189", + "$id": "191", "type": { - "$ref": "6" + "$ref": "26" } }, "isOverride": false, @@ -1987,7 +2032,7 @@ "crossLanguageDefinitionId": "_Specs_.Azure.Core.Basic.export" }, { - "$id": "190", + "$id": "192", "kind": "basic", "name": "exportAllUsers", "accessibility": "public", @@ -1997,7 +2042,7 @@ "doc": "Exports all users", "summary": "Exports all users.", "operation": { - "$id": "191", + "$id": "193", "name": "exportAllUsers", "resourceName": "Basic", "summary": "Exports all users.", @@ -2005,12 +2050,12 @@ "accessibility": "public", "parameters": [ { - "$id": "192", + "$id": "194", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "193", + "$id": "195", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2024,9 +2069,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "194", + "$id": "196", "type": { - "$id": "195", + "$id": "197", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2037,12 +2082,12 @@ "skipUrlEncoding": false }, { - "$id": "196", + "$id": "198", "name": "format", "nameInRequest": "format", "doc": "The format of the data.", "type": { - "$id": "197", + "$id": "199", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2059,24 +2104,11 @@ "skipUrlEncoding": false }, { - "$id": "198", + "$id": "200", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "199", - "kind": "constant", - "name": "exportAllUsersContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "200", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -2096,7 +2128,7 @@ 200 ], "bodyType": { - "$ref": "37" + "$ref": "57" }, "headers": [], "isErrorResponse": false, @@ -2142,7 +2174,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "199" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -2158,7 +2190,7 @@ "response": { "$id": "205", "type": { - "$ref": "37" + "$ref": "57" } }, "isOverride": false, diff --git a/test/CadlRanchProjects/azure/core/lro/rpc/tspCodeModel.json b/test/CadlRanchProjects/azure/core/lro/rpc/tspCodeModel.json index 04e844c72a8..dc8578fe4fc 100644 --- a/test/CadlRanchProjects/azure/core/lro/rpc/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/core/lro/rpc/tspCodeModel.json @@ -156,9 +156,75 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "18", + "kind": "constant", + "name": "longRunningRpcContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "longRunningRpcContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "longRunningRpcContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "longRunningRpcContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "26", "kind": "model", "name": "GenerationOptions", "namespace": "_Azure.Lro.Rpc", @@ -168,13 +234,13 @@ "decorators": [], "properties": [ { - "$id": "19", + "$id": "27", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "Prompt.", "type": { - "$id": "20", + "$id": "28", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -187,9 +253,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Lro.Rpc.GenerationOptions.prompt", "serializationOptions": { - "$id": "21", + "$id": "29", "json": { - "$id": "22", + "$id": "30", "name": "prompt" } } @@ -197,7 +263,7 @@ ] }, { - "$id": "23", + "$id": "31", "kind": "model", "name": "GenerationResult", "namespace": "_Azure.Lro.Rpc", @@ -207,13 +273,13 @@ "decorators": [], "properties": [ { - "$id": "24", + "$id": "32", "kind": "property", "name": "data", "serializedName": "data", "doc": "The data.", "type": { - "$id": "25", + "$id": "33", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -226,9 +292,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Lro.Rpc.GenerationResult.data", "serializationOptions": { - "$id": "26", + "$id": "34", "json": { - "$id": "27", + "$id": "35", "name": "data" } } @@ -236,7 +302,7 @@ ] }, { - "$id": "28", + "$id": "36", "kind": "model", "name": "ResourceOperationStatusGenerationResponseGenerationResultError", "namespace": "_Azure.Lro.Rpc", @@ -246,13 +312,13 @@ "decorators": [], "properties": [ { - "$id": "29", + "$id": "37", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the operation.", "type": { - "$id": "30", + "$id": "38", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -265,15 +331,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.id", "serializationOptions": { - "$id": "31", + "$id": "39", "json": { - "$id": "32", + "$id": "40", "name": "id" } } }, { - "$id": "33", + "$id": "41", "kind": "property", "name": "status", "serializedName": "status", @@ -288,21 +354,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.status", "serializationOptions": { - "$id": "34", + "$id": "42", "json": { - "$id": "35", + "$id": "43", "name": "status" } } }, { - "$id": "36", + "$id": "44", "kind": "property", "name": "error", "serializedName": "error", "doc": "Error object that describes the error when status is \"Failed\".", "type": { - "$id": "37", + "$id": "45", "kind": "model", "name": "Error", "namespace": "_Azure.Lro.Rpc", @@ -312,13 +378,13 @@ "decorators": [], "properties": [ { - "$id": "38", + "$id": "46", "kind": "property", "name": "code", "serializedName": "code", "doc": "One of a server-defined set of error codes.", "type": { - "$id": "39", + "$id": "47", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -331,21 +397,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.code", "serializationOptions": { - "$id": "40", + "$id": "48", "json": { - "$id": "41", + "$id": "49", "name": "code" } } }, { - "$id": "42", + "$id": "50", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable representation of the error.", "type": { - "$id": "43", + "$id": "51", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -358,21 +424,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.message", "serializationOptions": { - "$id": "44", + "$id": "52", "json": { - "$id": "45", + "$id": "53", "name": "message" } } }, { - "$id": "46", + "$id": "54", "kind": "property", "name": "target", "serializedName": "target", "doc": "The target of the error.", "type": { - "$id": "47", + "$id": "55", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -385,25 +451,25 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.target", "serializationOptions": { - "$id": "48", + "$id": "56", "json": { - "$id": "49", + "$id": "57", "name": "target" } } }, { - "$id": "50", + "$id": "58", "kind": "property", "name": "details", "serializedName": "details", "doc": "An array of details about specific errors that led to this reported error.", "type": { - "$id": "51", + "$id": "59", "kind": "array", "name": "ArrayError", "valueType": { - "$ref": "37" + "$ref": "45" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -415,21 +481,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.details", "serializationOptions": { - "$id": "52", + "$id": "60", "json": { - "$id": "53", + "$id": "61", "name": "details" } } }, { - "$id": "54", + "$id": "62", "kind": "property", "name": "innererror", "serializedName": "innererror", "doc": "An object containing more specific information than the current object about the error.", "type": { - "$id": "55", + "$id": "63", "kind": "model", "name": "InnerError", "namespace": "_Azure.Lro.Rpc", @@ -439,13 +505,13 @@ "decorators": [], "properties": [ { - "$id": "56", + "$id": "64", "kind": "property", "name": "code", "serializedName": "code", "doc": "One of a server-defined set of error codes.", "type": { - "$id": "57", + "$id": "65", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -458,21 +524,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.code", "serializationOptions": { - "$id": "58", + "$id": "66", "json": { - "$id": "59", + "$id": "67", "name": "code" } } }, { - "$id": "60", + "$id": "68", "kind": "property", "name": "innererror", "serializedName": "innererror", "doc": "Inner error.", "type": { - "$ref": "55" + "$ref": "63" }, "optional": true, "readOnly": false, @@ -481,9 +547,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.innererror", "serializationOptions": { - "$id": "61", + "$id": "69", "json": { - "$id": "62", + "$id": "70", "name": "innererror" } } @@ -497,9 +563,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.innererror", "serializationOptions": { - "$id": "63", + "$id": "71", "json": { - "$id": "64", + "$id": "72", "name": "innererror" } } @@ -513,21 +579,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.error", "serializationOptions": { - "$id": "65", + "$id": "73", "json": { - "$id": "66", + "$id": "74", "name": "error" } } }, { - "$id": "67", + "$id": "75", "kind": "property", "name": "result", "serializedName": "result", "doc": "The result of the operation.", "type": { - "$ref": "23" + "$ref": "31" }, "optional": true, "readOnly": false, @@ -536,9 +602,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.result", "serializationOptions": { - "$id": "68", + "$id": "76", "json": { - "$id": "69", + "$id": "77", "name": "result" } } @@ -546,13 +612,13 @@ ] }, { - "$ref": "37" + "$ref": "45" }, { - "$ref": "55" + "$ref": "63" }, { - "$id": "70", + "$id": "78", "kind": "model", "name": "OperationStatusGenerationResultError", "namespace": "_Azure.Lro.Rpc", @@ -562,13 +628,13 @@ "decorators": [], "properties": [ { - "$id": "71", + "$id": "79", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the operation.", "type": { - "$id": "72", + "$id": "80", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -581,15 +647,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus.id", "serializationOptions": { - "$id": "73", + "$id": "81", "json": { - "$id": "74", + "$id": "82", "name": "id" } } }, { - "$id": "75", + "$id": "83", "kind": "property", "name": "status", "serializedName": "status", @@ -604,21 +670,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus.status", "serializationOptions": { - "$id": "76", + "$id": "84", "json": { - "$id": "77", + "$id": "85", "name": "status" } } }, { - "$id": "78", + "$id": "86", "kind": "property", "name": "error", "serializedName": "error", "doc": "Error object that describes the error when status is \"Failed\".", "type": { - "$ref": "37" + "$ref": "45" }, "optional": true, "readOnly": false, @@ -627,21 +693,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus.error", "serializationOptions": { - "$id": "79", + "$id": "87", "json": { - "$id": "80", + "$id": "88", "name": "error" } } }, { - "$id": "81", + "$id": "89", "kind": "property", "name": "result", "serializedName": "result", "doc": "The result of the operation.", "type": { - "$ref": "23" + "$ref": "31" }, "optional": true, "readOnly": false, @@ -650,9 +716,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus.result", "serializationOptions": { - "$id": "82", + "$id": "90", "json": { - "$id": "83", + "$id": "91", "name": "result" } } @@ -662,14 +728,14 @@ ], "clients": [ { - "$id": "84", + "$id": "92", "kind": "client", "name": "RpcClient", "namespace": "_Azure.Lro.Rpc", "doc": "Illustrates bodies templated with Azure Core with long-running RPC operation", "methods": [ { - "$id": "85", + "$id": "93", "kind": "lro", "name": "longRunningRpc", "accessibility": "public", @@ -679,7 +745,7 @@ "doc": "Generate data.", "summary": "Generate data.", "operation": { - "$id": "86", + "$id": "94", "name": "longRunningRpc", "resourceName": "Rpc", "summary": "Generate data.", @@ -687,12 +753,12 @@ "accessibility": "public", "parameters": [ { - "$id": "87", + "$id": "95", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "88", + "$id": "96", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -706,9 +772,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "89", + "$id": "97", "type": { - "$id": "90", + "$id": "98", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -719,25 +785,12 @@ "skipUrlEncoding": false }, { - "$id": "91", + "$id": "99", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "92", - "kind": "constant", - "name": "longRunningRpcContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "93", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -750,24 +803,11 @@ "skipUrlEncoding": false }, { - "$id": "94", + "$id": "100", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "95", - "kind": "constant", - "name": "longRunningRpcContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "96", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -780,12 +820,12 @@ "skipUrlEncoding": false }, { - "$id": "97", + "$id": "101", "name": "body", "nameInRequest": "body", "doc": "The body parameter.", "type": { - "$ref": "18" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -800,26 +840,26 @@ ], "responses": [ { - "$id": "98", + "$id": "102", "statusCodes": [ 202 ], "bodyType": { - "$ref": "28" + "$ref": "36" }, "headers": [ { - "$id": "99", + "$id": "103", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "100", + "$id": "104", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "101", + "$id": "105", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -849,12 +889,12 @@ }, "parameters": [ { - "$id": "102", + "$id": "106", "name": "body", "nameInRequest": "body", "doc": "The body parameter.", "type": { - "$ref": "18" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -867,25 +907,12 @@ "skipUrlEncoding": false }, { - "$id": "103", + "$id": "107", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "104", - "kind": "constant", - "name": "longRunningRpcContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "105", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -898,24 +925,11 @@ "skipUrlEncoding": false }, { - "$id": "106", + "$id": "108", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "107", - "kind": "constant", - "name": "longRunningRpcContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "108", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -931,7 +945,7 @@ "response": { "$id": "109", "type": { - "$ref": "23" + "$ref": "31" }, "resultSegments": [ "result" @@ -950,7 +964,7 @@ 200 ], "bodyType": { - "$ref": "70" + "$ref": "78" } }, "resultPath": "result" diff --git a/test/CadlRanchProjects/azure/core/lro/standard/tspCodeModel.json b/test/CadlRanchProjects/azure/core/lro/standard/tspCodeModel.json index 6b5a6597b58..dfd20bc4041 100644 --- a/test/CadlRanchProjects/azure/core/lro/standard/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/core/lro/standard/tspCodeModel.json @@ -156,9 +156,139 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "18", + "kind": "constant", + "name": "createOrReplaceContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "createOrReplaceContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "createOrReplaceContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "createOrReplaceContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "deleteContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "deleteContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "exportContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "exportContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "34", "kind": "model", "name": "User", "namespace": "_Azure.Lro.Standard", @@ -168,13 +298,13 @@ "decorators": [], "properties": [ { - "$id": "19", + "$id": "35", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of user.", "type": { - "$id": "20", + "$id": "36", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -187,21 +317,21 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Lro.Standard.User.name", "serializationOptions": { - "$id": "21", + "$id": "37", "json": { - "$id": "22", + "$id": "38", "name": "name" } } }, { - "$id": "23", + "$id": "39", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of user", "type": { - "$id": "24", + "$id": "40", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -214,9 +344,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Lro.Standard.User.role", "serializationOptions": { - "$id": "25", + "$id": "41", "json": { - "$id": "26", + "$id": "42", "name": "role" } } @@ -224,7 +354,7 @@ ] }, { - "$id": "27", + "$id": "43", "kind": "model", "name": "ExportedUser", "namespace": "_Azure.Lro.Standard", @@ -234,13 +364,13 @@ "decorators": [], "properties": [ { - "$id": "28", + "$id": "44", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of user.", "type": { - "$id": "29", + "$id": "45", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -253,21 +383,21 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Lro.Standard.ExportedUser.name", "serializationOptions": { - "$id": "30", + "$id": "46", "json": { - "$id": "31", + "$id": "47", "name": "name" } } }, { - "$id": "32", + "$id": "48", "kind": "property", "name": "resourceUri", "serializedName": "resourceUri", "doc": "The exported URI.", "type": { - "$id": "33", + "$id": "49", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -280,9 +410,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Lro.Standard.ExportedUser.resourceUri", "serializationOptions": { - "$id": "34", + "$id": "50", "json": { - "$id": "35", + "$id": "51", "name": "resourceUri" } } @@ -290,7 +420,7 @@ ] }, { - "$id": "36", + "$id": "52", "kind": "model", "name": "OperationStatusError", "namespace": "_Azure.Lro.Standard", @@ -300,13 +430,13 @@ "decorators": [], "properties": [ { - "$id": "37", + "$id": "53", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the operation.", "type": { - "$id": "38", + "$id": "54", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -319,15 +449,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus.id", "serializationOptions": { - "$id": "39", + "$id": "55", "json": { - "$id": "40", + "$id": "56", "name": "id" } } }, { - "$id": "41", + "$id": "57", "kind": "property", "name": "status", "serializedName": "status", @@ -342,21 +472,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus.status", "serializationOptions": { - "$id": "42", + "$id": "58", "json": { - "$id": "43", + "$id": "59", "name": "status" } } }, { - "$id": "44", + "$id": "60", "kind": "property", "name": "error", "serializedName": "error", "doc": "Error object that describes the error when status is \"Failed\".", "type": { - "$id": "45", + "$id": "61", "kind": "model", "name": "Error", "namespace": "_Azure.Lro.Standard", @@ -366,13 +496,13 @@ "decorators": [], "properties": [ { - "$id": "46", + "$id": "62", "kind": "property", "name": "code", "serializedName": "code", "doc": "One of a server-defined set of error codes.", "type": { - "$id": "47", + "$id": "63", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -385,21 +515,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.code", "serializationOptions": { - "$id": "48", + "$id": "64", "json": { - "$id": "49", + "$id": "65", "name": "code" } } }, { - "$id": "50", + "$id": "66", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable representation of the error.", "type": { - "$id": "51", + "$id": "67", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -412,21 +542,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.message", "serializationOptions": { - "$id": "52", + "$id": "68", "json": { - "$id": "53", + "$id": "69", "name": "message" } } }, { - "$id": "54", + "$id": "70", "kind": "property", "name": "target", "serializedName": "target", "doc": "The target of the error.", "type": { - "$id": "55", + "$id": "71", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -439,25 +569,25 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.target", "serializationOptions": { - "$id": "56", + "$id": "72", "json": { - "$id": "57", + "$id": "73", "name": "target" } } }, { - "$id": "58", + "$id": "74", "kind": "property", "name": "details", "serializedName": "details", "doc": "An array of details about specific errors that led to this reported error.", "type": { - "$id": "59", + "$id": "75", "kind": "array", "name": "ArrayError", "valueType": { - "$ref": "45" + "$ref": "61" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -469,21 +599,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.details", "serializationOptions": { - "$id": "60", + "$id": "76", "json": { - "$id": "61", + "$id": "77", "name": "details" } } }, { - "$id": "62", + "$id": "78", "kind": "property", "name": "innererror", "serializedName": "innererror", "doc": "An object containing more specific information than the current object about the error.", "type": { - "$id": "63", + "$id": "79", "kind": "model", "name": "InnerError", "namespace": "_Azure.Lro.Standard", @@ -493,13 +623,13 @@ "decorators": [], "properties": [ { - "$id": "64", + "$id": "80", "kind": "property", "name": "code", "serializedName": "code", "doc": "One of a server-defined set of error codes.", "type": { - "$id": "65", + "$id": "81", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -512,21 +642,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.code", "serializationOptions": { - "$id": "66", + "$id": "82", "json": { - "$id": "67", + "$id": "83", "name": "code" } } }, { - "$id": "68", + "$id": "84", "kind": "property", "name": "innererror", "serializedName": "innererror", "doc": "Inner error.", "type": { - "$ref": "63" + "$ref": "79" }, "optional": true, "readOnly": false, @@ -535,9 +665,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.innererror", "serializationOptions": { - "$id": "69", + "$id": "85", "json": { - "$id": "70", + "$id": "86", "name": "innererror" } } @@ -551,9 +681,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.innererror", "serializationOptions": { - "$id": "71", + "$id": "87", "json": { - "$id": "72", + "$id": "88", "name": "innererror" } } @@ -567,9 +697,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus.error", "serializationOptions": { - "$id": "73", + "$id": "89", "json": { - "$id": "74", + "$id": "90", "name": "error" } } @@ -577,13 +707,13 @@ ] }, { - "$ref": "45" + "$ref": "61" }, { - "$ref": "63" + "$ref": "79" }, { - "$id": "75", + "$id": "91", "kind": "model", "name": "ResourceOperationStatusUserExportedUserError", "namespace": "_Azure.Lro.Standard", @@ -593,13 +723,13 @@ "decorators": [], "properties": [ { - "$id": "76", + "$id": "92", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the operation.", "type": { - "$id": "77", + "$id": "93", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -612,15 +742,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.id", "serializationOptions": { - "$id": "78", + "$id": "94", "json": { - "$id": "79", + "$id": "95", "name": "id" } } }, { - "$id": "80", + "$id": "96", "kind": "property", "name": "status", "serializedName": "status", @@ -635,21 +765,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.status", "serializationOptions": { - "$id": "81", + "$id": "97", "json": { - "$id": "82", + "$id": "98", "name": "status" } } }, { - "$id": "83", + "$id": "99", "kind": "property", "name": "error", "serializedName": "error", "doc": "Error object that describes the error when status is \"Failed\".", "type": { - "$ref": "45" + "$ref": "61" }, "optional": true, "readOnly": false, @@ -658,21 +788,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.error", "serializationOptions": { - "$id": "84", + "$id": "100", "json": { - "$id": "85", + "$id": "101", "name": "error" } } }, { - "$id": "86", + "$id": "102", "kind": "property", "name": "result", "serializedName": "result", "doc": "The result of the operation.", "type": { - "$ref": "27" + "$ref": "43" }, "optional": true, "readOnly": false, @@ -681,9 +811,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.result", "serializationOptions": { - "$id": "87", + "$id": "103", "json": { - "$id": "88", + "$id": "104", "name": "result" } } @@ -691,7 +821,7 @@ ] }, { - "$id": "89", + "$id": "105", "kind": "model", "name": "OperationStatusExportedUserError", "namespace": "_Azure.Lro.Standard", @@ -701,13 +831,13 @@ "decorators": [], "properties": [ { - "$id": "90", + "$id": "106", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the operation.", "type": { - "$id": "91", + "$id": "107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -720,15 +850,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus.id", "serializationOptions": { - "$id": "92", + "$id": "108", "json": { - "$id": "93", + "$id": "109", "name": "id" } } }, { - "$id": "94", + "$id": "110", "kind": "property", "name": "status", "serializedName": "status", @@ -743,21 +873,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus.status", "serializationOptions": { - "$id": "95", + "$id": "111", "json": { - "$id": "96", + "$id": "112", "name": "status" } } }, { - "$id": "97", + "$id": "113", "kind": "property", "name": "error", "serializedName": "error", "doc": "Error object that describes the error when status is \"Failed\".", "type": { - "$ref": "45" + "$ref": "61" }, "optional": true, "readOnly": false, @@ -766,21 +896,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus.error", "serializationOptions": { - "$id": "98", + "$id": "114", "json": { - "$id": "99", + "$id": "115", "name": "error" } } }, { - "$id": "100", + "$id": "116", "kind": "property", "name": "result", "serializedName": "result", "doc": "The result of the operation.", "type": { - "$ref": "27" + "$ref": "43" }, "optional": true, "readOnly": false, @@ -789,9 +919,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus.result", "serializationOptions": { - "$id": "101", + "$id": "117", "json": { - "$id": "102", + "$id": "118", "name": "result" } } @@ -801,14 +931,14 @@ ], "clients": [ { - "$id": "103", + "$id": "119", "kind": "client", "name": "StandardClient", "namespace": "_Azure.Lro.Standard", "doc": "Illustrates bodies templated with Azure Core with long-running operation", "methods": [ { - "$id": "104", + "$id": "120", "kind": "lro", "name": "createOrReplace", "accessibility": "public", @@ -818,7 +948,7 @@ "doc": "Creates or replaces a User", "summary": "Adds a user or replaces a user's fields.", "operation": { - "$id": "105", + "$id": "121", "name": "createOrReplace", "resourceName": "User", "summary": "Adds a user or replaces a user's fields.", @@ -826,12 +956,12 @@ "accessibility": "public", "parameters": [ { - "$id": "106", + "$id": "122", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "107", + "$id": "123", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -845,9 +975,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "108", + "$id": "124", "type": { - "$id": "109", + "$id": "125", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -858,12 +988,12 @@ "skipUrlEncoding": false }, { - "$id": "110", + "$id": "126", "name": "name", "nameInRequest": "name", "doc": "The name of user.", "type": { - "$id": "111", + "$id": "127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -880,25 +1010,12 @@ "skipUrlEncoding": false }, { - "$id": "112", + "$id": "128", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "113", - "kind": "constant", - "name": "createOrReplaceContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "114", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -911,24 +1028,11 @@ "skipUrlEncoding": false }, { - "$id": "115", + "$id": "129", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "116", - "kind": "constant", - "name": "createOrReplaceContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "117", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -941,12 +1045,12 @@ "skipUrlEncoding": false }, { - "$id": "118", + "$id": "130", "name": "resource", "nameInRequest": "resource", "doc": "The resource instance.", "type": { - "$ref": "18" + "$ref": "34" }, "location": "Body", "isApiVersion": false, @@ -961,26 +1065,26 @@ ], "responses": [ { - "$id": "119", + "$id": "131", "statusCodes": [ 201 ], "bodyType": { - "$ref": "18" + "$ref": "34" }, "headers": [ { - "$id": "120", + "$id": "132", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "121", + "$id": "133", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "122", + "$id": "134", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -996,26 +1100,26 @@ ] }, { - "$id": "123", + "$id": "135", "statusCodes": [ 200 ], "bodyType": { - "$ref": "18" + "$ref": "34" }, "headers": [ { - "$id": "124", + "$id": "136", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "125", + "$id": "137", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "126", + "$id": "138", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -1045,12 +1149,12 @@ }, "parameters": [ { - "$id": "127", + "$id": "139", "name": "name", "nameInRequest": "name", "doc": "The name of user.", "type": { - "$id": "128", + "$id": "140", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1067,12 +1171,12 @@ "skipUrlEncoding": false }, { - "$id": "129", + "$id": "141", "name": "resource", "nameInRequest": "resource", "doc": "The resource instance.", "type": { - "$ref": "18" + "$ref": "34" }, "location": "Body", "isApiVersion": false, @@ -1085,25 +1189,12 @@ "skipUrlEncoding": false }, { - "$id": "130", + "$id": "142", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "131", - "kind": "constant", - "name": "createOrReplaceContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "132", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1116,24 +1207,11 @@ "skipUrlEncoding": false }, { - "$id": "133", + "$id": "143", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "134", - "kind": "constant", - "name": "createOrReplaceContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "135", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1147,9 +1225,9 @@ } ], "response": { - "$id": "136", + "$id": "144", "type": { - "$ref": "18" + "$ref": "34" } }, "isOverride": false, @@ -1157,21 +1235,21 @@ "generateProtocol": true, "crossLanguageDefinitionId": "_Specs_.Azure.Core.Lro.Standard.createOrReplace", "lroMetadata": { - "$id": "137", + "$id": "145", "finalStateVia": 2, "finalResponse": { - "$id": "138", + "$id": "146", "statusCodes": [ 200 ], "bodyType": { - "$ref": "18" + "$ref": "34" } } } }, { - "$id": "139", + "$id": "147", "kind": "lro", "name": "delete", "accessibility": "public", @@ -1181,7 +1259,7 @@ "doc": "Deletes a User", "summary": "Deletes a user.", "operation": { - "$id": "140", + "$id": "148", "name": "delete", "resourceName": "User", "summary": "Deletes a user.", @@ -1189,12 +1267,12 @@ "accessibility": "public", "parameters": [ { - "$id": "141", + "$id": "149", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "142", + "$id": "150", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1208,9 +1286,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "143", + "$id": "151", "type": { - "$id": "144", + "$id": "152", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1221,12 +1299,12 @@ "skipUrlEncoding": false }, { - "$id": "145", + "$id": "153", "name": "name", "nameInRequest": "name", "doc": "The name of user.", "type": { - "$id": "146", + "$id": "154", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1243,24 +1321,11 @@ "skipUrlEncoding": false }, { - "$id": "147", + "$id": "155", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "148", - "kind": "constant", - "name": "deleteContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "149", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1275,26 +1340,26 @@ ], "responses": [ { - "$id": "150", + "$id": "156", "statusCodes": [ 202 ], "bodyType": { - "$ref": "36" + "$ref": "52" }, "headers": [ { - "$id": "151", + "$id": "157", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "152", + "$id": "158", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "153", + "$id": "159", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -1321,12 +1386,12 @@ }, "parameters": [ { - "$id": "154", + "$id": "160", "name": "name", "nameInRequest": "name", "doc": "The name of user.", "type": { - "$id": "155", + "$id": "161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1343,24 +1408,11 @@ "skipUrlEncoding": false }, { - "$id": "156", + "$id": "162", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "157", - "kind": "constant", - "name": "deleteContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "158", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -1374,17 +1426,17 @@ } ], "response": { - "$id": "159" + "$id": "163" }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, "crossLanguageDefinitionId": "_Specs_.Azure.Core.Lro.Standard.delete", "lroMetadata": { - "$id": "160", + "$id": "164", "finalStateVia": 3, "finalResponse": { - "$id": "161", + "$id": "165", "statusCodes": [ 204 ] @@ -1392,7 +1444,7 @@ } }, { - "$id": "162", + "$id": "166", "kind": "lro", "name": "export", "accessibility": "public", @@ -1402,7 +1454,7 @@ "doc": "Exports a User", "summary": "Exports a user.", "operation": { - "$id": "163", + "$id": "167", "name": "export", "resourceName": "Standard", "summary": "Exports a user.", @@ -1410,12 +1462,12 @@ "accessibility": "public", "parameters": [ { - "$id": "164", + "$id": "168", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "165", + "$id": "169", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1429,9 +1481,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "166", + "$id": "170", "type": { - "$id": "167", + "$id": "171", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1442,12 +1494,12 @@ "skipUrlEncoding": false }, { - "$id": "168", + "$id": "172", "name": "name", "nameInRequest": "name", "doc": "The name of user.", "type": { - "$id": "169", + "$id": "173", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1464,12 +1516,12 @@ "skipUrlEncoding": false }, { - "$id": "170", + "$id": "174", "name": "format", "nameInRequest": "format", "doc": "The format of the data.", "type": { - "$id": "171", + "$id": "175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1486,24 +1538,11 @@ "skipUrlEncoding": false }, { - "$id": "172", + "$id": "176", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "173", - "kind": "constant", - "name": "exportContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "174", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -1518,26 +1557,26 @@ ], "responses": [ { - "$id": "175", + "$id": "177", "statusCodes": [ 202 ], "bodyType": { - "$ref": "75" + "$ref": "91" }, "headers": [ { - "$id": "176", + "$id": "178", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "177", + "$id": "179", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "178", + "$id": "180", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -1564,12 +1603,12 @@ }, "parameters": [ { - "$id": "179", + "$id": "181", "name": "name", "nameInRequest": "name", "doc": "The name of user.", "type": { - "$id": "180", + "$id": "182", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1586,12 +1625,12 @@ "skipUrlEncoding": false }, { - "$id": "181", + "$id": "183", "name": "format", "nameInRequest": "format", "doc": "The format of the data.", "type": { - "$id": "182", + "$id": "184", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1608,24 +1647,11 @@ "skipUrlEncoding": false }, { - "$id": "183", + "$id": "185", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "184", - "kind": "constant", - "name": "exportContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "185", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -1641,7 +1667,7 @@ "response": { "$id": "186", "type": { - "$ref": "27" + "$ref": "43" }, "resultSegments": [ "result" @@ -1660,7 +1686,7 @@ 200 ], "bodyType": { - "$ref": "89" + "$ref": "105" } }, "resultPath": "result" diff --git a/test/CadlRanchProjects/azure/core/model/tspCodeModel.json b/test/CadlRanchProjects/azure/core/model/tspCodeModel.json index f43558e234f..45393042582 100644 --- a/test/CadlRanchProjects/azure/core/model/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/core/model/tspCodeModel.json @@ -45,9 +45,75 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "6", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "putContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "postContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "postContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "14", "kind": "model", "name": "AzureEmbeddingModel", "namespace": "_Specs_.Azure.Core.Model", @@ -56,16 +122,16 @@ "decorators": [], "properties": [ { - "$id": "7", + "$id": "15", "kind": "property", "name": "embedding", "serializedName": "embedding", "type": { - "$id": "8", + "$id": "16", "kind": "array", "name": "EmbeddingVector", "valueType": { - "$id": "9", + "$id": "17", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -81,9 +147,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Model.AzureEmbeddingModel.embedding", "serializationOptions": { - "$id": "10", + "$id": "18", "json": { - "$id": "11", + "$id": "19", "name": "embedding" } } @@ -93,19 +159,19 @@ ], "clients": [ { - "$id": "12", + "$id": "20", "kind": "client", "name": "ModelClient", "namespace": "_Specs_.Azure.Core.Model", "methods": [], "parameters": [ { - "$id": "13", + "$id": "21", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "14", + "$id": "22", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -119,9 +185,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "15", + "$id": "23", "type": { - "$id": "16", + "$id": "24", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -137,13 +203,13 @@ ], "children": [ { - "$id": "17", + "$id": "25", "kind": "client", "name": "AzureCoreEmbeddingVector", "namespace": "_Specs_.Azure.Core.Model", "methods": [ { - "$id": "18", + "$id": "26", "kind": "basic", "name": "get", "accessibility": "public", @@ -152,31 +218,18 @@ ], "doc": "get an embedding vector", "operation": { - "$id": "19", + "$id": "27", "name": "get", "resourceName": "AzureCoreEmbeddingVector", "doc": "get an embedding vector", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "28", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "21", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -191,12 +244,12 @@ ], "responses": [ { - "$id": "23", + "$id": "29", "statusCodes": [ 200 ], "bodyType": { - "$ref": "8" + "$ref": "16" }, "headers": [], "isErrorResponse": false, @@ -216,11 +269,11 @@ }, "parameters": [ { - "$id": "24", + "$id": "30", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "21" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -234,9 +287,9 @@ } ], "response": { - "$id": "25", + "$id": "31", "type": { - "$ref": "8" + "$ref": "16" } }, "isOverride": false, @@ -245,7 +298,7 @@ "crossLanguageDefinitionId": "_Specs_.Azure.Core.Model.AzureCoreEmbeddingVector.get" }, { - "$id": "26", + "$id": "32", "kind": "basic", "name": "put", "accessibility": "public", @@ -254,32 +307,19 @@ ], "doc": "put an embedding vector", "operation": { - "$id": "27", + "$id": "33", "name": "put", "resourceName": "AzureCoreEmbeddingVector", "doc": "put an embedding vector", "accessibility": "public", "parameters": [ { - "$id": "28", + "$id": "34", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "29", - "kind": "constant", - "name": "putContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "30", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -292,12 +332,12 @@ "skipUrlEncoding": false }, { - "$id": "31", + "$id": "35", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$ref": "8" + "$ref": "16" }, "location": "Body", "isApiVersion": false, @@ -312,7 +352,7 @@ ], "responses": [ { - "$id": "32", + "$id": "36", "statusCodes": [ 204 ], @@ -334,12 +374,12 @@ }, "parameters": [ { - "$id": "33", + "$id": "37", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$ref": "8" + "$ref": "16" }, "location": "Body", "isApiVersion": false, @@ -352,12 +392,12 @@ "skipUrlEncoding": false }, { - "$id": "34", + "$id": "38", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "29" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -371,7 +411,7 @@ } ], "response": { - "$id": "35" + "$id": "39" }, "isOverride": false, "generateConvenient": true, @@ -379,7 +419,7 @@ "crossLanguageDefinitionId": "_Specs_.Azure.Core.Model.AzureCoreEmbeddingVector.put" }, { - "$id": "36", + "$id": "40", "kind": "basic", "name": "post", "accessibility": "public", @@ -388,32 +428,19 @@ ], "doc": "post a model which has an embeddingVector property", "operation": { - "$id": "37", + "$id": "41", "name": "post", "resourceName": "AzureCoreEmbeddingVector", "doc": "post a model which has an embeddingVector property", "accessibility": "public", "parameters": [ { - "$id": "38", + "$id": "42", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "39", - "kind": "constant", - "name": "postContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "40", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -426,24 +453,11 @@ "skipUrlEncoding": false }, { - "$id": "41", + "$id": "43", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "42", - "kind": "constant", - "name": "postContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "43", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -461,7 +475,7 @@ "nameInRequest": "body", "doc": "_", "type": { - "$ref": "6" + "$ref": "14" }, "location": "Body", "isApiVersion": false, @@ -481,7 +495,7 @@ 200 ], "bodyType": { - "$ref": "6" + "$ref": "14" }, "headers": [], "isErrorResponse": false, @@ -509,7 +523,7 @@ "nameInRequest": "body", "doc": "_", "type": { - "$ref": "6" + "$ref": "14" }, "location": "Body", "isApiVersion": false, @@ -527,7 +541,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "39" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -544,7 +558,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "42" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -560,7 +574,7 @@ "response": { "$id": "49", "type": { - "$ref": "6" + "$ref": "14" } }, "isOverride": false, @@ -607,7 +621,7 @@ "2022-12-01-preview" ], "parent": { - "$ref": "12" + "$ref": "20" } } ] diff --git a/test/CadlRanchProjects/azure/core/page/tspCodeModel.json b/test/CadlRanchProjects/azure/core/page/tspCodeModel.json index 600060ca12c..1b41b6c86d1 100644 --- a/test/CadlRanchProjects/azure/core/page/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/core/page/tspCodeModel.json @@ -102,9 +102,123 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "12", + "kind": "constant", + "name": "listWithPageContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "listWithParametersContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "listWithParametersContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "listWithCustomPageModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "withParameterizedNextLinkContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "listFirstItemContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "listSecondItemContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "26", "kind": "model", "name": "User", "namespace": "_Specs_.Azure.Core.Page", @@ -114,13 +228,13 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "27", "kind": "property", "name": "id", "serializedName": "id", "doc": "The user's id.", "type": { - "$id": "14", + "$id": "28", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -133,21 +247,21 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.User.id", "serializationOptions": { - "$id": "15", + "$id": "29", "json": { - "$id": "16", + "$id": "30", "name": "id" } } }, { - "$id": "17", + "$id": "31", "kind": "property", "name": "name", "serializedName": "name", "doc": "The user's name.", "type": { - "$id": "18", + "$id": "32", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -160,25 +274,25 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.User.name", "serializationOptions": { - "$id": "19", + "$id": "33", "json": { - "$id": "20", + "$id": "34", "name": "name" } } }, { - "$id": "21", + "$id": "35", "kind": "property", "name": "orders", "serializedName": "orders", "doc": "The user's order list", "type": { - "$id": "22", + "$id": "36", "kind": "array", "name": "ArrayUserOrder", "valueType": { - "$id": "23", + "$id": "37", "kind": "model", "name": "UserOrder", "namespace": "_Specs_.Azure.Core.Page", @@ -188,13 +302,13 @@ "decorators": [], "properties": [ { - "$id": "24", + "$id": "38", "kind": "property", "name": "id", "serializedName": "id", "doc": "The user's id.", "type": { - "$id": "25", + "$id": "39", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -207,21 +321,21 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.UserOrder.id", "serializationOptions": { - "$id": "26", + "$id": "40", "json": { - "$id": "27", + "$id": "41", "name": "id" } } }, { - "$id": "28", + "$id": "42", "kind": "property", "name": "userId", "serializedName": "userId", "doc": "The user's id.", "type": { - "$id": "29", + "$id": "43", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -234,21 +348,21 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.UserOrder.userId", "serializationOptions": { - "$id": "30", + "$id": "44", "json": { - "$id": "31", + "$id": "45", "name": "userId" } } }, { - "$id": "32", + "$id": "46", "kind": "property", "name": "detail", "serializedName": "detail", "doc": "The user's order detail", "type": { - "$id": "33", + "$id": "47", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -261,9 +375,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.UserOrder.detail", "serializationOptions": { - "$id": "34", + "$id": "48", "json": { - "$id": "35", + "$id": "49", "name": "detail" } } @@ -280,26 +394,26 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.User.orders", "serializationOptions": { - "$id": "36", + "$id": "50", "json": { - "$id": "37", + "$id": "51", "name": "orders" } } }, { - "$id": "38", + "$id": "52", "kind": "property", "name": "etag", "serializedName": "etag", "doc": "The entity tag for this resource.", "type": { - "$id": "39", + "$id": "53", "kind": "string", "name": "eTag", "crossLanguageDefinitionId": "Azure.Core.eTag", "baseType": { - "$id": "40", + "$id": "54", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -314,9 +428,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.User.etag", "serializationOptions": { - "$id": "41", + "$id": "55", "json": { - "$id": "42", + "$id": "56", "name": "etag" } } @@ -324,10 +438,10 @@ ] }, { - "$ref": "23" + "$ref": "37" }, { - "$id": "43", + "$id": "57", "kind": "model", "name": "ListItemInputBody", "namespace": "_Specs_.Azure.Core.Page", @@ -337,13 +451,13 @@ "decorators": [], "properties": [ { - "$id": "44", + "$id": "58", "kind": "property", "name": "inputName", "serializedName": "inputName", "doc": "The name of the input.", "type": { - "$id": "45", + "$id": "59", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -356,9 +470,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.ListItemInputBody.inputName", "serializationOptions": { - "$id": "46", + "$id": "60", "json": { - "$id": "47", + "$id": "61", "name": "inputName" } } @@ -366,7 +480,7 @@ ] }, { - "$id": "48", + "$id": "62", "kind": "model", "name": "UserListResults", "namespace": "_Specs_.Azure.Core.Page", @@ -375,17 +489,17 @@ "decorators": [], "properties": [ { - "$id": "49", + "$id": "63", "kind": "property", "name": "items", "serializedName": "items", "doc": "List of items.", "type": { - "$id": "50", + "$id": "64", "kind": "array", "name": "ArrayUser", "valueType": { - "$ref": "12" + "$ref": "26" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -397,21 +511,21 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.CustomPageModel.items", "serializationOptions": { - "$id": "51", + "$id": "65", "json": { - "$id": "52", + "$id": "66", "name": "items" } } }, { - "$id": "53", + "$id": "67", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "Link to fetch more items.", "type": { - "$id": "54", + "$id": "68", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -424,9 +538,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.CustomPageModel.nextLink", "serializationOptions": { - "$id": "55", + "$id": "69", "json": { - "$id": "56", + "$id": "70", "name": "nextLink" } } @@ -434,7 +548,7 @@ ] }, { - "$id": "57", + "$id": "71", "kind": "model", "name": "ParameterizedNextLinkPagingResult", "namespace": "_Specs_.Azure.Core.Page", @@ -443,12 +557,12 @@ "decorators": [], "properties": [ { - "$id": "58", + "$id": "72", "kind": "property", "name": "values", "serializedName": "values", "type": { - "$ref": "50" + "$ref": "64" }, "optional": false, "readOnly": false, @@ -457,25 +571,25 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.ParameterizedNextLinkPagingResult.values", "serializationOptions": { - "$id": "59", + "$id": "73", "json": { - "$id": "60", + "$id": "74", "name": "values" } } }, { - "$id": "61", + "$id": "75", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "type": { - "$id": "62", + "$id": "76", "kind": "url", "name": "parameterizedNextLink", "crossLanguageDefinitionId": "Azure.Core.Legacy.parameterizedNextLink", "baseType": { - "$id": "63", + "$id": "77", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -490,9 +604,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.ParameterizedNextLinkPagingResult.nextLink", "serializationOptions": { - "$id": "64", + "$id": "78", "json": { - "$id": "65", + "$id": "79", "name": "nextLink" } } @@ -500,7 +614,7 @@ ] }, { - "$id": "66", + "$id": "80", "kind": "model", "name": "FirstItem", "namespace": "_Specs_.Azure.Core.Page", @@ -510,13 +624,13 @@ "decorators": [], "properties": [ { - "$id": "67", + "$id": "81", "kind": "property", "name": "id", "serializedName": "id", "doc": "The id of the item.", "type": { - "$id": "68", + "$id": "82", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -529,9 +643,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.FirstItem.id", "serializationOptions": { - "$id": "69", + "$id": "83", "json": { - "$id": "70", + "$id": "84", "name": "id" } } @@ -539,7 +653,7 @@ ] }, { - "$id": "71", + "$id": "85", "kind": "model", "name": "SecondItem", "namespace": "_Specs_.Azure.Core.Page", @@ -549,13 +663,13 @@ "decorators": [], "properties": [ { - "$id": "72", + "$id": "86", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the item.", "type": { - "$id": "73", + "$id": "87", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -568,9 +682,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.SecondItem.name", "serializationOptions": { - "$id": "74", + "$id": "88", "json": { - "$id": "75", + "$id": "89", "name": "name" } } @@ -578,7 +692,7 @@ ] }, { - "$id": "76", + "$id": "90", "kind": "model", "name": "PagedUser", "namespace": "Azure.Core", @@ -588,13 +702,13 @@ "decorators": [], "properties": [ { - "$id": "77", + "$id": "91", "kind": "property", "name": "value", "serializedName": "value", "doc": "The User items on this page", "type": { - "$ref": "50" + "$ref": "64" }, "optional": false, "readOnly": false, @@ -603,26 +717,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Page.value", "serializationOptions": { - "$id": "78", + "$id": "92", "json": { - "$id": "79", + "$id": "93", "name": "value" } } }, { - "$id": "80", + "$id": "94", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "81", + "$id": "95", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "82", + "$id": "96", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -637,9 +751,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Page.nextLink", "serializationOptions": { - "$id": "83", + "$id": "97", "json": { - "$id": "84", + "$id": "98", "name": "nextLink" } } @@ -647,7 +761,7 @@ ] }, { - "$id": "85", + "$id": "99", "kind": "model", "name": "PagedFirstItem", "namespace": "Azure.Core", @@ -657,17 +771,17 @@ "decorators": [], "properties": [ { - "$id": "86", + "$id": "100", "kind": "property", "name": "value", "serializedName": "value", "doc": "The FirstItem items on this page", "type": { - "$id": "87", + "$id": "101", "kind": "array", "name": "ArrayFirstItem", "valueType": { - "$ref": "66" + "$ref": "80" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -679,26 +793,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Page.value", "serializationOptions": { - "$id": "88", + "$id": "102", "json": { - "$id": "89", + "$id": "103", "name": "value" } } }, { - "$id": "90", + "$id": "104", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "91", + "$id": "105", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "92", + "$id": "106", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -713,9 +827,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Page.nextLink", "serializationOptions": { - "$id": "93", + "$id": "107", "json": { - "$id": "94", + "$id": "108", "name": "nextLink" } } @@ -723,7 +837,7 @@ ] }, { - "$id": "95", + "$id": "109", "kind": "model", "name": "PagedSecondItem", "namespace": "Azure.Core", @@ -733,17 +847,17 @@ "decorators": [], "properties": [ { - "$id": "96", + "$id": "110", "kind": "property", "name": "value", "serializedName": "value", "doc": "The SecondItem items on this page", "type": { - "$id": "97", + "$id": "111", "kind": "array", "name": "ArraySecondItem", "valueType": { - "$ref": "71" + "$ref": "85" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -755,26 +869,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Page.value", "serializationOptions": { - "$id": "98", + "$id": "112", "json": { - "$id": "99", + "$id": "113", "name": "value" } } }, { - "$id": "100", + "$id": "114", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "101", + "$id": "115", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "102", + "$id": "116", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -789,9 +903,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Page.nextLink", "serializationOptions": { - "$id": "103", + "$id": "117", "json": { - "$id": "104", + "$id": "118", "name": "nextLink" } } @@ -801,14 +915,14 @@ ], "clients": [ { - "$id": "105", + "$id": "119", "kind": "client", "name": "PageClient", "namespace": "_Specs_.Azure.Core.Page", "doc": "Illustrates bodies templated with Azure Core with paging support", "methods": [ { - "$id": "106", + "$id": "120", "kind": "paging", "name": "listWithPage", "accessibility": "public", @@ -817,19 +931,19 @@ ], "doc": "List with Azure.Core.Page<>.", "operation": { - "$id": "107", + "$id": "121", "name": "listWithPage", "resourceName": "Page", "doc": "List with Azure.Core.Page<>.", "accessibility": "public", "parameters": [ { - "$id": "108", + "$id": "122", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "109", + "$id": "123", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -843,9 +957,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "110", + "$id": "124", "type": { - "$id": "111", + "$id": "125", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -856,24 +970,11 @@ "skipUrlEncoding": false }, { - "$id": "112", + "$id": "126", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "113", - "kind": "constant", - "name": "listWithPageContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "114", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -888,12 +989,12 @@ ], "responses": [ { - "$id": "115", + "$id": "127", "statusCodes": [ 200 ], "bodyType": { - "$ref": "76" + "$ref": "90" }, "headers": [], "isErrorResponse": false, @@ -913,11 +1014,11 @@ }, "parameters": [ { - "$id": "116", + "$id": "128", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "113" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -931,9 +1032,9 @@ } ], "response": { - "$id": "117", + "$id": "129", "type": { - "$ref": "50" + "$ref": "64" }, "resultSegments": [ "value" @@ -944,12 +1045,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.listWithPage", "pagingMetadata": { - "$id": "118", + "$id": "130", "itemPropertySegments": [ "value" ], "nextLink": { - "$id": "119", + "$id": "131", "responseSegments": [ "nextLink" ], @@ -958,7 +1059,7 @@ } }, { - "$id": "120", + "$id": "132", "kind": "paging", "name": "listWithParameters", "accessibility": "public", @@ -967,19 +1068,19 @@ ], "doc": "List with extensible enum parameter Azure.Core.Page<>.", "operation": { - "$id": "121", + "$id": "133", "name": "listWithParameters", "resourceName": "Page", "doc": "List with extensible enum parameter Azure.Core.Page<>.", "accessibility": "public", "parameters": [ { - "$id": "122", + "$id": "134", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "123", + "$id": "135", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -993,9 +1094,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "124", + "$id": "136", "type": { - "$id": "125", + "$id": "137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1006,7 +1107,7 @@ "skipUrlEncoding": false }, { - "$id": "126", + "$id": "138", "name": "another", "nameInRequest": "another", "doc": "Another query parameter.", @@ -1024,25 +1125,12 @@ "skipUrlEncoding": false }, { - "$id": "127", + "$id": "139", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "128", - "kind": "constant", - "name": "listWithParametersContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "129", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1055,24 +1143,11 @@ "skipUrlEncoding": false }, { - "$id": "130", + "$id": "140", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "131", - "kind": "constant", - "name": "listWithParametersContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "132", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1085,12 +1160,12 @@ "skipUrlEncoding": false }, { - "$id": "133", + "$id": "141", "name": "bodyInput", "nameInRequest": "bodyInput", "doc": "The body of the input.", "type": { - "$ref": "43" + "$ref": "57" }, "location": "Body", "isApiVersion": false, @@ -1105,12 +1180,12 @@ ], "responses": [ { - "$id": "134", + "$id": "142", "statusCodes": [ 200 ], "bodyType": { - "$ref": "76" + "$ref": "90" }, "headers": [], "isErrorResponse": false, @@ -1133,12 +1208,12 @@ }, "parameters": [ { - "$id": "135", + "$id": "143", "name": "bodyInput", "nameInRequest": "bodyInput", "doc": "The body of the input.", "type": { - "$ref": "43" + "$ref": "57" }, "location": "Body", "isApiVersion": false, @@ -1151,7 +1226,7 @@ "skipUrlEncoding": false }, { - "$id": "136", + "$id": "144", "name": "another", "nameInRequest": "another", "doc": "Another query parameter.", @@ -1169,12 +1244,12 @@ "skipUrlEncoding": false }, { - "$id": "137", + "$id": "145", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "128" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1187,11 +1262,11 @@ "skipUrlEncoding": false }, { - "$id": "138", + "$id": "146", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "131" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1205,9 +1280,9 @@ } ], "response": { - "$id": "139", + "$id": "147", "type": { - "$ref": "50" + "$ref": "64" }, "resultSegments": [ "value" @@ -1218,12 +1293,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.listWithParameters", "pagingMetadata": { - "$id": "140", + "$id": "148", "itemPropertySegments": [ "value" ], "nextLink": { - "$id": "141", + "$id": "149", "responseSegments": [ "nextLink" ], @@ -1232,7 +1307,7 @@ } }, { - "$id": "142", + "$id": "150", "kind": "paging", "name": "listWithCustomPageModel", "accessibility": "public", @@ -1241,19 +1316,19 @@ ], "doc": "List with custom page model.", "operation": { - "$id": "143", + "$id": "151", "name": "listWithCustomPageModel", "resourceName": "Page", "doc": "List with custom page model.", "accessibility": "public", "parameters": [ { - "$id": "144", + "$id": "152", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "145", + "$id": "153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1267,9 +1342,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "146", + "$id": "154", "type": { - "$id": "147", + "$id": "155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1280,24 +1355,11 @@ "skipUrlEncoding": false }, { - "$id": "148", + "$id": "156", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "149", - "kind": "constant", - "name": "listWithCustomPageModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "150", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1312,12 +1374,12 @@ ], "responses": [ { - "$id": "151", + "$id": "157", "statusCodes": [ 200 ], "bodyType": { - "$ref": "48" + "$ref": "62" }, "headers": [], "isErrorResponse": false, @@ -1337,11 +1399,11 @@ }, "parameters": [ { - "$id": "152", + "$id": "158", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "149" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1355,9 +1417,9 @@ } ], "response": { - "$id": "153", + "$id": "159", "type": { - "$ref": "50" + "$ref": "64" }, "resultSegments": [ "items" @@ -1368,12 +1430,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.listWithCustomPageModel", "pagingMetadata": { - "$id": "154", + "$id": "160", "itemPropertySegments": [ "items" ], "nextLink": { - "$id": "155", + "$id": "161", "responseSegments": [ "nextLink" ], @@ -1382,7 +1444,7 @@ } }, { - "$id": "156", + "$id": "162", "kind": "paging", "name": "withParameterizedNextLink", "accessibility": "public", @@ -1391,18 +1453,18 @@ ], "doc": "List with parameterized next link that re-injects parameters.", "operation": { - "$id": "157", + "$id": "163", "name": "withParameterizedNextLink", "resourceName": "Page", "doc": "List with parameterized next link that re-injects parameters.", "accessibility": "public", "parameters": [ { - "$id": "158", + "$id": "164", "name": "includePending", "nameInRequest": "includePending", "type": { - "$id": "159", + "$id": "165", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1419,11 +1481,11 @@ "skipUrlEncoding": false }, { - "$id": "160", + "$id": "166", "name": "select", "nameInRequest": "select", "type": { - "$id": "161", + "$id": "167", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1440,24 +1502,11 @@ "skipUrlEncoding": false }, { - "$id": "162", + "$id": "168", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "163", - "kind": "constant", - "name": "withParameterizedNextLinkContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "164", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1472,12 +1521,12 @@ ], "responses": [ { - "$id": "165", + "$id": "169", "statusCodes": [ 200 ], "bodyType": { - "$ref": "57" + "$ref": "71" }, "headers": [], "isErrorResponse": false, @@ -1497,11 +1546,11 @@ }, "parameters": [ { - "$id": "166", + "$id": "170", "name": "includePending", "nameInRequest": "includePending", "type": { - "$id": "167", + "$id": "171", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1518,11 +1567,11 @@ "skipUrlEncoding": false }, { - "$id": "168", + "$id": "172", "name": "select", "nameInRequest": "select", "type": { - "$id": "169", + "$id": "173", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1539,11 +1588,11 @@ "skipUrlEncoding": false }, { - "$id": "170", + "$id": "174", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "163" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1557,9 +1606,9 @@ } ], "response": { - "$id": "171", + "$id": "175", "type": { - "$ref": "50" + "$ref": "64" }, "resultSegments": [ "values" @@ -1570,12 +1619,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.withParameterizedNextLink", "pagingMetadata": { - "$id": "172", + "$id": "176", "itemPropertySegments": [ "values" ], "nextLink": { - "$id": "173", + "$id": "177", "responseSegments": [ "nextLink" ], @@ -1586,12 +1635,12 @@ ], "parameters": [ { - "$id": "174", + "$id": "178", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "175", + "$id": "179", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1605,9 +1654,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "176", + "$id": "180", "type": { - "$id": "177", + "$id": "181", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1623,13 +1672,13 @@ ], "children": [ { - "$id": "178", + "$id": "182", "kind": "client", "name": "TwoModelsAsPageItem", "namespace": "_Specs_.Azure.Core.Page", "methods": [ { - "$id": "179", + "$id": "183", "kind": "paging", "name": "listFirstItem", "accessibility": "public", @@ -1638,19 +1687,19 @@ ], "doc": "Two operations with two different page item types should be successfully generated. Should generate model for FirstItem.", "operation": { - "$id": "180", + "$id": "184", "name": "listFirstItem", "resourceName": "TwoModelsAsPageItem", "doc": "Two operations with two different page item types should be successfully generated. Should generate model for FirstItem.", "accessibility": "public", "parameters": [ { - "$id": "181", + "$id": "185", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "182", + "$id": "186", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1664,9 +1713,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "183", + "$id": "187", "type": { - "$id": "184", + "$id": "188", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1677,24 +1726,11 @@ "skipUrlEncoding": false }, { - "$id": "185", + "$id": "189", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "186", - "kind": "constant", - "name": "listFirstItemContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "187", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1709,12 +1745,12 @@ ], "responses": [ { - "$id": "188", + "$id": "190", "statusCodes": [ 200 ], "bodyType": { - "$ref": "85" + "$ref": "99" }, "headers": [], "isErrorResponse": false, @@ -1734,11 +1770,11 @@ }, "parameters": [ { - "$id": "189", + "$id": "191", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "186" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1752,9 +1788,9 @@ } ], "response": { - "$id": "190", + "$id": "192", "type": { - "$ref": "87" + "$ref": "101" }, "resultSegments": [ "value" @@ -1765,12 +1801,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "_Specs_.Azure.Core.Page.TwoModelsAsPageItem.listFirstItem", "pagingMetadata": { - "$id": "191", + "$id": "193", "itemPropertySegments": [ "value" ], "nextLink": { - "$id": "192", + "$id": "194", "responseSegments": [ "nextLink" ], @@ -1779,7 +1815,7 @@ } }, { - "$id": "193", + "$id": "195", "kind": "paging", "name": "listSecondItem", "accessibility": "public", @@ -1788,19 +1824,19 @@ ], "doc": "Two operations with two different page item types should be successfully generated. Should generate model for SecondItem.", "operation": { - "$id": "194", + "$id": "196", "name": "listSecondItem", "resourceName": "TwoModelsAsPageItem", "doc": "Two operations with two different page item types should be successfully generated. Should generate model for SecondItem.", "accessibility": "public", "parameters": [ { - "$id": "195", + "$id": "197", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "196", + "$id": "198", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1814,9 +1850,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "197", + "$id": "199", "type": { - "$id": "198", + "$id": "200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1827,24 +1863,11 @@ "skipUrlEncoding": false }, { - "$id": "199", + "$id": "201", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "200", - "kind": "constant", - "name": "listSecondItemContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "201", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1864,7 +1887,7 @@ 200 ], "bodyType": { - "$ref": "95" + "$ref": "109" }, "headers": [], "isErrorResponse": false, @@ -1888,7 +1911,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "200" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1904,7 +1927,7 @@ "response": { "$id": "204", "type": { - "$ref": "97" + "$ref": "111" }, "resultSegments": [ "value" @@ -1967,7 +1990,7 @@ "2022-12-01-preview" ], "parent": { - "$ref": "105" + "$ref": "119" } } ] diff --git a/test/CadlRanchProjects/azure/core/scalar/tspCodeModel.json b/test/CadlRanchProjects/azure/core/scalar/tspCodeModel.json index 976be482ff1..321a0b782d1 100644 --- a/test/CadlRanchProjects/azure/core/scalar/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/core/scalar/tspCodeModel.json @@ -45,9 +45,123 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "6", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "GetResponseContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "GetResponseContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "GetResponseContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "GetResponseContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "postContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "GetResponseContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "20", "kind": "model", "name": "AzureLocationModel", "namespace": "_Specs_.Azure.Core.Scalar", @@ -56,17 +170,17 @@ "decorators": [], "properties": [ { - "$id": "7", + "$id": "21", "kind": "property", "name": "location", "serializedName": "location", "type": { - "$id": "8", + "$id": "22", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "9", + "$id": "23", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81,9 +195,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Scalar.AzureLocationModel.location", "serializationOptions": { - "$id": "10", + "$id": "24", "json": { - "$id": "11", + "$id": "25", "name": "location" } } @@ -93,19 +207,19 @@ ], "clients": [ { - "$id": "12", + "$id": "26", "kind": "client", "name": "ScalarClient", "namespace": "_Specs_.Azure.Core.Scalar", "methods": [], "parameters": [ { - "$id": "13", + "$id": "27", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "14", + "$id": "28", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -119,9 +233,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "15", + "$id": "29", "type": { - "$id": "16", + "$id": "30", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -137,13 +251,13 @@ ], "children": [ { - "$id": "17", + "$id": "31", "kind": "client", "name": "AzureLocationScalar", "namespace": "_Specs_.Azure.Core.Scalar", "methods": [ { - "$id": "18", + "$id": "32", "kind": "basic", "name": "get", "accessibility": "public", @@ -152,31 +266,18 @@ ], "doc": "get azureLocation value", "operation": { - "$id": "19", + "$id": "33", "name": "get", "resourceName": "AzureLocationScalar", "doc": "get azureLocation value", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "34", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "21", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -191,17 +292,17 @@ ], "responses": [ { - "$id": "23", + "$id": "35", "statusCodes": [ 200 ], "bodyType": { - "$id": "24", + "$id": "36", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "25", + "$id": "37", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -211,24 +312,11 @@ }, "headers": [ { - "$id": "26", + "$id": "38", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "27", - "kind": "constant", - "name": "GetResponseContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "28", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" } } ], @@ -249,11 +337,11 @@ }, "parameters": [ { - "$id": "29", + "$id": "39", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "21" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -267,9 +355,9 @@ } ], "response": { - "$id": "30", + "$id": "40", "type": { - "$ref": "24" + "$ref": "36" } }, "isOverride": false, @@ -278,7 +366,7 @@ "crossLanguageDefinitionId": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.get" }, { - "$id": "31", + "$id": "41", "kind": "basic", "name": "put", "accessibility": "public", @@ -287,31 +375,18 @@ ], "doc": "put azureLocation value", "operation": { - "$id": "32", + "$id": "42", "name": "put", "resourceName": "AzureLocationScalar", "doc": "put azureLocation value", "accessibility": "public", "parameters": [ { - "$id": "33", + "$id": "43", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "34", - "kind": "constant", - "name": "GetResponseContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "35", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -324,17 +399,17 @@ "skipUrlEncoding": false }, { - "$id": "36", + "$id": "44", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$id": "37", + "$id": "45", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "38", + "$id": "46", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -355,7 +430,7 @@ ], "responses": [ { - "$id": "39", + "$id": "47", "statusCodes": [ 204 ], @@ -377,24 +452,11 @@ }, "parameters": [ { - "$id": "40", + "$id": "48", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "41", - "kind": "constant", - "name": "GetResponseContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "42", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -407,17 +469,17 @@ "skipUrlEncoding": false }, { - "$id": "43", + "$id": "49", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$id": "44", + "$id": "50", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "45", + "$id": "51", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -437,7 +499,7 @@ } ], "response": { - "$id": "46" + "$id": "52" }, "isOverride": false, "generateConvenient": true, @@ -445,7 +507,7 @@ "crossLanguageDefinitionId": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.put" }, { - "$id": "47", + "$id": "53", "kind": "basic", "name": "post", "accessibility": "public", @@ -454,31 +516,18 @@ ], "doc": "post a model which has azureLocation property", "operation": { - "$id": "48", + "$id": "54", "name": "post", "resourceName": "AzureLocationScalar", "doc": "post a model which has azureLocation property", "accessibility": "public", "parameters": [ { - "$id": "49", + "$id": "55", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "50", - "kind": "constant", - "name": "GetResponseContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "51", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -491,24 +540,11 @@ "skipUrlEncoding": false }, { - "$id": "52", + "$id": "56", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "53", - "kind": "constant", - "name": "postContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "54", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -521,12 +557,12 @@ "skipUrlEncoding": false }, { - "$id": "55", + "$id": "57", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$ref": "6" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -541,12 +577,12 @@ ], "responses": [ { - "$id": "56", + "$id": "58", "statusCodes": [ 200 ], "bodyType": { - "$ref": "6" + "$ref": "20" }, "headers": [], "isErrorResponse": false, @@ -569,24 +605,11 @@ }, "parameters": [ { - "$id": "57", + "$id": "59", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "58", - "kind": "constant", - "name": "GetResponseContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "59", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -604,7 +627,7 @@ "nameInRequest": "body", "doc": "_", "type": { - "$ref": "6" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -621,7 +644,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "53" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -637,7 +660,7 @@ "response": { "$id": "62", "type": { - "$ref": "6" + "$ref": "20" } }, "isOverride": false, @@ -892,7 +915,7 @@ "2022-12-01-preview" ], "parent": { - "$ref": "12" + "$ref": "26" } } ] diff --git a/test/CadlRanchProjects/azure/core/traits/tspCodeModel.json b/test/CadlRanchProjects/azure/core/traits/tspCodeModel.json index 3085e84af8b..988bc1fe283 100644 --- a/test/CadlRanchProjects/azure/core/traits/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/core/traits/tspCodeModel.json @@ -102,9 +102,59 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "12", + "kind": "constant", + "name": "smokeTestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "repeatableActionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "repeatableActionContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "18", "kind": "model", "name": "User", "namespace": "_Specs_.Azure.Core.Traits", @@ -114,13 +164,13 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "19", "kind": "property", "name": "id", "serializedName": "id", "doc": "The user's id.", "type": { - "$id": "14", + "$id": "20", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -133,21 +183,21 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Traits.User.id", "serializationOptions": { - "$id": "15", + "$id": "21", "json": { - "$id": "16", + "$id": "22", "name": "id" } } }, { - "$id": "17", + "$id": "23", "kind": "property", "name": "name", "serializedName": "name", "doc": "The user's name.", "type": { - "$id": "18", + "$id": "24", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -160,9 +210,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Traits.User.name", "serializationOptions": { - "$id": "19", + "$id": "25", "json": { - "$id": "20", + "$id": "26", "name": "name" } } @@ -170,7 +220,7 @@ ] }, { - "$id": "21", + "$id": "27", "kind": "model", "name": "UserActionParam", "namespace": "_Specs_.Azure.Core.Traits", @@ -180,13 +230,13 @@ "decorators": [], "properties": [ { - "$id": "22", + "$id": "28", "kind": "property", "name": "userActionValue", "serializedName": "userActionValue", "doc": "User action value.", "type": { - "$id": "23", + "$id": "29", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -199,9 +249,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Traits.UserActionParam.userActionValue", "serializationOptions": { - "$id": "24", + "$id": "30", "json": { - "$id": "25", + "$id": "31", "name": "userActionValue" } } @@ -209,7 +259,7 @@ ] }, { - "$id": "26", + "$id": "32", "kind": "model", "name": "UserActionResponse", "namespace": "_Specs_.Azure.Core.Traits", @@ -219,13 +269,13 @@ "decorators": [], "properties": [ { - "$id": "27", + "$id": "33", "kind": "property", "name": "userActionResult", "serializedName": "userActionResult", "doc": "User action result.", "type": { - "$id": "28", + "$id": "34", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -238,9 +288,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Core.Traits.UserActionResponse.userActionResult", "serializationOptions": { - "$id": "29", + "$id": "35", "json": { - "$id": "30", + "$id": "36", "name": "userActionResult" } } @@ -250,14 +300,14 @@ ], "clients": [ { - "$id": "31", + "$id": "37", "kind": "client", "name": "TraitsClient", "namespace": "_Specs_.Azure.Core.Traits", "doc": "Illustrates Azure Core operation customizations by traits", "methods": [ { - "$id": "32", + "$id": "38", "kind": "basic", "name": "smokeTest", "accessibility": "public", @@ -266,19 +316,19 @@ ], "doc": "Get a resource, sending and receiving headers.", "operation": { - "$id": "33", + "$id": "39", "name": "smokeTest", "resourceName": "User", "doc": "Get a resource, sending and receiving headers.", "accessibility": "public", "parameters": [ { - "$id": "34", + "$id": "40", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "35", + "$id": "41", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -292,9 +342,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "36", + "$id": "42", "type": { - "$id": "37", + "$id": "43", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -305,12 +355,12 @@ "skipUrlEncoding": false }, { - "$id": "38", + "$id": "44", "name": "id", "nameInRequest": "id", "doc": "The user's id.", "type": { - "$id": "39", + "$id": "45", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -327,12 +377,12 @@ "skipUrlEncoding": false }, { - "$id": "40", + "$id": "46", "name": "foo", "nameInRequest": "foo", "doc": "header in request", "type": { - "$id": "41", + "$id": "47", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -349,12 +399,12 @@ "skipUrlEncoding": false }, { - "$id": "42", + "$id": "48", "name": "ifMatch", "nameInRequest": "If-Match", "doc": "The request should only proceed if an entity matches this string.", "type": { - "$id": "43", + "$id": "49", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -371,12 +421,12 @@ "skipUrlEncoding": false }, { - "$id": "44", + "$id": "50", "name": "ifNoneMatch", "nameInRequest": "If-None-Match", "doc": "The request should only proceed if no entity matches this string.", "type": { - "$id": "45", + "$id": "51", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -393,17 +443,17 @@ "skipUrlEncoding": false }, { - "$id": "46", + "$id": "52", "name": "ifUnmodifiedSince", "nameInRequest": "If-Unmodified-Since", "doc": "The request should only proceed if the entity was not modified after this time.", "type": { - "$id": "47", + "$id": "53", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "48", + "$id": "54", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -423,17 +473,17 @@ "skipUrlEncoding": false }, { - "$id": "49", + "$id": "55", "name": "ifModifiedSince", "nameInRequest": "If-Modified-Since", "doc": "The request should only proceed if the entity was modified after this time.", "type": { - "$id": "50", + "$id": "56", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "51", + "$id": "57", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -453,17 +503,17 @@ "skipUrlEncoding": false }, { - "$id": "52", + "$id": "58", "name": "clientRequestId", "nameInRequest": "x-ms-client-request-id", "doc": "An opaque, globally-unique, client-generated string identifier for the request.", "type": { - "$id": "53", + "$id": "59", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "54", + "$id": "60", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -482,24 +532,11 @@ "skipUrlEncoding": false }, { - "$id": "55", + "$id": "61", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "56", - "kind": "constant", - "name": "smokeTestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "57", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -514,20 +551,20 @@ ], "responses": [ { - "$id": "58", + "$id": "62", "statusCodes": [ 200 ], "bodyType": { - "$ref": "12" + "$ref": "18" }, "headers": [ { - "$id": "59", + "$id": "63", "name": "bar", "nameInResponse": "bar", "type": { - "$id": "60", + "$id": "64", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -535,12 +572,12 @@ } }, { - "$id": "61", + "$id": "65", "name": "etagHeader", "nameInResponse": "ETag", "doc": "The entity tag for the response.", "type": { - "$id": "62", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -548,17 +585,17 @@ } }, { - "$id": "63", + "$id": "67", "name": "clientRequestId", "nameInResponse": "x-ms-client-request-id", "doc": "An opaque, globally-unique, client-generated string identifier for the request.", "type": { - "$id": "64", + "$id": "68", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "65", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -585,12 +622,12 @@ }, "parameters": [ { - "$id": "66", + "$id": "70", "name": "id", "nameInRequest": "id", "doc": "The user's id.", "type": { - "$id": "67", + "$id": "71", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -607,12 +644,12 @@ "skipUrlEncoding": false }, { - "$id": "68", + "$id": "72", "name": "foo", "nameInRequest": "foo", "doc": "header in request", "type": { - "$id": "69", + "$id": "73", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -629,12 +666,12 @@ "skipUrlEncoding": false }, { - "$id": "70", + "$id": "74", "name": "ifMatch", "nameInRequest": "If-Match", "doc": "The request should only proceed if an entity matches this string.", "type": { - "$id": "71", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -651,12 +688,12 @@ "skipUrlEncoding": false }, { - "$id": "72", + "$id": "76", "name": "ifNoneMatch", "nameInRequest": "If-None-Match", "doc": "The request should only proceed if no entity matches this string.", "type": { - "$id": "73", + "$id": "77", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -673,17 +710,17 @@ "skipUrlEncoding": false }, { - "$id": "74", + "$id": "78", "name": "ifUnmodifiedSince", "nameInRequest": "If-Unmodified-Since", "doc": "The request should only proceed if the entity was not modified after this time.", "type": { - "$id": "75", + "$id": "79", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "76", + "$id": "80", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -703,17 +740,17 @@ "skipUrlEncoding": false }, { - "$id": "77", + "$id": "81", "name": "ifModifiedSince", "nameInRequest": "If-Modified-Since", "doc": "The request should only proceed if the entity was modified after this time.", "type": { - "$id": "78", + "$id": "82", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "79", + "$id": "83", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -733,17 +770,17 @@ "skipUrlEncoding": false }, { - "$id": "80", + "$id": "84", "name": "clientRequestId", "nameInRequest": "x-ms-client-request-id", "doc": "An opaque, globally-unique, client-generated string identifier for the request.", "type": { - "$id": "81", + "$id": "85", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "82", + "$id": "86", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -762,11 +799,11 @@ "skipUrlEncoding": false }, { - "$id": "83", + "$id": "87", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "56" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -780,9 +817,9 @@ } ], "response": { - "$id": "84", + "$id": "88", "type": { - "$ref": "12" + "$ref": "18" } }, "isOverride": false, @@ -791,7 +828,7 @@ "crossLanguageDefinitionId": "_Specs_.Azure.Core.Traits.smokeTest" }, { - "$id": "85", + "$id": "89", "kind": "basic", "name": "repeatableAction", "accessibility": "public", @@ -800,19 +837,19 @@ ], "doc": "Test for repeatable requests", "operation": { - "$id": "86", + "$id": "90", "name": "repeatableAction", "resourceName": "Traits", "doc": "Test for repeatable requests", "accessibility": "public", "parameters": [ { - "$id": "87", + "$id": "91", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "88", + "$id": "92", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -826,9 +863,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "89", + "$id": "93", "type": { - "$id": "90", + "$id": "94", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -839,12 +876,12 @@ "skipUrlEncoding": false }, { - "$id": "91", + "$id": "95", "name": "id", "nameInRequest": "id", "doc": "The user's id.", "type": { - "$id": "92", + "$id": "96", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -861,12 +898,12 @@ "skipUrlEncoding": false }, { - "$id": "93", + "$id": "97", "name": "repeatabilityRequestId", "nameInRequest": "Repeatability-Request-ID", "doc": "An opaque, globally-unique, client-generated string identifier for the request.", "type": { - "$id": "94", + "$id": "98", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -883,17 +920,17 @@ "skipUrlEncoding": false }, { - "$id": "95", + "$id": "99", "name": "repeatabilityFirstSent", "nameInRequest": "Repeatability-First-Sent", "doc": "Specifies the date and time at which the request was first created.", "type": { - "$id": "96", + "$id": "100", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "97", + "$id": "101", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -913,25 +950,12 @@ "skipUrlEncoding": false }, { - "$id": "98", + "$id": "102", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "99", - "kind": "constant", - "name": "repeatableActionContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "100", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -944,24 +968,11 @@ "skipUrlEncoding": false }, { - "$id": "101", + "$id": "103", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "102", - "kind": "constant", - "name": "repeatableActionContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "103", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -979,7 +990,7 @@ "nameInRequest": "body", "doc": "The body parameter.", "type": { - "$ref": "21" + "$ref": "27" }, "location": "Body", "isApiVersion": false, @@ -999,7 +1010,7 @@ 200 ], "bodyType": { - "$ref": "26" + "$ref": "32" }, "headers": [ { @@ -1059,7 +1070,7 @@ "nameInRequest": "body", "doc": "The body parameter.", "type": { - "$ref": "21" + "$ref": "27" }, "location": "Body", "isApiVersion": false, @@ -1129,7 +1140,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "99" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1146,7 +1157,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "102" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1162,7 +1173,7 @@ "response": { "$id": "117", "type": { - "$ref": "26" + "$ref": "32" } }, "isOverride": false, diff --git a/test/CadlRanchProjects/azure/encode/duration/tspCodeModel.json b/test/CadlRanchProjects/azure/encode/duration/tspCodeModel.json index 22339ec49a2..8f2f75a2027 100644 --- a/test/CadlRanchProjects/azure/encode/duration/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/encode/duration/tspCodeModel.json @@ -3,9 +3,27 @@ "name": "_Specs_.Azure.Encode.Duration", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "durationConstantContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "4", "kind": "model", "name": "DurationModel", "namespace": "_Specs_.Azure.Encode.Duration", @@ -14,17 +32,17 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "5", "kind": "property", "name": "input", "serializedName": "input", "type": { - "$id": "4", + "$id": "6", "kind": "duration", "name": "duration", "encode": "duration-constant", "wireType": { - "$id": "5", + "$id": "7", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40,9 +58,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Encode.Duration.DurationModel.input", "serializationOptions": { - "$id": "6", + "$id": "8", "json": { - "$id": "7", + "$id": "9", "name": "input" } } @@ -52,46 +70,33 @@ ], "clients": [ { - "$id": "8", + "$id": "10", "kind": "client", "name": "DurationClient", "namespace": "_Specs_.Azure.Encode.Duration", "doc": "Test for azure related encode decorator.", "methods": [ { - "$id": "9", + "$id": "11", "kind": "basic", "name": "durationConstant", "accessibility": "public", "apiVersions": [], "doc": "Test duration with azure specific encoding.", "operation": { - "$id": "10", + "$id": "12", "name": "durationConstant", "resourceName": "Duration", "doc": "Test duration with azure specific encoding.", "accessibility": "public", "parameters": [ { - "$id": "11", + "$id": "13", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "12", - "kind": "constant", - "name": "durationConstantContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "13", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -108,7 +113,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "4" }, "location": "Body", "isApiVersion": false, @@ -149,7 +154,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "4" }, "location": "Body", "isApiVersion": false, @@ -167,7 +172,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "12" + "$ref": "2" }, "location": "Header", "isApiVersion": false, diff --git a/test/CadlRanchProjects/azure/example/basic/tspCodeModel.json b/test/CadlRanchProjects/azure/example/basic/tspCodeModel.json index ba29be3e20c..0ece6da7623 100644 --- a/test/CadlRanchProjects/azure/example/basic/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/example/basic/tspCodeModel.json @@ -80,9 +80,43 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "10", + "kind": "constant", + "name": "basicActionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "basicActionContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "14", "kind": "model", "name": "ActionRequest", "namespace": "_Specs_.Azure.Example.Basic", @@ -91,12 +125,12 @@ "decorators": [], "properties": [ { - "$id": "11", + "$id": "15", "kind": "property", "name": "stringProperty", "serializedName": "stringProperty", "type": { - "$id": "12", + "$id": "16", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109,20 +143,20 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Example.Basic.ActionRequest.stringProperty", "serializationOptions": { - "$id": "13", + "$id": "17", "json": { - "$id": "14", + "$id": "18", "name": "stringProperty" } } }, { - "$id": "15", + "$id": "19", "kind": "property", "name": "modelProperty", "serializedName": "modelProperty", "type": { - "$id": "16", + "$id": "20", "kind": "model", "name": "Model", "namespace": "_Specs_.Azure.Example.Basic", @@ -131,12 +165,12 @@ "decorators": [], "properties": [ { - "$id": "17", + "$id": "21", "kind": "property", "name": "int32Property", "serializedName": "int32Property", "type": { - "$id": "18", + "$id": "22", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -149,20 +183,20 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Example.Basic.Model.int32Property", "serializationOptions": { - "$id": "19", + "$id": "23", "json": { - "$id": "20", + "$id": "24", "name": "int32Property" } } }, { - "$id": "21", + "$id": "25", "kind": "property", "name": "float32Property", "serializedName": "float32Property", "type": { - "$id": "22", + "$id": "26", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -175,15 +209,15 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Example.Basic.Model.float32Property", "serializationOptions": { - "$id": "23", + "$id": "27", "json": { - "$id": "24", + "$id": "28", "name": "float32Property" } } }, { - "$id": "25", + "$id": "29", "kind": "property", "name": "enumProperty", "serializedName": "enumProperty", @@ -197,9 +231,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Example.Basic.Model.enumProperty", "serializationOptions": { - "$id": "26", + "$id": "30", "json": { - "$id": "27", + "$id": "31", "name": "enumProperty" } } @@ -213,24 +247,24 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Example.Basic.ActionRequest.modelProperty", "serializationOptions": { - "$id": "28", + "$id": "32", "json": { - "$id": "29", + "$id": "33", "name": "modelProperty" } } }, { - "$id": "30", + "$id": "34", "kind": "property", "name": "arrayProperty", "serializedName": "arrayProperty", "type": { - "$id": "31", + "$id": "35", "kind": "array", "name": "Array", "valueType": { - "$id": "32", + "$id": "36", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -246,30 +280,30 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Example.Basic.ActionRequest.arrayProperty", "serializationOptions": { - "$id": "33", + "$id": "37", "json": { - "$id": "34", + "$id": "38", "name": "arrayProperty" } } }, { - "$id": "35", + "$id": "39", "kind": "property", "name": "recordProperty", "serializedName": "recordProperty", "type": { - "$id": "36", + "$id": "40", "kind": "dict", "keyType": { - "$id": "37", + "$id": "41", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "38", + "$id": "42", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -284,9 +318,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Example.Basic.ActionRequest.recordProperty", "serializationOptions": { - "$id": "39", + "$id": "43", "json": { - "$id": "40", + "$id": "44", "name": "recordProperty" } } @@ -294,10 +328,10 @@ ] }, { - "$ref": "16" + "$ref": "20" }, { - "$id": "41", + "$id": "45", "kind": "model", "name": "ActionResponse", "namespace": "_Specs_.Azure.Example.Basic", @@ -306,12 +340,12 @@ "decorators": [], "properties": [ { - "$id": "42", + "$id": "46", "kind": "property", "name": "stringProperty", "serializedName": "stringProperty", "type": { - "$id": "43", + "$id": "47", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -324,20 +358,20 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Example.Basic.ActionResponse.stringProperty", "serializationOptions": { - "$id": "44", + "$id": "48", "json": { - "$id": "45", + "$id": "49", "name": "stringProperty" } } }, { - "$id": "46", + "$id": "50", "kind": "property", "name": "modelProperty", "serializedName": "modelProperty", "type": { - "$ref": "16" + "$ref": "20" }, "optional": true, "readOnly": false, @@ -346,20 +380,20 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Example.Basic.ActionResponse.modelProperty", "serializationOptions": { - "$id": "47", + "$id": "51", "json": { - "$id": "48", + "$id": "52", "name": "modelProperty" } } }, { - "$id": "49", + "$id": "53", "kind": "property", "name": "arrayProperty", "serializedName": "arrayProperty", "type": { - "$ref": "31" + "$ref": "35" }, "optional": true, "readOnly": false, @@ -368,20 +402,20 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Example.Basic.ActionResponse.arrayProperty", "serializationOptions": { - "$id": "50", + "$id": "54", "json": { - "$id": "51", + "$id": "55", "name": "arrayProperty" } } }, { - "$id": "52", + "$id": "56", "kind": "property", "name": "recordProperty", "serializedName": "recordProperty", "type": { - "$ref": "36" + "$ref": "40" }, "optional": true, "readOnly": false, @@ -390,9 +424,9 @@ "decorators": [], "crossLanguageDefinitionId": "_Specs_.Azure.Example.Basic.ActionResponse.recordProperty", "serializationOptions": { - "$id": "53", + "$id": "57", "json": { - "$id": "54", + "$id": "58", "name": "recordProperty" } } @@ -402,13 +436,13 @@ ], "clients": [ { - "$id": "55", + "$id": "59", "kind": "client", "name": "AzureExampleClient", "namespace": "AzureExampleBasicClient", "methods": [ { - "$id": "56", + "$id": "60", "kind": "basic", "name": "basicAction", "accessibility": "public", @@ -416,18 +450,18 @@ "2022-12-01-preview" ], "operation": { - "$id": "57", + "$id": "61", "name": "basicAction", "resourceName": "AzureExampleClient", "accessibility": "public", "parameters": [ { - "$id": "58", + "$id": "62", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "59", + "$id": "63", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -441,9 +475,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "60", + "$id": "64", "type": { - "$id": "61", + "$id": "65", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -454,11 +488,11 @@ "skipUrlEncoding": false }, { - "$id": "62", + "$id": "66", "name": "queryParam", "nameInRequest": "query-param", "type": { - "$id": "63", + "$id": "67", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -475,11 +509,11 @@ "skipUrlEncoding": false }, { - "$id": "64", + "$id": "68", "name": "headerParam", "nameInRequest": "header-param", "type": { - "$id": "65", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -496,25 +530,12 @@ "skipUrlEncoding": false }, { - "$id": "66", + "$id": "70", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "67", - "kind": "constant", - "name": "basicActionContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "68", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -527,24 +548,11 @@ "skipUrlEncoding": false }, { - "$id": "69", + "$id": "71", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "70", - "kind": "constant", - "name": "basicActionContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "71", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -561,7 +569,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "10" + "$ref": "14" }, "location": "Body", "isApiVersion": false, @@ -581,7 +589,7 @@ 200 ], "bodyType": { - "$ref": "41" + "$ref": "45" }, "headers": [], "isErrorResponse": false, @@ -612,13 +620,13 @@ { "$id": "75", "parameter": { - "$ref": "58" + "$ref": "62" }, "value": { "$id": "76", "kind": "string", "type": { - "$ref": "59" + "$ref": "63" }, "value": "2022-12-01-preview" } @@ -626,13 +634,13 @@ { "$id": "77", "parameter": { - "$ref": "62" + "$ref": "66" }, "value": { "$id": "78", "kind": "string", "type": { - "$ref": "63" + "$ref": "67" }, "value": "query" } @@ -640,13 +648,13 @@ { "$id": "79", "parameter": { - "$ref": "64" + "$ref": "68" }, "value": { "$id": "80", "kind": "string", "type": { - "$ref": "65" + "$ref": "69" }, "value": "header" } @@ -660,7 +668,7 @@ "$id": "82", "kind": "model", "type": { - "$ref": "10" + "$ref": "14" }, "value": { "$id": "83", @@ -668,7 +676,7 @@ "$id": "84", "kind": "string", "type": { - "$ref": "12" + "$ref": "16" }, "value": "text" }, @@ -676,7 +684,7 @@ "$id": "85", "kind": "model", "type": { - "$ref": "16" + "$ref": "20" }, "value": { "$id": "86", @@ -684,7 +692,7 @@ "$id": "87", "kind": "number", "type": { - "$ref": "18" + "$ref": "22" }, "value": 1 }, @@ -692,7 +700,7 @@ "$id": "88", "kind": "number", "type": { - "$ref": "22" + "$ref": "26" }, "value": 1.5 }, @@ -710,14 +718,14 @@ "$id": "90", "kind": "array", "type": { - "$ref": "31" + "$ref": "35" }, "value": [ { "$id": "91", "kind": "string", "type": { - "$ref": "32" + "$ref": "36" }, "value": "item" } @@ -727,7 +735,7 @@ "$id": "92", "kind": "dict", "type": { - "$ref": "36" + "$ref": "40" }, "value": { "$id": "93", @@ -735,7 +743,7 @@ "$id": "94", "kind": "string", "type": { - "$ref": "38" + "$ref": "42" }, "value": "value" } @@ -805,7 +813,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "10" + "$ref": "14" }, "location": "Body", "isApiVersion": false, @@ -823,7 +831,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "67" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -840,7 +848,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "70" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -856,7 +864,7 @@ "response": { "$id": "103", "type": { - "$ref": "41" + "$ref": "45" } }, "isOverride": false, diff --git a/test/CadlRanchProjects/azure/resource-manager/common-properties/tspCodeModel.json b/test/CadlRanchProjects/azure/resource-manager/common-properties/tspCodeModel.json index 0f9a736f38e..686b47baa1e 100644 --- a/test/CadlRanchProjects/azure/resource-manager/common-properties/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/resource-manager/common-properties/tspCodeModel.json @@ -231,9 +231,139 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "26", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "createWithSystemAssignedContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "createWithSystemAssignedContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "updateWithUserAssignedAndSystemAssignedContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "updateWithUserAssignedAndSystemAssignedContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "getForPredefinedErrorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "createForUserDefinedErrorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "createForUserDefinedErrorContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "42", "kind": "model", "name": "ManagedIdentityTrackedResource", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -242,7 +372,7 @@ "doc": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", "decorators": [], "baseModel": { - "$id": "27", + "$id": "43", "kind": "model", "name": "TrackedResource", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -252,7 +382,7 @@ "summary": "Tracked Resource", "decorators": [], "baseModel": { - "$id": "28", + "$id": "44", "kind": "model", "name": "Resource", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -263,13 +393,13 @@ "decorators": [], "properties": [ { - "$id": "29", + "$id": "45", "kind": "property", "name": "id", "serializedName": "id", "doc": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", "type": { - "$id": "30", + "$id": "46", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -282,21 +412,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.id", "serializationOptions": { - "$id": "31", + "$id": "47", "json": { - "$id": "32", + "$id": "48", "name": "id" } } }, { - "$id": "33", + "$id": "49", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the resource", "type": { - "$id": "34", + "$id": "50", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -309,26 +439,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.name", "serializationOptions": { - "$id": "35", + "$id": "51", "json": { - "$id": "36", + "$id": "52", "name": "name" } } }, { - "$id": "37", + "$id": "53", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", "type": { - "$id": "38", + "$id": "54", "kind": "string", "name": "armResourceType", "crossLanguageDefinitionId": "Azure.Core.armResourceType", "baseType": { - "$id": "39", + "$id": "55", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -343,21 +473,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.type", "serializationOptions": { - "$id": "40", + "$id": "56", "json": { - "$id": "41", + "$id": "57", "name": "type" } } }, { - "$id": "42", + "$id": "58", "kind": "property", "name": "systemData", "serializedName": "systemData", "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", "type": { - "$id": "43", + "$id": "59", "kind": "model", "name": "SystemData", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -367,13 +497,13 @@ "decorators": [], "properties": [ { - "$id": "44", + "$id": "60", "kind": "property", "name": "createdBy", "serializedName": "createdBy", "doc": "The identity that created the resource.", "type": { - "$id": "45", + "$id": "61", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -386,15 +516,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdBy", "serializationOptions": { - "$id": "46", + "$id": "62", "json": { - "$id": "47", + "$id": "63", "name": "createdBy" } } }, { - "$id": "48", + "$id": "64", "kind": "property", "name": "createdByType", "serializedName": "createdByType", @@ -409,26 +539,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType", "serializationOptions": { - "$id": "49", + "$id": "65", "json": { - "$id": "50", + "$id": "66", "name": "createdByType" } } }, { - "$id": "51", + "$id": "67", "kind": "property", "name": "createdAt", "serializedName": "createdAt", "doc": "The timestamp of resource creation (UTC).", "type": { - "$id": "52", + "$id": "68", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "53", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -444,21 +574,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdAt", "serializationOptions": { - "$id": "54", + "$id": "70", "json": { - "$id": "55", + "$id": "71", "name": "createdAt" } } }, { - "$id": "56", + "$id": "72", "kind": "property", "name": "lastModifiedBy", "serializedName": "lastModifiedBy", "doc": "The identity that last modified the resource.", "type": { - "$id": "57", + "$id": "73", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -471,15 +601,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedBy", "serializationOptions": { - "$id": "58", + "$id": "74", "json": { - "$id": "59", + "$id": "75", "name": "lastModifiedBy" } } }, { - "$id": "60", + "$id": "76", "kind": "property", "name": "lastModifiedByType", "serializedName": "lastModifiedByType", @@ -494,26 +624,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType", "serializationOptions": { - "$id": "61", + "$id": "77", "json": { - "$id": "62", + "$id": "78", "name": "lastModifiedByType" } } }, { - "$id": "63", + "$id": "79", "kind": "property", "name": "lastModifiedAt", "serializedName": "lastModifiedAt", "doc": "The timestamp of resource last modification (UTC)", "type": { - "$id": "64", + "$id": "80", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "65", + "$id": "81", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -529,9 +659,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedAt", "serializationOptions": { - "$id": "66", + "$id": "82", "json": { - "$id": "67", + "$id": "83", "name": "lastModifiedAt" } } @@ -545,9 +675,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData", "serializationOptions": { - "$id": "68", + "$id": "84", "json": { - "$id": "69", + "$id": "85", "name": "systemData" } } @@ -556,23 +686,23 @@ }, "properties": [ { - "$id": "70", + "$id": "86", "kind": "property", "name": "tags", "serializedName": "tags", "doc": "Resource tags.", "type": { - "$id": "71", + "$id": "87", "kind": "dict", "keyType": { - "$id": "72", + "$id": "88", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "73", + "$id": "89", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -587,21 +717,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.tags", "serializationOptions": { - "$id": "74", + "$id": "90", "json": { - "$id": "75", + "$id": "91", "name": "tags" } } }, { - "$id": "76", + "$id": "92", "kind": "property", "name": "location", "serializedName": "location", "doc": "The geo-location where the resource lives", "type": { - "$id": "77", + "$id": "93", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -614,9 +744,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location", "serializationOptions": { - "$id": "78", + "$id": "94", "json": { - "$id": "79", + "$id": "95", "name": "location" } } @@ -625,13 +755,13 @@ }, "properties": [ { - "$id": "80", + "$id": "96", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "81", + "$id": "97", "kind": "model", "name": "ManagedIdentityTrackedResourceProperties", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -641,13 +771,13 @@ "decorators": [], "properties": [ { - "$id": "82", + "$id": "98", "kind": "property", "name": "provisioningState", "serializedName": "provisioningState", "doc": "The status of the last operation.", "type": { - "$id": "83", + "$id": "99", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -660,9 +790,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ManagedIdentityTrackedResourceProperties.provisioningState", "serializationOptions": { - "$id": "84", + "$id": "100", "json": { - "$id": "85", + "$id": "101", "name": "provisioningState" } } @@ -676,21 +806,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ManagedIdentityTrackedResource.properties", "serializationOptions": { - "$id": "86", + "$id": "102", "json": { - "$id": "87", + "$id": "103", "name": "properties" } } }, { - "$id": "88", + "$id": "104", "kind": "path", "name": "name", "serializedName": "name", "doc": "arm resource name for path", "type": { - "$id": "89", + "$id": "105", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -706,13 +836,13 @@ "correspondingMethodParams": [] }, { - "$id": "90", + "$id": "106", "kind": "property", "name": "identity", "serializedName": "identity", "doc": "The managed service identities assigned to this resource.", "type": { - "$id": "91", + "$id": "107", "kind": "model", "name": "ManagedServiceIdentity", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -722,18 +852,18 @@ "decorators": [], "properties": [ { - "$id": "92", + "$id": "108", "kind": "property", "name": "principalId", "serializedName": "principalId", "doc": "The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.", "type": { - "$id": "93", + "$id": "109", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "94", + "$id": "110", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -748,26 +878,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.principalId", "serializationOptions": { - "$id": "95", + "$id": "111", "json": { - "$id": "96", + "$id": "112", "name": "principalId" } } }, { - "$id": "97", + "$id": "113", "kind": "property", "name": "tenantId", "serializedName": "tenantId", "doc": "The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.", "type": { - "$id": "98", + "$id": "114", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "99", + "$id": "115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -782,15 +912,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.tenantId", "serializationOptions": { - "$id": "100", + "$id": "116", "json": { - "$id": "101", + "$id": "117", "name": "tenantId" } } }, { - "$id": "102", + "$id": "118", "kind": "property", "name": "type", "serializedName": "type", @@ -805,31 +935,31 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.type", "serializationOptions": { - "$id": "103", + "$id": "119", "json": { - "$id": "104", + "$id": "120", "name": "type" } } }, { - "$id": "105", + "$id": "121", "kind": "property", "name": "userAssignedIdentities", "serializedName": "userAssignedIdentities", "doc": "The identities assigned to this resource by the user.", "type": { - "$id": "106", + "$id": "122", "kind": "dict", "keyType": { - "$id": "107", + "$id": "123", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "108", + "$id": "124", "kind": "model", "name": "UserAssignedIdentity", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -839,18 +969,18 @@ "decorators": [], "properties": [ { - "$id": "109", + "$id": "125", "kind": "property", "name": "principalId", "serializedName": "principalId", "doc": "The principal ID of the assigned identity.", "type": { - "$id": "110", + "$id": "126", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "111", + "$id": "127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -865,26 +995,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.principalId", "serializationOptions": { - "$id": "112", + "$id": "128", "json": { - "$id": "113", + "$id": "129", "name": "principalId" } } }, { - "$id": "114", + "$id": "130", "kind": "property", "name": "clientId", "serializedName": "clientId", "doc": "The client ID of the assigned identity.", "type": { - "$id": "115", + "$id": "131", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "116", + "$id": "132", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -899,9 +1029,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.clientId", "serializationOptions": { - "$id": "117", + "$id": "133", "json": { - "$id": "118", + "$id": "134", "name": "clientId" } } @@ -917,9 +1047,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.userAssignedIdentities", "serializationOptions": { - "$id": "119", + "$id": "135", "json": { - "$id": "120", + "$id": "136", "name": "userAssignedIdentities" } } @@ -933,9 +1063,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ManagedIdentityTrackedResource.identity", "serializationOptions": { - "$id": "121", + "$id": "137", "json": { - "$id": "122", + "$id": "138", "name": "identity" } } @@ -943,25 +1073,25 @@ ] }, { - "$ref": "81" + "$ref": "97" }, { - "$ref": "91" + "$ref": "107" }, { - "$ref": "108" + "$ref": "124" }, { - "$ref": "27" + "$ref": "43" }, { - "$ref": "28" + "$ref": "44" }, { - "$ref": "43" + "$ref": "59" }, { - "$id": "123", + "$id": "139", "kind": "model", "name": "ErrorResponse", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -972,13 +1102,13 @@ "decorators": [], "properties": [ { - "$id": "124", + "$id": "140", "kind": "property", "name": "error", "serializedName": "error", "doc": "The error object.", "type": { - "$id": "125", + "$id": "141", "kind": "model", "name": "ErrorDetail", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -988,13 +1118,13 @@ "decorators": [], "properties": [ { - "$id": "126", + "$id": "142", "kind": "property", "name": "code", "serializedName": "code", "doc": "The error code.", "type": { - "$id": "127", + "$id": "143", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1007,21 +1137,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code", "serializationOptions": { - "$id": "128", + "$id": "144", "json": { - "$id": "129", + "$id": "145", "name": "code" } } }, { - "$id": "130", + "$id": "146", "kind": "property", "name": "message", "serializedName": "message", "doc": "The error message.", "type": { - "$id": "131", + "$id": "147", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1034,21 +1164,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message", "serializationOptions": { - "$id": "132", + "$id": "148", "json": { - "$id": "133", + "$id": "149", "name": "message" } } }, { - "$id": "134", + "$id": "150", "kind": "property", "name": "target", "serializedName": "target", "doc": "The error target.", "type": { - "$id": "135", + "$id": "151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1061,25 +1191,25 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target", "serializationOptions": { - "$id": "136", + "$id": "152", "json": { - "$id": "137", + "$id": "153", "name": "target" } } }, { - "$id": "138", + "$id": "154", "kind": "property", "name": "details", "serializedName": "details", "doc": "The error details.", "type": { - "$id": "139", + "$id": "155", "kind": "array", "name": "ArrayErrorDetail", "valueType": { - "$ref": "125" + "$ref": "141" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1091,25 +1221,25 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details", "serializationOptions": { - "$id": "140", + "$id": "156", "json": { - "$id": "141", + "$id": "157", "name": "details" } } }, { - "$id": "142", + "$id": "158", "kind": "property", "name": "additionalInfo", "serializedName": "additionalInfo", "doc": "The error additional info.", "type": { - "$id": "143", + "$id": "159", "kind": "array", "name": "ArrayErrorAdditionalInfo", "valueType": { - "$id": "144", + "$id": "160", "kind": "model", "name": "ErrorAdditionalInfo", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -1119,13 +1249,13 @@ "decorators": [], "properties": [ { - "$id": "145", + "$id": "161", "kind": "property", "name": "type", "serializedName": "type", "doc": "The additional info type.", "type": { - "$id": "146", + "$id": "162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1138,21 +1268,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type", "serializationOptions": { - "$id": "147", + "$id": "163", "json": { - "$id": "148", + "$id": "164", "name": "type" } } }, { - "$id": "149", + "$id": "165", "kind": "property", "name": "info", "serializedName": "info", "doc": "The additional info.", "type": { - "$id": "150", + "$id": "166", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1165,9 +1295,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info", "serializationOptions": { - "$id": "151", + "$id": "167", "json": { - "$id": "152", + "$id": "168", "name": "info" } } @@ -1184,9 +1314,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo", "serializationOptions": { - "$id": "153", + "$id": "169", "json": { - "$id": "154", + "$id": "170", "name": "additionalInfo" } } @@ -1200,9 +1330,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error", "serializationOptions": { - "$id": "155", + "$id": "171", "json": { - "$id": "156", + "$id": "172", "name": "error" } } @@ -1210,13 +1340,13 @@ ] }, { - "$ref": "125" + "$ref": "141" }, { - "$ref": "144" + "$ref": "160" }, { - "$id": "157", + "$id": "173", "kind": "model", "name": "ConfidentialResource", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -1225,17 +1355,17 @@ "doc": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", "decorators": [], "baseModel": { - "$ref": "27" + "$ref": "43" }, "properties": [ { - "$id": "158", + "$id": "174", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "159", + "$id": "175", "kind": "model", "name": "ConfidentialResourceProperties", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -1245,13 +1375,13 @@ "decorators": [], "properties": [ { - "$id": "160", + "$id": "176", "kind": "property", "name": "provisioningState", "serializedName": "provisioningState", "doc": "The status of the last operation.", "type": { - "$id": "161", + "$id": "177", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1264,20 +1394,20 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ConfidentialResourceProperties.provisioningState", "serializationOptions": { - "$id": "162", + "$id": "178", "json": { - "$id": "163", + "$id": "179", "name": "provisioningState" } } }, { - "$id": "164", + "$id": "180", "kind": "property", "name": "username", "serializedName": "username", "type": { - "$id": "165", + "$id": "181", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1290,9 +1420,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ConfidentialResourceProperties.username", "serializationOptions": { - "$id": "166", + "$id": "182", "json": { - "$id": "167", + "$id": "183", "name": "username" } } @@ -1306,21 +1436,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ConfidentialResource.properties", "serializationOptions": { - "$id": "168", + "$id": "184", "json": { - "$id": "169", + "$id": "185", "name": "properties" } } }, { - "$id": "170", + "$id": "186", "kind": "path", "name": "name", "serializedName": "name", "doc": "The name of the ConfidentialResource", "type": { - "$id": "171", + "$id": "187", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1338,10 +1468,10 @@ ] }, { - "$ref": "159" + "$ref": "175" }, { - "$id": "172", + "$id": "188", "kind": "model", "name": "CloudError", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -1351,13 +1481,13 @@ "decorators": [], "properties": [ { - "$id": "173", + "$id": "189", "kind": "property", "name": "error", "serializedName": "error", "doc": "Api error.", "type": { - "$id": "174", + "$id": "190", "kind": "model", "name": "ApiError", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -1367,17 +1497,17 @@ "decorators": [], "properties": [ { - "$id": "175", + "$id": "191", "kind": "property", "name": "details", "serializedName": "details", "doc": "The Api error details", "type": { - "$id": "176", + "$id": "192", "kind": "array", "name": "ArrayApiErrorBase", "valueType": { - "$id": "177", + "$id": "193", "kind": "model", "name": "ApiErrorBase", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -1387,13 +1517,13 @@ "decorators": [], "properties": [ { - "$id": "178", + "$id": "194", "kind": "property", "name": "code", "serializedName": "code", "doc": "The error code.", "type": { - "$id": "179", + "$id": "195", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1406,21 +1536,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ApiErrorBase.code", "serializationOptions": { - "$id": "180", + "$id": "196", "json": { - "$id": "181", + "$id": "197", "name": "code" } } }, { - "$id": "182", + "$id": "198", "kind": "property", "name": "target", "serializedName": "target", "doc": "The target of the particular error.", "type": { - "$id": "183", + "$id": "199", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1433,21 +1563,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ApiErrorBase.target", "serializationOptions": { - "$id": "184", + "$id": "200", "json": { - "$id": "185", + "$id": "201", "name": "target" } } }, { - "$id": "186", + "$id": "202", "kind": "property", "name": "message", "serializedName": "message", "doc": "The error message.", "type": { - "$id": "187", + "$id": "203", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1460,9 +1590,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ApiErrorBase.message", "serializationOptions": { - "$id": "188", + "$id": "204", "json": { - "$id": "189", + "$id": "205", "name": "message" } } @@ -1479,21 +1609,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ApiError.details", "serializationOptions": { - "$id": "190", + "$id": "206", "json": { - "$id": "191", + "$id": "207", "name": "details" } } }, { - "$id": "192", + "$id": "208", "kind": "property", "name": "innererror", "serializedName": "innererror", "doc": "The Api inner error", "type": { - "$id": "193", + "$id": "209", "kind": "model", "name": "InnerError", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -1503,13 +1633,13 @@ "decorators": [], "properties": [ { - "$id": "194", + "$id": "210", "kind": "property", "name": "exceptiontype", "serializedName": "exceptiontype", "doc": "The exception type.", "type": { - "$id": "195", + "$id": "211", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1522,21 +1652,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.InnerError.exceptiontype", "serializationOptions": { - "$id": "196", + "$id": "212", "json": { - "$id": "197", + "$id": "213", "name": "exceptiontype" } } }, { - "$id": "198", + "$id": "214", "kind": "property", "name": "errordetail", "serializedName": "errordetail", "doc": "The internal error message or exception dump.", "type": { - "$id": "199", + "$id": "215", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1549,9 +1679,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.InnerError.errordetail", "serializationOptions": { - "$id": "200", + "$id": "216", "json": { - "$id": "201", + "$id": "217", "name": "errordetail" } } @@ -1565,21 +1695,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ApiError.innererror", "serializationOptions": { - "$id": "202", + "$id": "218", "json": { - "$id": "203", + "$id": "219", "name": "innererror" } } }, { - "$id": "204", + "$id": "220", "kind": "property", "name": "code", "serializedName": "code", "doc": "The error code.", "type": { - "$id": "205", + "$id": "221", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1592,21 +1722,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ApiError.code", "serializationOptions": { - "$id": "206", + "$id": "222", "json": { - "$id": "207", + "$id": "223", "name": "code" } } }, { - "$id": "208", + "$id": "224", "kind": "property", "name": "target", "serializedName": "target", "doc": "The target of the particular error.", "type": { - "$id": "209", + "$id": "225", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1619,21 +1749,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ApiError.target", "serializationOptions": { - "$id": "210", + "$id": "226", "json": { - "$id": "211", + "$id": "227", "name": "target" } } }, { - "$id": "212", + "$id": "228", "kind": "property", "name": "message", "serializedName": "message", "doc": "The error message.", "type": { - "$id": "213", + "$id": "229", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1646,9 +1776,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ApiError.message", "serializationOptions": { - "$id": "214", + "$id": "230", "json": { - "$id": "215", + "$id": "231", "name": "message" } } @@ -1662,9 +1792,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.CloudError.error", "serializationOptions": { - "$id": "216", + "$id": "232", "json": { - "$id": "217", + "$id": "233", "name": "error" } } @@ -1672,18 +1802,18 @@ ] }, { - "$ref": "174" + "$ref": "190" }, { - "$ref": "177" + "$ref": "193" }, { - "$ref": "193" + "$ref": "209" } ], "clients": [ { - "$id": "218", + "$id": "234", "kind": "client", "name": "CommonPropertiesClient", "namespace": "_Azure.ResourceManager.CommonProperties", @@ -1691,12 +1821,12 @@ "methods": [], "parameters": [ { - "$id": "219", + "$id": "235", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "220", + "$id": "236", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1710,9 +1840,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "221", + "$id": "237", "type": { - "$id": "222", + "$id": "238", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1723,10 +1853,10 @@ ], "decorators": [ { - "$id": "223", + "$id": "239", "name": "TypeSpec.@service", "arguments": { - "$id": "224" + "$id": "240" } } ], @@ -1736,13 +1866,13 @@ ], "children": [ { - "$id": "225", + "$id": "241", "kind": "client", "name": "ManagedIdentity", "namespace": "_Azure.ResourceManager.CommonProperties", "methods": [ { - "$id": "226", + "$id": "242", "kind": "basic", "name": "get", "accessibility": "public", @@ -1751,19 +1881,19 @@ ], "doc": "Get a ManagedIdentityTrackedResource", "operation": { - "$id": "227", + "$id": "243", "name": "get", "resourceName": "ManagedIdentityTrackedResource", "doc": "Get a ManagedIdentityTrackedResource", "accessibility": "public", "parameters": [ { - "$id": "228", + "$id": "244", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "229", + "$id": "245", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1777,9 +1907,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "230", + "$id": "246", "type": { - "$id": "231", + "$id": "247", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1790,12 +1920,12 @@ "skipUrlEncoding": false }, { - "$id": "232", + "$id": "248", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "233", + "$id": "249", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1812,12 +1942,12 @@ "skipUrlEncoding": false }, { - "$id": "234", + "$id": "250", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "235", + "$id": "251", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1834,12 +1964,12 @@ "skipUrlEncoding": false }, { - "$id": "236", + "$id": "252", "name": "managedIdentityTrackedResourceName", "nameInRequest": "managedIdentityTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "237", + "$id": "253", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1856,24 +1986,11 @@ "skipUrlEncoding": false }, { - "$id": "238", + "$id": "254", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "239", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "240", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1888,12 +2005,12 @@ ], "responses": [ { - "$id": "241", + "$id": "255", "statusCodes": [ 200 ], "bodyType": { - "$ref": "26" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -1913,12 +2030,12 @@ }, "parameters": [ { - "$id": "242", + "$id": "256", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "243", + "$id": "257", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1935,12 +2052,12 @@ "skipUrlEncoding": false }, { - "$id": "244", + "$id": "258", "name": "managedIdentityTrackedResourceName", "nameInRequest": "managedIdentityTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "245", + "$id": "259", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1957,11 +2074,11 @@ "skipUrlEncoding": false }, { - "$id": "246", + "$id": "260", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "239" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1975,9 +2092,9 @@ } ], "response": { - "$id": "247", + "$id": "261", "type": { - "$ref": "26" + "$ref": "42" } }, "isOverride": false, @@ -1986,7 +2103,7 @@ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ManagedIdentity.get" }, { - "$id": "248", + "$id": "262", "kind": "basic", "name": "createWithSystemAssigned", "accessibility": "public", @@ -1995,19 +2112,19 @@ ], "doc": "Create a ManagedIdentityTrackedResource", "operation": { - "$id": "249", + "$id": "263", "name": "createWithSystemAssigned", "resourceName": "ManagedIdentityTrackedResource", "doc": "Create a ManagedIdentityTrackedResource", "accessibility": "public", "parameters": [ { - "$id": "250", + "$id": "264", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "251", + "$id": "265", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2021,9 +2138,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "252", + "$id": "266", "type": { - "$id": "253", + "$id": "267", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2034,12 +2151,12 @@ "skipUrlEncoding": false }, { - "$id": "254", + "$id": "268", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "255", + "$id": "269", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2056,12 +2173,12 @@ "skipUrlEncoding": false }, { - "$id": "256", + "$id": "270", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "257", + "$id": "271", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2078,12 +2195,12 @@ "skipUrlEncoding": false }, { - "$id": "258", + "$id": "272", "name": "managedIdentityTrackedResourceName", "nameInRequest": "managedIdentityTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "259", + "$id": "273", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2100,25 +2217,12 @@ "skipUrlEncoding": false }, { - "$id": "260", + "$id": "274", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "261", - "kind": "constant", - "name": "createWithSystemAssignedContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "262", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -2131,24 +2235,11 @@ "skipUrlEncoding": false }, { - "$id": "263", + "$id": "275", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "264", - "kind": "constant", - "name": "createWithSystemAssignedContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "265", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -2161,12 +2252,12 @@ "skipUrlEncoding": false }, { - "$id": "266", + "$id": "276", "name": "resource", "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "26" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -2181,12 +2272,12 @@ ], "responses": [ { - "$id": "267", + "$id": "277", "statusCodes": [ 200 ], "bodyType": { - "$ref": "26" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -2195,12 +2286,12 @@ ] }, { - "$id": "268", + "$id": "278", "statusCodes": [ 201 ], "bodyType": { - "$ref": "26" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -2223,12 +2314,12 @@ }, "parameters": [ { - "$id": "269", + "$id": "279", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "270", + "$id": "280", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2245,12 +2336,12 @@ "skipUrlEncoding": false }, { - "$id": "271", + "$id": "281", "name": "managedIdentityTrackedResourceName", "nameInRequest": "managedIdentityTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "272", + "$id": "282", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2267,12 +2358,12 @@ "skipUrlEncoding": false }, { - "$id": "273", + "$id": "283", "name": "resource", "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "26" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -2285,12 +2376,12 @@ "skipUrlEncoding": false }, { - "$id": "274", + "$id": "284", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "261" + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -2303,11 +2394,11 @@ "skipUrlEncoding": false }, { - "$id": "275", + "$id": "285", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "264" + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -2321,9 +2412,9 @@ } ], "response": { - "$id": "276", + "$id": "286", "type": { - "$ref": "26" + "$ref": "42" } }, "isOverride": false, @@ -2332,7 +2423,7 @@ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.ManagedIdentity.createWithSystemAssigned" }, { - "$id": "277", + "$id": "287", "kind": "basic", "name": "updateWithUserAssignedAndSystemAssigned", "accessibility": "public", @@ -2341,19 +2432,19 @@ ], "doc": "Update a ManagedIdentityTrackedResource", "operation": { - "$id": "278", + "$id": "288", "name": "updateWithUserAssignedAndSystemAssigned", "resourceName": "ManagedIdentityTrackedResource", "doc": "Update a ManagedIdentityTrackedResource", "accessibility": "public", "parameters": [ { - "$id": "279", + "$id": "289", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "280", + "$id": "290", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2367,9 +2458,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "281", + "$id": "291", "type": { - "$id": "282", + "$id": "292", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2380,12 +2471,12 @@ "skipUrlEncoding": false }, { - "$id": "283", + "$id": "293", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "284", + "$id": "294", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2402,12 +2493,12 @@ "skipUrlEncoding": false }, { - "$id": "285", + "$id": "295", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "286", + "$id": "296", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2424,12 +2515,12 @@ "skipUrlEncoding": false }, { - "$id": "287", + "$id": "297", "name": "managedIdentityTrackedResourceName", "nameInRequest": "managedIdentityTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "288", + "$id": "298", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2446,25 +2537,12 @@ "skipUrlEncoding": false }, { - "$id": "289", + "$id": "299", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "290", - "kind": "constant", - "name": "updateWithUserAssignedAndSystemAssignedContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "291", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2477,24 +2555,11 @@ "skipUrlEncoding": false }, { - "$id": "292", + "$id": "300", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "293", - "kind": "constant", - "name": "updateWithUserAssignedAndSystemAssignedContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "294", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2507,12 +2572,12 @@ "skipUrlEncoding": false }, { - "$id": "295", + "$id": "301", "name": "properties", "nameInRequest": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "26" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -2527,12 +2592,12 @@ ], "responses": [ { - "$id": "296", + "$id": "302", "statusCodes": [ 200 ], "bodyType": { - "$ref": "26" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -2555,12 +2620,12 @@ }, "parameters": [ { - "$id": "297", + "$id": "303", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "298", + "$id": "304", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2577,12 +2642,12 @@ "skipUrlEncoding": false }, { - "$id": "299", + "$id": "305", "name": "managedIdentityTrackedResourceName", "nameInRequest": "managedIdentityTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "300", + "$id": "306", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2599,12 +2664,12 @@ "skipUrlEncoding": false }, { - "$id": "301", + "$id": "307", "name": "properties", "nameInRequest": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "26" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -2617,12 +2682,12 @@ "skipUrlEncoding": false }, { - "$id": "302", + "$id": "308", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "290" + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2635,11 +2700,11 @@ "skipUrlEncoding": false }, { - "$id": "303", + "$id": "309", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "293" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2653,9 +2718,9 @@ } ], "response": { - "$id": "304", + "$id": "310", "type": { - "$ref": "26" + "$ref": "42" } }, "isOverride": false, @@ -2666,12 +2731,12 @@ ], "parameters": [ { - "$id": "305", + "$id": "311", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "306", + "$id": "312", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2685,9 +2750,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "307", + "$id": "313", "type": { - "$id": "308", + "$id": "314", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2698,10 +2763,10 @@ ], "decorators": [ { - "$id": "309", + "$id": "315", "name": "Azure.ResourceManager.@armResourceOperations", "arguments": { - "$id": "310" + "$id": "316" } } ], @@ -2710,17 +2775,17 @@ "2023-12-01-preview" ], "parent": { - "$ref": "218" + "$ref": "234" } }, { - "$id": "311", + "$id": "317", "kind": "client", "name": "Error", "namespace": "_Azure.ResourceManager.CommonProperties", "methods": [ { - "$id": "312", + "$id": "318", "kind": "basic", "name": "getForPredefinedError", "accessibility": "public", @@ -2729,19 +2794,19 @@ ], "doc": "Get a ConfidentialResource", "operation": { - "$id": "313", + "$id": "319", "name": "getForPredefinedError", "resourceName": "ConfidentialResource", "doc": "Get a ConfidentialResource", "accessibility": "public", "parameters": [ { - "$id": "314", + "$id": "320", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "315", + "$id": "321", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2755,9 +2820,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "316", + "$id": "322", "type": { - "$id": "317", + "$id": "323", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2768,12 +2833,12 @@ "skipUrlEncoding": false }, { - "$id": "318", + "$id": "324", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "319", + "$id": "325", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2790,12 +2855,12 @@ "skipUrlEncoding": false }, { - "$id": "320", + "$id": "326", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "321", + "$id": "327", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2812,12 +2877,12 @@ "skipUrlEncoding": false }, { - "$id": "322", + "$id": "328", "name": "confidentialResourceName", "nameInRequest": "confidentialResourceName", "doc": "The name of the ConfidentialResource", "type": { - "$id": "323", + "$id": "329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2834,24 +2899,11 @@ "skipUrlEncoding": false }, { - "$id": "324", + "$id": "330", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "325", - "kind": "constant", - "name": "getForPredefinedErrorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "326", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2866,12 +2918,12 @@ ], "responses": [ { - "$id": "327", + "$id": "331", "statusCodes": [ 200 ], "bodyType": { - "$ref": "157" + "$ref": "173" }, "headers": [], "isErrorResponse": false, @@ -2891,12 +2943,12 @@ }, "parameters": [ { - "$id": "328", + "$id": "332", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "329", + "$id": "333", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2913,12 +2965,12 @@ "skipUrlEncoding": false }, { - "$id": "330", + "$id": "334", "name": "confidentialResourceName", "nameInRequest": "confidentialResourceName", "doc": "The name of the ConfidentialResource", "type": { - "$id": "331", + "$id": "335", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2935,11 +2987,11 @@ "skipUrlEncoding": false }, { - "$id": "332", + "$id": "336", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "325" + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2953,9 +3005,9 @@ } ], "response": { - "$id": "333", + "$id": "337", "type": { - "$ref": "157" + "$ref": "173" } }, "isOverride": false, @@ -2964,7 +3016,7 @@ "crossLanguageDefinitionId": "Azure.ResourceManager.CommonProperties.Error.getForPredefinedError" }, { - "$id": "334", + "$id": "338", "kind": "basic", "name": "createForUserDefinedError", "accessibility": "public", @@ -2973,19 +3025,19 @@ ], "doc": "Create a ConfidentialResource", "operation": { - "$id": "335", + "$id": "339", "name": "createForUserDefinedError", "resourceName": "ConfidentialResource", "doc": "Create a ConfidentialResource", "accessibility": "public", "parameters": [ { - "$id": "336", + "$id": "340", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "337", + "$id": "341", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2999,9 +3051,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "338", + "$id": "342", "type": { - "$id": "339", + "$id": "343", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3012,12 +3064,12 @@ "skipUrlEncoding": false }, { - "$id": "340", + "$id": "344", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "341", + "$id": "345", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3034,12 +3086,12 @@ "skipUrlEncoding": false }, { - "$id": "342", + "$id": "346", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "343", + "$id": "347", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3056,12 +3108,12 @@ "skipUrlEncoding": false }, { - "$id": "344", + "$id": "348", "name": "confidentialResourceName", "nameInRequest": "confidentialResourceName", "doc": "The name of the ConfidentialResource", "type": { - "$id": "345", + "$id": "349", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3078,25 +3130,12 @@ "skipUrlEncoding": false }, { - "$id": "346", + "$id": "350", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "347", - "kind": "constant", - "name": "createForUserDefinedErrorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "348", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -3109,24 +3148,11 @@ "skipUrlEncoding": false }, { - "$id": "349", + "$id": "351", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "350", - "kind": "constant", - "name": "createForUserDefinedErrorContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "351", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -3144,7 +3170,7 @@ "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "157" + "$ref": "173" }, "location": "Body", "isApiVersion": false, @@ -3164,7 +3190,7 @@ 200 ], "bodyType": { - "$ref": "157" + "$ref": "173" }, "headers": [], "isErrorResponse": false, @@ -3178,7 +3204,7 @@ 201 ], "bodyType": { - "$ref": "157" + "$ref": "173" }, "headers": [], "isErrorResponse": false, @@ -3250,7 +3276,7 @@ "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "157" + "$ref": "173" }, "location": "Body", "isApiVersion": false, @@ -3268,7 +3294,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "347" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -3285,7 +3311,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "350" + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -3301,7 +3327,7 @@ "response": { "$id": "362", "type": { - "$ref": "157" + "$ref": "173" } }, "isOverride": false, @@ -3356,7 +3382,7 @@ "2023-12-01-preview" ], "parent": { - "$ref": "218" + "$ref": "234" } } ] diff --git a/test/CadlRanchProjects/azure/resource-manager/non-resource/tspCodeModel.json b/test/CadlRanchProjects/azure/resource-manager/non-resource/tspCodeModel.json index f2b6a1373f6..af89fe1d9db 100644 --- a/test/CadlRanchProjects/azure/resource-manager/non-resource/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/resource-manager/non-resource/tspCodeModel.json @@ -45,9 +45,59 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "6", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "createContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "createContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "12", "kind": "model", "name": "NonResource", "namespace": "_Azure.ResourceManager.NonResources", @@ -57,13 +107,13 @@ "decorators": [], "properties": [ { - "$id": "7", + "$id": "13", "kind": "property", "name": "id", "serializedName": "id", "doc": "An id.", "type": { - "$id": "8", + "$id": "14", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76,21 +126,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.NonResource.NonResource.id", "serializationOptions": { - "$id": "9", + "$id": "15", "json": { - "$id": "10", + "$id": "16", "name": "id" } } }, { - "$id": "11", + "$id": "17", "kind": "property", "name": "name", "serializedName": "name", "doc": "A name.", "type": { - "$id": "12", + "$id": "18", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103,21 +153,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.NonResource.NonResource.name", "serializationOptions": { - "$id": "13", + "$id": "19", "json": { - "$id": "14", + "$id": "20", "name": "name" } } }, { - "$id": "15", + "$id": "21", "kind": "property", "name": "type", "serializedName": "type", "doc": "A type.", "type": { - "$id": "16", + "$id": "22", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130,9 +180,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.NonResource.NonResource.type", "serializationOptions": { - "$id": "17", + "$id": "23", "json": { - "$id": "18", + "$id": "24", "name": "type" } } @@ -140,7 +190,7 @@ ] }, { - "$id": "19", + "$id": "25", "kind": "model", "name": "ErrorResponse", "namespace": "_Azure.ResourceManager.NonResources", @@ -151,13 +201,13 @@ "decorators": [], "properties": [ { - "$id": "20", + "$id": "26", "kind": "property", "name": "error", "serializedName": "error", "doc": "The error object.", "type": { - "$id": "21", + "$id": "27", "kind": "model", "name": "ErrorDetail", "namespace": "_Azure.ResourceManager.NonResources", @@ -167,13 +217,13 @@ "decorators": [], "properties": [ { - "$id": "22", + "$id": "28", "kind": "property", "name": "code", "serializedName": "code", "doc": "The error code.", "type": { - "$id": "23", + "$id": "29", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -186,21 +236,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code", "serializationOptions": { - "$id": "24", + "$id": "30", "json": { - "$id": "25", + "$id": "31", "name": "code" } } }, { - "$id": "26", + "$id": "32", "kind": "property", "name": "message", "serializedName": "message", "doc": "The error message.", "type": { - "$id": "27", + "$id": "33", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -213,21 +263,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message", "serializationOptions": { - "$id": "28", + "$id": "34", "json": { - "$id": "29", + "$id": "35", "name": "message" } } }, { - "$id": "30", + "$id": "36", "kind": "property", "name": "target", "serializedName": "target", "doc": "The error target.", "type": { - "$id": "31", + "$id": "37", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -240,25 +290,25 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target", "serializationOptions": { - "$id": "32", + "$id": "38", "json": { - "$id": "33", + "$id": "39", "name": "target" } } }, { - "$id": "34", + "$id": "40", "kind": "property", "name": "details", "serializedName": "details", "doc": "The error details.", "type": { - "$id": "35", + "$id": "41", "kind": "array", "name": "ArrayErrorDetail", "valueType": { - "$ref": "21" + "$ref": "27" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -270,25 +320,25 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details", "serializationOptions": { - "$id": "36", + "$id": "42", "json": { - "$id": "37", + "$id": "43", "name": "details" } } }, { - "$id": "38", + "$id": "44", "kind": "property", "name": "additionalInfo", "serializedName": "additionalInfo", "doc": "The error additional info.", "type": { - "$id": "39", + "$id": "45", "kind": "array", "name": "ArrayErrorAdditionalInfo", "valueType": { - "$id": "40", + "$id": "46", "kind": "model", "name": "ErrorAdditionalInfo", "namespace": "_Azure.ResourceManager.NonResources", @@ -298,13 +348,13 @@ "decorators": [], "properties": [ { - "$id": "41", + "$id": "47", "kind": "property", "name": "type", "serializedName": "type", "doc": "The additional info type.", "type": { - "$id": "42", + "$id": "48", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -317,21 +367,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type", "serializationOptions": { - "$id": "43", + "$id": "49", "json": { - "$id": "44", + "$id": "50", "name": "type" } } }, { - "$id": "45", + "$id": "51", "kind": "property", "name": "info", "serializedName": "info", "doc": "The additional info.", "type": { - "$id": "46", + "$id": "52", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -344,9 +394,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info", "serializationOptions": { - "$id": "47", + "$id": "53", "json": { - "$id": "48", + "$id": "54", "name": "info" } } @@ -363,9 +413,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo", "serializationOptions": { - "$id": "49", + "$id": "55", "json": { - "$id": "50", + "$id": "56", "name": "additionalInfo" } } @@ -379,9 +429,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error", "serializationOptions": { - "$id": "51", + "$id": "57", "json": { - "$id": "52", + "$id": "58", "name": "error" } } @@ -389,15 +439,15 @@ ] }, { - "$ref": "21" + "$ref": "27" }, { - "$ref": "40" + "$ref": "46" } ], "clients": [ { - "$id": "53", + "$id": "59", "kind": "client", "name": "NonResourceClient", "namespace": "_Azure.ResourceManager.NonResources", @@ -405,12 +455,12 @@ "methods": [], "parameters": [ { - "$id": "54", + "$id": "60", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "55", + "$id": "61", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -424,9 +474,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "56", + "$id": "62", "type": { - "$id": "57", + "$id": "63", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -437,10 +487,10 @@ ], "decorators": [ { - "$id": "58", + "$id": "64", "name": "TypeSpec.@service", "arguments": { - "$id": "59" + "$id": "65" } } ], @@ -450,14 +500,14 @@ ], "children": [ { - "$id": "60", + "$id": "66", "kind": "client", "name": "NonResourceOperations", "namespace": "_Azure.ResourceManager.NonResources", "doc": "Operations on non resource model should not be marked as `@armResourceOperations`.", "methods": [ { - "$id": "61", + "$id": "67", "kind": "basic", "name": "get", "accessibility": "public", @@ -465,18 +515,18 @@ "2023-12-01-preview" ], "operation": { - "$id": "62", + "$id": "68", "name": "get", "resourceName": "NonResourceOperations", "accessibility": "public", "parameters": [ { - "$id": "63", + "$id": "69", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "64", + "$id": "70", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -490,9 +540,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "65", + "$id": "71", "type": { - "$id": "66", + "$id": "72", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -503,17 +553,17 @@ "skipUrlEncoding": false }, { - "$id": "67", + "$id": "73", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "68", + "$id": "74", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "69", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -532,12 +582,12 @@ "skipUrlEncoding": false }, { - "$id": "70", + "$id": "76", "name": "location", "nameInRequest": "location", "doc": "The location parameter.", "type": { - "$id": "71", + "$id": "77", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -554,12 +604,12 @@ "skipUrlEncoding": false }, { - "$id": "72", + "$id": "78", "name": "parameter", "nameInRequest": "parameter", "doc": "Another parameter.", "type": { - "$id": "73", + "$id": "79", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -576,24 +626,11 @@ "skipUrlEncoding": false }, { - "$id": "74", + "$id": "80", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "75", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "76", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -608,12 +645,12 @@ ], "responses": [ { - "$id": "77", + "$id": "81", "statusCodes": [ 200 ], "bodyType": { - "$ref": "6" + "$ref": "12" }, "headers": [], "isErrorResponse": false, @@ -633,12 +670,12 @@ }, "parameters": [ { - "$id": "78", + "$id": "82", "name": "location", "nameInRequest": "location", "doc": "The location parameter.", "type": { - "$id": "79", + "$id": "83", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -655,12 +692,12 @@ "skipUrlEncoding": false }, { - "$id": "80", + "$id": "84", "name": "parameter", "nameInRequest": "parameter", "doc": "Another parameter.", "type": { - "$id": "81", + "$id": "85", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -677,11 +714,11 @@ "skipUrlEncoding": false }, { - "$id": "82", + "$id": "86", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "75" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -695,9 +732,9 @@ } ], "response": { - "$id": "83", + "$id": "87", "type": { - "$ref": "6" + "$ref": "12" } }, "isOverride": false, @@ -706,7 +743,7 @@ "crossLanguageDefinitionId": "Azure.ResourceManager.NonResource.NonResourceOperations.get" }, { - "$id": "84", + "$id": "88", "kind": "basic", "name": "create", "accessibility": "public", @@ -714,18 +751,18 @@ "2023-12-01-preview" ], "operation": { - "$id": "85", + "$id": "89", "name": "create", "resourceName": "NonResourceOperations", "accessibility": "public", "parameters": [ { - "$id": "86", + "$id": "90", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "87", + "$id": "91", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -739,9 +776,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "88", + "$id": "92", "type": { - "$id": "89", + "$id": "93", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -752,17 +789,17 @@ "skipUrlEncoding": false }, { - "$id": "90", + "$id": "94", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "91", + "$id": "95", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "92", + "$id": "96", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -781,12 +818,12 @@ "skipUrlEncoding": false }, { - "$id": "93", + "$id": "97", "name": "location", "nameInRequest": "location", "doc": "The location parameter.", "type": { - "$id": "94", + "$id": "98", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -803,12 +840,12 @@ "skipUrlEncoding": false }, { - "$id": "95", + "$id": "99", "name": "parameter", "nameInRequest": "parameter", "doc": "Another parameter.", "type": { - "$id": "96", + "$id": "100", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -825,25 +862,12 @@ "skipUrlEncoding": false }, { - "$id": "97", + "$id": "101", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "98", - "kind": "constant", - "name": "createContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "99", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -856,24 +880,11 @@ "skipUrlEncoding": false }, { - "$id": "100", + "$id": "102", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "101", - "kind": "constant", - "name": "createContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "102", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -891,7 +902,7 @@ "nameInRequest": "body", "doc": "The request body.", "type": { - "$ref": "6" + "$ref": "12" }, "location": "Body", "isApiVersion": false, @@ -911,7 +922,7 @@ 200 ], "bodyType": { - "$ref": "6" + "$ref": "12" }, "headers": [], "isErrorResponse": false, @@ -983,7 +994,7 @@ "nameInRequest": "body", "doc": "The request body.", "type": { - "$ref": "6" + "$ref": "12" }, "location": "Body", "isApiVersion": false, @@ -1001,7 +1012,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "98" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -1018,7 +1029,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "101" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1034,7 +1045,7 @@ "response": { "$id": "112", "type": { - "$ref": "6" + "$ref": "12" } }, "isOverride": false, @@ -1081,7 +1092,7 @@ "2023-12-01-preview" ], "parent": { - "$ref": "53" + "$ref": "59" } } ] diff --git a/test/CadlRanchProjects/azure/resource-manager/resources/tspCodeModel.json b/test/CadlRanchProjects/azure/resource-manager/resources/tspCodeModel.json index 7df0fccfae4..415ea6c65ea 100644 --- a/test/CadlRanchProjects/azure/resource-manager/resources/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/resource-manager/resources/tspCodeModel.json @@ -355,9 +355,827 @@ "decorators": [] } ], + "constants": [ + { + "$id": "40", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "createOrReplaceContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "createOrReplaceContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "createOrReplaceContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "createOrReplaceContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "updateContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "updateContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "updateContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "updateContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "deleteContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "deleteContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "listByResourceGroupContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "listBySubscriptionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "actionSyncContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "actionSyncContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "70", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "72", + "kind": "constant", + "name": "createOrReplaceContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "74", + "kind": "constant", + "name": "createOrReplaceContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "76", + "kind": "constant", + "name": "createOrReplaceContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "78", + "kind": "constant", + "name": "createOrReplaceContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "80", + "kind": "constant", + "name": "updateContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "82", + "kind": "constant", + "name": "updateContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "84", + "kind": "constant", + "name": "updateContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "86", + "kind": "constant", + "name": "updateContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "88", + "kind": "constant", + "name": "deleteContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "90", + "kind": "constant", + "name": "deleteContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "91", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "92", + "kind": "constant", + "name": "listByTopLevelTrackedResourceContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "94", + "kind": "constant", + "name": "getByResourceGroupContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "96", + "kind": "constant", + "name": "createOrUpdateContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "98", + "kind": "constant", + "name": "createOrUpdateContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "100", + "kind": "constant", + "name": "createOrUpdateContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "102", + "kind": "constant", + "name": "createOrUpdateContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "104", + "kind": "constant", + "name": "updateContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "106", + "kind": "constant", + "name": "updateContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "107", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "108", + "kind": "constant", + "name": "listByResourceGroupContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "109", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "110", + "kind": "constant", + "name": "getContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "112", + "kind": "constant", + "name": "createOrUpdateContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "114", + "kind": "constant", + "name": "createOrUpdateContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "116", + "kind": "constant", + "name": "createOrUpdateContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "118", + "kind": "constant", + "name": "createOrUpdateContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "119", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "120", + "kind": "constant", + "name": "updateContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "121", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "122", + "kind": "constant", + "name": "updateContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "124", + "kind": "constant", + "name": "deleteContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "126", + "kind": "constant", + "name": "listByScopeContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "128", + "kind": "constant", + "name": "getContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "130", + "kind": "constant", + "name": "createOrUpdateContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "132", + "kind": "constant", + "name": "createOrUpdateContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "134", + "kind": "constant", + "name": "updateContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "136", + "kind": "constant", + "name": "updateContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "138", + "kind": "constant", + "name": "deleteContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "140", + "kind": "constant", + "name": "listByLocationContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [ { - "$id": "40", + "$id": "142", "kind": "model", "name": "TopLevelTrackedResource", "namespace": "_Azure.ResourceManager.Resources", @@ -366,7 +1184,7 @@ "doc": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", "decorators": [], "baseModel": { - "$id": "41", + "$id": "143", "kind": "model", "name": "TrackedResource", "namespace": "_Azure.ResourceManager.Resources", @@ -376,7 +1194,7 @@ "summary": "Tracked Resource", "decorators": [], "baseModel": { - "$id": "42", + "$id": "144", "kind": "model", "name": "Resource", "namespace": "_Azure.ResourceManager.Resources", @@ -387,18 +1205,18 @@ "decorators": [], "properties": [ { - "$id": "43", + "$id": "145", "kind": "property", "name": "id", "serializedName": "id", "doc": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", "type": { - "$id": "44", + "$id": "146", "kind": "string", "name": "armResourceIdentifier", "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", "baseType": { - "$id": "45", + "$id": "147", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -413,21 +1231,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.id", "serializationOptions": { - "$id": "46", + "$id": "148", "json": { - "$id": "47", + "$id": "149", "name": "id" } } }, { - "$id": "48", + "$id": "150", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the resource", "type": { - "$id": "49", + "$id": "151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -440,26 +1258,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.name", "serializationOptions": { - "$id": "50", + "$id": "152", "json": { - "$id": "51", + "$id": "153", "name": "name" } } }, { - "$id": "52", + "$id": "154", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", "type": { - "$id": "53", + "$id": "155", "kind": "string", "name": "armResourceType", "crossLanguageDefinitionId": "Azure.Core.armResourceType", "baseType": { - "$id": "54", + "$id": "156", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -474,21 +1292,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.type", "serializationOptions": { - "$id": "55", + "$id": "157", "json": { - "$id": "56", + "$id": "158", "name": "type" } } }, { - "$id": "57", + "$id": "159", "kind": "property", "name": "systemData", "serializedName": "systemData", "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", "type": { - "$id": "58", + "$id": "160", "kind": "model", "name": "SystemData", "namespace": "_Azure.ResourceManager.Resources", @@ -498,13 +1316,13 @@ "decorators": [], "properties": [ { - "$id": "59", + "$id": "161", "kind": "property", "name": "createdBy", "serializedName": "createdBy", "doc": "The identity that created the resource.", "type": { - "$id": "60", + "$id": "162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -517,15 +1335,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdBy", "serializationOptions": { - "$id": "61", + "$id": "163", "json": { - "$id": "62", + "$id": "164", "name": "createdBy" } } }, { - "$id": "63", + "$id": "165", "kind": "property", "name": "createdByType", "serializedName": "createdByType", @@ -540,26 +1358,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType", "serializationOptions": { - "$id": "64", + "$id": "166", "json": { - "$id": "65", + "$id": "167", "name": "createdByType" } } }, { - "$id": "66", + "$id": "168", "kind": "property", "name": "createdAt", "serializedName": "createdAt", "doc": "The timestamp of resource creation (UTC).", "type": { - "$id": "67", + "$id": "169", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "68", + "$id": "170", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -575,21 +1393,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdAt", "serializationOptions": { - "$id": "69", + "$id": "171", "json": { - "$id": "70", + "$id": "172", "name": "createdAt" } } }, { - "$id": "71", + "$id": "173", "kind": "property", "name": "lastModifiedBy", "serializedName": "lastModifiedBy", "doc": "The identity that last modified the resource.", "type": { - "$id": "72", + "$id": "174", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -602,15 +1420,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedBy", "serializationOptions": { - "$id": "73", + "$id": "175", "json": { - "$id": "74", + "$id": "176", "name": "lastModifiedBy" } } }, { - "$id": "75", + "$id": "177", "kind": "property", "name": "lastModifiedByType", "serializedName": "lastModifiedByType", @@ -625,26 +1443,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType", "serializationOptions": { - "$id": "76", + "$id": "178", "json": { - "$id": "77", + "$id": "179", "name": "lastModifiedByType" } } }, { - "$id": "78", + "$id": "180", "kind": "property", "name": "lastModifiedAt", "serializedName": "lastModifiedAt", "doc": "The timestamp of resource last modification (UTC)", "type": { - "$id": "79", + "$id": "181", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "80", + "$id": "182", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -660,9 +1478,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedAt", "serializationOptions": { - "$id": "81", + "$id": "183", "json": { - "$id": "82", + "$id": "184", "name": "lastModifiedAt" } } @@ -676,9 +1494,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData", "serializationOptions": { - "$id": "83", + "$id": "185", "json": { - "$id": "84", + "$id": "186", "name": "systemData" } } @@ -687,23 +1505,23 @@ }, "properties": [ { - "$id": "85", + "$id": "187", "kind": "property", "name": "tags", "serializedName": "tags", "doc": "Resource tags.", "type": { - "$id": "86", + "$id": "188", "kind": "dict", "keyType": { - "$id": "87", + "$id": "189", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "88", + "$id": "190", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -718,21 +1536,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.tags", "serializationOptions": { - "$id": "89", + "$id": "191", "json": { - "$id": "90", + "$id": "192", "name": "tags" } } }, { - "$id": "91", + "$id": "193", "kind": "property", "name": "location", "serializedName": "location", "doc": "The geo-location where the resource lives", "type": { - "$id": "92", + "$id": "194", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -745,9 +1563,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location", "serializationOptions": { - "$id": "93", + "$id": "195", "json": { - "$id": "94", + "$id": "196", "name": "location" } } @@ -756,13 +1574,13 @@ }, "properties": [ { - "$id": "95", + "$id": "197", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "96", + "$id": "198", "kind": "model", "name": "TopLevelTrackedResourceProperties", "namespace": "_Azure.ResourceManager.Resources", @@ -772,7 +1590,7 @@ "decorators": [], "properties": [ { - "$id": "97", + "$id": "199", "kind": "property", "name": "provisioningState", "serializedName": "provisioningState", @@ -787,21 +1605,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.TopLevelTrackedResourceProperties.provisioningState", "serializationOptions": { - "$id": "98", + "$id": "200", "json": { - "$id": "99", + "$id": "201", "name": "provisioningState" } } }, { - "$id": "100", + "$id": "202", "kind": "property", "name": "description", "serializedName": "description", "doc": "The description of the resource.", "type": { - "$id": "101", + "$id": "203", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -814,9 +1632,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.TopLevelTrackedResourceProperties.description", "serializationOptions": { - "$id": "102", + "$id": "204", "json": { - "$id": "103", + "$id": "205", "name": "description" } } @@ -830,21 +1648,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.TopLevelTrackedResource.properties", "serializationOptions": { - "$id": "104", + "$id": "206", "json": { - "$id": "105", + "$id": "207", "name": "properties" } } }, { - "$id": "106", + "$id": "208", "kind": "path", "name": "name", "serializedName": "name", "doc": "arm resource name for path", "type": { - "$id": "107", + "$id": "209", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -862,19 +1680,19 @@ ] }, { - "$ref": "96" + "$ref": "198" }, { - "$ref": "41" + "$ref": "143" }, { - "$ref": "42" + "$ref": "144" }, { - "$ref": "58" + "$ref": "160" }, { - "$id": "108", + "$id": "210", "kind": "model", "name": "ErrorResponse", "namespace": "_Azure.ResourceManager.Resources", @@ -885,13 +1703,13 @@ "decorators": [], "properties": [ { - "$id": "109", + "$id": "211", "kind": "property", "name": "error", "serializedName": "error", "doc": "The error object.", "type": { - "$id": "110", + "$id": "212", "kind": "model", "name": "ErrorDetail", "namespace": "_Azure.ResourceManager.Resources", @@ -901,13 +1719,13 @@ "decorators": [], "properties": [ { - "$id": "111", + "$id": "213", "kind": "property", "name": "code", "serializedName": "code", "doc": "The error code.", "type": { - "$id": "112", + "$id": "214", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -920,21 +1738,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code", "serializationOptions": { - "$id": "113", + "$id": "215", "json": { - "$id": "114", + "$id": "216", "name": "code" } } }, { - "$id": "115", + "$id": "217", "kind": "property", "name": "message", "serializedName": "message", "doc": "The error message.", "type": { - "$id": "116", + "$id": "218", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -947,21 +1765,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message", "serializationOptions": { - "$id": "117", + "$id": "219", "json": { - "$id": "118", + "$id": "220", "name": "message" } } }, { - "$id": "119", + "$id": "221", "kind": "property", "name": "target", "serializedName": "target", "doc": "The error target.", "type": { - "$id": "120", + "$id": "222", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -974,25 +1792,25 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target", "serializationOptions": { - "$id": "121", + "$id": "223", "json": { - "$id": "122", + "$id": "224", "name": "target" } } }, { - "$id": "123", + "$id": "225", "kind": "property", "name": "details", "serializedName": "details", "doc": "The error details.", "type": { - "$id": "124", + "$id": "226", "kind": "array", "name": "ArrayErrorDetail", "valueType": { - "$ref": "110" + "$ref": "212" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1004,25 +1822,25 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details", "serializationOptions": { - "$id": "125", + "$id": "227", "json": { - "$id": "126", + "$id": "228", "name": "details" } } }, { - "$id": "127", + "$id": "229", "kind": "property", "name": "additionalInfo", "serializedName": "additionalInfo", "doc": "The error additional info.", "type": { - "$id": "128", + "$id": "230", "kind": "array", "name": "ArrayErrorAdditionalInfo", "valueType": { - "$id": "129", + "$id": "231", "kind": "model", "name": "ErrorAdditionalInfo", "namespace": "_Azure.ResourceManager.Resources", @@ -1032,13 +1850,13 @@ "decorators": [], "properties": [ { - "$id": "130", + "$id": "232", "kind": "property", "name": "type", "serializedName": "type", "doc": "The additional info type.", "type": { - "$id": "131", + "$id": "233", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1051,21 +1869,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type", "serializationOptions": { - "$id": "132", + "$id": "234", "json": { - "$id": "133", + "$id": "235", "name": "type" } } }, { - "$id": "134", + "$id": "236", "kind": "property", "name": "info", "serializedName": "info", "doc": "The additional info.", "type": { - "$id": "135", + "$id": "237", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1078,9 +1896,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info", "serializationOptions": { - "$id": "136", + "$id": "238", "json": { - "$id": "137", + "$id": "239", "name": "info" } } @@ -1097,9 +1915,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo", "serializationOptions": { - "$id": "138", + "$id": "240", "json": { - "$id": "139", + "$id": "241", "name": "additionalInfo" } } @@ -1113,9 +1931,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error", "serializationOptions": { - "$id": "140", + "$id": "242", "json": { - "$id": "141", + "$id": "243", "name": "error" } } @@ -1123,13 +1941,13 @@ ] }, { - "$ref": "110" + "$ref": "212" }, { - "$ref": "129" + "$ref": "231" }, { - "$id": "142", + "$id": "244", "kind": "model", "name": "ArmOperationStatusResourceProvisioningState", "namespace": "_Azure.ResourceManager.Resources", @@ -1139,7 +1957,7 @@ "decorators": [], "properties": [ { - "$id": "143", + "$id": "245", "kind": "property", "name": "status", "serializedName": "status", @@ -1154,21 +1972,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.status", "serializationOptions": { - "$id": "144", + "$id": "246", "json": { - "$id": "145", + "$id": "247", "name": "status" } } }, { - "$id": "146", + "$id": "248", "kind": "path", "name": "id", "serializedName": "id", "doc": "The unique identifier for the operationStatus resource", "type": { - "$id": "147", + "$id": "249", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1184,13 +2002,13 @@ "correspondingMethodParams": [] }, { - "$id": "148", + "$id": "250", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the operationStatus resource", "type": { - "$id": "149", + "$id": "251", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1203,26 +2021,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.name", "serializationOptions": { - "$id": "150", + "$id": "252", "json": { - "$id": "151", + "$id": "253", "name": "name" } } }, { - "$id": "152", + "$id": "254", "kind": "property", "name": "startTime", "serializedName": "startTime", "doc": "Operation start time", "type": { - "$id": "153", + "$id": "255", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "154", + "$id": "256", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1238,26 +2056,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.startTime", "serializationOptions": { - "$id": "155", + "$id": "257", "json": { - "$id": "156", + "$id": "258", "name": "startTime" } } }, { - "$id": "157", + "$id": "259", "kind": "property", "name": "endTime", "serializedName": "endTime", "doc": "Operation complete time", "type": { - "$id": "158", + "$id": "260", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "159", + "$id": "261", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1273,21 +2091,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.endTime", "serializationOptions": { - "$id": "160", + "$id": "262", "json": { - "$id": "161", + "$id": "263", "name": "endTime" } } }, { - "$id": "162", + "$id": "264", "kind": "property", "name": "percentComplete", "serializedName": "percentComplete", "doc": "The progress made toward completing the operation", "type": { - "$id": "163", + "$id": "265", "kind": "float64", "name": "float64", "crossLanguageDefinitionId": "TypeSpec.float64", @@ -1300,21 +2118,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.percentComplete", "serializationOptions": { - "$id": "164", + "$id": "266", "json": { - "$id": "165", + "$id": "267", "name": "percentComplete" } } }, { - "$id": "166", + "$id": "268", "kind": "property", "name": "error", "serializedName": "error", "doc": "Errors that occurred if the operation ended with Canceled or Failed status", "type": { - "$ref": "110" + "$ref": "212" }, "optional": true, "readOnly": true, @@ -1323,9 +2141,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.error", "serializationOptions": { - "$id": "167", + "$id": "269", "json": { - "$id": "168", + "$id": "270", "name": "error" } } @@ -1333,7 +2151,7 @@ ] }, { - "$id": "169", + "$id": "271", "kind": "model", "name": "TopLevelTrackedResourceListResult", "namespace": "_Azure.ResourceManager.Resources", @@ -1343,17 +2161,17 @@ "decorators": [], "properties": [ { - "$id": "170", + "$id": "272", "kind": "property", "name": "value", "serializedName": "value", "doc": "The TopLevelTrackedResource items on this page", "type": { - "$id": "171", + "$id": "273", "kind": "array", "name": "ArrayTopLevelTrackedResource", "valueType": { - "$ref": "40" + "$ref": "142" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1365,26 +2183,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", "serializationOptions": { - "$id": "172", + "$id": "274", "json": { - "$id": "173", + "$id": "275", "name": "value" } } }, { - "$id": "174", + "$id": "276", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "175", + "$id": "277", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "176", + "$id": "278", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -1399,9 +2217,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", "serializationOptions": { - "$id": "177", + "$id": "279", "json": { - "$id": "178", + "$id": "280", "name": "nextLink" } } @@ -1409,7 +2227,7 @@ ] }, { - "$id": "179", + "$id": "281", "kind": "model", "name": "NotificationDetails", "namespace": "_Azure.ResourceManager.Resources", @@ -1419,13 +2237,13 @@ "decorators": [], "properties": [ { - "$id": "180", + "$id": "282", "kind": "property", "name": "message", "serializedName": "message", "doc": "The notification message.", "type": { - "$id": "181", + "$id": "283", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1438,21 +2256,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.NotificationDetails.message", "serializationOptions": { - "$id": "182", + "$id": "284", "json": { - "$id": "183", + "$id": "285", "name": "message" } } }, { - "$id": "184", + "$id": "286", "kind": "property", "name": "urgent", "serializedName": "urgent", "doc": "If true, the notification is urgent.", "type": { - "$id": "185", + "$id": "287", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1465,9 +2283,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.NotificationDetails.urgent", "serializationOptions": { - "$id": "186", + "$id": "288", "json": { - "$id": "187", + "$id": "289", "name": "urgent" } } @@ -1475,7 +2293,7 @@ ] }, { - "$id": "188", + "$id": "290", "kind": "model", "name": "NestedProxyResource", "namespace": "_Azure.ResourceManager.Resources", @@ -1484,7 +2302,7 @@ "doc": "Nested child of Top Level Tracked Resource.", "decorators": [], "baseModel": { - "$id": "189", + "$id": "291", "kind": "model", "name": "ProxyResource", "namespace": "_Azure.ResourceManager.Resources", @@ -1494,19 +2312,19 @@ "summary": "Proxy Resource", "decorators": [], "baseModel": { - "$ref": "42" + "$ref": "144" }, "properties": [] }, "properties": [ { - "$id": "190", + "$id": "292", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "191", + "$id": "293", "kind": "model", "name": "NestedProxyResourceProperties", "namespace": "_Azure.ResourceManager.Resources", @@ -1516,7 +2334,7 @@ "decorators": [], "properties": [ { - "$id": "192", + "$id": "294", "kind": "property", "name": "provisioningState", "serializedName": "provisioningState", @@ -1531,21 +2349,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.NestedProxyResourceProperties.provisioningState", "serializationOptions": { - "$id": "193", + "$id": "295", "json": { - "$id": "194", + "$id": "296", "name": "provisioningState" } } }, { - "$id": "195", + "$id": "297", "kind": "property", "name": "description", "serializedName": "description", "doc": "Nested resource description.", "type": { - "$id": "196", + "$id": "298", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1558,9 +2376,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.NestedProxyResourceProperties.description", "serializationOptions": { - "$id": "197", + "$id": "299", "json": { - "$id": "198", + "$id": "300", "name": "description" } } @@ -1574,21 +2392,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.NestedProxyResource.properties", "serializationOptions": { - "$id": "199", + "$id": "301", "json": { - "$id": "200", + "$id": "302", "name": "properties" } } }, { - "$id": "201", + "$id": "303", "kind": "path", "name": "name", "serializedName": "name", "doc": "Name of the nested resource.", "type": { - "$id": "202", + "$id": "304", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1606,13 +2424,13 @@ ] }, { - "$ref": "191" + "$ref": "293" }, { - "$ref": "189" + "$ref": "291" }, { - "$id": "203", + "$id": "305", "kind": "model", "name": "NestedProxyResourceListResult", "namespace": "_Azure.ResourceManager.Resources", @@ -1622,17 +2440,17 @@ "decorators": [], "properties": [ { - "$id": "204", + "$id": "306", "kind": "property", "name": "value", "serializedName": "value", "doc": "The NestedProxyResource items on this page", "type": { - "$id": "205", + "$id": "307", "kind": "array", "name": "ArrayNestedProxyResource", "valueType": { - "$ref": "188" + "$ref": "290" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1644,26 +2462,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", "serializationOptions": { - "$id": "206", + "$id": "308", "json": { - "$id": "207", + "$id": "309", "name": "value" } } }, { - "$id": "208", + "$id": "310", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "209", + "$id": "311", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "210", + "$id": "312", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -1678,9 +2496,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", "serializationOptions": { - "$id": "211", + "$id": "313", "json": { - "$id": "212", + "$id": "314", "name": "nextLink" } } @@ -1688,7 +2506,7 @@ ] }, { - "$id": "213", + "$id": "315", "kind": "model", "name": "SingletonTrackedResource", "namespace": "_Azure.ResourceManager.Resources", @@ -1697,17 +2515,17 @@ "doc": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", "decorators": [], "baseModel": { - "$ref": "41" + "$ref": "143" }, "properties": [ { - "$id": "214", + "$id": "316", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "215", + "$id": "317", "kind": "model", "name": "SingletonTrackedResourceProperties", "namespace": "_Azure.ResourceManager.Resources", @@ -1717,7 +2535,7 @@ "decorators": [], "properties": [ { - "$id": "216", + "$id": "318", "kind": "property", "name": "provisioningState", "serializedName": "provisioningState", @@ -1732,21 +2550,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.SingletonTrackedResourceProperties.provisioningState", "serializationOptions": { - "$id": "217", + "$id": "319", "json": { - "$id": "218", + "$id": "320", "name": "provisioningState" } } }, { - "$id": "219", + "$id": "321", "kind": "property", "name": "description", "serializedName": "description", "doc": "The description of the resource.", "type": { - "$id": "220", + "$id": "322", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1759,9 +2577,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.SingletonTrackedResourceProperties.description", "serializationOptions": { - "$id": "221", + "$id": "323", "json": { - "$id": "222", + "$id": "324", "name": "description" } } @@ -1775,21 +2593,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.SingletonTrackedResource.properties", "serializationOptions": { - "$id": "223", + "$id": "325", "json": { - "$id": "224", + "$id": "326", "name": "properties" } } }, { - "$id": "225", + "$id": "327", "kind": "path", "name": "name", "serializedName": "name", "doc": "The name of the SingletonTrackedResource", "type": { - "$id": "226", + "$id": "328", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1807,10 +2625,10 @@ ] }, { - "$ref": "215" + "$ref": "317" }, { - "$id": "227", + "$id": "329", "kind": "model", "name": "SingletonTrackedResourceListResult", "namespace": "_Azure.ResourceManager.Resources", @@ -1820,17 +2638,17 @@ "decorators": [], "properties": [ { - "$id": "228", + "$id": "330", "kind": "property", "name": "value", "serializedName": "value", "doc": "The SingletonTrackedResource items on this page", "type": { - "$id": "229", + "$id": "331", "kind": "array", "name": "ArraySingletonTrackedResource", "valueType": { - "$ref": "213" + "$ref": "315" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1842,26 +2660,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", "serializationOptions": { - "$id": "230", + "$id": "332", "json": { - "$id": "231", + "$id": "333", "name": "value" } } }, { - "$id": "232", + "$id": "334", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "233", + "$id": "335", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "234", + "$id": "336", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -1876,9 +2694,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", "serializationOptions": { - "$id": "235", + "$id": "337", "json": { - "$id": "236", + "$id": "338", "name": "nextLink" } } @@ -1886,7 +2704,7 @@ ] }, { - "$id": "237", + "$id": "339", "kind": "model", "name": "ExtensionsResource", "namespace": "_Azure.ResourceManager.Resources", @@ -1895,7 +2713,7 @@ "doc": "Concrete extension resource types can be created by aliasing this type using a specific property type.", "decorators": [], "baseModel": { - "$id": "238", + "$id": "340", "kind": "model", "name": "ExtensionResource", "namespace": "_Azure.ResourceManager.Resources", @@ -1904,19 +2722,19 @@ "doc": "The base extension resource.", "decorators": [], "baseModel": { - "$ref": "42" + "$ref": "144" }, "properties": [] }, "properties": [ { - "$id": "239", + "$id": "341", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "240", + "$id": "342", "kind": "model", "name": "ExtensionsResourceProperties", "namespace": "_Azure.ResourceManager.Resources", @@ -1926,13 +2744,13 @@ "decorators": [], "properties": [ { - "$id": "241", + "$id": "343", "kind": "property", "name": "description", "serializedName": "description", "doc": "The description of the resource.", "type": { - "$id": "242", + "$id": "344", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1945,15 +2763,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.ExtensionsResourceProperties.description", "serializationOptions": { - "$id": "243", + "$id": "345", "json": { - "$id": "244", + "$id": "346", "name": "description" } } }, { - "$id": "245", + "$id": "347", "kind": "property", "name": "provisioningState", "serializedName": "provisioningState", @@ -1968,9 +2786,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.ExtensionsResourceProperties.provisioningState", "serializationOptions": { - "$id": "246", + "$id": "348", "json": { - "$id": "247", + "$id": "349", "name": "provisioningState" } } @@ -1984,21 +2802,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.ExtensionsResource.properties", "serializationOptions": { - "$id": "248", + "$id": "350", "json": { - "$id": "249", + "$id": "351", "name": "properties" } } }, { - "$id": "250", + "$id": "352", "kind": "path", "name": "name", "serializedName": "name", "doc": "The name of the ExtensionsResource", "type": { - "$id": "251", + "$id": "353", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2016,13 +2834,13 @@ ] }, { - "$ref": "240" + "$ref": "342" }, { - "$ref": "238" + "$ref": "340" }, { - "$id": "252", + "$id": "354", "kind": "model", "name": "ExtensionsResourceListResult", "namespace": "_Azure.ResourceManager.Resources", @@ -2032,17 +2850,17 @@ "decorators": [], "properties": [ { - "$id": "253", + "$id": "355", "kind": "property", "name": "value", "serializedName": "value", "doc": "The ExtensionsResource items on this page", "type": { - "$id": "254", + "$id": "356", "kind": "array", "name": "ArrayExtensionsResource", "valueType": { - "$ref": "237" + "$ref": "339" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -2054,26 +2872,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", "serializationOptions": { - "$id": "255", + "$id": "357", "json": { - "$id": "256", + "$id": "358", "name": "value" } } }, { - "$id": "257", + "$id": "359", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "258", + "$id": "360", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "259", + "$id": "361", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2088,9 +2906,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", "serializationOptions": { - "$id": "260", + "$id": "362", "json": { - "$id": "261", + "$id": "363", "name": "nextLink" } } @@ -2098,7 +2916,7 @@ ] }, { - "$id": "262", + "$id": "364", "kind": "model", "name": "LocationResource", "namespace": "_Azure.ResourceManager.Resources", @@ -2107,17 +2925,17 @@ "doc": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", "decorators": [], "baseModel": { - "$ref": "189" + "$ref": "291" }, "properties": [ { - "$id": "263", + "$id": "365", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "264", + "$id": "366", "kind": "model", "name": "LocationResourceProperties", "namespace": "_Azure.ResourceManager.Resources", @@ -2127,13 +2945,13 @@ "decorators": [], "properties": [ { - "$id": "265", + "$id": "367", "kind": "property", "name": "description", "serializedName": "description", "doc": "The description of the resource.", "type": { - "$id": "266", + "$id": "368", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2146,15 +2964,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.LocationResourceProperties.description", "serializationOptions": { - "$id": "267", + "$id": "369", "json": { - "$id": "268", + "$id": "370", "name": "description" } } }, { - "$id": "269", + "$id": "371", "kind": "property", "name": "provisioningState", "serializedName": "provisioningState", @@ -2169,9 +2987,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.LocationResourceProperties.provisioningState", "serializationOptions": { - "$id": "270", + "$id": "372", "json": { - "$id": "271", + "$id": "373", "name": "provisioningState" } } @@ -2185,21 +3003,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.LocationResource.properties", "serializationOptions": { - "$id": "272", + "$id": "374", "json": { - "$id": "273", + "$id": "375", "name": "properties" } } }, { - "$id": "274", + "$id": "376", "kind": "path", "name": "name", "serializedName": "name", "doc": "The name of the LocationResource", "type": { - "$id": "275", + "$id": "377", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2217,10 +3035,10 @@ ] }, { - "$ref": "264" + "$ref": "366" }, { - "$id": "276", + "$id": "378", "kind": "model", "name": "LocationResourceListResult", "namespace": "_Azure.ResourceManager.Resources", @@ -2230,17 +3048,17 @@ "decorators": [], "properties": [ { - "$id": "277", + "$id": "379", "kind": "property", "name": "value", "serializedName": "value", "doc": "The LocationResource items on this page", "type": { - "$id": "278", + "$id": "380", "kind": "array", "name": "ArrayLocationResource", "valueType": { - "$ref": "262" + "$ref": "364" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -2252,26 +3070,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", "serializationOptions": { - "$id": "279", + "$id": "381", "json": { - "$id": "280", + "$id": "382", "name": "value" } } }, { - "$id": "281", + "$id": "383", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "282", + "$id": "384", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "283", + "$id": "385", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2286,9 +3104,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", "serializationOptions": { - "$id": "284", + "$id": "386", "json": { - "$id": "285", + "$id": "387", "name": "nextLink" } } @@ -2298,7 +3116,7 @@ ], "clients": [ { - "$id": "286", + "$id": "388", "kind": "client", "name": "ResourcesClient", "namespace": "_Azure.ResourceManager.Resources", @@ -2306,12 +3124,12 @@ "methods": [], "parameters": [ { - "$id": "287", + "$id": "389", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "288", + "$id": "390", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2325,9 +3143,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "289", + "$id": "391", "type": { - "$id": "290", + "$id": "392", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2338,10 +3156,10 @@ ], "decorators": [ { - "$id": "291", + "$id": "393", "name": "TypeSpec.@service", "arguments": { - "$id": "292" + "$id": "394" } } ], @@ -2351,13 +3169,13 @@ ], "children": [ { - "$id": "293", + "$id": "395", "kind": "client", "name": "TopLevel", "namespace": "_Azure.ResourceManager.Resources", "methods": [ { - "$id": "294", + "$id": "396", "kind": "basic", "name": "get", "accessibility": "public", @@ -2366,19 +3184,19 @@ ], "doc": "Get a TopLevelTrackedResource", "operation": { - "$id": "295", + "$id": "397", "name": "get", "resourceName": "TopLevelTrackedResource", "doc": "Get a TopLevelTrackedResource", "accessibility": "public", "parameters": [ { - "$id": "296", + "$id": "398", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "297", + "$id": "399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2392,9 +3210,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "298", + "$id": "400", "type": { - "$id": "299", + "$id": "401", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2405,17 +3223,17 @@ "skipUrlEncoding": false }, { - "$id": "300", + "$id": "402", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "301", + "$id": "403", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "302", + "$id": "404", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2434,12 +3252,12 @@ "skipUrlEncoding": false }, { - "$id": "303", + "$id": "405", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "304", + "$id": "406", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2456,12 +3274,12 @@ "skipUrlEncoding": false }, { - "$id": "305", + "$id": "407", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "306", + "$id": "408", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2478,24 +3296,11 @@ "skipUrlEncoding": false }, { - "$id": "307", + "$id": "409", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "308", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "309", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2510,12 +3315,12 @@ ], "responses": [ { - "$id": "310", + "$id": "410", "statusCodes": [ 200 ], "bodyType": { - "$ref": "40" + "$ref": "142" }, "headers": [], "isErrorResponse": false, @@ -2535,12 +3340,12 @@ }, "parameters": [ { - "$id": "311", + "$id": "411", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "312", + "$id": "412", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2557,12 +3362,12 @@ "skipUrlEncoding": false }, { - "$id": "313", + "$id": "413", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "314", + "$id": "414", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2579,11 +3384,11 @@ "skipUrlEncoding": false }, { - "$id": "315", + "$id": "415", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "308" + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2597,9 +3402,9 @@ } ], "response": { - "$id": "316", + "$id": "416", "type": { - "$ref": "40" + "$ref": "142" } }, "isOverride": false, @@ -2608,7 +3413,7 @@ "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.TopLevel.get" }, { - "$id": "317", + "$id": "417", "kind": "lro", "name": "createOrReplace", "accessibility": "public", @@ -2617,19 +3422,19 @@ ], "doc": "Create a TopLevelTrackedResource", "operation": { - "$id": "318", + "$id": "418", "name": "createOrReplace", "resourceName": "TopLevelTrackedResource", "doc": "Create a TopLevelTrackedResource", "accessibility": "public", "parameters": [ { - "$id": "319", + "$id": "419", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "320", + "$id": "420", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2643,9 +3448,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "321", + "$id": "421", "type": { - "$id": "322", + "$id": "422", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2656,17 +3461,17 @@ "skipUrlEncoding": false }, { - "$id": "323", + "$id": "423", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "324", + "$id": "424", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "325", + "$id": "425", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2685,12 +3490,12 @@ "skipUrlEncoding": false }, { - "$id": "326", + "$id": "426", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "327", + "$id": "427", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2707,12 +3512,12 @@ "skipUrlEncoding": false }, { - "$id": "328", + "$id": "428", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "329", + "$id": "429", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2729,25 +3534,12 @@ "skipUrlEncoding": false }, { - "$id": "330", + "$id": "430", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "331", - "kind": "constant", - "name": "createOrReplaceContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "332", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -2760,24 +3552,11 @@ "skipUrlEncoding": false }, { - "$id": "333", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$id": "334", - "kind": "constant", - "name": "createOrReplaceContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "335", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$id": "431", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -2790,12 +3569,12 @@ "skipUrlEncoding": false }, { - "$id": "336", + "$id": "432", "name": "resource", "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "40" + "$ref": "142" }, "location": "Body", "isApiVersion": false, @@ -2810,12 +3589,12 @@ ], "responses": [ { - "$id": "337", + "$id": "433", "statusCodes": [ 200 ], "bodyType": { - "$ref": "40" + "$ref": "142" }, "headers": [], "isErrorResponse": false, @@ -2824,21 +3603,21 @@ ] }, { - "$id": "338", + "$id": "434", "statusCodes": [ 201 ], "bodyType": { - "$ref": "40" + "$ref": "142" }, "headers": [ { - "$id": "339", + "$id": "435", "name": "azureAsyncOperation", "nameInResponse": "Azure-AsyncOperation", "doc": "A link to the status monitor", "type": { - "$id": "340", + "$id": "436", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2846,12 +3625,12 @@ } }, { - "$id": "341", + "$id": "437", "name": "retryAfter", "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "342", + "$id": "438", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2879,12 +3658,12 @@ }, "parameters": [ { - "$id": "343", + "$id": "439", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "344", + "$id": "440", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2901,12 +3680,12 @@ "skipUrlEncoding": false }, { - "$id": "345", + "$id": "441", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "346", + "$id": "442", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2923,12 +3702,12 @@ "skipUrlEncoding": false }, { - "$id": "347", + "$id": "443", "name": "resource", "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "40" + "$ref": "142" }, "location": "Body", "isApiVersion": false, @@ -2941,25 +3720,12 @@ "skipUrlEncoding": false }, { - "$id": "348", + "$id": "444", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "349", - "kind": "constant", - "name": "createOrReplaceContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "350", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -2972,24 +3738,11 @@ "skipUrlEncoding": false }, { - "$id": "351", + "$id": "445", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "352", - "kind": "constant", - "name": "createOrReplaceContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "353", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -3003,9 +3756,9 @@ } ], "response": { - "$id": "354", + "$id": "446", "type": { - "$ref": "40" + "$ref": "142" } }, "isOverride": false, @@ -3013,21 +3766,21 @@ "generateProtocol": true, "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.TopLevel.createOrReplace", "lroMetadata": { - "$id": "355", + "$id": "447", "finalStateVia": 0, "finalResponse": { - "$id": "356", + "$id": "448", "statusCodes": [ 200 ], "bodyType": { - "$ref": "40" + "$ref": "142" } } } }, { - "$id": "357", + "$id": "449", "kind": "lro", "name": "update", "accessibility": "public", @@ -3036,19 +3789,19 @@ ], "doc": "Update a TopLevelTrackedResource", "operation": { - "$id": "358", + "$id": "450", "name": "update", "resourceName": "TopLevelTrackedResource", "doc": "Update a TopLevelTrackedResource", "accessibility": "public", "parameters": [ { - "$id": "359", + "$id": "451", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "360", + "$id": "452", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3062,9 +3815,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "361", + "$id": "453", "type": { - "$id": "362", + "$id": "454", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3075,17 +3828,17 @@ "skipUrlEncoding": false }, { - "$id": "363", + "$id": "455", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "364", + "$id": "456", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "365", + "$id": "457", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3104,12 +3857,12 @@ "skipUrlEncoding": false }, { - "$id": "366", + "$id": "458", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "367", + "$id": "459", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3126,12 +3879,12 @@ "skipUrlEncoding": false }, { - "$id": "368", + "$id": "460", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "369", + "$id": "461", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3148,25 +3901,12 @@ "skipUrlEncoding": false }, { - "$id": "370", + "$id": "462", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "371", - "kind": "constant", - "name": "updateContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "372", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -3179,24 +3919,11 @@ "skipUrlEncoding": false }, { - "$id": "373", + "$id": "463", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "374", - "kind": "constant", - "name": "updateContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "375", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -3209,12 +3936,12 @@ "skipUrlEncoding": false }, { - "$id": "376", + "$id": "464", "name": "properties", "nameInRequest": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "40" + "$ref": "142" }, "location": "Body", "isApiVersion": false, @@ -3229,12 +3956,12 @@ ], "responses": [ { - "$id": "377", + "$id": "465", "statusCodes": [ 200 ], "bodyType": { - "$ref": "40" + "$ref": "142" }, "headers": [], "isErrorResponse": false, @@ -3243,18 +3970,18 @@ ] }, { - "$id": "378", + "$id": "466", "statusCodes": [ 202 ], "headers": [ { - "$id": "379", + "$id": "467", "name": "location", "nameInResponse": "Location", "doc": "The Location header contains the URL where the status of the long running operation can be checked.", "type": { - "$id": "380", + "$id": "468", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3262,12 +3989,12 @@ } }, { - "$id": "381", + "$id": "469", "name": "retryAfter", "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "382", + "$id": "470", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -3292,12 +4019,12 @@ }, "parameters": [ { - "$id": "383", + "$id": "471", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "384", + "$id": "472", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3314,12 +4041,12 @@ "skipUrlEncoding": false }, { - "$id": "385", + "$id": "473", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "386", + "$id": "474", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3336,12 +4063,12 @@ "skipUrlEncoding": false }, { - "$id": "387", + "$id": "475", "name": "properties", "nameInRequest": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "40" + "$ref": "142" }, "location": "Body", "isApiVersion": false, @@ -3354,25 +4081,12 @@ "skipUrlEncoding": false }, { - "$id": "388", + "$id": "476", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "389", - "kind": "constant", - "name": "updateContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "390", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -3385,24 +4099,11 @@ "skipUrlEncoding": false }, { - "$id": "391", + "$id": "477", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "392", - "kind": "constant", - "name": "updateContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "393", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -3416,9 +4117,9 @@ } ], "response": { - "$id": "394", + "$id": "478", "type": { - "$ref": "40" + "$ref": "142" } }, "isOverride": false, @@ -3426,21 +4127,21 @@ "generateProtocol": true, "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.TopLevel.update", "lroMetadata": { - "$id": "395", + "$id": "479", "finalStateVia": 1, "finalResponse": { - "$id": "396", + "$id": "480", "statusCodes": [ 200 ], "bodyType": { - "$ref": "40" + "$ref": "142" } } } }, { - "$id": "397", + "$id": "481", "kind": "lro", "name": "delete", "accessibility": "public", @@ -3449,19 +4150,19 @@ ], "doc": "Delete a TopLevelTrackedResource", "operation": { - "$id": "398", + "$id": "482", "name": "delete", "resourceName": "TopLevelTrackedResource", "doc": "Delete a TopLevelTrackedResource", "accessibility": "public", "parameters": [ { - "$id": "399", + "$id": "483", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "400", + "$id": "484", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3475,9 +4176,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "401", + "$id": "485", "type": { - "$id": "402", + "$id": "486", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3488,17 +4189,17 @@ "skipUrlEncoding": false }, { - "$id": "403", + "$id": "487", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "404", + "$id": "488", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "405", + "$id": "489", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3517,12 +4218,12 @@ "skipUrlEncoding": false }, { - "$id": "406", + "$id": "490", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "407", + "$id": "491", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3539,12 +4240,12 @@ "skipUrlEncoding": false }, { - "$id": "408", + "$id": "492", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "409", + "$id": "493", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3561,24 +4262,11 @@ "skipUrlEncoding": false }, { - "$id": "410", + "$id": "494", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "411", - "kind": "constant", - "name": "deleteContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "412", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -3593,18 +4281,18 @@ ], "responses": [ { - "$id": "413", + "$id": "495", "statusCodes": [ 202 ], "headers": [ { - "$id": "414", + "$id": "496", "name": "location", "nameInResponse": "Location", "doc": "The Location header contains the URL where the status of the long running operation can be checked.", "type": { - "$id": "415", + "$id": "497", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3612,12 +4300,12 @@ } }, { - "$id": "416", + "$id": "498", "name": "retryAfter", "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "417", + "$id": "499", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -3628,7 +4316,7 @@ "isErrorResponse": false }, { - "$id": "418", + "$id": "500", "statusCodes": [ 204 ], @@ -3647,12 +4335,12 @@ }, "parameters": [ { - "$id": "419", + "$id": "501", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "420", + "$id": "502", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3669,12 +4357,12 @@ "skipUrlEncoding": false }, { - "$id": "421", + "$id": "503", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "422", + "$id": "504", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3691,24 +4379,11 @@ "skipUrlEncoding": false }, { - "$id": "423", + "$id": "505", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "424", - "kind": "constant", - "name": "deleteContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "425", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -3722,17 +4397,17 @@ } ], "response": { - "$id": "426" + "$id": "506" }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.TopLevel.delete", "lroMetadata": { - "$id": "427", + "$id": "507", "finalStateVia": 1, "finalResponse": { - "$id": "428", + "$id": "508", "statusCodes": [ 204 ] @@ -3740,7 +4415,7 @@ } }, { - "$id": "429", + "$id": "509", "kind": "paging", "name": "listByResourceGroup", "accessibility": "public", @@ -3749,19 +4424,19 @@ ], "doc": "List TopLevelTrackedResource resources by resource group", "operation": { - "$id": "430", + "$id": "510", "name": "listByResourceGroup", "resourceName": "TopLevelTrackedResource", "doc": "List TopLevelTrackedResource resources by resource group", "accessibility": "public", "parameters": [ { - "$id": "431", + "$id": "511", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "432", + "$id": "512", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3775,9 +4450,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "433", + "$id": "513", "type": { - "$id": "434", + "$id": "514", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3788,17 +4463,17 @@ "skipUrlEncoding": false }, { - "$id": "435", + "$id": "515", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "436", + "$id": "516", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "437", + "$id": "517", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3817,12 +4492,12 @@ "skipUrlEncoding": false }, { - "$id": "438", + "$id": "518", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "439", + "$id": "519", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3839,24 +4514,11 @@ "skipUrlEncoding": false }, { - "$id": "440", + "$id": "520", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "441", - "kind": "constant", - "name": "listByResourceGroupContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "442", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -3871,12 +4533,12 @@ ], "responses": [ { - "$id": "443", + "$id": "521", "statusCodes": [ 200 ], "bodyType": { - "$ref": "169" + "$ref": "271" }, "headers": [], "isErrorResponse": false, @@ -3896,12 +4558,12 @@ }, "parameters": [ { - "$id": "444", + "$id": "522", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "445", + "$id": "523", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3918,11 +4580,11 @@ "skipUrlEncoding": false }, { - "$id": "446", + "$id": "524", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "441" + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -3936,9 +4598,9 @@ } ], "response": { - "$id": "447", + "$id": "525", "type": { - "$ref": "171" + "$ref": "273" }, "resultSegments": [ "value" @@ -3949,12 +4611,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.TopLevel.listByResourceGroup", "pagingMetadata": { - "$id": "448", + "$id": "526", "itemPropertySegments": [ "value" ], "nextLink": { - "$id": "449", + "$id": "527", "responseSegments": [ "nextLink" ], @@ -3963,7 +4625,7 @@ } }, { - "$id": "450", + "$id": "528", "kind": "paging", "name": "listBySubscription", "accessibility": "public", @@ -3972,19 +4634,19 @@ ], "doc": "List TopLevelTrackedResource resources by subscription ID", "operation": { - "$id": "451", + "$id": "529", "name": "listBySubscription", "resourceName": "TopLevelTrackedResource", "doc": "List TopLevelTrackedResource resources by subscription ID", "accessibility": "public", "parameters": [ { - "$id": "452", + "$id": "530", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "453", + "$id": "531", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3998,9 +4660,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "454", + "$id": "532", "type": { - "$id": "455", + "$id": "533", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4011,17 +4673,17 @@ "skipUrlEncoding": false }, { - "$id": "456", + "$id": "534", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "457", + "$id": "535", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "458", + "$id": "536", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4040,24 +4702,11 @@ "skipUrlEncoding": false }, { - "$id": "459", + "$id": "537", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "460", - "kind": "constant", - "name": "listBySubscriptionContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "461", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -4072,12 +4721,12 @@ ], "responses": [ { - "$id": "462", + "$id": "538", "statusCodes": [ 200 ], "bodyType": { - "$ref": "169" + "$ref": "271" }, "headers": [], "isErrorResponse": false, @@ -4097,11 +4746,11 @@ }, "parameters": [ { - "$id": "463", + "$id": "539", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "460" + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -4115,9 +4764,9 @@ } ], "response": { - "$id": "464", + "$id": "540", "type": { - "$ref": "171" + "$ref": "273" }, "resultSegments": [ "value" @@ -4128,12 +4777,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.TopLevel.listBySubscription", "pagingMetadata": { - "$id": "465", + "$id": "541", "itemPropertySegments": [ "value" ], "nextLink": { - "$id": "466", + "$id": "542", "responseSegments": [ "nextLink" ], @@ -4142,7 +4791,7 @@ } }, { - "$id": "467", + "$id": "543", "kind": "basic", "name": "actionSync", "accessibility": "public", @@ -4151,19 +4800,19 @@ ], "doc": "A synchronous resource action that returns no content.", "operation": { - "$id": "468", + "$id": "544", "name": "actionSync", "resourceName": "TopLevel", "doc": "A synchronous resource action that returns no content.", "accessibility": "public", "parameters": [ { - "$id": "469", + "$id": "545", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "470", + "$id": "546", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4177,9 +4826,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "471", + "$id": "547", "type": { - "$id": "472", + "$id": "548", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4190,17 +4839,17 @@ "skipUrlEncoding": false }, { - "$id": "473", + "$id": "549", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "474", + "$id": "550", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "475", + "$id": "551", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4219,12 +4868,12 @@ "skipUrlEncoding": false }, { - "$id": "476", + "$id": "552", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "477", + "$id": "553", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4241,12 +4890,12 @@ "skipUrlEncoding": false }, { - "$id": "478", + "$id": "554", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "479", + "$id": "555", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4263,25 +4912,12 @@ "skipUrlEncoding": false }, { - "$id": "480", + "$id": "556", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "481", - "kind": "constant", - "name": "actionSyncContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "482", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -4294,24 +4930,11 @@ "skipUrlEncoding": false }, { - "$id": "483", + "$id": "557", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "484", - "kind": "constant", - "name": "actionSyncContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "485", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -4324,12 +4947,12 @@ "skipUrlEncoding": false }, { - "$id": "486", + "$id": "558", "name": "body", "nameInRequest": "body", "doc": "The content of the action request", "type": { - "$ref": "179" + "$ref": "281" }, "location": "Body", "isApiVersion": false, @@ -4344,7 +4967,7 @@ ], "responses": [ { - "$id": "487", + "$id": "559", "statusCodes": [ 204 ], @@ -4366,12 +4989,12 @@ }, "parameters": [ { - "$id": "488", + "$id": "560", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "489", + "$id": "561", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4388,12 +5011,12 @@ "skipUrlEncoding": false }, { - "$id": "490", + "$id": "562", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "491", + "$id": "563", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4410,12 +5033,12 @@ "skipUrlEncoding": false }, { - "$id": "492", + "$id": "564", "name": "body", "nameInRequest": "body", "doc": "The content of the action request", "type": { - "$ref": "179" + "$ref": "281" }, "location": "Body", "isApiVersion": false, @@ -4428,12 +5051,12 @@ "skipUrlEncoding": false }, { - "$id": "493", + "$id": "565", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "481" + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -4446,11 +5069,11 @@ "skipUrlEncoding": false }, { - "$id": "494", + "$id": "566", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "484" + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -4464,7 +5087,7 @@ } ], "response": { - "$id": "495" + "$id": "567" }, "isOverride": false, "generateConvenient": true, @@ -4474,12 +5097,12 @@ ], "parameters": [ { - "$id": "496", + "$id": "568", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "497", + "$id": "569", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4493,9 +5116,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "498", + "$id": "570", "type": { - "$id": "499", + "$id": "571", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4506,10 +5129,10 @@ ], "decorators": [ { - "$id": "500", + "$id": "572", "name": "Azure.ResourceManager.@armResourceOperations", "arguments": { - "$id": "501" + "$id": "573" } } ], @@ -4518,17 +5141,17 @@ "2023-12-01-preview" ], "parent": { - "$ref": "286" + "$ref": "388" } }, { - "$id": "502", + "$id": "574", "kind": "client", "name": "Nested", "namespace": "_Azure.ResourceManager.Resources", "methods": [ { - "$id": "503", + "$id": "575", "kind": "basic", "name": "get", "accessibility": "public", @@ -4537,19 +5160,19 @@ ], "doc": "Get a NestedProxyResource", "operation": { - "$id": "504", + "$id": "576", "name": "get", "resourceName": "NestedProxyResource", "doc": "Get a NestedProxyResource", "accessibility": "public", "parameters": [ { - "$id": "505", + "$id": "577", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "506", + "$id": "578", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4563,9 +5186,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "507", + "$id": "579", "type": { - "$id": "508", + "$id": "580", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4576,17 +5199,17 @@ "skipUrlEncoding": false }, { - "$id": "509", + "$id": "581", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "510", + "$id": "582", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "511", + "$id": "583", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4605,12 +5228,12 @@ "skipUrlEncoding": false }, { - "$id": "512", + "$id": "584", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "513", + "$id": "585", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4627,12 +5250,12 @@ "skipUrlEncoding": false }, { - "$id": "514", + "$id": "586", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "515", + "$id": "587", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4649,12 +5272,12 @@ "skipUrlEncoding": false }, { - "$id": "516", + "$id": "588", "name": "nextedProxyResourceName", "nameInRequest": "nextedProxyResourceName", "doc": "Name of the nested resource.", "type": { - "$id": "517", + "$id": "589", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4671,24 +5294,11 @@ "skipUrlEncoding": false }, { - "$id": "518", + "$id": "590", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "519", - "kind": "constant", - "name": "getContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "520", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -4703,12 +5313,12 @@ ], "responses": [ { - "$id": "521", + "$id": "591", "statusCodes": [ 200 ], "bodyType": { - "$ref": "188" + "$ref": "290" }, "headers": [], "isErrorResponse": false, @@ -4728,12 +5338,12 @@ }, "parameters": [ { - "$id": "522", + "$id": "592", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "523", + "$id": "593", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4750,12 +5360,12 @@ "skipUrlEncoding": false }, { - "$id": "524", + "$id": "594", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "525", + "$id": "595", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4772,12 +5382,12 @@ "skipUrlEncoding": false }, { - "$id": "526", + "$id": "596", "name": "nextedProxyResourceName", "nameInRequest": "nextedProxyResourceName", "doc": "Name of the nested resource.", "type": { - "$id": "527", + "$id": "597", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4794,11 +5404,11 @@ "skipUrlEncoding": false }, { - "$id": "528", + "$id": "598", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "519" + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -4812,9 +5422,9 @@ } ], "response": { - "$id": "529", + "$id": "599", "type": { - "$ref": "188" + "$ref": "290" } }, "isOverride": false, @@ -4823,7 +5433,7 @@ "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.Nested.get" }, { - "$id": "530", + "$id": "600", "kind": "lro", "name": "createOrReplace", "accessibility": "public", @@ -4832,19 +5442,19 @@ ], "doc": "Create a NestedProxyResource", "operation": { - "$id": "531", + "$id": "601", "name": "createOrReplace", "resourceName": "NestedProxyResource", "doc": "Create a NestedProxyResource", "accessibility": "public", "parameters": [ { - "$id": "532", + "$id": "602", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "533", + "$id": "603", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4858,9 +5468,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "534", + "$id": "604", "type": { - "$id": "535", + "$id": "605", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4871,17 +5481,17 @@ "skipUrlEncoding": false }, { - "$id": "536", + "$id": "606", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "537", + "$id": "607", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "538", + "$id": "608", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4900,12 +5510,12 @@ "skipUrlEncoding": false }, { - "$id": "539", + "$id": "609", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "540", + "$id": "610", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4922,12 +5532,12 @@ "skipUrlEncoding": false }, { - "$id": "541", + "$id": "611", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "542", + "$id": "612", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4944,12 +5554,12 @@ "skipUrlEncoding": false }, { - "$id": "543", + "$id": "613", "name": "nextedProxyResourceName", "nameInRequest": "nextedProxyResourceName", "doc": "Name of the nested resource.", "type": { - "$id": "544", + "$id": "614", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4966,25 +5576,12 @@ "skipUrlEncoding": false }, { - "$id": "545", + "$id": "615", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "546", - "kind": "constant", - "name": "createOrReplaceContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "547", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -4997,24 +5594,11 @@ "skipUrlEncoding": false }, { - "$id": "548", + "$id": "616", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "549", - "kind": "constant", - "name": "createOrReplaceContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "550", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -5027,12 +5611,12 @@ "skipUrlEncoding": false }, { - "$id": "551", + "$id": "617", "name": "resource", "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "188" + "$ref": "290" }, "location": "Body", "isApiVersion": false, @@ -5047,12 +5631,12 @@ ], "responses": [ { - "$id": "552", + "$id": "618", "statusCodes": [ 200 ], "bodyType": { - "$ref": "188" + "$ref": "290" }, "headers": [], "isErrorResponse": false, @@ -5061,21 +5645,21 @@ ] }, { - "$id": "553", + "$id": "619", "statusCodes": [ 201 ], "bodyType": { - "$ref": "188" + "$ref": "290" }, "headers": [ { - "$id": "554", + "$id": "620", "name": "azureAsyncOperation", "nameInResponse": "Azure-AsyncOperation", "doc": "A link to the status monitor", "type": { - "$id": "555", + "$id": "621", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5083,12 +5667,12 @@ } }, { - "$id": "556", + "$id": "622", "name": "retryAfter", "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "557", + "$id": "623", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5116,12 +5700,12 @@ }, "parameters": [ { - "$id": "558", + "$id": "624", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "559", + "$id": "625", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5138,12 +5722,12 @@ "skipUrlEncoding": false }, { - "$id": "560", + "$id": "626", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "561", + "$id": "627", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5160,12 +5744,12 @@ "skipUrlEncoding": false }, { - "$id": "562", + "$id": "628", "name": "nextedProxyResourceName", "nameInRequest": "nextedProxyResourceName", "doc": "Name of the nested resource.", "type": { - "$id": "563", + "$id": "629", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5182,12 +5766,12 @@ "skipUrlEncoding": false }, { - "$id": "564", + "$id": "630", "name": "resource", "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "188" + "$ref": "290" }, "location": "Body", "isApiVersion": false, @@ -5200,25 +5784,12 @@ "skipUrlEncoding": false }, { - "$id": "565", + "$id": "631", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "566", - "kind": "constant", - "name": "createOrReplaceContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "567", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -5231,24 +5802,11 @@ "skipUrlEncoding": false }, { - "$id": "568", + "$id": "632", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "569", - "kind": "constant", - "name": "createOrReplaceContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "570", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -5262,9 +5820,9 @@ } ], "response": { - "$id": "571", + "$id": "633", "type": { - "$ref": "188" + "$ref": "290" } }, "isOverride": false, @@ -5272,21 +5830,21 @@ "generateProtocol": true, "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.Nested.createOrReplace", "lroMetadata": { - "$id": "572", + "$id": "634", "finalStateVia": 0, "finalResponse": { - "$id": "573", + "$id": "635", "statusCodes": [ 200 ], "bodyType": { - "$ref": "188" + "$ref": "290" } } } }, { - "$id": "574", + "$id": "636", "kind": "lro", "name": "update", "accessibility": "public", @@ -5295,19 +5853,19 @@ ], "doc": "Update a NestedProxyResource", "operation": { - "$id": "575", + "$id": "637", "name": "update", "resourceName": "NestedProxyResource", "doc": "Update a NestedProxyResource", "accessibility": "public", "parameters": [ { - "$id": "576", + "$id": "638", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "577", + "$id": "639", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5321,9 +5879,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "578", + "$id": "640", "type": { - "$id": "579", + "$id": "641", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5334,17 +5892,17 @@ "skipUrlEncoding": false }, { - "$id": "580", + "$id": "642", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "581", + "$id": "643", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "582", + "$id": "644", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5363,12 +5921,12 @@ "skipUrlEncoding": false }, { - "$id": "583", + "$id": "645", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "584", + "$id": "646", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5385,12 +5943,12 @@ "skipUrlEncoding": false }, { - "$id": "585", + "$id": "647", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "586", + "$id": "648", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5407,12 +5965,12 @@ "skipUrlEncoding": false }, { - "$id": "587", + "$id": "649", "name": "nextedProxyResourceName", "nameInRequest": "nextedProxyResourceName", "doc": "Name of the nested resource.", "type": { - "$id": "588", + "$id": "650", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5429,25 +5987,12 @@ "skipUrlEncoding": false }, { - "$id": "589", + "$id": "651", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "590", - "kind": "constant", - "name": "updateContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "591", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -5460,24 +6005,11 @@ "skipUrlEncoding": false }, { - "$id": "592", + "$id": "652", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "593", - "kind": "constant", - "name": "updateContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "594", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -5490,12 +6022,12 @@ "skipUrlEncoding": false }, { - "$id": "595", + "$id": "653", "name": "properties", "nameInRequest": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "188" + "$ref": "290" }, "location": "Body", "isApiVersion": false, @@ -5510,12 +6042,12 @@ ], "responses": [ { - "$id": "596", + "$id": "654", "statusCodes": [ 200 ], "bodyType": { - "$ref": "188" + "$ref": "290" }, "headers": [], "isErrorResponse": false, @@ -5524,18 +6056,18 @@ ] }, { - "$id": "597", + "$id": "655", "statusCodes": [ 202 ], "headers": [ { - "$id": "598", + "$id": "656", "name": "location", "nameInResponse": "Location", "doc": "The Location header contains the URL where the status of the long running operation can be checked.", "type": { - "$id": "599", + "$id": "657", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5543,12 +6075,12 @@ } }, { - "$id": "600", + "$id": "658", "name": "retryAfter", "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "601", + "$id": "659", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5573,12 +6105,12 @@ }, "parameters": [ { - "$id": "602", + "$id": "660", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "603", + "$id": "661", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5595,12 +6127,12 @@ "skipUrlEncoding": false }, { - "$id": "604", + "$id": "662", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "605", + "$id": "663", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5617,12 +6149,12 @@ "skipUrlEncoding": false }, { - "$id": "606", + "$id": "664", "name": "nextedProxyResourceName", "nameInRequest": "nextedProxyResourceName", "doc": "Name of the nested resource.", "type": { - "$id": "607", + "$id": "665", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5639,12 +6171,12 @@ "skipUrlEncoding": false }, { - "$id": "608", + "$id": "666", "name": "properties", "nameInRequest": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "188" + "$ref": "290" }, "location": "Body", "isApiVersion": false, @@ -5657,25 +6189,12 @@ "skipUrlEncoding": false }, { - "$id": "609", + "$id": "667", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "610", - "kind": "constant", - "name": "updateContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "611", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -5688,24 +6207,11 @@ "skipUrlEncoding": false }, { - "$id": "612", + "$id": "668", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "613", - "kind": "constant", - "name": "updateContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "614", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -5719,9 +6225,9 @@ } ], "response": { - "$id": "615", + "$id": "669", "type": { - "$ref": "188" + "$ref": "290" } }, "isOverride": false, @@ -5729,21 +6235,21 @@ "generateProtocol": true, "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.Nested.update", "lroMetadata": { - "$id": "616", + "$id": "670", "finalStateVia": 1, "finalResponse": { - "$id": "617", + "$id": "671", "statusCodes": [ 200 ], "bodyType": { - "$ref": "188" + "$ref": "290" } } } }, { - "$id": "618", + "$id": "672", "kind": "lro", "name": "delete", "accessibility": "public", @@ -5752,19 +6258,19 @@ ], "doc": "Delete a NestedProxyResource", "operation": { - "$id": "619", + "$id": "673", "name": "delete", "resourceName": "NestedProxyResource", "doc": "Delete a NestedProxyResource", "accessibility": "public", "parameters": [ { - "$id": "620", + "$id": "674", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "621", + "$id": "675", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5778,9 +6284,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "622", + "$id": "676", "type": { - "$id": "623", + "$id": "677", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5791,17 +6297,17 @@ "skipUrlEncoding": false }, { - "$id": "624", + "$id": "678", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "625", + "$id": "679", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "626", + "$id": "680", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5820,12 +6326,12 @@ "skipUrlEncoding": false }, { - "$id": "627", + "$id": "681", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "628", + "$id": "682", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5842,12 +6348,12 @@ "skipUrlEncoding": false }, { - "$id": "629", + "$id": "683", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "630", + "$id": "684", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5864,12 +6370,12 @@ "skipUrlEncoding": false }, { - "$id": "631", + "$id": "685", "name": "nextedProxyResourceName", "nameInRequest": "nextedProxyResourceName", "doc": "Name of the nested resource.", "type": { - "$id": "632", + "$id": "686", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5886,24 +6392,11 @@ "skipUrlEncoding": false }, { - "$id": "633", + "$id": "687", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "634", - "kind": "constant", - "name": "deleteContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "635", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -5918,18 +6411,18 @@ ], "responses": [ { - "$id": "636", + "$id": "688", "statusCodes": [ 202 ], "headers": [ { - "$id": "637", + "$id": "689", "name": "location", "nameInResponse": "Location", "doc": "The Location header contains the URL where the status of the long running operation can be checked.", "type": { - "$id": "638", + "$id": "690", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5937,12 +6430,12 @@ } }, { - "$id": "639", + "$id": "691", "name": "retryAfter", "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "640", + "$id": "692", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5953,7 +6446,7 @@ "isErrorResponse": false }, { - "$id": "641", + "$id": "693", "statusCodes": [ 204 ], @@ -5972,12 +6465,12 @@ }, "parameters": [ { - "$id": "642", + "$id": "694", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "643", + "$id": "695", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5994,12 +6487,12 @@ "skipUrlEncoding": false }, { - "$id": "644", + "$id": "696", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "645", + "$id": "697", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6016,12 +6509,12 @@ "skipUrlEncoding": false }, { - "$id": "646", + "$id": "698", "name": "nextedProxyResourceName", "nameInRequest": "nextedProxyResourceName", "doc": "Name of the nested resource.", "type": { - "$id": "647", + "$id": "699", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6038,24 +6531,11 @@ "skipUrlEncoding": false }, { - "$id": "648", + "$id": "700", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "649", - "kind": "constant", - "name": "deleteContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "650", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -6069,17 +6549,17 @@ } ], "response": { - "$id": "651" + "$id": "701" }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.Nested.delete", "lroMetadata": { - "$id": "652", + "$id": "702", "finalStateVia": 1, "finalResponse": { - "$id": "653", + "$id": "703", "statusCodes": [ 204 ] @@ -6087,7 +6567,7 @@ } }, { - "$id": "654", + "$id": "704", "kind": "paging", "name": "listByTopLevelTrackedResource", "accessibility": "public", @@ -6096,19 +6576,19 @@ ], "doc": "List NestedProxyResource resources by TopLevelTrackedResource", "operation": { - "$id": "655", + "$id": "705", "name": "listByTopLevelTrackedResource", "resourceName": "NestedProxyResource", "doc": "List NestedProxyResource resources by TopLevelTrackedResource", "accessibility": "public", "parameters": [ { - "$id": "656", + "$id": "706", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "657", + "$id": "707", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6122,9 +6602,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "658", + "$id": "708", "type": { - "$id": "659", + "$id": "709", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6135,17 +6615,17 @@ "skipUrlEncoding": false }, { - "$id": "660", + "$id": "710", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "661", + "$id": "711", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "662", + "$id": "712", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6164,12 +6644,12 @@ "skipUrlEncoding": false }, { - "$id": "663", + "$id": "713", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "664", + "$id": "714", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6186,12 +6666,12 @@ "skipUrlEncoding": false }, { - "$id": "665", + "$id": "715", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "666", + "$id": "716", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6208,24 +6688,11 @@ "skipUrlEncoding": false }, { - "$id": "667", + "$id": "717", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "668", - "kind": "constant", - "name": "listByTopLevelTrackedResourceContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "669", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -6240,12 +6707,12 @@ ], "responses": [ { - "$id": "670", + "$id": "718", "statusCodes": [ 200 ], "bodyType": { - "$ref": "203" + "$ref": "305" }, "headers": [], "isErrorResponse": false, @@ -6265,12 +6732,12 @@ }, "parameters": [ { - "$id": "671", + "$id": "719", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "672", + "$id": "720", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6287,12 +6754,12 @@ "skipUrlEncoding": false }, { - "$id": "673", + "$id": "721", "name": "topLevelTrackedResourceName", "nameInRequest": "topLevelTrackedResourceName", "doc": "arm resource name for path", "type": { - "$id": "674", + "$id": "722", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6309,11 +6776,11 @@ "skipUrlEncoding": false }, { - "$id": "675", + "$id": "723", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "668" + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -6327,9 +6794,9 @@ } ], "response": { - "$id": "676", + "$id": "724", "type": { - "$ref": "205" + "$ref": "307" }, "resultSegments": [ "value" @@ -6340,12 +6807,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.Nested.listByTopLevelTrackedResource", "pagingMetadata": { - "$id": "677", + "$id": "725", "itemPropertySegments": [ "value" ], "nextLink": { - "$id": "678", + "$id": "726", "responseSegments": [ "nextLink" ], @@ -6356,12 +6823,12 @@ ], "parameters": [ { - "$id": "679", + "$id": "727", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "680", + "$id": "728", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6375,9 +6842,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "681", + "$id": "729", "type": { - "$id": "682", + "$id": "730", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6388,10 +6855,10 @@ ], "decorators": [ { - "$id": "683", + "$id": "731", "name": "Azure.ResourceManager.@armResourceOperations", "arguments": { - "$id": "684" + "$id": "732" } } ], @@ -6400,17 +6867,17 @@ "2023-12-01-preview" ], "parent": { - "$ref": "286" + "$ref": "388" } }, { - "$id": "685", + "$id": "733", "kind": "client", "name": "Singleton", "namespace": "_Azure.ResourceManager.Resources", "methods": [ { - "$id": "686", + "$id": "734", "kind": "basic", "name": "getByResourceGroup", "accessibility": "public", @@ -6419,19 +6886,19 @@ ], "doc": "Get a SingletonTrackedResource", "operation": { - "$id": "687", + "$id": "735", "name": "getByResourceGroup", "resourceName": "SingletonTrackedResource", "doc": "Get a SingletonTrackedResource", "accessibility": "public", "parameters": [ { - "$id": "688", + "$id": "736", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "689", + "$id": "737", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6445,9 +6912,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "690", + "$id": "738", "type": { - "$id": "691", + "$id": "739", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6458,17 +6925,17 @@ "skipUrlEncoding": false }, { - "$id": "692", + "$id": "740", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "693", + "$id": "741", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "694", + "$id": "742", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6487,12 +6954,12 @@ "skipUrlEncoding": false }, { - "$id": "695", + "$id": "743", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "696", + "$id": "744", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6509,24 +6976,11 @@ "skipUrlEncoding": false }, { - "$id": "697", + "$id": "745", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "698", - "kind": "constant", - "name": "getByResourceGroupContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "699", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -6541,12 +6995,12 @@ ], "responses": [ { - "$id": "700", + "$id": "746", "statusCodes": [ 200 ], "bodyType": { - "$ref": "213" + "$ref": "315" }, "headers": [], "isErrorResponse": false, @@ -6566,12 +7020,12 @@ }, "parameters": [ { - "$id": "701", + "$id": "747", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "702", + "$id": "748", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6588,11 +7042,11 @@ "skipUrlEncoding": false }, { - "$id": "703", + "$id": "749", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "698" + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -6606,9 +7060,9 @@ } ], "response": { - "$id": "704", + "$id": "750", "type": { - "$ref": "213" + "$ref": "315" } }, "isOverride": false, @@ -6617,7 +7071,7 @@ "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.Singleton.getByResourceGroup" }, { - "$id": "705", + "$id": "751", "kind": "lro", "name": "createOrUpdate", "accessibility": "public", @@ -6626,19 +7080,19 @@ ], "doc": "Create a SingletonTrackedResource", "operation": { - "$id": "706", + "$id": "752", "name": "createOrUpdate", "resourceName": "SingletonTrackedResource", "doc": "Create a SingletonTrackedResource", "accessibility": "public", "parameters": [ { - "$id": "707", + "$id": "753", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "708", + "$id": "754", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6652,9 +7106,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "709", + "$id": "755", "type": { - "$id": "710", + "$id": "756", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6665,17 +7119,17 @@ "skipUrlEncoding": false }, { - "$id": "711", + "$id": "757", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "712", + "$id": "758", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "713", + "$id": "759", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6694,12 +7148,12 @@ "skipUrlEncoding": false }, { - "$id": "714", + "$id": "760", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "715", + "$id": "761", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6716,25 +7170,12 @@ "skipUrlEncoding": false }, { - "$id": "716", + "$id": "762", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "717", - "kind": "constant", - "name": "createOrUpdateContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "718", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -6747,24 +7188,11 @@ "skipUrlEncoding": false }, { - "$id": "719", + "$id": "763", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "720", - "kind": "constant", - "name": "createOrUpdateContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "721", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -6777,12 +7205,12 @@ "skipUrlEncoding": false }, { - "$id": "722", + "$id": "764", "name": "resource", "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "213" + "$ref": "315" }, "location": "Body", "isApiVersion": false, @@ -6797,12 +7225,12 @@ ], "responses": [ { - "$id": "723", + "$id": "765", "statusCodes": [ 200 ], "bodyType": { - "$ref": "213" + "$ref": "315" }, "headers": [], "isErrorResponse": false, @@ -6811,21 +7239,21 @@ ] }, { - "$id": "724", + "$id": "766", "statusCodes": [ 201 ], "bodyType": { - "$ref": "213" + "$ref": "315" }, "headers": [ { - "$id": "725", + "$id": "767", "name": "azureAsyncOperation", "nameInResponse": "Azure-AsyncOperation", "doc": "A link to the status monitor", "type": { - "$id": "726", + "$id": "768", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6833,12 +7261,12 @@ } }, { - "$id": "727", + "$id": "769", "name": "retryAfter", "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "728", + "$id": "770", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -6866,12 +7294,12 @@ }, "parameters": [ { - "$id": "729", + "$id": "771", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "730", + "$id": "772", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6888,12 +7316,12 @@ "skipUrlEncoding": false }, { - "$id": "731", + "$id": "773", "name": "resource", "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "213" + "$ref": "315" }, "location": "Body", "isApiVersion": false, @@ -6906,25 +7334,12 @@ "skipUrlEncoding": false }, { - "$id": "732", + "$id": "774", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "733", - "kind": "constant", - "name": "createOrUpdateContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "734", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -6937,24 +7352,11 @@ "skipUrlEncoding": false }, { - "$id": "735", + "$id": "775", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "736", - "kind": "constant", - "name": "createOrUpdateContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "737", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -6968,9 +7370,9 @@ } ], "response": { - "$id": "738", + "$id": "776", "type": { - "$ref": "213" + "$ref": "315" } }, "isOverride": false, @@ -6978,21 +7380,21 @@ "generateProtocol": true, "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.Singleton.createOrUpdate", "lroMetadata": { - "$id": "739", + "$id": "777", "finalStateVia": 0, "finalResponse": { - "$id": "740", + "$id": "778", "statusCodes": [ 200 ], "bodyType": { - "$ref": "213" + "$ref": "315" } } } }, { - "$id": "741", + "$id": "779", "kind": "basic", "name": "update", "accessibility": "public", @@ -7001,19 +7403,19 @@ ], "doc": "Update a SingletonTrackedResource", "operation": { - "$id": "742", + "$id": "780", "name": "update", "resourceName": "SingletonTrackedResource", "doc": "Update a SingletonTrackedResource", "accessibility": "public", "parameters": [ { - "$id": "743", + "$id": "781", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "744", + "$id": "782", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7027,9 +7429,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "745", + "$id": "783", "type": { - "$id": "746", + "$id": "784", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7040,17 +7442,17 @@ "skipUrlEncoding": false }, { - "$id": "747", + "$id": "785", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "748", + "$id": "786", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "749", + "$id": "787", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7069,12 +7471,12 @@ "skipUrlEncoding": false }, { - "$id": "750", + "$id": "788", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "751", + "$id": "789", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7091,25 +7493,12 @@ "skipUrlEncoding": false }, { - "$id": "752", + "$id": "790", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "753", - "kind": "constant", - "name": "updateContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "754", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -7122,24 +7511,11 @@ "skipUrlEncoding": false }, { - "$id": "755", + "$id": "791", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "756", - "kind": "constant", - "name": "updateContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "757", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -7152,12 +7528,12 @@ "skipUrlEncoding": false }, { - "$id": "758", + "$id": "792", "name": "properties", "nameInRequest": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "213" + "$ref": "315" }, "location": "Body", "isApiVersion": false, @@ -7172,12 +7548,12 @@ ], "responses": [ { - "$id": "759", + "$id": "793", "statusCodes": [ 200 ], "bodyType": { - "$ref": "213" + "$ref": "315" }, "headers": [], "isErrorResponse": false, @@ -7200,12 +7576,12 @@ }, "parameters": [ { - "$id": "760", + "$id": "794", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "761", + "$id": "795", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7222,12 +7598,12 @@ "skipUrlEncoding": false }, { - "$id": "762", + "$id": "796", "name": "properties", "nameInRequest": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "213" + "$ref": "315" }, "location": "Body", "isApiVersion": false, @@ -7240,12 +7616,12 @@ "skipUrlEncoding": false }, { - "$id": "763", + "$id": "797", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "753" + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -7258,11 +7634,11 @@ "skipUrlEncoding": false }, { - "$id": "764", + "$id": "798", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "756" + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -7276,9 +7652,9 @@ } ], "response": { - "$id": "765", + "$id": "799", "type": { - "$ref": "213" + "$ref": "315" } }, "isOverride": false, @@ -7287,7 +7663,7 @@ "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.Singleton.update" }, { - "$id": "766", + "$id": "800", "kind": "paging", "name": "listByResourceGroup", "accessibility": "public", @@ -7296,19 +7672,19 @@ ], "doc": "List SingletonTrackedResource resources by resource group", "operation": { - "$id": "767", + "$id": "801", "name": "listByResourceGroup", "resourceName": "SingletonTrackedResource", "doc": "List SingletonTrackedResource resources by resource group", "accessibility": "public", "parameters": [ { - "$id": "768", + "$id": "802", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "769", + "$id": "803", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7322,9 +7698,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "770", + "$id": "804", "type": { - "$id": "771", + "$id": "805", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7335,17 +7711,17 @@ "skipUrlEncoding": false }, { - "$id": "772", + "$id": "806", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "773", + "$id": "807", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "774", + "$id": "808", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7364,12 +7740,12 @@ "skipUrlEncoding": false }, { - "$id": "775", + "$id": "809", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "776", + "$id": "810", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7386,24 +7762,11 @@ "skipUrlEncoding": false }, { - "$id": "777", + "$id": "811", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "778", - "kind": "constant", - "name": "listByResourceGroupContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "779", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -7418,12 +7781,12 @@ ], "responses": [ { - "$id": "780", + "$id": "812", "statusCodes": [ 200 ], "bodyType": { - "$ref": "227" + "$ref": "329" }, "headers": [], "isErrorResponse": false, @@ -7443,12 +7806,12 @@ }, "parameters": [ { - "$id": "781", + "$id": "813", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "782", + "$id": "814", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7465,11 +7828,11 @@ "skipUrlEncoding": false }, { - "$id": "783", + "$id": "815", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "778" + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -7483,9 +7846,9 @@ } ], "response": { - "$id": "784", + "$id": "816", "type": { - "$ref": "229" + "$ref": "331" }, "resultSegments": [ "value" @@ -7496,12 +7859,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.Singleton.listByResourceGroup", "pagingMetadata": { - "$id": "785", + "$id": "817", "itemPropertySegments": [ "value" ], "nextLink": { - "$id": "786", + "$id": "818", "responseSegments": [ "nextLink" ], @@ -7512,12 +7875,12 @@ ], "parameters": [ { - "$id": "787", + "$id": "819", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "788", + "$id": "820", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7531,9 +7894,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "789", + "$id": "821", "type": { - "$id": "790", + "$id": "822", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7544,10 +7907,10 @@ ], "decorators": [ { - "$id": "791", + "$id": "823", "name": "Azure.ResourceManager.@armResourceOperations", "arguments": { - "$id": "792" + "$id": "824" } } ], @@ -7556,18 +7919,18 @@ "2023-12-01-preview" ], "parent": { - "$ref": "286" + "$ref": "388" } }, { - "$id": "793", + "$id": "825", "kind": "client", "name": "ExtensionsResources", "namespace": "_Azure.ResourceManager.Resources", "doc": "The interface of extensions resources,\nit contains 4 kinds of scopes (resource, resource group, subscription and tenant)", "methods": [ { - "$id": "794", + "$id": "826", "kind": "basic", "name": "get", "accessibility": "public", @@ -7576,19 +7939,19 @@ ], "doc": "Get a ExtensionsResource", "operation": { - "$id": "795", + "$id": "827", "name": "get", "resourceName": "ExtensionsResource", "doc": "Get a ExtensionsResource", "accessibility": "public", "parameters": [ { - "$id": "796", + "$id": "828", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "797", + "$id": "829", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7602,9 +7965,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "798", + "$id": "830", "type": { - "$id": "799", + "$id": "831", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7615,12 +7978,12 @@ "skipUrlEncoding": false }, { - "$id": "800", + "$id": "832", "name": "resourceUri", "nameInRequest": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "801", + "$id": "833", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7637,12 +8000,12 @@ "skipUrlEncoding": true }, { - "$id": "802", + "$id": "834", "name": "extensionsResourceName", "nameInRequest": "extensionsResourceName", "doc": "The name of the ExtensionsResource", "type": { - "$id": "803", + "$id": "835", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7659,24 +8022,11 @@ "skipUrlEncoding": false }, { - "$id": "804", + "$id": "836", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "805", - "kind": "constant", - "name": "getContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "806", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -7691,12 +8041,12 @@ ], "responses": [ { - "$id": "807", + "$id": "837", "statusCodes": [ 200 ], "bodyType": { - "$ref": "237" + "$ref": "339" }, "headers": [], "isErrorResponse": false, @@ -7716,12 +8066,12 @@ }, "parameters": [ { - "$id": "808", + "$id": "838", "name": "resourceUri", "nameInRequest": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "809", + "$id": "839", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7738,12 +8088,12 @@ "skipUrlEncoding": false }, { - "$id": "810", + "$id": "840", "name": "extensionsResourceName", "nameInRequest": "extensionsResourceName", "doc": "The name of the ExtensionsResource", "type": { - "$id": "811", + "$id": "841", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7760,11 +8110,11 @@ "skipUrlEncoding": false }, { - "$id": "812", + "$id": "842", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "805" + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -7778,9 +8128,9 @@ } ], "response": { - "$id": "813", + "$id": "843", "type": { - "$ref": "237" + "$ref": "339" } }, "isOverride": false, @@ -7789,7 +8139,7 @@ "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.ExtensionsResources.get" }, { - "$id": "814", + "$id": "844", "kind": "lro", "name": "createOrUpdate", "accessibility": "public", @@ -7798,19 +8148,19 @@ ], "doc": "Create a ExtensionsResource", "operation": { - "$id": "815", + "$id": "845", "name": "createOrUpdate", "resourceName": "ExtensionsResource", "doc": "Create a ExtensionsResource", "accessibility": "public", "parameters": [ { - "$id": "816", + "$id": "846", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "817", + "$id": "847", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7824,9 +8174,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "818", + "$id": "848", "type": { - "$id": "819", + "$id": "849", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7837,12 +8187,12 @@ "skipUrlEncoding": false }, { - "$id": "820", + "$id": "850", "name": "resourceUri", "nameInRequest": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "821", + "$id": "851", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7859,12 +8209,12 @@ "skipUrlEncoding": true }, { - "$id": "822", + "$id": "852", "name": "extensionsResourceName", "nameInRequest": "extensionsResourceName", "doc": "The name of the ExtensionsResource", "type": { - "$id": "823", + "$id": "853", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7881,25 +8231,12 @@ "skipUrlEncoding": false }, { - "$id": "824", + "$id": "854", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "825", - "kind": "constant", - "name": "createOrUpdateContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "826", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -7912,24 +8249,11 @@ "skipUrlEncoding": false }, { - "$id": "827", + "$id": "855", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "828", - "kind": "constant", - "name": "createOrUpdateContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "829", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -7942,12 +8266,12 @@ "skipUrlEncoding": false }, { - "$id": "830", + "$id": "856", "name": "resource", "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "237" + "$ref": "339" }, "location": "Body", "isApiVersion": false, @@ -7962,12 +8286,12 @@ ], "responses": [ { - "$id": "831", + "$id": "857", "statusCodes": [ 200 ], "bodyType": { - "$ref": "237" + "$ref": "339" }, "headers": [], "isErrorResponse": false, @@ -7976,21 +8300,21 @@ ] }, { - "$id": "832", + "$id": "858", "statusCodes": [ 201 ], "bodyType": { - "$ref": "237" + "$ref": "339" }, "headers": [ { - "$id": "833", + "$id": "859", "name": "azureAsyncOperation", "nameInResponse": "Azure-AsyncOperation", "doc": "A link to the status monitor", "type": { - "$id": "834", + "$id": "860", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7998,12 +8322,12 @@ } }, { - "$id": "835", + "$id": "861", "name": "retryAfter", "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "836", + "$id": "862", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -8031,12 +8355,12 @@ }, "parameters": [ { - "$id": "837", + "$id": "863", "name": "resourceUri", "nameInRequest": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "838", + "$id": "864", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8053,12 +8377,12 @@ "skipUrlEncoding": false }, { - "$id": "839", + "$id": "865", "name": "extensionsResourceName", "nameInRequest": "extensionsResourceName", "doc": "The name of the ExtensionsResource", "type": { - "$id": "840", + "$id": "866", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8075,12 +8399,12 @@ "skipUrlEncoding": false }, { - "$id": "841", + "$id": "867", "name": "resource", "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "237" + "$ref": "339" }, "location": "Body", "isApiVersion": false, @@ -8093,25 +8417,12 @@ "skipUrlEncoding": false }, { - "$id": "842", + "$id": "868", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "843", - "kind": "constant", - "name": "createOrUpdateContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "844", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -8124,24 +8435,11 @@ "skipUrlEncoding": false }, { - "$id": "845", + "$id": "869", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "846", - "kind": "constant", - "name": "createOrUpdateContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "847", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -8155,9 +8453,9 @@ } ], "response": { - "$id": "848", + "$id": "870", "type": { - "$ref": "237" + "$ref": "339" } }, "isOverride": false, @@ -8165,21 +8463,21 @@ "generateProtocol": true, "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.ExtensionsResources.createOrUpdate", "lroMetadata": { - "$id": "849", + "$id": "871", "finalStateVia": 0, "finalResponse": { - "$id": "850", + "$id": "872", "statusCodes": [ 200 ], "bodyType": { - "$ref": "237" + "$ref": "339" } } } }, { - "$id": "851", + "$id": "873", "kind": "basic", "name": "update", "accessibility": "public", @@ -8188,19 +8486,19 @@ ], "doc": "Update a ExtensionsResource", "operation": { - "$id": "852", + "$id": "874", "name": "update", "resourceName": "ExtensionsResource", "doc": "Update a ExtensionsResource", "accessibility": "public", "parameters": [ { - "$id": "853", + "$id": "875", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "854", + "$id": "876", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8214,9 +8512,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "855", + "$id": "877", "type": { - "$id": "856", + "$id": "878", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8227,12 +8525,12 @@ "skipUrlEncoding": false }, { - "$id": "857", + "$id": "879", "name": "resourceUri", "nameInRequest": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "858", + "$id": "880", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8249,12 +8547,12 @@ "skipUrlEncoding": true }, { - "$id": "859", + "$id": "881", "name": "extensionsResourceName", "nameInRequest": "extensionsResourceName", "doc": "The name of the ExtensionsResource", "type": { - "$id": "860", + "$id": "882", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8271,25 +8569,12 @@ "skipUrlEncoding": false }, { - "$id": "861", + "$id": "883", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "862", - "kind": "constant", - "name": "updateContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "863", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -8302,24 +8587,11 @@ "skipUrlEncoding": false }, { - "$id": "864", + "$id": "884", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "865", - "kind": "constant", - "name": "updateContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "866", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -8332,12 +8604,12 @@ "skipUrlEncoding": false }, { - "$id": "867", + "$id": "885", "name": "properties", "nameInRequest": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "237" + "$ref": "339" }, "location": "Body", "isApiVersion": false, @@ -8352,12 +8624,12 @@ ], "responses": [ { - "$id": "868", + "$id": "886", "statusCodes": [ 200 ], "bodyType": { - "$ref": "237" + "$ref": "339" }, "headers": [], "isErrorResponse": false, @@ -8380,12 +8652,12 @@ }, "parameters": [ { - "$id": "869", + "$id": "887", "name": "resourceUri", "nameInRequest": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "870", + "$id": "888", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8402,12 +8674,12 @@ "skipUrlEncoding": false }, { - "$id": "871", + "$id": "889", "name": "extensionsResourceName", "nameInRequest": "extensionsResourceName", "doc": "The name of the ExtensionsResource", "type": { - "$id": "872", + "$id": "890", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8424,12 +8696,12 @@ "skipUrlEncoding": false }, { - "$id": "873", + "$id": "891", "name": "properties", "nameInRequest": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "237" + "$ref": "339" }, "location": "Body", "isApiVersion": false, @@ -8442,12 +8714,12 @@ "skipUrlEncoding": false }, { - "$id": "874", + "$id": "892", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "862" + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -8460,11 +8732,11 @@ "skipUrlEncoding": false }, { - "$id": "875", + "$id": "893", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "865" + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -8478,9 +8750,9 @@ } ], "response": { - "$id": "876", + "$id": "894", "type": { - "$ref": "237" + "$ref": "339" } }, "isOverride": false, @@ -8489,7 +8761,7 @@ "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.ExtensionsResources.update" }, { - "$id": "877", + "$id": "895", "kind": "basic", "name": "delete", "accessibility": "public", @@ -8498,19 +8770,19 @@ ], "doc": "Delete a ExtensionsResource", "operation": { - "$id": "878", + "$id": "896", "name": "delete", "resourceName": "ExtensionsResource", "doc": "Delete a ExtensionsResource", "accessibility": "public", "parameters": [ { - "$id": "879", + "$id": "897", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "880", + "$id": "898", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8524,9 +8796,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "881", + "$id": "899", "type": { - "$id": "882", + "$id": "900", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8537,12 +8809,12 @@ "skipUrlEncoding": false }, { - "$id": "883", + "$id": "901", "name": "resourceUri", "nameInRequest": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "884", + "$id": "902", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8559,12 +8831,12 @@ "skipUrlEncoding": true }, { - "$id": "885", + "$id": "903", "name": "extensionsResourceName", "nameInRequest": "extensionsResourceName", "doc": "The name of the ExtensionsResource", "type": { - "$id": "886", + "$id": "904", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8581,24 +8853,11 @@ "skipUrlEncoding": false }, { - "$id": "887", + "$id": "905", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "888", - "kind": "constant", - "name": "deleteContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "889", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -8613,7 +8872,7 @@ ], "responses": [ { - "$id": "890", + "$id": "906", "statusCodes": [ 200 ], @@ -8621,7 +8880,7 @@ "isErrorResponse": false }, { - "$id": "891", + "$id": "907", "statusCodes": [ 204 ], @@ -8640,12 +8899,12 @@ }, "parameters": [ { - "$id": "892", + "$id": "908", "name": "resourceUri", "nameInRequest": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "893", + "$id": "909", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8662,12 +8921,12 @@ "skipUrlEncoding": false }, { - "$id": "894", + "$id": "910", "name": "extensionsResourceName", "nameInRequest": "extensionsResourceName", "doc": "The name of the ExtensionsResource", "type": { - "$id": "895", + "$id": "911", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8684,11 +8943,11 @@ "skipUrlEncoding": false }, { - "$id": "896", + "$id": "912", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "888" + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -8702,7 +8961,7 @@ } ], "response": { - "$id": "897" + "$id": "913" }, "isOverride": false, "generateConvenient": true, @@ -8710,7 +8969,7 @@ "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.ExtensionsResources.delete" }, { - "$id": "898", + "$id": "914", "kind": "paging", "name": "listByScope", "accessibility": "public", @@ -8719,19 +8978,19 @@ ], "doc": "List ExtensionsResource resources by parent", "operation": { - "$id": "899", + "$id": "915", "name": "listByScope", "resourceName": "ExtensionsResource", "doc": "List ExtensionsResource resources by parent", "accessibility": "public", "parameters": [ { - "$id": "900", + "$id": "916", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "901", + "$id": "917", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8745,9 +9004,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "902", + "$id": "918", "type": { - "$id": "903", + "$id": "919", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8758,12 +9017,12 @@ "skipUrlEncoding": false }, { - "$id": "904", + "$id": "920", "name": "resourceUri", "nameInRequest": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "905", + "$id": "921", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8780,24 +9039,11 @@ "skipUrlEncoding": true }, { - "$id": "906", + "$id": "922", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "907", - "kind": "constant", - "name": "listByScopeContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "908", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -8812,12 +9058,12 @@ ], "responses": [ { - "$id": "909", + "$id": "923", "statusCodes": [ 200 ], "bodyType": { - "$ref": "252" + "$ref": "354" }, "headers": [], "isErrorResponse": false, @@ -8837,12 +9083,12 @@ }, "parameters": [ { - "$id": "910", + "$id": "924", "name": "resourceUri", "nameInRequest": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "911", + "$id": "925", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8859,11 +9105,11 @@ "skipUrlEncoding": false }, { - "$id": "912", + "$id": "926", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "907" + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -8877,9 +9123,9 @@ } ], "response": { - "$id": "913", + "$id": "927", "type": { - "$ref": "254" + "$ref": "356" }, "resultSegments": [ "value" @@ -8890,12 +9136,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.ExtensionsResources.listByScope", "pagingMetadata": { - "$id": "914", + "$id": "928", "itemPropertySegments": [ "value" ], "nextLink": { - "$id": "915", + "$id": "929", "responseSegments": [ "nextLink" ], @@ -8906,12 +9152,12 @@ ], "parameters": [ { - "$id": "916", + "$id": "930", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "917", + "$id": "931", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8925,9 +9171,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "918", + "$id": "932", "type": { - "$id": "919", + "$id": "933", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8938,10 +9184,10 @@ ], "decorators": [ { - "$id": "920", + "$id": "934", "name": "Azure.ResourceManager.@armResourceOperations", "arguments": { - "$id": "921" + "$id": "935" } } ], @@ -8950,17 +9196,17 @@ "2023-12-01-preview" ], "parent": { - "$ref": "286" + "$ref": "388" } }, { - "$id": "922", + "$id": "936", "kind": "client", "name": "LocationResources", "namespace": "_Azure.ResourceManager.Resources", "methods": [ { - "$id": "923", + "$id": "937", "kind": "basic", "name": "get", "accessibility": "public", @@ -8969,19 +9215,19 @@ ], "doc": "Get a LocationResource", "operation": { - "$id": "924", + "$id": "938", "name": "get", "resourceName": "LocationResource", "doc": "Get a LocationResource", "accessibility": "public", "parameters": [ { - "$id": "925", + "$id": "939", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "926", + "$id": "940", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8995,9 +9241,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "927", + "$id": "941", "type": { - "$id": "928", + "$id": "942", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9008,17 +9254,17 @@ "skipUrlEncoding": false }, { - "$id": "929", + "$id": "943", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "930", + "$id": "944", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "931", + "$id": "945", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9037,17 +9283,17 @@ "skipUrlEncoding": false }, { - "$id": "932", + "$id": "946", "name": "location", "nameInRequest": "location", "doc": "The name of the Azure region.", "type": { - "$id": "933", + "$id": "947", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "934", + "$id": "948", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9066,12 +9312,12 @@ "skipUrlEncoding": false }, { - "$id": "935", + "$id": "949", "name": "locationResourceName", "nameInRequest": "locationResourceName", "doc": "The name of the LocationResource", "type": { - "$id": "936", + "$id": "950", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9088,24 +9334,11 @@ "skipUrlEncoding": false }, { - "$id": "937", + "$id": "951", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "938", - "kind": "constant", - "name": "getContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "939", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -9120,12 +9353,12 @@ ], "responses": [ { - "$id": "940", + "$id": "952", "statusCodes": [ 200 ], "bodyType": { - "$ref": "262" + "$ref": "364" }, "headers": [], "isErrorResponse": false, @@ -9145,17 +9378,17 @@ }, "parameters": [ { - "$id": "941", + "$id": "953", "name": "location", "nameInRequest": "location", "doc": "The name of the Azure region.", "type": { - "$id": "942", + "$id": "954", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "943", + "$id": "955", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9174,12 +9407,12 @@ "skipUrlEncoding": false }, { - "$id": "944", + "$id": "956", "name": "locationResourceName", "nameInRequest": "locationResourceName", "doc": "The name of the LocationResource", "type": { - "$id": "945", + "$id": "957", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9196,11 +9429,11 @@ "skipUrlEncoding": false }, { - "$id": "946", + "$id": "958", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "938" + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -9214,9 +9447,9 @@ } ], "response": { - "$id": "947", + "$id": "959", "type": { - "$ref": "262" + "$ref": "364" } }, "isOverride": false, @@ -9225,7 +9458,7 @@ "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.LocationResources.get" }, { - "$id": "948", + "$id": "960", "kind": "basic", "name": "createOrUpdate", "accessibility": "public", @@ -9234,19 +9467,19 @@ ], "doc": "Create a LocationResource", "operation": { - "$id": "949", + "$id": "961", "name": "createOrUpdate", "resourceName": "LocationResource", "doc": "Create a LocationResource", "accessibility": "public", "parameters": [ { - "$id": "950", + "$id": "962", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "951", + "$id": "963", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9260,9 +9493,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "952", + "$id": "964", "type": { - "$id": "953", + "$id": "965", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9273,17 +9506,17 @@ "skipUrlEncoding": false }, { - "$id": "954", + "$id": "966", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "955", + "$id": "967", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "956", + "$id": "968", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9302,17 +9535,17 @@ "skipUrlEncoding": false }, { - "$id": "957", + "$id": "969", "name": "location", "nameInRequest": "location", "doc": "The name of the Azure region.", "type": { - "$id": "958", + "$id": "970", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "959", + "$id": "971", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9331,12 +9564,12 @@ "skipUrlEncoding": false }, { - "$id": "960", + "$id": "972", "name": "locationResourceName", "nameInRequest": "locationResourceName", "doc": "The name of the LocationResource", "type": { - "$id": "961", + "$id": "973", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9353,25 +9586,12 @@ "skipUrlEncoding": false }, { - "$id": "962", + "$id": "974", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "963", - "kind": "constant", - "name": "createOrUpdateContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "964", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -9384,24 +9604,11 @@ "skipUrlEncoding": false }, { - "$id": "965", + "$id": "975", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "966", - "kind": "constant", - "name": "createOrUpdateContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "967", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -9414,12 +9621,12 @@ "skipUrlEncoding": false }, { - "$id": "968", + "$id": "976", "name": "resource", "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "262" + "$ref": "364" }, "location": "Body", "isApiVersion": false, @@ -9434,12 +9641,12 @@ ], "responses": [ { - "$id": "969", + "$id": "977", "statusCodes": [ 200 ], "bodyType": { - "$ref": "262" + "$ref": "364" }, "headers": [], "isErrorResponse": false, @@ -9448,12 +9655,12 @@ ] }, { - "$id": "970", + "$id": "978", "statusCodes": [ 201 ], "bodyType": { - "$ref": "262" + "$ref": "364" }, "headers": [], "isErrorResponse": false, @@ -9476,17 +9683,17 @@ }, "parameters": [ { - "$id": "971", + "$id": "979", "name": "location", "nameInRequest": "location", "doc": "The name of the Azure region.", "type": { - "$id": "972", + "$id": "980", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "973", + "$id": "981", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9505,12 +9712,12 @@ "skipUrlEncoding": false }, { - "$id": "974", + "$id": "982", "name": "locationResourceName", "nameInRequest": "locationResourceName", "doc": "The name of the LocationResource", "type": { - "$id": "975", + "$id": "983", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9527,12 +9734,12 @@ "skipUrlEncoding": false }, { - "$id": "976", + "$id": "984", "name": "resource", "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "262" + "$ref": "364" }, "location": "Body", "isApiVersion": false, @@ -9545,12 +9752,12 @@ "skipUrlEncoding": false }, { - "$id": "977", + "$id": "985", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "963" + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -9563,11 +9770,11 @@ "skipUrlEncoding": false }, { - "$id": "978", + "$id": "986", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "966" + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -9581,9 +9788,9 @@ } ], "response": { - "$id": "979", + "$id": "987", "type": { - "$ref": "262" + "$ref": "364" } }, "isOverride": false, @@ -9592,7 +9799,7 @@ "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.LocationResources.createOrUpdate" }, { - "$id": "980", + "$id": "988", "kind": "basic", "name": "update", "accessibility": "public", @@ -9601,19 +9808,19 @@ ], "doc": "Update a LocationResource", "operation": { - "$id": "981", + "$id": "989", "name": "update", "resourceName": "LocationResource", "doc": "Update a LocationResource", "accessibility": "public", "parameters": [ { - "$id": "982", + "$id": "990", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "983", + "$id": "991", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9627,9 +9834,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "984", + "$id": "992", "type": { - "$id": "985", + "$id": "993", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9640,17 +9847,17 @@ "skipUrlEncoding": false }, { - "$id": "986", + "$id": "994", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "987", + "$id": "995", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "988", + "$id": "996", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9669,17 +9876,17 @@ "skipUrlEncoding": false }, { - "$id": "989", + "$id": "997", "name": "location", "nameInRequest": "location", "doc": "The name of the Azure region.", "type": { - "$id": "990", + "$id": "998", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "991", + "$id": "999", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9698,12 +9905,12 @@ "skipUrlEncoding": false }, { - "$id": "992", + "$id": "1000", "name": "locationResourceName", "nameInRequest": "locationResourceName", "doc": "The name of the LocationResource", "type": { - "$id": "993", + "$id": "1001", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9720,25 +9927,12 @@ "skipUrlEncoding": false }, { - "$id": "994", + "$id": "1002", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "995", - "kind": "constant", - "name": "updateContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "996", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -9751,24 +9945,11 @@ "skipUrlEncoding": false }, { - "$id": "997", + "$id": "1003", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "998", - "kind": "constant", - "name": "updateContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "999", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -9781,12 +9962,12 @@ "skipUrlEncoding": false }, { - "$id": "1000", + "$id": "1004", "name": "properties", "nameInRequest": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "262" + "$ref": "364" }, "location": "Body", "isApiVersion": false, @@ -9801,12 +9982,12 @@ ], "responses": [ { - "$id": "1001", + "$id": "1005", "statusCodes": [ 200 ], "bodyType": { - "$ref": "262" + "$ref": "364" }, "headers": [], "isErrorResponse": false, @@ -9829,17 +10010,17 @@ }, "parameters": [ { - "$id": "1002", + "$id": "1006", "name": "location", "nameInRequest": "location", "doc": "The name of the Azure region.", "type": { - "$id": "1003", + "$id": "1007", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "1004", + "$id": "1008", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9858,12 +10039,12 @@ "skipUrlEncoding": false }, { - "$id": "1005", + "$id": "1009", "name": "locationResourceName", "nameInRequest": "locationResourceName", "doc": "The name of the LocationResource", "type": { - "$id": "1006", + "$id": "1010", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9880,12 +10061,12 @@ "skipUrlEncoding": false }, { - "$id": "1007", + "$id": "1011", "name": "properties", "nameInRequest": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "262" + "$ref": "364" }, "location": "Body", "isApiVersion": false, @@ -9898,12 +10079,12 @@ "skipUrlEncoding": false }, { - "$id": "1008", + "$id": "1012", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "995" + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -9916,11 +10097,11 @@ "skipUrlEncoding": false }, { - "$id": "1009", + "$id": "1013", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "998" + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -9934,9 +10115,9 @@ } ], "response": { - "$id": "1010", + "$id": "1014", "type": { - "$ref": "262" + "$ref": "364" } }, "isOverride": false, @@ -9945,7 +10126,7 @@ "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.LocationResources.update" }, { - "$id": "1011", + "$id": "1015", "kind": "basic", "name": "delete", "accessibility": "public", @@ -9954,19 +10135,19 @@ ], "doc": "Delete a LocationResource", "operation": { - "$id": "1012", + "$id": "1016", "name": "delete", "resourceName": "LocationResource", "doc": "Delete a LocationResource", "accessibility": "public", "parameters": [ { - "$id": "1013", + "$id": "1017", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1014", + "$id": "1018", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9980,9 +10161,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "1015", + "$id": "1019", "type": { - "$id": "1016", + "$id": "1020", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9993,17 +10174,17 @@ "skipUrlEncoding": false }, { - "$id": "1017", + "$id": "1021", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1018", + "$id": "1022", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1019", + "$id": "1023", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10022,17 +10203,17 @@ "skipUrlEncoding": false }, { - "$id": "1020", + "$id": "1024", "name": "location", "nameInRequest": "location", "doc": "The name of the Azure region.", "type": { - "$id": "1021", + "$id": "1025", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "1022", + "$id": "1026", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10051,12 +10232,12 @@ "skipUrlEncoding": false }, { - "$id": "1023", + "$id": "1027", "name": "locationResourceName", "nameInRequest": "locationResourceName", "doc": "The name of the LocationResource", "type": { - "$id": "1024", + "$id": "1028", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10073,24 +10254,11 @@ "skipUrlEncoding": false }, { - "$id": "1025", + "$id": "1029", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "1026", - "kind": "constant", - "name": "deleteContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "1027", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -10105,7 +10273,7 @@ ], "responses": [ { - "$id": "1028", + "$id": "1030", "statusCodes": [ 200 ], @@ -10113,7 +10281,7 @@ "isErrorResponse": false }, { - "$id": "1029", + "$id": "1031", "statusCodes": [ 204 ], @@ -10132,17 +10300,17 @@ }, "parameters": [ { - "$id": "1030", + "$id": "1032", "name": "location", "nameInRequest": "location", "doc": "The name of the Azure region.", "type": { - "$id": "1031", + "$id": "1033", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "1032", + "$id": "1034", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10161,12 +10329,12 @@ "skipUrlEncoding": false }, { - "$id": "1033", + "$id": "1035", "name": "locationResourceName", "nameInRequest": "locationResourceName", "doc": "The name of the LocationResource", "type": { - "$id": "1034", + "$id": "1036", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10183,11 +10351,11 @@ "skipUrlEncoding": false }, { - "$id": "1035", + "$id": "1037", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "1026" + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -10201,7 +10369,7 @@ } ], "response": { - "$id": "1036" + "$id": "1038" }, "isOverride": false, "generateConvenient": true, @@ -10209,7 +10377,7 @@ "crossLanguageDefinitionId": "Azure.ResourceManager.Resources.LocationResources.delete" }, { - "$id": "1037", + "$id": "1039", "kind": "paging", "name": "listByLocation", "accessibility": "public", @@ -10218,19 +10386,19 @@ ], "doc": "List LocationResource resources by SubscriptionLocationResource", "operation": { - "$id": "1038", + "$id": "1040", "name": "listByLocation", "resourceName": "LocationResource", "doc": "List LocationResource resources by SubscriptionLocationResource", "accessibility": "public", "parameters": [ { - "$id": "1039", + "$id": "1041", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1040", + "$id": "1042", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10244,9 +10412,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "1041", + "$id": "1043", "type": { - "$id": "1042", + "$id": "1044", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -10257,17 +10425,17 @@ "skipUrlEncoding": false }, { - "$id": "1043", + "$id": "1045", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1044", + "$id": "1046", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1045", + "$id": "1047", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10286,17 +10454,17 @@ "skipUrlEncoding": false }, { - "$id": "1046", + "$id": "1048", "name": "location", "nameInRequest": "location", "doc": "The name of the Azure region.", "type": { - "$id": "1047", + "$id": "1049", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "1048", + "$id": "1050", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10315,24 +10483,11 @@ "skipUrlEncoding": false }, { - "$id": "1049", + "$id": "1051", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "1050", - "kind": "constant", - "name": "listByLocationContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "1051", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -10352,7 +10507,7 @@ 200 ], "bodyType": { - "$ref": "276" + "$ref": "378" }, "headers": [], "isErrorResponse": false, @@ -10405,7 +10560,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "1050" + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -10421,7 +10576,7 @@ "response": { "$id": "1057", "type": { - "$ref": "278" + "$ref": "380" }, "resultSegments": [ "value" @@ -10492,7 +10647,7 @@ "2023-12-01-preview" ], "parent": { - "$ref": "286" + "$ref": "388" } } ] diff --git a/test/CadlRanchProjects/azure/special-headers/client-request-id/tspCodeModel.json b/test/CadlRanchProjects/azure/special-headers/client-request-id/tspCodeModel.json index e2348ae5003..9e5b3a4a338 100644 --- a/test/CadlRanchProjects/azure/special-headers/client-request-id/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/special-headers/client-request-id/tspCodeModel.json @@ -3,6 +3,7 @@ "name": "Azure.SpecialHeaders.XmsClientRequestId", "apiVersions": [], "enums": [], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/client/naming/tspCodeModel.json b/test/CadlRanchProjects/client/naming/tspCodeModel.json index bafe938d032..07a983bcc0c 100644 --- a/test/CadlRanchProjects/client/naming/tspCodeModel.json +++ b/test/CadlRanchProjects/client/naming/tspCodeModel.json @@ -95,9 +95,155 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "12", + "kind": "constant", + "name": "clientContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "languageContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "compatibleWithEncodedNameContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "clientContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "languageContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "UnionEnumNameRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "UnionEnumNameRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "UnionEnumNameRequestContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "UnionEnumNameRequestContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "30", "kind": "model", "name": "ClientNameModel", "namespace": "Client.Naming.Property", @@ -106,13 +252,13 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "31", "kind": "property", "name": "clientName", "serializedName": "defaultName", "doc": "Pass in true", "type": { - "$id": "14", + "$id": "32", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -125,9 +271,9 @@ "decorators": [], "crossLanguageDefinitionId": "Client.Naming.Property.ClientNameModel.defaultName", "serializationOptions": { - "$id": "15", + "$id": "33", "json": { - "$id": "16", + "$id": "34", "name": "defaultName" } } @@ -135,7 +281,7 @@ ] }, { - "$id": "17", + "$id": "35", "kind": "model", "name": "LanguageClientNameModel", "namespace": "Client.Naming.Property", @@ -144,13 +290,13 @@ "decorators": [], "properties": [ { - "$id": "18", + "$id": "36", "kind": "property", "name": "CSName", "serializedName": "defaultName", "doc": "Pass in true", "type": { - "$id": "19", + "$id": "37", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -163,9 +309,9 @@ "decorators": [], "crossLanguageDefinitionId": "Client.Naming.Property.LanguageClientNameModel.defaultName", "serializationOptions": { - "$id": "20", + "$id": "38", "json": { - "$id": "21", + "$id": "39", "name": "defaultName" } } @@ -173,7 +319,7 @@ ] }, { - "$id": "22", + "$id": "40", "kind": "model", "name": "ClientNameAndJsonEncodedNameModel", "namespace": "Client.Naming.Property", @@ -182,13 +328,13 @@ "decorators": [], "properties": [ { - "$id": "23", + "$id": "41", "kind": "property", "name": "clientName", "serializedName": "wireName", "doc": "Pass in true", "type": { - "$id": "24", + "$id": "42", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -201,9 +347,9 @@ "decorators": [], "crossLanguageDefinitionId": "Client.Naming.Property.ClientNameAndJsonEncodedNameModel.defaultName", "serializationOptions": { - "$id": "25", + "$id": "43", "json": { - "$id": "26", + "$id": "44", "name": "wireName" } } @@ -211,7 +357,7 @@ ] }, { - "$id": "27", + "$id": "45", "kind": "model", "name": "ClientModel", "namespace": "Client.Naming.Model", @@ -220,13 +366,13 @@ "decorators": [], "properties": [ { - "$id": "28", + "$id": "46", "kind": "property", "name": "defaultName", "serializedName": "defaultName", "doc": "Pass in true", "type": { - "$id": "29", + "$id": "47", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -239,9 +385,9 @@ "decorators": [], "crossLanguageDefinitionId": "Client.Naming.Model.ModelWithClientClientName.defaultName", "serializationOptions": { - "$id": "30", + "$id": "48", "json": { - "$id": "31", + "$id": "49", "name": "defaultName" } } @@ -249,7 +395,7 @@ ] }, { - "$id": "32", + "$id": "50", "kind": "model", "name": "CSModel", "namespace": "Client.Naming.Model", @@ -258,13 +404,13 @@ "decorators": [], "properties": [ { - "$id": "33", + "$id": "51", "kind": "property", "name": "defaultName", "serializedName": "defaultName", "doc": "Pass in true", "type": { - "$id": "34", + "$id": "52", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -277,9 +423,9 @@ "decorators": [], "crossLanguageDefinitionId": "Client.Naming.Model.ModelWithLanguageClientName.defaultName", "serializationOptions": { - "$id": "35", + "$id": "53", "json": { - "$id": "36", + "$id": "54", "name": "defaultName" } } @@ -289,27 +435,27 @@ ], "clients": [ { - "$id": "37", + "$id": "55", "kind": "client", "name": "NamingClient", "namespace": "Client.Naming", "doc": "Describe changing names of types in a client with `@clientName`", "methods": [ { - "$id": "38", + "$id": "56", "kind": "basic", "name": "clientName", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "39", + "$id": "57", "name": "clientName", "resourceName": "Naming", "accessibility": "public", "parameters": [], "responses": [ { - "$id": "40", + "$id": "58", "statusCodes": [ 204 ], @@ -328,7 +474,7 @@ }, "parameters": [], "response": { - "$id": "41" + "$id": "59" }, "isOverride": false, "generateConvenient": true, @@ -336,23 +482,23 @@ "crossLanguageDefinitionId": "Client.Naming.operation" }, { - "$id": "42", + "$id": "60", "kind": "basic", "name": "parameter", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "43", + "$id": "61", "name": "parameter", "resourceName": "Naming", "accessibility": "public", "parameters": [ { - "$id": "44", + "$id": "62", "name": "clientName", "nameInRequest": "defaultName", "type": { - "$id": "45", + "$id": "63", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -371,7 +517,7 @@ ], "responses": [ { - "$id": "46", + "$id": "64", "statusCodes": [ 204 ], @@ -390,11 +536,11 @@ }, "parameters": [ { - "$id": "47", + "$id": "65", "name": "clientName", "nameInRequest": "defaultName", "type": { - "$id": "48", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -412,7 +558,7 @@ } ], "response": { - "$id": "49" + "$id": "67" }, "isOverride": false, "generateConvenient": true, @@ -420,37 +566,24 @@ "crossLanguageDefinitionId": "Client.Naming.parameter" }, { - "$id": "50", + "$id": "68", "kind": "basic", "name": "client", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "51", + "$id": "69", "name": "client", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "52", + "$id": "70", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "53", - "kind": "constant", - "name": "clientContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "54", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -463,11 +596,11 @@ "skipUrlEncoding": false }, { - "$id": "55", + "$id": "71", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "30" }, "location": "Body", "isApiVersion": false, @@ -482,7 +615,7 @@ ], "responses": [ { - "$id": "56", + "$id": "72", "statusCodes": [ 204 ], @@ -504,11 +637,11 @@ }, "parameters": [ { - "$id": "57", + "$id": "73", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "30" }, "location": "Body", "isApiVersion": false, @@ -521,12 +654,12 @@ "skipUrlEncoding": false }, { - "$id": "58", + "$id": "74", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "53" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -540,7 +673,7 @@ } ], "response": { - "$id": "59" + "$id": "75" }, "isOverride": false, "generateConvenient": true, @@ -548,37 +681,24 @@ "crossLanguageDefinitionId": "Client.Naming.Property.client" }, { - "$id": "60", + "$id": "76", "kind": "basic", "name": "language", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "61", + "$id": "77", "name": "language", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "62", + "$id": "78", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "63", - "kind": "constant", - "name": "languageContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "64", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -591,11 +711,11 @@ "skipUrlEncoding": false }, { - "$id": "65", + "$id": "79", "name": "body", "nameInRequest": "body", "type": { - "$ref": "17" + "$ref": "35" }, "location": "Body", "isApiVersion": false, @@ -610,7 +730,7 @@ ], "responses": [ { - "$id": "66", + "$id": "80", "statusCodes": [ 204 ], @@ -632,11 +752,11 @@ }, "parameters": [ { - "$id": "67", + "$id": "81", "name": "body", "nameInRequest": "body", "type": { - "$ref": "17" + "$ref": "35" }, "location": "Body", "isApiVersion": false, @@ -649,12 +769,12 @@ "skipUrlEncoding": false }, { - "$id": "68", + "$id": "82", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "63" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -668,7 +788,7 @@ } ], "response": { - "$id": "69" + "$id": "83" }, "isOverride": false, "generateConvenient": true, @@ -676,37 +796,24 @@ "crossLanguageDefinitionId": "Client.Naming.Property.language" }, { - "$id": "70", + "$id": "84", "kind": "basic", "name": "compatibleWithEncodedName", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "71", + "$id": "85", "name": "compatibleWithEncodedName", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "72", + "$id": "86", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "73", - "kind": "constant", - "name": "compatibleWithEncodedNameContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "74", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -719,11 +826,11 @@ "skipUrlEncoding": false }, { - "$id": "75", + "$id": "87", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "40" }, "location": "Body", "isApiVersion": false, @@ -738,7 +845,7 @@ ], "responses": [ { - "$id": "76", + "$id": "88", "statusCodes": [ 204 ], @@ -760,11 +867,11 @@ }, "parameters": [ { - "$id": "77", + "$id": "89", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "40" }, "location": "Body", "isApiVersion": false, @@ -777,12 +884,12 @@ "skipUrlEncoding": false }, { - "$id": "78", + "$id": "90", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "73" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -796,7 +903,7 @@ } ], "response": { - "$id": "79" + "$id": "91" }, "isOverride": false, "generateConvenient": true, @@ -804,23 +911,23 @@ "crossLanguageDefinitionId": "Client.Naming.Property.compatibleWithEncodedName" }, { - "$id": "80", + "$id": "92", "kind": "basic", "name": "request", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "81", + "$id": "93", "name": "request", "resourceName": "Header", "accessibility": "public", "parameters": [ { - "$id": "82", + "$id": "94", "name": "clientName", "nameInRequest": "default-name", "type": { - "$id": "83", + "$id": "95", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -839,7 +946,7 @@ ], "responses": [ { - "$id": "84", + "$id": "96", "statusCodes": [ 204 ], @@ -858,11 +965,11 @@ }, "parameters": [ { - "$id": "85", + "$id": "97", "name": "clientName", "nameInRequest": "default-name", "type": { - "$id": "86", + "$id": "98", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -880,7 +987,7 @@ } ], "response": { - "$id": "87" + "$id": "99" }, "isOverride": false, "generateConvenient": true, @@ -888,30 +995,30 @@ "crossLanguageDefinitionId": "Client.Naming.Header.request" }, { - "$id": "88", + "$id": "100", "kind": "basic", "name": "response", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "89", + "$id": "101", "name": "response", "resourceName": "Header", "accessibility": "public", "parameters": [], "responses": [ { - "$id": "90", + "$id": "102", "statusCodes": [ 204 ], "headers": [ { - "$id": "91", + "$id": "103", "name": "default-name", "nameInResponse": "default-name", "type": { - "$id": "92", + "$id": "104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -933,7 +1040,7 @@ }, "parameters": [], "response": { - "$id": "93" + "$id": "105" }, "isOverride": false, "generateConvenient": true, @@ -943,12 +1050,12 @@ ], "parameters": [ { - "$id": "94", + "$id": "106", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "95", + "$id": "107", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -962,9 +1069,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "96", + "$id": "108", "type": { - "$id": "97", + "$id": "109", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -978,43 +1085,30 @@ "apiVersions": [], "children": [ { - "$id": "98", + "$id": "110", "kind": "client", "name": "ClientModel", "namespace": "Client.Naming.Model", "methods": [ { - "$id": "99", + "$id": "111", "kind": "basic", "name": "client", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "100", + "$id": "112", "name": "client", "resourceName": "Model", "accessibility": "public", "parameters": [ { - "$id": "101", + "$id": "113", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "102", - "kind": "constant", - "name": "clientContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "103", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1027,11 +1121,11 @@ "skipUrlEncoding": false }, { - "$id": "104", + "$id": "114", "name": "body", "nameInRequest": "body", "type": { - "$ref": "27" + "$ref": "45" }, "location": "Body", "isApiVersion": false, @@ -1046,7 +1140,7 @@ ], "responses": [ { - "$id": "105", + "$id": "115", "statusCodes": [ 204 ], @@ -1068,11 +1162,11 @@ }, "parameters": [ { - "$id": "106", + "$id": "116", "name": "body", "nameInRequest": "body", "type": { - "$ref": "27" + "$ref": "45" }, "location": "Body", "isApiVersion": false, @@ -1085,12 +1179,12 @@ "skipUrlEncoding": false }, { - "$id": "107", + "$id": "117", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "102" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1104,7 +1198,7 @@ } ], "response": { - "$id": "108" + "$id": "118" }, "isOverride": false, "generateConvenient": true, @@ -1112,37 +1206,24 @@ "crossLanguageDefinitionId": "Client.Naming.Model.client" }, { - "$id": "109", + "$id": "119", "kind": "basic", "name": "language", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "110", + "$id": "120", "name": "language", "resourceName": "Model", "accessibility": "public", "parameters": [ { - "$id": "111", + "$id": "121", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "112", - "kind": "constant", - "name": "languageContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "113", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1155,11 +1236,11 @@ "skipUrlEncoding": false }, { - "$id": "114", + "$id": "122", "name": "body", "nameInRequest": "body", "type": { - "$ref": "32" + "$ref": "50" }, "location": "Body", "isApiVersion": false, @@ -1174,7 +1255,7 @@ ], "responses": [ { - "$id": "115", + "$id": "123", "statusCodes": [ 204 ], @@ -1196,11 +1277,11 @@ }, "parameters": [ { - "$id": "116", + "$id": "124", "name": "body", "nameInRequest": "body", "type": { - "$ref": "32" + "$ref": "50" }, "location": "Body", "isApiVersion": false, @@ -1213,12 +1294,12 @@ "skipUrlEncoding": false }, { - "$id": "117", + "$id": "125", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "112" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1232,7 +1313,7 @@ } ], "response": { - "$id": "118" + "$id": "126" }, "isOverride": false, "generateConvenient": true, @@ -1242,12 +1323,12 @@ ], "parameters": [ { - "$id": "119", + "$id": "127", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "120", + "$id": "128", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1261,9 +1342,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "121", + "$id": "129", "type": { - "$id": "122", + "$id": "130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1276,46 +1357,33 @@ "crossLanguageDefinitionId": "Client.Naming.Model", "apiVersions": [], "parent": { - "$ref": "37" + "$ref": "55" } }, { - "$id": "123", + "$id": "131", "kind": "client", "name": "UnionEnum", "namespace": "Client.Naming.UnionEnum", "methods": [ { - "$id": "124", + "$id": "132", "kind": "basic", "name": "unionEnumName", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "125", + "$id": "133", "name": "unionEnumName", "resourceName": "UnionEnum", "accessibility": "public", "parameters": [ { - "$id": "126", + "$id": "134", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "127", - "kind": "constant", - "name": "UnionEnumNameRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "128", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1328,7 +1396,7 @@ "skipUrlEncoding": false }, { - "$id": "129", + "$id": "135", "name": "body", "nameInRequest": "body", "type": { @@ -1347,7 +1415,7 @@ ], "responses": [ { - "$id": "130", + "$id": "136", "statusCodes": [ 204 ], @@ -1369,24 +1437,11 @@ }, "parameters": [ { - "$id": "131", + "$id": "137", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "132", - "kind": "constant", - "name": "UnionEnumNameRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "133", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1399,7 +1454,7 @@ "skipUrlEncoding": false }, { - "$id": "134", + "$id": "138", "name": "body", "nameInRequest": "body", "type": { @@ -1417,7 +1472,7 @@ } ], "response": { - "$id": "135" + "$id": "139" }, "isOverride": false, "generateConvenient": true, @@ -1425,36 +1480,23 @@ "crossLanguageDefinitionId": "Client.Naming.UnionEnum.unionEnumName" }, { - "$id": "136", + "$id": "140", "kind": "basic", "name": "unionEnumMemberName", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "137", + "$id": "141", "name": "unionEnumMemberName", "resourceName": "UnionEnum", "accessibility": "public", "parameters": [ { - "$id": "138", + "$id": "142", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "139", - "kind": "constant", - "name": "UnionEnumNameRequestContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "140", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1467,7 +1509,7 @@ "skipUrlEncoding": false }, { - "$id": "141", + "$id": "143", "name": "body", "nameInRequest": "body", "type": { @@ -1486,7 +1528,7 @@ ], "responses": [ { - "$id": "142", + "$id": "144", "statusCodes": [ 204 ], @@ -1508,24 +1550,11 @@ }, "parameters": [ { - "$id": "143", + "$id": "145", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "144", - "kind": "constant", - "name": "UnionEnumNameRequestContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "145", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -1600,7 +1629,7 @@ "crossLanguageDefinitionId": "Client.Naming.UnionEnum", "apiVersions": [], "parent": { - "$ref": "37" + "$ref": "55" } } ] diff --git a/test/CadlRanchProjects/client/structure/client-operation-group/tspCodeModel.json b/test/CadlRanchProjects/client/structure/client-operation-group/tspCodeModel.json index 0640933716f..2c293748610 100644 --- a/test/CadlRanchProjects/client/structure/client-operation-group/tspCodeModel.json +++ b/test/CadlRanchProjects/client/structure/client-operation-group/tspCodeModel.json @@ -109,6 +109,7 @@ "decorators": [] } ], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/client/structure/default/tspCodeModel.json b/test/CadlRanchProjects/client/structure/default/tspCodeModel.json index 30017769099..ecfac64ca92 100644 --- a/test/CadlRanchProjects/client/structure/default/tspCodeModel.json +++ b/test/CadlRanchProjects/client/structure/default/tspCodeModel.json @@ -109,6 +109,7 @@ "decorators": [] } ], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/client/structure/multi-client/tspCodeModel.json b/test/CadlRanchProjects/client/structure/multi-client/tspCodeModel.json index 072bfc0659f..230a116f18d 100644 --- a/test/CadlRanchProjects/client/structure/multi-client/tspCodeModel.json +++ b/test/CadlRanchProjects/client/structure/multi-client/tspCodeModel.json @@ -109,6 +109,7 @@ "decorators": [] } ], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/client/structure/renamed-operation/tspCodeModel.json b/test/CadlRanchProjects/client/structure/renamed-operation/tspCodeModel.json index aee8ce8b802..6fd838392e2 100644 --- a/test/CadlRanchProjects/client/structure/renamed-operation/tspCodeModel.json +++ b/test/CadlRanchProjects/client/structure/renamed-operation/tspCodeModel.json @@ -109,6 +109,7 @@ "decorators": [] } ], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/client/structure/two-operation-group/tspCodeModel.json b/test/CadlRanchProjects/client/structure/two-operation-group/tspCodeModel.json index 9831d70e6b2..804d79dbf8b 100644 --- a/test/CadlRanchProjects/client/structure/two-operation-group/tspCodeModel.json +++ b/test/CadlRanchProjects/client/structure/two-operation-group/tspCodeModel.json @@ -109,6 +109,7 @@ "decorators": [] } ], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/encode/bytes/tspCodeModel.json b/test/CadlRanchProjects/encode/bytes/tspCodeModel.json index 684a5f66a58..31d4aa1f778 100644 --- a/test/CadlRanchProjects/encode/bytes/tspCodeModel.json +++ b/test/CadlRanchProjects/encode/bytes/tspCodeModel.json @@ -3,9 +3,427 @@ "name": "Encode.Bytes", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "defaultContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "defaultContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "base64ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "base64ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "base64urlContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "base64urlContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "base64urlArrayContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "base64urlArrayContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "defaultContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/octet-stream", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "OctetStreamRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/octet-stream", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "OctetStreamRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/octet-stream", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "CustomContentTypeRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "CustomContentTypeRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "Base64RequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "Base64RequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "Base64RequestContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "Base64RequestContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "defaultContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/octet-stream", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "octetStreamContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/octet-stream", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "OctetStreamRequestContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/octet-stream", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "customContentTypeContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "CustomContentTypeRequestContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "base64ContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "Base64RequestContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "base64urlContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "Base64RequestContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "54", "kind": "model", "name": "DefaultBytesProperty", "namespace": "Encode.Bytes", @@ -14,12 +432,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "55", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "4", + "$id": "56", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -33,9 +451,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Bytes.DefaultBytesProperty.value", "serializationOptions": { - "$id": "5", + "$id": "57", "json": { - "$id": "6", + "$id": "58", "name": "value" } } @@ -43,7 +461,7 @@ ] }, { - "$id": "7", + "$id": "59", "kind": "model", "name": "Base64BytesProperty", "namespace": "Encode.Bytes", @@ -52,12 +470,12 @@ "decorators": [], "properties": [ { - "$id": "8", + "$id": "60", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "9", + "$id": "61", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -71,9 +489,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Bytes.Base64BytesProperty.value", "serializationOptions": { - "$id": "10", + "$id": "62", "json": { - "$id": "11", + "$id": "63", "name": "value" } } @@ -81,7 +499,7 @@ ] }, { - "$id": "12", + "$id": "64", "kind": "model", "name": "Base64urlBytesProperty", "namespace": "Encode.Bytes", @@ -90,12 +508,12 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "65", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "14", + "$id": "66", "kind": "bytes", "name": "bytes", "encode": "base64url", @@ -109,9 +527,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Bytes.Base64urlBytesProperty.value", "serializationOptions": { - "$id": "15", + "$id": "67", "json": { - "$id": "16", + "$id": "68", "name": "value" } } @@ -119,7 +537,7 @@ ] }, { - "$id": "17", + "$id": "69", "kind": "model", "name": "Base64urlArrayBytesProperty", "namespace": "Encode.Bytes", @@ -128,22 +546,22 @@ "decorators": [], "properties": [ { - "$id": "18", + "$id": "70", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "19", + "$id": "71", "kind": "array", "name": "Array", "valueType": { - "$id": "20", + "$id": "72", "kind": "bytes", "name": "base64urlBytes", "encode": "base64url", "crossLanguageDefinitionId": "Encode.Bytes.base64urlBytes", "baseType": { - "$id": "21", + "$id": "73", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -162,9 +580,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Bytes.Base64urlArrayBytesProperty.value", "serializationOptions": { - "$id": "22", + "$id": "74", "json": { - "$id": "23", + "$id": "75", "name": "value" } } @@ -174,7 +592,7 @@ ], "clients": [ { - "$id": "24", + "$id": "76", "kind": "client", "name": "BytesClient", "namespace": "Encode.Bytes", @@ -182,12 +600,12 @@ "methods": [], "parameters": [ { - "$id": "25", + "$id": "77", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "26", + "$id": "78", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -201,9 +619,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "27", + "$id": "79", "type": { - "$id": "28", + "$id": "80", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -217,29 +635,29 @@ "apiVersions": [], "children": [ { - "$id": "29", + "$id": "81", "kind": "client", "name": "Query", "namespace": "Encode.Bytes.Query", "methods": [ { - "$id": "30", + "$id": "82", "kind": "basic", "name": "default", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "31", + "$id": "83", "name": "default", "resourceName": "Query", "accessibility": "public", "parameters": [ { - "$id": "32", + "$id": "84", "name": "value", "nameInRequest": "value", "type": { - "$id": "33", + "$id": "85", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -259,7 +677,7 @@ ], "responses": [ { - "$id": "34", + "$id": "86", "statusCodes": [ 204 ], @@ -278,11 +696,11 @@ }, "parameters": [ { - "$id": "35", + "$id": "87", "name": "value", "nameInRequest": "value", "type": { - "$id": "36", + "$id": "88", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -301,7 +719,7 @@ } ], "response": { - "$id": "37" + "$id": "89" }, "isOverride": false, "generateConvenient": true, @@ -309,23 +727,23 @@ "crossLanguageDefinitionId": "Encode.Bytes.Query.default" }, { - "$id": "38", + "$id": "90", "kind": "basic", "name": "base64", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "39", + "$id": "91", "name": "base64", "resourceName": "Query", "accessibility": "public", "parameters": [ { - "$id": "40", + "$id": "92", "name": "value", "nameInRequest": "value", "type": { - "$id": "41", + "$id": "93", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -345,7 +763,7 @@ ], "responses": [ { - "$id": "42", + "$id": "94", "statusCodes": [ 204 ], @@ -364,11 +782,11 @@ }, "parameters": [ { - "$id": "43", + "$id": "95", "name": "value", "nameInRequest": "value", "type": { - "$id": "44", + "$id": "96", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -387,7 +805,7 @@ } ], "response": { - "$id": "45" + "$id": "97" }, "isOverride": false, "generateConvenient": true, @@ -395,23 +813,23 @@ "crossLanguageDefinitionId": "Encode.Bytes.Query.base64" }, { - "$id": "46", + "$id": "98", "kind": "basic", "name": "base64url", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "47", + "$id": "99", "name": "base64url", "resourceName": "Query", "accessibility": "public", "parameters": [ { - "$id": "48", + "$id": "100", "name": "value", "nameInRequest": "value", "type": { - "$id": "49", + "$id": "101", "kind": "bytes", "name": "bytes", "encode": "base64url", @@ -431,7 +849,7 @@ ], "responses": [ { - "$id": "50", + "$id": "102", "statusCodes": [ 204 ], @@ -450,11 +868,11 @@ }, "parameters": [ { - "$id": "51", + "$id": "103", "name": "value", "nameInRequest": "value", "type": { - "$id": "52", + "$id": "104", "kind": "bytes", "name": "bytes", "encode": "base64url", @@ -473,7 +891,7 @@ } ], "response": { - "$id": "53" + "$id": "105" }, "isOverride": false, "generateConvenient": true, @@ -481,23 +899,23 @@ "crossLanguageDefinitionId": "Encode.Bytes.Query.base64url" }, { - "$id": "54", + "$id": "106", "kind": "basic", "name": "base64urlArray", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "55", + "$id": "107", "name": "base64urlArray", "resourceName": "Query", "accessibility": "public", "parameters": [ { - "$id": "56", + "$id": "108", "name": "value", "nameInRequest": "value", "type": { - "$ref": "19" + "$ref": "71" }, "location": "Query", "isApiVersion": false, @@ -513,7 +931,7 @@ ], "responses": [ { - "$id": "57", + "$id": "109", "statusCodes": [ 204 ], @@ -532,11 +950,11 @@ }, "parameters": [ { - "$id": "58", + "$id": "110", "name": "value", "nameInRequest": "value", "type": { - "$ref": "19" + "$ref": "71" }, "location": "Query", "isApiVersion": false, @@ -550,7 +968,7 @@ } ], "response": { - "$id": "59" + "$id": "111" }, "isOverride": false, "generateConvenient": true, @@ -560,12 +978,12 @@ ], "parameters": [ { - "$id": "60", + "$id": "112", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "61", + "$id": "113", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -579,9 +997,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "62", + "$id": "114", "type": { - "$id": "63", + "$id": "115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -594,47 +1012,34 @@ "crossLanguageDefinitionId": "Encode.Bytes.Query", "apiVersions": [], "parent": { - "$ref": "24" + "$ref": "76" } }, { - "$id": "64", + "$id": "116", "kind": "client", "name": "Property", "namespace": "Encode.Bytes.Property", "methods": [ { - "$id": "65", + "$id": "117", "kind": "basic", "name": "default", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "66", + "$id": "118", "name": "default", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "67", + "$id": "119", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "68", - "kind": "constant", - "name": "defaultContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "69", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -647,24 +1052,11 @@ "skipUrlEncoding": false }, { - "$id": "70", + "$id": "120", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "71", - "kind": "constant", - "name": "defaultContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "72", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -677,11 +1069,11 @@ "skipUrlEncoding": false }, { - "$id": "73", + "$id": "121", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "54" }, "location": "Body", "isApiVersion": false, @@ -696,12 +1088,12 @@ ], "responses": [ { - "$id": "74", + "$id": "122", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "54" }, "headers": [], "isErrorResponse": false, @@ -724,11 +1116,11 @@ }, "parameters": [ { - "$id": "75", + "$id": "123", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "54" }, "location": "Body", "isApiVersion": false, @@ -741,12 +1133,12 @@ "skipUrlEncoding": false }, { - "$id": "76", + "$id": "124", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "68" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -759,11 +1151,11 @@ "skipUrlEncoding": false }, { - "$id": "77", + "$id": "125", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "71" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -777,9 +1169,9 @@ } ], "response": { - "$id": "78", + "$id": "126", "type": { - "$ref": "2" + "$ref": "54" } }, "isOverride": false, @@ -788,37 +1180,24 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property.default" }, { - "$id": "79", + "$id": "127", "kind": "basic", "name": "base64", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "80", + "$id": "128", "name": "base64", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "81", + "$id": "129", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "82", - "kind": "constant", - "name": "base64ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "83", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -831,24 +1210,11 @@ "skipUrlEncoding": false }, { - "$id": "84", + "$id": "130", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "85", - "kind": "constant", - "name": "base64ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "86", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -861,11 +1227,11 @@ "skipUrlEncoding": false }, { - "$id": "87", + "$id": "131", "name": "body", "nameInRequest": "body", "type": { - "$ref": "7" + "$ref": "59" }, "location": "Body", "isApiVersion": false, @@ -880,12 +1246,12 @@ ], "responses": [ { - "$id": "88", + "$id": "132", "statusCodes": [ 200 ], "bodyType": { - "$ref": "7" + "$ref": "59" }, "headers": [], "isErrorResponse": false, @@ -908,11 +1274,11 @@ }, "parameters": [ { - "$id": "89", + "$id": "133", "name": "body", "nameInRequest": "body", "type": { - "$ref": "7" + "$ref": "59" }, "location": "Body", "isApiVersion": false, @@ -925,12 +1291,12 @@ "skipUrlEncoding": false }, { - "$id": "90", + "$id": "134", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "82" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -943,11 +1309,11 @@ "skipUrlEncoding": false }, { - "$id": "91", + "$id": "135", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "85" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -961,9 +1327,9 @@ } ], "response": { - "$id": "92", + "$id": "136", "type": { - "$ref": "7" + "$ref": "59" } }, "isOverride": false, @@ -972,37 +1338,24 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property.base64" }, { - "$id": "93", + "$id": "137", "kind": "basic", "name": "base64url", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "94", + "$id": "138", "name": "base64url", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "95", + "$id": "139", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "96", - "kind": "constant", - "name": "base64urlContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "97", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1015,24 +1368,11 @@ "skipUrlEncoding": false }, { - "$id": "98", + "$id": "140", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "99", - "kind": "constant", - "name": "base64urlContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "100", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1045,11 +1385,11 @@ "skipUrlEncoding": false }, { - "$id": "101", + "$id": "141", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "64" }, "location": "Body", "isApiVersion": false, @@ -1064,12 +1404,12 @@ ], "responses": [ { - "$id": "102", + "$id": "142", "statusCodes": [ 200 ], "bodyType": { - "$ref": "12" + "$ref": "64" }, "headers": [], "isErrorResponse": false, @@ -1092,11 +1432,11 @@ }, "parameters": [ { - "$id": "103", + "$id": "143", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "64" }, "location": "Body", "isApiVersion": false, @@ -1109,12 +1449,12 @@ "skipUrlEncoding": false }, { - "$id": "104", + "$id": "144", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "96" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1127,11 +1467,11 @@ "skipUrlEncoding": false }, { - "$id": "105", + "$id": "145", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "99" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1145,9 +1485,9 @@ } ], "response": { - "$id": "106", + "$id": "146", "type": { - "$ref": "12" + "$ref": "64" } }, "isOverride": false, @@ -1156,37 +1496,24 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property.base64url" }, { - "$id": "107", + "$id": "147", "kind": "basic", "name": "base64urlArray", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "108", + "$id": "148", "name": "base64urlArray", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "109", + "$id": "149", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "110", - "kind": "constant", - "name": "base64urlArrayContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "111", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1199,24 +1526,11 @@ "skipUrlEncoding": false }, { - "$id": "112", + "$id": "150", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "113", - "kind": "constant", - "name": "base64urlArrayContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "114", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1229,11 +1543,11 @@ "skipUrlEncoding": false }, { - "$id": "115", + "$id": "151", "name": "body", "nameInRequest": "body", "type": { - "$ref": "17" + "$ref": "69" }, "location": "Body", "isApiVersion": false, @@ -1248,12 +1562,12 @@ ], "responses": [ { - "$id": "116", + "$id": "152", "statusCodes": [ 200 ], "bodyType": { - "$ref": "17" + "$ref": "69" }, "headers": [], "isErrorResponse": false, @@ -1276,11 +1590,11 @@ }, "parameters": [ { - "$id": "117", + "$id": "153", "name": "body", "nameInRequest": "body", "type": { - "$ref": "17" + "$ref": "69" }, "location": "Body", "isApiVersion": false, @@ -1293,12 +1607,12 @@ "skipUrlEncoding": false }, { - "$id": "118", + "$id": "154", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "110" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1311,11 +1625,11 @@ "skipUrlEncoding": false }, { - "$id": "119", + "$id": "155", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "113" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1329,9 +1643,9 @@ } ], "response": { - "$id": "120", + "$id": "156", "type": { - "$ref": "17" + "$ref": "69" } }, "isOverride": false, @@ -1342,12 +1656,12 @@ ], "parameters": [ { - "$id": "121", + "$id": "157", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "122", + "$id": "158", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1361,9 +1675,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "123", + "$id": "159", "type": { - "$id": "124", + "$id": "160", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1376,33 +1690,33 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property", "apiVersions": [], "parent": { - "$ref": "24" + "$ref": "76" } }, { - "$id": "125", + "$id": "161", "kind": "client", "name": "Header", "namespace": "Encode.Bytes.Header", "methods": [ { - "$id": "126", + "$id": "162", "kind": "basic", "name": "default", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "127", + "$id": "163", "name": "default", "resourceName": "Header", "accessibility": "public", "parameters": [ { - "$id": "128", + "$id": "164", "name": "value", "nameInRequest": "value", "type": { - "$id": "129", + "$id": "165", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -1422,7 +1736,7 @@ ], "responses": [ { - "$id": "130", + "$id": "166", "statusCodes": [ 204 ], @@ -1441,11 +1755,11 @@ }, "parameters": [ { - "$id": "131", + "$id": "167", "name": "value", "nameInRequest": "value", "type": { - "$id": "132", + "$id": "168", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -1464,7 +1778,7 @@ } ], "response": { - "$id": "133" + "$id": "169" }, "isOverride": false, "generateConvenient": true, @@ -1472,23 +1786,23 @@ "crossLanguageDefinitionId": "Encode.Bytes.Header.default" }, { - "$id": "134", + "$id": "170", "kind": "basic", "name": "base64", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "135", + "$id": "171", "name": "base64", "resourceName": "Header", "accessibility": "public", "parameters": [ { - "$id": "136", + "$id": "172", "name": "value", "nameInRequest": "value", "type": { - "$id": "137", + "$id": "173", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -1508,7 +1822,7 @@ ], "responses": [ { - "$id": "138", + "$id": "174", "statusCodes": [ 204 ], @@ -1527,11 +1841,11 @@ }, "parameters": [ { - "$id": "139", + "$id": "175", "name": "value", "nameInRequest": "value", "type": { - "$id": "140", + "$id": "176", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -1550,7 +1864,7 @@ } ], "response": { - "$id": "141" + "$id": "177" }, "isOverride": false, "generateConvenient": true, @@ -1558,23 +1872,23 @@ "crossLanguageDefinitionId": "Encode.Bytes.Header.base64" }, { - "$id": "142", + "$id": "178", "kind": "basic", "name": "base64url", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "143", + "$id": "179", "name": "base64url", "resourceName": "Header", "accessibility": "public", "parameters": [ { - "$id": "144", + "$id": "180", "name": "value", "nameInRequest": "value", "type": { - "$id": "145", + "$id": "181", "kind": "bytes", "name": "bytes", "encode": "base64url", @@ -1594,7 +1908,7 @@ ], "responses": [ { - "$id": "146", + "$id": "182", "statusCodes": [ 204 ], @@ -1613,11 +1927,11 @@ }, "parameters": [ { - "$id": "147", + "$id": "183", "name": "value", "nameInRequest": "value", "type": { - "$id": "148", + "$id": "184", "kind": "bytes", "name": "bytes", "encode": "base64url", @@ -1636,7 +1950,7 @@ } ], "response": { - "$id": "149" + "$id": "185" }, "isOverride": false, "generateConvenient": true, @@ -1644,23 +1958,23 @@ "crossLanguageDefinitionId": "Encode.Bytes.Header.base64url" }, { - "$id": "150", + "$id": "186", "kind": "basic", "name": "base64urlArray", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "151", + "$id": "187", "name": "base64urlArray", "resourceName": "Header", "accessibility": "public", "parameters": [ { - "$id": "152", + "$id": "188", "name": "value", "nameInRequest": "value", "type": { - "$ref": "19" + "$ref": "71" }, "location": "Header", "isApiVersion": false, @@ -1676,7 +1990,7 @@ ], "responses": [ { - "$id": "153", + "$id": "189", "statusCodes": [ 204 ], @@ -1695,11 +2009,11 @@ }, "parameters": [ { - "$id": "154", + "$id": "190", "name": "value", "nameInRequest": "value", "type": { - "$ref": "19" + "$ref": "71" }, "location": "Header", "isApiVersion": false, @@ -1713,7 +2027,7 @@ } ], "response": { - "$id": "155" + "$id": "191" }, "isOverride": false, "generateConvenient": true, @@ -1723,12 +2037,12 @@ ], "parameters": [ { - "$id": "156", + "$id": "192", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "157", + "$id": "193", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1742,9 +2056,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "158", + "$id": "194", "type": { - "$id": "159", + "$id": "195", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1757,47 +2071,34 @@ "crossLanguageDefinitionId": "Encode.Bytes.Header", "apiVersions": [], "parent": { - "$ref": "24" + "$ref": "76" } }, { - "$id": "160", + "$id": "196", "kind": "client", "name": "RequestBody", "namespace": "Encode.Bytes.RequestBody", "methods": [ { - "$id": "161", + "$id": "197", "kind": "basic", "name": "default", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "162", + "$id": "198", "name": "default", "resourceName": "RequestBody", "accessibility": "public", "parameters": [ { - "$id": "163", + "$id": "199", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/octet-stream", "type": { - "$id": "164", - "kind": "constant", - "name": "defaultContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "165", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/octet-stream", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1810,11 +2111,11 @@ "skipUrlEncoding": false }, { - "$id": "166", + "$id": "200", "name": "value", "nameInRequest": "value", "type": { - "$id": "167", + "$id": "201", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -1833,7 +2134,7 @@ ], "responses": [ { - "$id": "168", + "$id": "202", "statusCodes": [ 204 ], @@ -1855,11 +2156,11 @@ }, "parameters": [ { - "$id": "169", + "$id": "203", "name": "value", "nameInRequest": "value", "type": { - "$id": "170", + "$id": "204", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -1876,12 +2177,12 @@ "skipUrlEncoding": false }, { - "$id": "171", + "$id": "205", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/octet-stream", "type": { - "$ref": "164" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1895,7 +2196,7 @@ } ], "response": { - "$id": "172" + "$id": "206" }, "isOverride": false, "generateConvenient": true, @@ -1903,36 +2204,23 @@ "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.default" }, { - "$id": "173", + "$id": "207", "kind": "basic", "name": "octetStream", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "174", + "$id": "208", "name": "octetStream", "resourceName": "RequestBody", "accessibility": "public", "parameters": [ { - "$id": "175", + "$id": "209", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "176", - "kind": "constant", - "name": "OctetStreamRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "177", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/octet-stream", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1945,11 +2233,11 @@ "skipUrlEncoding": false }, { - "$id": "178", + "$id": "210", "name": "value", "nameInRequest": "value", "type": { - "$id": "179", + "$id": "211", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -1968,7 +2256,7 @@ ], "responses": [ { - "$id": "180", + "$id": "212", "statusCodes": [ 204 ], @@ -1990,24 +2278,11 @@ }, "parameters": [ { - "$id": "181", + "$id": "213", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "182", - "kind": "constant", - "name": "OctetStreamRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "183", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/octet-stream", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -2020,11 +2295,11 @@ "skipUrlEncoding": false }, { - "$id": "184", + "$id": "214", "name": "value", "nameInRequest": "value", "type": { - "$id": "185", + "$id": "215", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -2042,7 +2317,7 @@ } ], "response": { - "$id": "186" + "$id": "216" }, "isOverride": false, "generateConvenient": true, @@ -2050,36 +2325,23 @@ "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.octetStream" }, { - "$id": "187", + "$id": "217", "kind": "basic", "name": "customContentType", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "188", + "$id": "218", "name": "customContentType", "resourceName": "RequestBody", "accessibility": "public", "parameters": [ { - "$id": "189", + "$id": "219", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "190", - "kind": "constant", - "name": "CustomContentTypeRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "191", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -2092,11 +2354,11 @@ "skipUrlEncoding": false }, { - "$id": "192", + "$id": "220", "name": "value", "nameInRequest": "value", "type": { - "$id": "193", + "$id": "221", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -2115,7 +2377,7 @@ ], "responses": [ { - "$id": "194", + "$id": "222", "statusCodes": [ 204 ], @@ -2137,24 +2399,11 @@ }, "parameters": [ { - "$id": "195", + "$id": "223", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "196", - "kind": "constant", - "name": "CustomContentTypeRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "197", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -2167,11 +2416,11 @@ "skipUrlEncoding": false }, { - "$id": "198", + "$id": "224", "name": "value", "nameInRequest": "value", "type": { - "$id": "199", + "$id": "225", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -2189,7 +2438,7 @@ } ], "response": { - "$id": "200" + "$id": "226" }, "isOverride": false, "generateConvenient": true, @@ -2197,36 +2446,23 @@ "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.customContentType" }, { - "$id": "201", + "$id": "227", "kind": "basic", "name": "base64", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "202", + "$id": "228", "name": "base64", "resourceName": "RequestBody", "accessibility": "public", "parameters": [ { - "$id": "203", + "$id": "229", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "204", - "kind": "constant", - "name": "Base64RequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "205", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -2239,11 +2475,11 @@ "skipUrlEncoding": false }, { - "$id": "206", + "$id": "230", "name": "value", "nameInRequest": "value", "type": { - "$id": "207", + "$id": "231", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -2263,7 +2499,7 @@ ], "responses": [ { - "$id": "208", + "$id": "232", "statusCodes": [ 204 ], @@ -2285,24 +2521,11 @@ }, "parameters": [ { - "$id": "209", + "$id": "233", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "210", - "kind": "constant", - "name": "Base64RequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "211", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -2315,11 +2538,11 @@ "skipUrlEncoding": false }, { - "$id": "212", + "$id": "234", "name": "value", "nameInRequest": "value", "type": { - "$id": "213", + "$id": "235", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -2338,7 +2561,7 @@ } ], "response": { - "$id": "214" + "$id": "236" }, "isOverride": false, "generateConvenient": true, @@ -2346,36 +2569,23 @@ "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.base64" }, { - "$id": "215", + "$id": "237", "kind": "basic", "name": "base64url", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "216", + "$id": "238", "name": "base64url", "resourceName": "RequestBody", "accessibility": "public", "parameters": [ { - "$id": "217", + "$id": "239", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "218", - "kind": "constant", - "name": "Base64RequestContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "219", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2388,11 +2598,11 @@ "skipUrlEncoding": false }, { - "$id": "220", + "$id": "240", "name": "value", "nameInRequest": "value", "type": { - "$id": "221", + "$id": "241", "kind": "bytes", "name": "bytes", "encode": "base64url", @@ -2412,7 +2622,7 @@ ], "responses": [ { - "$id": "222", + "$id": "242", "statusCodes": [ 204 ], @@ -2434,24 +2644,11 @@ }, "parameters": [ { - "$id": "223", + "$id": "243", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "224", - "kind": "constant", - "name": "Base64RequestContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "225", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2464,11 +2661,11 @@ "skipUrlEncoding": false }, { - "$id": "226", + "$id": "244", "name": "value", "nameInRequest": "value", "type": { - "$id": "227", + "$id": "245", "kind": "bytes", "name": "bytes", "encode": "base64url", @@ -2487,7 +2684,7 @@ } ], "response": { - "$id": "228" + "$id": "246" }, "isOverride": false, "generateConvenient": true, @@ -2497,12 +2694,12 @@ ], "parameters": [ { - "$id": "229", + "$id": "247", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "230", + "$id": "248", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2516,9 +2713,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "231", + "$id": "249", "type": { - "$id": "232", + "$id": "250", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2531,46 +2728,33 @@ "crossLanguageDefinitionId": "Encode.Bytes.RequestBody", "apiVersions": [], "parent": { - "$ref": "24" + "$ref": "76" } }, { - "$id": "233", + "$id": "251", "kind": "client", "name": "ResponseBody", "namespace": "Encode.Bytes.ResponseBody", "methods": [ { - "$id": "234", + "$id": "252", "kind": "basic", "name": "default", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "235", + "$id": "253", "name": "default", "resourceName": "ResponseBody", "accessibility": "public", "parameters": [ { - "$id": "236", + "$id": "254", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "237", - "kind": "constant", - "name": "defaultContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "238", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/octet-stream", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2585,12 +2769,12 @@ ], "responses": [ { - "$id": "239", + "$id": "255", "statusCodes": [ 200 ], "bodyType": { - "$id": "240", + "$id": "256", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -2614,11 +2798,11 @@ }, "parameters": [ { - "$id": "241", + "$id": "257", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "237" + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2632,9 +2816,9 @@ } ], "response": { - "$id": "242", + "$id": "258", "type": { - "$ref": "240" + "$ref": "256" } }, "isOverride": false, @@ -2643,36 +2827,23 @@ "crossLanguageDefinitionId": "Encode.Bytes.ResponseBody.default" }, { - "$id": "243", + "$id": "259", "kind": "basic", "name": "octetStream", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "244", + "$id": "260", "name": "octetStream", "resourceName": "ResponseBody", "accessibility": "public", "parameters": [ { - "$id": "245", + "$id": "261", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "246", - "kind": "constant", - "name": "octetStreamContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "247", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/octet-stream", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2687,12 +2858,12 @@ ], "responses": [ { - "$id": "248", + "$id": "262", "statusCodes": [ 200 ], "bodyType": { - "$id": "249", + "$id": "263", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -2700,24 +2871,11 @@ }, "headers": [ { - "$id": "250", + "$id": "264", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "251", - "kind": "constant", - "name": "OctetStreamRequestContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "252", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/octet-stream", - "decorators": [] + "$ref": "40" } } ], @@ -2738,11 +2896,11 @@ }, "parameters": [ { - "$id": "253", + "$id": "265", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "246" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2756,9 +2914,9 @@ } ], "response": { - "$id": "254", + "$id": "266", "type": { - "$ref": "249" + "$ref": "263" } }, "isOverride": false, @@ -2767,36 +2925,23 @@ "crossLanguageDefinitionId": "Encode.Bytes.ResponseBody.octetStream" }, { - "$id": "255", + "$id": "267", "kind": "basic", "name": "customContentType", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "256", + "$id": "268", "name": "customContentType", "resourceName": "ResponseBody", "accessibility": "public", "parameters": [ { - "$id": "257", + "$id": "269", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "258", - "kind": "constant", - "name": "customContentTypeContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "259", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -2811,12 +2956,12 @@ ], "responses": [ { - "$id": "260", + "$id": "270", "statusCodes": [ 200 ], "bodyType": { - "$id": "261", + "$id": "271", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -2824,24 +2969,11 @@ }, "headers": [ { - "$id": "262", + "$id": "272", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "263", - "kind": "constant", - "name": "CustomContentTypeRequestContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "264", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "44" } } ], @@ -2862,11 +2994,11 @@ }, "parameters": [ { - "$id": "265", + "$id": "273", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "258" + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -2880,9 +3012,9 @@ } ], "response": { - "$id": "266", + "$id": "274", "type": { - "$ref": "261" + "$ref": "271" } }, "isOverride": false, @@ -2891,36 +3023,23 @@ "crossLanguageDefinitionId": "Encode.Bytes.ResponseBody.customContentType" }, { - "$id": "267", + "$id": "275", "kind": "basic", "name": "base64", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "268", + "$id": "276", "name": "base64", "resourceName": "ResponseBody", "accessibility": "public", "parameters": [ { - "$id": "269", + "$id": "277", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "270", - "kind": "constant", - "name": "base64ContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "271", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -2935,12 +3054,12 @@ ], "responses": [ { - "$id": "272", + "$id": "278", "statusCodes": [ 200 ], "bodyType": { - "$id": "273", + "$id": "279", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -2949,24 +3068,11 @@ }, "headers": [ { - "$id": "274", + "$id": "280", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "275", - "kind": "constant", - "name": "Base64RequestContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "276", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "48" } } ], @@ -2987,11 +3093,11 @@ }, "parameters": [ { - "$id": "277", + "$id": "281", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "270" + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -3005,9 +3111,9 @@ } ], "response": { - "$id": "278", + "$id": "282", "type": { - "$ref": "273" + "$ref": "279" } }, "isOverride": false, @@ -3016,36 +3122,23 @@ "crossLanguageDefinitionId": "Encode.Bytes.ResponseBody.base64" }, { - "$id": "279", + "$id": "283", "kind": "basic", "name": "base64url", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "280", + "$id": "284", "name": "base64url", "resourceName": "ResponseBody", "accessibility": "public", "parameters": [ { - "$id": "281", + "$id": "285", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "282", - "kind": "constant", - "name": "base64urlContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "283", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -3060,18 +3153,18 @@ ], "responses": [ { - "$id": "284", + "$id": "286", "statusCodes": [ 200 ], "bodyType": { - "$id": "285", + "$id": "287", "kind": "bytes", "name": "base64urlBytes", "encode": "base64url", "crossLanguageDefinitionId": "Encode.Bytes.base64urlBytes", "baseType": { - "$id": "286", + "$id": "288", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -3082,24 +3175,11 @@ }, "headers": [ { - "$id": "287", + "$id": "289", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "288", - "kind": "constant", - "name": "Base64RequestContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "289", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" } } ], @@ -3124,7 +3204,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "282" + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -3140,7 +3220,7 @@ "response": { "$id": "291", "type": { - "$ref": "285" + "$ref": "287" } }, "isOverride": false, @@ -3185,7 +3265,7 @@ "crossLanguageDefinitionId": "Encode.Bytes.ResponseBody", "apiVersions": [], "parent": { - "$ref": "24" + "$ref": "76" } } ] diff --git a/test/CadlRanchProjects/encode/datetime/tspCodeModel.json b/test/CadlRanchProjects/encode/datetime/tspCodeModel.json index 72099e8848d..6b94ab216d5 100644 --- a/test/CadlRanchProjects/encode/datetime/tspCodeModel.json +++ b/test/CadlRanchProjects/encode/datetime/tspCodeModel.json @@ -3,9 +3,171 @@ "name": "Encode.Datetime", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "defaultContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "defaultContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "rfc3339ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "rfc3339ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "rfc7231ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "rfc7231ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "unixTimestampContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "unixTimestampContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "unixTimestampArrayContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "unixTimestampArrayContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "22", "kind": "model", "name": "DefaultDatetimeProperty", "namespace": "Encode.Datetime", @@ -14,17 +176,17 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "23", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "4", + "$id": "24", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "5", + "$id": "25", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40,9 +202,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Datetime.DefaultDatetimeProperty.value", "serializationOptions": { - "$id": "6", + "$id": "26", "json": { - "$id": "7", + "$id": "27", "name": "value" } } @@ -50,7 +212,7 @@ ] }, { - "$id": "8", + "$id": "28", "kind": "model", "name": "Rfc3339DatetimeProperty", "namespace": "Encode.Datetime", @@ -59,17 +221,17 @@ "decorators": [], "properties": [ { - "$id": "9", + "$id": "29", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "10", + "$id": "30", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "11", + "$id": "31", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85,9 +247,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Datetime.Rfc3339DatetimeProperty.value", "serializationOptions": { - "$id": "12", + "$id": "32", "json": { - "$id": "13", + "$id": "33", "name": "value" } } @@ -95,7 +257,7 @@ ] }, { - "$id": "14", + "$id": "34", "kind": "model", "name": "Rfc7231DatetimeProperty", "namespace": "Encode.Datetime", @@ -104,17 +266,17 @@ "decorators": [], "properties": [ { - "$id": "15", + "$id": "35", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "16", + "$id": "36", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "17", + "$id": "37", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130,9 +292,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Datetime.Rfc7231DatetimeProperty.value", "serializationOptions": { - "$id": "18", + "$id": "38", "json": { - "$id": "19", + "$id": "39", "name": "value" } } @@ -140,7 +302,7 @@ ] }, { - "$id": "20", + "$id": "40", "kind": "model", "name": "UnixTimestampDatetimeProperty", "namespace": "Encode.Datetime", @@ -149,17 +311,17 @@ "decorators": [], "properties": [ { - "$id": "21", + "$id": "41", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "22", + "$id": "42", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "23", + "$id": "43", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -175,9 +337,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Datetime.UnixTimestampDatetimeProperty.value", "serializationOptions": { - "$id": "24", + "$id": "44", "json": { - "$id": "25", + "$id": "45", "name": "value" } } @@ -185,7 +347,7 @@ ] }, { - "$id": "26", + "$id": "46", "kind": "model", "name": "UnixTimestampArrayDatetimeProperty", "namespace": "Encode.Datetime", @@ -194,21 +356,21 @@ "decorators": [], "properties": [ { - "$id": "27", + "$id": "47", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "28", + "$id": "48", "kind": "array", "name": "Array", "valueType": { - "$id": "29", + "$id": "49", "kind": "utcDateTime", "name": "unixTimestampDatetime", "encode": "unixTimestamp", "wireType": { - "$id": "30", + "$id": "50", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -216,12 +378,12 @@ }, "crossLanguageDefinitionId": "Encode.Datetime.unixTimestampDatetime", "baseType": { - "$id": "31", + "$id": "51", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "32", + "$id": "52", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -242,9 +404,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Datetime.UnixTimestampArrayDatetimeProperty.value", "serializationOptions": { - "$id": "33", + "$id": "53", "json": { - "$id": "34", + "$id": "54", "name": "value" } } @@ -254,7 +416,7 @@ ], "clients": [ { - "$id": "35", + "$id": "55", "kind": "client", "name": "DatetimeClient", "namespace": "Encode.Datetime", @@ -262,12 +424,12 @@ "methods": [], "parameters": [ { - "$id": "36", + "$id": "56", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "37", + "$id": "57", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -281,9 +443,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "38", + "$id": "58", "type": { - "$id": "39", + "$id": "59", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -297,34 +459,34 @@ "apiVersions": [], "children": [ { - "$id": "40", + "$id": "60", "kind": "client", "name": "Query", "namespace": "Encode.Datetime.Query", "methods": [ { - "$id": "41", + "$id": "61", "kind": "basic", "name": "default", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "42", + "$id": "62", "name": "default", "resourceName": "Query", "accessibility": "public", "parameters": [ { - "$id": "43", + "$id": "63", "name": "value", "nameInRequest": "value", "type": { - "$id": "44", + "$id": "64", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "45", + "$id": "65", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -346,7 +508,7 @@ ], "responses": [ { - "$id": "46", + "$id": "66", "statusCodes": [ 204 ], @@ -365,16 +527,16 @@ }, "parameters": [ { - "$id": "47", + "$id": "67", "name": "value", "nameInRequest": "value", "type": { - "$id": "48", + "$id": "68", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "49", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -395,7 +557,7 @@ } ], "response": { - "$id": "50" + "$id": "70" }, "isOverride": false, "generateConvenient": true, @@ -403,28 +565,28 @@ "crossLanguageDefinitionId": "Encode.Datetime.Query.default" }, { - "$id": "51", + "$id": "71", "kind": "basic", "name": "rfc3339", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "52", + "$id": "72", "name": "rfc3339", "resourceName": "Query", "accessibility": "public", "parameters": [ { - "$id": "53", + "$id": "73", "name": "value", "nameInRequest": "value", "type": { - "$id": "54", + "$id": "74", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "55", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -446,7 +608,7 @@ ], "responses": [ { - "$id": "56", + "$id": "76", "statusCodes": [ 204 ], @@ -465,16 +627,16 @@ }, "parameters": [ { - "$id": "57", + "$id": "77", "name": "value", "nameInRequest": "value", "type": { - "$id": "58", + "$id": "78", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "59", + "$id": "79", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -495,7 +657,7 @@ } ], "response": { - "$id": "60" + "$id": "80" }, "isOverride": false, "generateConvenient": true, @@ -503,28 +665,28 @@ "crossLanguageDefinitionId": "Encode.Datetime.Query.rfc3339" }, { - "$id": "61", + "$id": "81", "kind": "basic", "name": "rfc7231", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "62", + "$id": "82", "name": "rfc7231", "resourceName": "Query", "accessibility": "public", "parameters": [ { - "$id": "63", + "$id": "83", "name": "value", "nameInRequest": "value", "type": { - "$id": "64", + "$id": "84", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "65", + "$id": "85", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -546,7 +708,7 @@ ], "responses": [ { - "$id": "66", + "$id": "86", "statusCodes": [ 204 ], @@ -565,16 +727,16 @@ }, "parameters": [ { - "$id": "67", + "$id": "87", "name": "value", "nameInRequest": "value", "type": { - "$id": "68", + "$id": "88", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "69", + "$id": "89", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -595,7 +757,7 @@ } ], "response": { - "$id": "70" + "$id": "90" }, "isOverride": false, "generateConvenient": true, @@ -603,28 +765,28 @@ "crossLanguageDefinitionId": "Encode.Datetime.Query.rfc7231" }, { - "$id": "71", + "$id": "91", "kind": "basic", "name": "unixTimestamp", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "72", + "$id": "92", "name": "unixTimestamp", "resourceName": "Query", "accessibility": "public", "parameters": [ { - "$id": "73", + "$id": "93", "name": "value", "nameInRequest": "value", "type": { - "$id": "74", + "$id": "94", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "75", + "$id": "95", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -646,7 +808,7 @@ ], "responses": [ { - "$id": "76", + "$id": "96", "statusCodes": [ 204 ], @@ -665,16 +827,16 @@ }, "parameters": [ { - "$id": "77", + "$id": "97", "name": "value", "nameInRequest": "value", "type": { - "$id": "78", + "$id": "98", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "79", + "$id": "99", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -695,7 +857,7 @@ } ], "response": { - "$id": "80" + "$id": "100" }, "isOverride": false, "generateConvenient": true, @@ -703,23 +865,23 @@ "crossLanguageDefinitionId": "Encode.Datetime.Query.unixTimestamp" }, { - "$id": "81", + "$id": "101", "kind": "basic", "name": "unixTimestampArray", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "82", + "$id": "102", "name": "unixTimestampArray", "resourceName": "Query", "accessibility": "public", "parameters": [ { - "$id": "83", + "$id": "103", "name": "value", "nameInRequest": "value", "type": { - "$ref": "28" + "$ref": "48" }, "location": "Query", "isApiVersion": false, @@ -735,7 +897,7 @@ ], "responses": [ { - "$id": "84", + "$id": "104", "statusCodes": [ 204 ], @@ -754,11 +916,11 @@ }, "parameters": [ { - "$id": "85", + "$id": "105", "name": "value", "nameInRequest": "value", "type": { - "$ref": "28" + "$ref": "48" }, "location": "Query", "isApiVersion": false, @@ -772,7 +934,7 @@ } ], "response": { - "$id": "86" + "$id": "106" }, "isOverride": false, "generateConvenient": true, @@ -782,12 +944,12 @@ ], "parameters": [ { - "$id": "87", + "$id": "107", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "88", + "$id": "108", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -801,9 +963,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "89", + "$id": "109", "type": { - "$id": "90", + "$id": "110", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -816,47 +978,34 @@ "crossLanguageDefinitionId": "Encode.Datetime.Query", "apiVersions": [], "parent": { - "$ref": "35" + "$ref": "55" } }, { - "$id": "91", + "$id": "111", "kind": "client", "name": "Property", "namespace": "Encode.Datetime.Property", "methods": [ { - "$id": "92", + "$id": "112", "kind": "basic", "name": "default", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "93", + "$id": "113", "name": "default", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "94", + "$id": "114", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "95", - "kind": "constant", - "name": "defaultContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "96", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -869,24 +1018,11 @@ "skipUrlEncoding": false }, { - "$id": "97", + "$id": "115", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "98", - "kind": "constant", - "name": "defaultContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "99", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -899,11 +1035,11 @@ "skipUrlEncoding": false }, { - "$id": "100", + "$id": "116", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "22" }, "location": "Body", "isApiVersion": false, @@ -918,12 +1054,12 @@ ], "responses": [ { - "$id": "101", + "$id": "117", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "22" }, "headers": [], "isErrorResponse": false, @@ -946,11 +1082,11 @@ }, "parameters": [ { - "$id": "102", + "$id": "118", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "22" }, "location": "Body", "isApiVersion": false, @@ -963,12 +1099,12 @@ "skipUrlEncoding": false }, { - "$id": "103", + "$id": "119", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "95" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -981,11 +1117,11 @@ "skipUrlEncoding": false }, { - "$id": "104", + "$id": "120", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "98" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -999,9 +1135,9 @@ } ], "response": { - "$id": "105", + "$id": "121", "type": { - "$ref": "2" + "$ref": "22" } }, "isOverride": false, @@ -1010,37 +1146,24 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.default" }, { - "$id": "106", + "$id": "122", "kind": "basic", "name": "rfc3339", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "107", + "$id": "123", "name": "rfc3339", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "108", + "$id": "124", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "109", - "kind": "constant", - "name": "rfc3339ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "110", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -1053,24 +1176,11 @@ "skipUrlEncoding": false }, { - "$id": "111", + "$id": "125", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "112", - "kind": "constant", - "name": "rfc3339ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "113", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -1083,11 +1193,11 @@ "skipUrlEncoding": false }, { - "$id": "114", + "$id": "126", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "28" }, "location": "Body", "isApiVersion": false, @@ -1102,12 +1212,12 @@ ], "responses": [ { - "$id": "115", + "$id": "127", "statusCodes": [ 200 ], "bodyType": { - "$ref": "8" + "$ref": "28" }, "headers": [], "isErrorResponse": false, @@ -1130,11 +1240,11 @@ }, "parameters": [ { - "$id": "116", + "$id": "128", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "28" }, "location": "Body", "isApiVersion": false, @@ -1147,12 +1257,12 @@ "skipUrlEncoding": false }, { - "$id": "117", + "$id": "129", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "109" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -1165,11 +1275,11 @@ "skipUrlEncoding": false }, { - "$id": "118", + "$id": "130", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "112" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -1183,9 +1293,9 @@ } ], "response": { - "$id": "119", + "$id": "131", "type": { - "$ref": "8" + "$ref": "28" } }, "isOverride": false, @@ -1194,37 +1304,24 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.rfc3339" }, { - "$id": "120", + "$id": "132", "kind": "basic", "name": "rfc7231", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "121", + "$id": "133", "name": "rfc7231", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "122", + "$id": "134", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "123", - "kind": "constant", - "name": "rfc7231ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "124", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1237,24 +1334,11 @@ "skipUrlEncoding": false }, { - "$id": "125", + "$id": "135", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "126", - "kind": "constant", - "name": "rfc7231ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "127", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1267,11 +1351,11 @@ "skipUrlEncoding": false }, { - "$id": "128", + "$id": "136", "name": "body", "nameInRequest": "body", "type": { - "$ref": "14" + "$ref": "34" }, "location": "Body", "isApiVersion": false, @@ -1286,12 +1370,12 @@ ], "responses": [ { - "$id": "129", + "$id": "137", "statusCodes": [ 200 ], "bodyType": { - "$ref": "14" + "$ref": "34" }, "headers": [], "isErrorResponse": false, @@ -1314,11 +1398,11 @@ }, "parameters": [ { - "$id": "130", + "$id": "138", "name": "body", "nameInRequest": "body", "type": { - "$ref": "14" + "$ref": "34" }, "location": "Body", "isApiVersion": false, @@ -1331,12 +1415,12 @@ "skipUrlEncoding": false }, { - "$id": "131", + "$id": "139", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "123" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1349,11 +1433,11 @@ "skipUrlEncoding": false }, { - "$id": "132", + "$id": "140", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "126" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1367,9 +1451,9 @@ } ], "response": { - "$id": "133", + "$id": "141", "type": { - "$ref": "14" + "$ref": "34" } }, "isOverride": false, @@ -1378,37 +1462,24 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.rfc7231" }, { - "$id": "134", + "$id": "142", "kind": "basic", "name": "unixTimestamp", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "135", + "$id": "143", "name": "unixTimestamp", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "136", + "$id": "144", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "137", - "kind": "constant", - "name": "unixTimestampContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "138", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1421,24 +1492,11 @@ "skipUrlEncoding": false }, { - "$id": "139", + "$id": "145", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "140", - "kind": "constant", - "name": "unixTimestampContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "141", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1451,11 +1509,11 @@ "skipUrlEncoding": false }, { - "$id": "142", + "$id": "146", "name": "body", "nameInRequest": "body", "type": { - "$ref": "20" + "$ref": "40" }, "location": "Body", "isApiVersion": false, @@ -1470,12 +1528,12 @@ ], "responses": [ { - "$id": "143", + "$id": "147", "statusCodes": [ 200 ], "bodyType": { - "$ref": "20" + "$ref": "40" }, "headers": [], "isErrorResponse": false, @@ -1498,11 +1556,11 @@ }, "parameters": [ { - "$id": "144", + "$id": "148", "name": "body", "nameInRequest": "body", "type": { - "$ref": "20" + "$ref": "40" }, "location": "Body", "isApiVersion": false, @@ -1515,12 +1573,12 @@ "skipUrlEncoding": false }, { - "$id": "145", + "$id": "149", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "137" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1533,11 +1591,11 @@ "skipUrlEncoding": false }, { - "$id": "146", + "$id": "150", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "140" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1551,9 +1609,9 @@ } ], "response": { - "$id": "147", + "$id": "151", "type": { - "$ref": "20" + "$ref": "40" } }, "isOverride": false, @@ -1562,37 +1620,24 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.unixTimestamp" }, { - "$id": "148", + "$id": "152", "kind": "basic", "name": "unixTimestampArray", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "149", + "$id": "153", "name": "unixTimestampArray", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "150", + "$id": "154", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "151", - "kind": "constant", - "name": "unixTimestampArrayContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "152", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1605,24 +1650,11 @@ "skipUrlEncoding": false }, { - "$id": "153", + "$id": "155", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "154", - "kind": "constant", - "name": "unixTimestampArrayContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "155", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1639,7 +1671,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "26" + "$ref": "46" }, "location": "Body", "isApiVersion": false, @@ -1659,7 +1691,7 @@ 200 ], "bodyType": { - "$ref": "26" + "$ref": "46" }, "headers": [], "isErrorResponse": false, @@ -1686,7 +1718,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "26" + "$ref": "46" }, "location": "Body", "isApiVersion": false, @@ -1704,7 +1736,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "151" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1721,7 +1753,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "154" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1737,7 +1769,7 @@ "response": { "$id": "161", "type": { - "$ref": "26" + "$ref": "46" } }, "isOverride": false, @@ -1782,7 +1814,7 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property", "apiVersions": [], "parent": { - "$ref": "35" + "$ref": "55" } }, { @@ -2208,7 +2240,7 @@ "name": "value", "nameInRequest": "value", "type": { - "$ref": "28" + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -2247,7 +2279,7 @@ "name": "value", "nameInRequest": "value", "type": { - "$ref": "28" + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -2305,7 +2337,7 @@ "crossLanguageDefinitionId": "Encode.Datetime.Header", "apiVersions": [], "parent": { - "$ref": "35" + "$ref": "55" } }, { @@ -2595,7 +2627,7 @@ "crossLanguageDefinitionId": "Encode.Datetime.ResponseHeader", "apiVersions": [], "parent": { - "$ref": "35" + "$ref": "55" } } ] diff --git a/test/CadlRanchProjects/encode/duration/tspCodeModel.json b/test/CadlRanchProjects/encode/duration/tspCodeModel.json index 252e509682a..cd6ed6f9743 100644 --- a/test/CadlRanchProjects/encode/duration/tspCodeModel.json +++ b/test/CadlRanchProjects/encode/duration/tspCodeModel.json @@ -3,9 +3,203 @@ "name": "Encode.Duration", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "defaultContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "defaultContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "iso8601ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "iso8601ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "int32SecondsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "int32SecondsContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "floatSecondsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "floatSecondsContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "float64SecondsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "float64SecondsContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "floatSecondsArrayContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "floatSecondsArrayContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "26", "kind": "model", "name": "DefaultDurationProperty", "namespace": "Encode.Duration.Property", @@ -14,17 +208,17 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "27", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "4", + "$id": "28", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "5", + "$id": "29", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40,9 +234,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Duration.Property.DefaultDurationProperty.value", "serializationOptions": { - "$id": "6", + "$id": "30", "json": { - "$id": "7", + "$id": "31", "name": "value" } } @@ -50,7 +244,7 @@ ] }, { - "$id": "8", + "$id": "32", "kind": "model", "name": "ISO8601DurationProperty", "namespace": "Encode.Duration.Property", @@ -59,17 +253,17 @@ "decorators": [], "properties": [ { - "$id": "9", + "$id": "33", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "10", + "$id": "34", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "11", + "$id": "35", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85,9 +279,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Duration.Property.ISO8601DurationProperty.value", "serializationOptions": { - "$id": "12", + "$id": "36", "json": { - "$id": "13", + "$id": "37", "name": "value" } } @@ -95,7 +289,7 @@ ] }, { - "$id": "14", + "$id": "38", "kind": "model", "name": "Int32SecondsDurationProperty", "namespace": "Encode.Duration.Property", @@ -104,17 +298,17 @@ "decorators": [], "properties": [ { - "$id": "15", + "$id": "39", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "16", + "$id": "40", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "17", + "$id": "41", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -130,9 +324,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Duration.Property.Int32SecondsDurationProperty.value", "serializationOptions": { - "$id": "18", + "$id": "42", "json": { - "$id": "19", + "$id": "43", "name": "value" } } @@ -140,7 +334,7 @@ ] }, { - "$id": "20", + "$id": "44", "kind": "model", "name": "FloatSecondsDurationProperty", "namespace": "Encode.Duration.Property", @@ -149,17 +343,17 @@ "decorators": [], "properties": [ { - "$id": "21", + "$id": "45", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "22", + "$id": "46", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "23", + "$id": "47", "kind": "float", "name": "float", "crossLanguageDefinitionId": "TypeSpec.float", @@ -175,9 +369,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Duration.Property.FloatSecondsDurationProperty.value", "serializationOptions": { - "$id": "24", + "$id": "48", "json": { - "$id": "25", + "$id": "49", "name": "value" } } @@ -185,7 +379,7 @@ ] }, { - "$id": "26", + "$id": "50", "kind": "model", "name": "Float64SecondsDurationProperty", "namespace": "Encode.Duration.Property", @@ -194,17 +388,17 @@ "decorators": [], "properties": [ { - "$id": "27", + "$id": "51", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "28", + "$id": "52", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "29", + "$id": "53", "kind": "float64", "name": "float64", "crossLanguageDefinitionId": "TypeSpec.float64", @@ -220,9 +414,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Duration.Property.Float64SecondsDurationProperty.value", "serializationOptions": { - "$id": "30", + "$id": "54", "json": { - "$id": "31", + "$id": "55", "name": "value" } } @@ -230,7 +424,7 @@ ] }, { - "$id": "32", + "$id": "56", "kind": "model", "name": "FloatSecondsDurationArrayProperty", "namespace": "Encode.Duration.Property", @@ -239,21 +433,21 @@ "decorators": [], "properties": [ { - "$id": "33", + "$id": "57", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "34", + "$id": "58", "kind": "array", "name": "Array1", "valueType": { - "$id": "35", + "$id": "59", "kind": "duration", "name": "Float32Duration", "encode": "seconds", "wireType": { - "$id": "36", + "$id": "60", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -261,12 +455,12 @@ }, "crossLanguageDefinitionId": "Encode.Duration.Property.Float32Duration", "baseType": { - "$id": "37", + "$id": "61", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "38", + "$id": "62", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -287,9 +481,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Duration.Property.FloatSecondsDurationArrayProperty.value", "serializationOptions": { - "$id": "39", + "$id": "63", "json": { - "$id": "40", + "$id": "64", "name": "value" } } @@ -299,7 +493,7 @@ ], "clients": [ { - "$id": "41", + "$id": "65", "kind": "client", "name": "DurationClient", "namespace": "Encode.Duration", @@ -307,12 +501,12 @@ "methods": [], "parameters": [ { - "$id": "42", + "$id": "66", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "43", + "$id": "67", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -326,9 +520,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "44", + "$id": "68", "type": { - "$id": "45", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -342,34 +536,34 @@ "apiVersions": [], "children": [ { - "$id": "46", + "$id": "70", "kind": "client", "name": "Query", "namespace": "Encode.Duration.Query", "methods": [ { - "$id": "47", + "$id": "71", "kind": "basic", "name": "default", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "48", + "$id": "72", "name": "default", "resourceName": "Query", "accessibility": "public", "parameters": [ { - "$id": "49", + "$id": "73", "name": "input", "nameInRequest": "input", "type": { - "$id": "50", + "$id": "74", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "51", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -391,7 +585,7 @@ ], "responses": [ { - "$id": "52", + "$id": "76", "statusCodes": [ 204 ], @@ -410,16 +604,16 @@ }, "parameters": [ { - "$id": "53", + "$id": "77", "name": "input", "nameInRequest": "input", "type": { - "$id": "54", + "$id": "78", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "55", + "$id": "79", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -440,7 +634,7 @@ } ], "response": { - "$id": "56" + "$id": "80" }, "isOverride": false, "generateConvenient": true, @@ -448,28 +642,28 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.default" }, { - "$id": "57", + "$id": "81", "kind": "basic", "name": "iso8601", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "58", + "$id": "82", "name": "iso8601", "resourceName": "Query", "accessibility": "public", "parameters": [ { - "$id": "59", + "$id": "83", "name": "input", "nameInRequest": "input", "type": { - "$id": "60", + "$id": "84", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "61", + "$id": "85", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -491,7 +685,7 @@ ], "responses": [ { - "$id": "62", + "$id": "86", "statusCodes": [ 204 ], @@ -510,16 +704,16 @@ }, "parameters": [ { - "$id": "63", + "$id": "87", "name": "input", "nameInRequest": "input", "type": { - "$id": "64", + "$id": "88", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "65", + "$id": "89", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -540,7 +734,7 @@ } ], "response": { - "$id": "66" + "$id": "90" }, "isOverride": false, "generateConvenient": true, @@ -548,28 +742,28 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.iso8601" }, { - "$id": "67", + "$id": "91", "kind": "basic", "name": "int32Seconds", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "68", + "$id": "92", "name": "int32Seconds", "resourceName": "Query", "accessibility": "public", "parameters": [ { - "$id": "69", + "$id": "93", "name": "input", "nameInRequest": "input", "type": { - "$id": "70", + "$id": "94", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "71", + "$id": "95", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -591,7 +785,7 @@ ], "responses": [ { - "$id": "72", + "$id": "96", "statusCodes": [ 204 ], @@ -610,16 +804,16 @@ }, "parameters": [ { - "$id": "73", + "$id": "97", "name": "input", "nameInRequest": "input", "type": { - "$id": "74", + "$id": "98", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "75", + "$id": "99", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -640,7 +834,7 @@ } ], "response": { - "$id": "76" + "$id": "100" }, "isOverride": false, "generateConvenient": true, @@ -648,28 +842,28 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.int32Seconds" }, { - "$id": "77", + "$id": "101", "kind": "basic", "name": "floatSeconds", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "78", + "$id": "102", "name": "floatSeconds", "resourceName": "Query", "accessibility": "public", "parameters": [ { - "$id": "79", + "$id": "103", "name": "input", "nameInRequest": "input", "type": { - "$id": "80", + "$id": "104", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "81", + "$id": "105", "kind": "float", "name": "float", "crossLanguageDefinitionId": "TypeSpec.float", @@ -691,7 +885,7 @@ ], "responses": [ { - "$id": "82", + "$id": "106", "statusCodes": [ 204 ], @@ -710,16 +904,16 @@ }, "parameters": [ { - "$id": "83", + "$id": "107", "name": "input", "nameInRequest": "input", "type": { - "$id": "84", + "$id": "108", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "85", + "$id": "109", "kind": "float", "name": "float", "crossLanguageDefinitionId": "TypeSpec.float", @@ -740,7 +934,7 @@ } ], "response": { - "$id": "86" + "$id": "110" }, "isOverride": false, "generateConvenient": true, @@ -748,28 +942,28 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.floatSeconds" }, { - "$id": "87", + "$id": "111", "kind": "basic", "name": "float64Seconds", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "88", + "$id": "112", "name": "float64Seconds", "resourceName": "Query", "accessibility": "public", "parameters": [ { - "$id": "89", + "$id": "113", "name": "input", "nameInRequest": "input", "type": { - "$id": "90", + "$id": "114", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "91", + "$id": "115", "kind": "float64", "name": "float64", "crossLanguageDefinitionId": "TypeSpec.float64", @@ -791,7 +985,7 @@ ], "responses": [ { - "$id": "92", + "$id": "116", "statusCodes": [ 204 ], @@ -810,16 +1004,16 @@ }, "parameters": [ { - "$id": "93", + "$id": "117", "name": "input", "nameInRequest": "input", "type": { - "$id": "94", + "$id": "118", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "95", + "$id": "119", "kind": "float64", "name": "float64", "crossLanguageDefinitionId": "TypeSpec.float64", @@ -840,7 +1034,7 @@ } ], "response": { - "$id": "96" + "$id": "120" }, "isOverride": false, "generateConvenient": true, @@ -848,32 +1042,32 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.float64Seconds" }, { - "$id": "97", + "$id": "121", "kind": "basic", "name": "int32SecondsArray", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "98", + "$id": "122", "name": "int32SecondsArray", "resourceName": "Query", "accessibility": "public", "parameters": [ { - "$id": "99", + "$id": "123", "name": "input", "nameInRequest": "input", "type": { - "$id": "100", + "$id": "124", "kind": "array", "name": "Array", "valueType": { - "$id": "101", + "$id": "125", "kind": "duration", "name": "Int32Duration", "encode": "seconds", "wireType": { - "$id": "102", + "$id": "126", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -881,12 +1075,12 @@ }, "crossLanguageDefinitionId": "Encode.Duration.Query.Int32Duration", "baseType": { - "$id": "103", + "$id": "127", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "104", + "$id": "128", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -914,7 +1108,7 @@ ], "responses": [ { - "$id": "105", + "$id": "129", "statusCodes": [ 204 ], @@ -933,11 +1127,11 @@ }, "parameters": [ { - "$id": "106", + "$id": "130", "name": "input", "nameInRequest": "input", "type": { - "$ref": "100" + "$ref": "124" }, "location": "Query", "isApiVersion": false, @@ -951,7 +1145,7 @@ } ], "response": { - "$id": "107" + "$id": "131" }, "isOverride": false, "generateConvenient": true, @@ -961,12 +1155,12 @@ ], "parameters": [ { - "$id": "108", + "$id": "132", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "109", + "$id": "133", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -980,9 +1174,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "110", + "$id": "134", "type": { - "$id": "111", + "$id": "135", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -995,47 +1189,34 @@ "crossLanguageDefinitionId": "Encode.Duration.Query", "apiVersions": [], "parent": { - "$ref": "41" + "$ref": "65" } }, { - "$id": "112", + "$id": "136", "kind": "client", "name": "Property", "namespace": "Encode.Duration.Property", "methods": [ { - "$id": "113", + "$id": "137", "kind": "basic", "name": "default", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "114", + "$id": "138", "name": "default", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "115", + "$id": "139", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "116", - "kind": "constant", - "name": "defaultContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "117", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -1048,24 +1229,11 @@ "skipUrlEncoding": false }, { - "$id": "118", + "$id": "140", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "119", - "kind": "constant", - "name": "defaultContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "120", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -1078,11 +1246,11 @@ "skipUrlEncoding": false }, { - "$id": "121", + "$id": "141", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -1097,12 +1265,12 @@ ], "responses": [ { - "$id": "122", + "$id": "142", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -1125,11 +1293,11 @@ }, "parameters": [ { - "$id": "123", + "$id": "143", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -1142,12 +1310,12 @@ "skipUrlEncoding": false }, { - "$id": "124", + "$id": "144", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "116" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -1160,11 +1328,11 @@ "skipUrlEncoding": false }, { - "$id": "125", + "$id": "145", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "119" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -1178,9 +1346,9 @@ } ], "response": { - "$id": "126", + "$id": "146", "type": { - "$ref": "2" + "$ref": "26" } }, "isOverride": false, @@ -1189,37 +1357,24 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.default" }, { - "$id": "127", + "$id": "147", "kind": "basic", "name": "iso8601", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "128", + "$id": "148", "name": "iso8601", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "129", + "$id": "149", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "130", - "kind": "constant", - "name": "iso8601ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "131", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -1232,24 +1387,11 @@ "skipUrlEncoding": false }, { - "$id": "132", + "$id": "150", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "133", - "kind": "constant", - "name": "iso8601ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "134", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -1262,11 +1404,11 @@ "skipUrlEncoding": false }, { - "$id": "135", + "$id": "151", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "32" }, "location": "Body", "isApiVersion": false, @@ -1281,12 +1423,12 @@ ], "responses": [ { - "$id": "136", + "$id": "152", "statusCodes": [ 200 ], "bodyType": { - "$ref": "8" + "$ref": "32" }, "headers": [], "isErrorResponse": false, @@ -1309,11 +1451,11 @@ }, "parameters": [ { - "$id": "137", + "$id": "153", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "32" }, "location": "Body", "isApiVersion": false, @@ -1326,12 +1468,12 @@ "skipUrlEncoding": false }, { - "$id": "138", + "$id": "154", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "130" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -1344,11 +1486,11 @@ "skipUrlEncoding": false }, { - "$id": "139", + "$id": "155", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "133" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -1362,9 +1504,9 @@ } ], "response": { - "$id": "140", + "$id": "156", "type": { - "$ref": "8" + "$ref": "32" } }, "isOverride": false, @@ -1373,37 +1515,24 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.iso8601" }, { - "$id": "141", + "$id": "157", "kind": "basic", "name": "int32Seconds", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "142", + "$id": "158", "name": "int32Seconds", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "143", + "$id": "159", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "144", - "kind": "constant", - "name": "int32SecondsContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "145", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1416,24 +1545,11 @@ "skipUrlEncoding": false }, { - "$id": "146", + "$id": "160", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "147", - "kind": "constant", - "name": "int32SecondsContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "148", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1446,11 +1562,11 @@ "skipUrlEncoding": false }, { - "$id": "149", + "$id": "161", "name": "body", "nameInRequest": "body", "type": { - "$ref": "14" + "$ref": "38" }, "location": "Body", "isApiVersion": false, @@ -1465,12 +1581,12 @@ ], "responses": [ { - "$id": "150", + "$id": "162", "statusCodes": [ 200 ], "bodyType": { - "$ref": "14" + "$ref": "38" }, "headers": [], "isErrorResponse": false, @@ -1493,11 +1609,11 @@ }, "parameters": [ { - "$id": "151", + "$id": "163", "name": "body", "nameInRequest": "body", "type": { - "$ref": "14" + "$ref": "38" }, "location": "Body", "isApiVersion": false, @@ -1510,12 +1626,12 @@ "skipUrlEncoding": false }, { - "$id": "152", + "$id": "164", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "144" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1528,11 +1644,11 @@ "skipUrlEncoding": false }, { - "$id": "153", + "$id": "165", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "147" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1546,9 +1662,9 @@ } ], "response": { - "$id": "154", + "$id": "166", "type": { - "$ref": "14" + "$ref": "38" } }, "isOverride": false, @@ -1557,37 +1673,24 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.int32Seconds" }, { - "$id": "155", + "$id": "167", "kind": "basic", "name": "floatSeconds", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "156", + "$id": "168", "name": "floatSeconds", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "157", + "$id": "169", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "158", - "kind": "constant", - "name": "floatSecondsContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "159", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1600,24 +1703,11 @@ "skipUrlEncoding": false }, { - "$id": "160", + "$id": "170", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "161", - "kind": "constant", - "name": "floatSecondsContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "162", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1630,11 +1720,11 @@ "skipUrlEncoding": false }, { - "$id": "163", + "$id": "171", "name": "body", "nameInRequest": "body", "type": { - "$ref": "20" + "$ref": "44" }, "location": "Body", "isApiVersion": false, @@ -1649,12 +1739,12 @@ ], "responses": [ { - "$id": "164", + "$id": "172", "statusCodes": [ 200 ], "bodyType": { - "$ref": "20" + "$ref": "44" }, "headers": [], "isErrorResponse": false, @@ -1677,11 +1767,11 @@ }, "parameters": [ { - "$id": "165", + "$id": "173", "name": "body", "nameInRequest": "body", "type": { - "$ref": "20" + "$ref": "44" }, "location": "Body", "isApiVersion": false, @@ -1694,12 +1784,12 @@ "skipUrlEncoding": false }, { - "$id": "166", + "$id": "174", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "158" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1712,11 +1802,11 @@ "skipUrlEncoding": false }, { - "$id": "167", + "$id": "175", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "161" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1730,9 +1820,9 @@ } ], "response": { - "$id": "168", + "$id": "176", "type": { - "$ref": "20" + "$ref": "44" } }, "isOverride": false, @@ -1741,37 +1831,24 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatSeconds" }, { - "$id": "169", + "$id": "177", "kind": "basic", "name": "float64Seconds", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "170", + "$id": "178", "name": "float64Seconds", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "171", + "$id": "179", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "172", - "kind": "constant", - "name": "float64SecondsContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "173", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1784,24 +1861,11 @@ "skipUrlEncoding": false }, { - "$id": "174", + "$id": "180", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "175", - "kind": "constant", - "name": "float64SecondsContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "176", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1814,11 +1878,11 @@ "skipUrlEncoding": false }, { - "$id": "177", + "$id": "181", "name": "body", "nameInRequest": "body", "type": { - "$ref": "26" + "$ref": "50" }, "location": "Body", "isApiVersion": false, @@ -1833,12 +1897,12 @@ ], "responses": [ { - "$id": "178", + "$id": "182", "statusCodes": [ 200 ], "bodyType": { - "$ref": "26" + "$ref": "50" }, "headers": [], "isErrorResponse": false, @@ -1861,11 +1925,11 @@ }, "parameters": [ { - "$id": "179", + "$id": "183", "name": "body", "nameInRequest": "body", "type": { - "$ref": "26" + "$ref": "50" }, "location": "Body", "isApiVersion": false, @@ -1878,12 +1942,12 @@ "skipUrlEncoding": false }, { - "$id": "180", + "$id": "184", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "172" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1896,11 +1960,11 @@ "skipUrlEncoding": false }, { - "$id": "181", + "$id": "185", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "175" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1914,9 +1978,9 @@ } ], "response": { - "$id": "182", + "$id": "186", "type": { - "$ref": "26" + "$ref": "50" } }, "isOverride": false, @@ -1925,37 +1989,24 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.float64Seconds" }, { - "$id": "183", + "$id": "187", "kind": "basic", "name": "floatSecondsArray", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "184", + "$id": "188", "name": "floatSecondsArray", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "185", + "$id": "189", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "186", - "kind": "constant", - "name": "floatSecondsArrayContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "187", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1968,24 +2019,11 @@ "skipUrlEncoding": false }, { - "$id": "188", + "$id": "190", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "189", - "kind": "constant", - "name": "floatSecondsArrayContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "190", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -2002,7 +2040,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "32" + "$ref": "56" }, "location": "Body", "isApiVersion": false, @@ -2022,7 +2060,7 @@ 200 ], "bodyType": { - "$ref": "32" + "$ref": "56" }, "headers": [], "isErrorResponse": false, @@ -2049,7 +2087,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "32" + "$ref": "56" }, "location": "Body", "isApiVersion": false, @@ -2067,7 +2105,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "186" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -2084,7 +2122,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "189" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -2100,7 +2138,7 @@ "response": { "$id": "196", "type": { - "$ref": "32" + "$ref": "56" } }, "isOverride": false, @@ -2145,7 +2183,7 @@ "crossLanguageDefinitionId": "Encode.Duration.Property", "apiVersions": [], "parent": { - "$ref": "41" + "$ref": "65" } }, { @@ -2802,7 +2840,7 @@ "crossLanguageDefinitionId": "Encode.Duration.Header", "apiVersions": [], "parent": { - "$ref": "41" + "$ref": "65" } } ] diff --git a/test/CadlRanchProjects/encode/numeric/tspCodeModel.json b/test/CadlRanchProjects/encode/numeric/tspCodeModel.json index eedd0c0aa30..8fb79bb7ac7 100644 --- a/test/CadlRanchProjects/encode/numeric/tspCodeModel.json +++ b/test/CadlRanchProjects/encode/numeric/tspCodeModel.json @@ -3,9 +3,107 @@ "name": "Encode.Numeric", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "safeintAsStringContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "safeintAsStringContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "uint32AsStringOptionalContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "uint32AsStringOptionalContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "uint8AsStringContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "uint8AsStringContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "14", "kind": "model", "name": "SafeintAsStringProperty", "namespace": "Encode.Numeric.Property", @@ -14,12 +112,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "15", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "4", + "$id": "16", "kind": "safeint", "name": "safeint", "encode": "string", @@ -33,9 +131,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Numeric.Property.SafeintAsStringProperty.value", "serializationOptions": { - "$id": "5", + "$id": "17", "json": { - "$id": "6", + "$id": "18", "name": "value" } } @@ -43,7 +141,7 @@ ] }, { - "$id": "7", + "$id": "19", "kind": "model", "name": "Uint32AsStringProperty", "namespace": "Encode.Numeric.Property", @@ -52,12 +150,12 @@ "decorators": [], "properties": [ { - "$id": "8", + "$id": "20", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "9", + "$id": "21", "kind": "uint32", "name": "uint32", "encode": "string", @@ -71,9 +169,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Numeric.Property.Uint32AsStringProperty.value", "serializationOptions": { - "$id": "10", + "$id": "22", "json": { - "$id": "11", + "$id": "23", "name": "value" } } @@ -81,7 +179,7 @@ ] }, { - "$id": "12", + "$id": "24", "kind": "model", "name": "Uint8AsStringProperty", "namespace": "Encode.Numeric.Property", @@ -90,12 +188,12 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "25", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "14", + "$id": "26", "kind": "uint8", "name": "uint8", "encode": "string", @@ -109,9 +207,9 @@ "decorators": [], "crossLanguageDefinitionId": "Encode.Numeric.Property.Uint8AsStringProperty.value", "serializationOptions": { - "$id": "15", + "$id": "27", "json": { - "$id": "16", + "$id": "28", "name": "value" } } @@ -121,7 +219,7 @@ ], "clients": [ { - "$id": "17", + "$id": "29", "kind": "client", "name": "NumericClient", "namespace": "Encode.Numeric", @@ -129,12 +227,12 @@ "methods": [], "parameters": [ { - "$id": "18", + "$id": "30", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "19", + "$id": "31", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -148,9 +246,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "20", + "$id": "32", "type": { - "$id": "21", + "$id": "33", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -164,43 +262,30 @@ "apiVersions": [], "children": [ { - "$id": "22", + "$id": "34", "kind": "client", "name": "Property", "namespace": "Encode.Numeric.Property", "methods": [ { - "$id": "23", + "$id": "35", "kind": "basic", "name": "safeintAsString", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "24", + "$id": "36", "name": "safeintAsString", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "25", + "$id": "37", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "26", - "kind": "constant", - "name": "safeintAsStringContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "27", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -213,24 +298,11 @@ "skipUrlEncoding": false }, { - "$id": "28", + "$id": "38", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "29", - "kind": "constant", - "name": "safeintAsStringContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "30", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -243,11 +315,11 @@ "skipUrlEncoding": false }, { - "$id": "31", + "$id": "39", "name": "value", "nameInRequest": "value", "type": { - "$ref": "2" + "$ref": "14" }, "location": "Body", "isApiVersion": false, @@ -262,12 +334,12 @@ ], "responses": [ { - "$id": "32", + "$id": "40", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "14" }, "headers": [], "isErrorResponse": false, @@ -290,11 +362,11 @@ }, "parameters": [ { - "$id": "33", + "$id": "41", "name": "value", "nameInRequest": "value", "type": { - "$ref": "2" + "$ref": "14" }, "location": "Body", "isApiVersion": false, @@ -307,12 +379,12 @@ "skipUrlEncoding": false }, { - "$id": "34", + "$id": "42", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "26" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -325,11 +397,11 @@ "skipUrlEncoding": false }, { - "$id": "35", + "$id": "43", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "29" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -343,9 +415,9 @@ } ], "response": { - "$id": "36", + "$id": "44", "type": { - "$ref": "2" + "$ref": "14" } }, "isOverride": false, @@ -354,37 +426,24 @@ "crossLanguageDefinitionId": "Encode.Numeric.Property.safeintAsString" }, { - "$id": "37", + "$id": "45", "kind": "basic", "name": "uint32AsStringOptional", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "38", + "$id": "46", "name": "uint32AsStringOptional", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "39", + "$id": "47", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "40", - "kind": "constant", - "name": "uint32AsStringOptionalContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "41", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -397,24 +456,11 @@ "skipUrlEncoding": false }, { - "$id": "42", + "$id": "48", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "43", - "kind": "constant", - "name": "uint32AsStringOptionalContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "44", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -427,11 +473,11 @@ "skipUrlEncoding": false }, { - "$id": "45", + "$id": "49", "name": "value", "nameInRequest": "value", "type": { - "$ref": "7" + "$ref": "19" }, "location": "Body", "isApiVersion": false, @@ -446,12 +492,12 @@ ], "responses": [ { - "$id": "46", + "$id": "50", "statusCodes": [ 200 ], "bodyType": { - "$ref": "7" + "$ref": "19" }, "headers": [], "isErrorResponse": false, @@ -474,11 +520,11 @@ }, "parameters": [ { - "$id": "47", + "$id": "51", "name": "value", "nameInRequest": "value", "type": { - "$ref": "7" + "$ref": "19" }, "location": "Body", "isApiVersion": false, @@ -491,12 +537,12 @@ "skipUrlEncoding": false }, { - "$id": "48", + "$id": "52", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "40" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -509,11 +555,11 @@ "skipUrlEncoding": false }, { - "$id": "49", + "$id": "53", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "43" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -527,9 +573,9 @@ } ], "response": { - "$id": "50", + "$id": "54", "type": { - "$ref": "7" + "$ref": "19" } }, "isOverride": false, @@ -538,37 +584,24 @@ "crossLanguageDefinitionId": "Encode.Numeric.Property.uint32AsStringOptional" }, { - "$id": "51", + "$id": "55", "kind": "basic", "name": "uint8AsString", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "52", + "$id": "56", "name": "uint8AsString", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "53", + "$id": "57", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "54", - "kind": "constant", - "name": "uint8AsStringContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "55", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -581,24 +614,11 @@ "skipUrlEncoding": false }, { - "$id": "56", + "$id": "58", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "57", - "kind": "constant", - "name": "uint8AsStringContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "58", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -615,7 +635,7 @@ "name": "value", "nameInRequest": "value", "type": { - "$ref": "12" + "$ref": "24" }, "location": "Body", "isApiVersion": false, @@ -635,7 +655,7 @@ 200 ], "bodyType": { - "$ref": "12" + "$ref": "24" }, "headers": [], "isErrorResponse": false, @@ -662,7 +682,7 @@ "name": "value", "nameInRequest": "value", "type": { - "$ref": "12" + "$ref": "24" }, "location": "Body", "isApiVersion": false, @@ -680,7 +700,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "54" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -697,7 +717,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "57" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -713,7 +733,7 @@ "response": { "$id": "64", "type": { - "$ref": "12" + "$ref": "24" } }, "isOverride": false, @@ -758,7 +778,7 @@ "crossLanguageDefinitionId": "Encode.Numeric.Property", "apiVersions": [], "parent": { - "$ref": "17" + "$ref": "29" } } ] diff --git a/test/CadlRanchProjects/parameters/basic/tspCodeModel.json b/test/CadlRanchProjects/parameters/basic/tspCodeModel.json index 81e5cffadd0..dfac51f947c 100644 --- a/test/CadlRanchProjects/parameters/basic/tspCodeModel.json +++ b/test/CadlRanchProjects/parameters/basic/tspCodeModel.json @@ -3,9 +3,43 @@ "name": "Parameters.Basic", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "simpleContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "simpleContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "6", "kind": "model", "name": "User", "namespace": "Parameters.Basic.ExplicitBody", @@ -15,12 +49,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "7", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "4", + "$id": "8", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33,9 +67,9 @@ "decorators": [], "crossLanguageDefinitionId": "Parameters.Basic.ExplicitBody.User.name", "serializationOptions": { - "$id": "5", + "$id": "9", "json": { - "$id": "6", + "$id": "10", "name": "name" } } @@ -43,7 +77,7 @@ ] }, { - "$id": "7", + "$id": "11", "kind": "model", "name": "SimpleRequest", "namespace": "Parameters.Basic.ImplicitBody", @@ -52,12 +86,12 @@ "decorators": [], "properties": [ { - "$id": "8", + "$id": "12", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "9", + "$id": "13", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70,9 +104,9 @@ "decorators": [], "crossLanguageDefinitionId": "Parameters.Basic.ImplicitBody.simple.name", "serializationOptions": { - "$id": "10", + "$id": "14", "json": { - "$id": "11", + "$id": "15", "name": "name" } } @@ -82,7 +116,7 @@ ], "clients": [ { - "$id": "12", + "$id": "16", "kind": "client", "name": "BasicClient", "namespace": "Parameters.Basic", @@ -90,12 +124,12 @@ "methods": [], "parameters": [ { - "$id": "13", + "$id": "17", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "14", + "$id": "18", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -109,9 +143,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "15", + "$id": "19", "type": { - "$id": "16", + "$id": "20", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -125,43 +159,30 @@ "apiVersions": [], "children": [ { - "$id": "17", + "$id": "21", "kind": "client", "name": "ExplicitBody", "namespace": "Parameters.Basic.ExplicitBody", "methods": [ { - "$id": "18", + "$id": "22", "kind": "basic", "name": "simple", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "19", + "$id": "23", "name": "simple", "resourceName": "ExplicitBody", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "24", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "21", - "kind": "constant", - "name": "simpleContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -174,11 +195,11 @@ "skipUrlEncoding": false }, { - "$id": "23", + "$id": "25", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "6" }, "location": "Body", "isApiVersion": false, @@ -193,7 +214,7 @@ ], "responses": [ { - "$id": "24", + "$id": "26", "statusCodes": [ 204 ], @@ -215,11 +236,11 @@ }, "parameters": [ { - "$id": "25", + "$id": "27", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "6" }, "location": "Body", "isApiVersion": false, @@ -232,12 +253,12 @@ "skipUrlEncoding": false }, { - "$id": "26", + "$id": "28", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "21" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -251,7 +272,7 @@ } ], "response": { - "$id": "27" + "$id": "29" }, "isOverride": false, "generateConvenient": true, @@ -261,12 +282,12 @@ ], "parameters": [ { - "$id": "28", + "$id": "30", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "29", + "$id": "31", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -280,9 +301,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "30", + "$id": "32", "type": { - "$id": "31", + "$id": "33", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -295,47 +316,34 @@ "crossLanguageDefinitionId": "Parameters.Basic.ExplicitBody", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "16" } }, { - "$id": "32", + "$id": "34", "kind": "client", "name": "ImplicitBody", "namespace": "Parameters.Basic.ImplicitBody", "methods": [ { - "$id": "33", + "$id": "35", "kind": "basic", "name": "simple", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "34", + "$id": "36", "name": "simple", "resourceName": "ImplicitBody", "accessibility": "public", "parameters": [ { - "$id": "35", + "$id": "37", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "36", - "kind": "constant", - "name": "simpleContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "37", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -352,7 +360,7 @@ "name": "simpleRequest", "nameInRequest": "simpleRequest", "type": { - "$ref": "7" + "$ref": "11" }, "location": "Body", "isApiVersion": false, @@ -393,7 +401,7 @@ "name": "name", "nameInRequest": "name", "type": { - "$ref": "9" + "$ref": "13" }, "location": "Body", "isApiVersion": false, @@ -411,7 +419,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "36" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -469,7 +477,7 @@ "crossLanguageDefinitionId": "Parameters.Basic.ImplicitBody", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "16" } } ] diff --git a/test/CadlRanchProjects/parameters/body-optionality/tspCodeModel.json b/test/CadlRanchProjects/parameters/body-optionality/tspCodeModel.json index 3ab89cea178..e098ca9f18d 100644 --- a/test/CadlRanchProjects/parameters/body-optionality/tspCodeModel.json +++ b/test/CadlRanchProjects/parameters/body-optionality/tspCodeModel.json @@ -3,9 +3,75 @@ "name": "Parameters.BodyOptionality", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "requiredExplicitContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "requiredImplicitContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "setContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "omitContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "10", "kind": "model", "name": "BodyModel", "namespace": "Parameters.BodyOptionality", @@ -14,12 +80,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "11", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "4", + "$id": "12", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32,9 +98,9 @@ "decorators": [], "crossLanguageDefinitionId": "Parameters.BodyOptionality.BodyModel.name", "serializationOptions": { - "$id": "5", + "$id": "13", "json": { - "$id": "6", + "$id": "14", "name": "name" } } @@ -44,44 +110,31 @@ ], "clients": [ { - "$id": "7", + "$id": "15", "kind": "client", "name": "BodyOptionalityClient", "namespace": "Parameters.BodyOptionality", "doc": "Test describing optionality of the request body.", "methods": [ { - "$id": "8", + "$id": "16", "kind": "basic", "name": "requiredExplicit", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9", + "$id": "17", "name": "requiredExplicit", "resourceName": "BodyOptionality", "accessibility": "public", "parameters": [ { - "$id": "10", + "$id": "18", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "11", - "kind": "constant", - "name": "requiredExplicitContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "12", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -94,11 +147,11 @@ "skipUrlEncoding": false }, { - "$id": "13", + "$id": "19", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -113,7 +166,7 @@ ], "responses": [ { - "$id": "14", + "$id": "20", "statusCodes": [ 204 ], @@ -135,11 +188,11 @@ }, "parameters": [ { - "$id": "15", + "$id": "21", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -152,12 +205,12 @@ "skipUrlEncoding": false }, { - "$id": "16", + "$id": "22", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "11" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -171,7 +224,7 @@ } ], "response": { - "$id": "17" + "$id": "23" }, "isOverride": false, "generateConvenient": true, @@ -179,37 +232,24 @@ "crossLanguageDefinitionId": "Parameters.BodyOptionality.requiredExplicit" }, { - "$id": "18", + "$id": "24", "kind": "basic", "name": "requiredImplicit", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "19", + "$id": "25", "name": "requiredImplicit", "resourceName": "BodyOptionality", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "26", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "21", - "kind": "constant", - "name": "requiredImplicitContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -222,11 +262,11 @@ "skipUrlEncoding": false }, { - "$id": "23", + "$id": "27", "name": "bodyModel", "nameInRequest": "bodyModel", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -241,7 +281,7 @@ ], "responses": [ { - "$id": "24", + "$id": "28", "statusCodes": [ 204 ], @@ -263,11 +303,11 @@ }, "parameters": [ { - "$id": "25", + "$id": "29", "name": "name", "nameInRequest": "name", "type": { - "$id": "26", + "$id": "30", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -284,12 +324,12 @@ "skipUrlEncoding": false }, { - "$id": "27", + "$id": "31", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "21" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -303,7 +343,7 @@ } ], "response": { - "$id": "28" + "$id": "32" }, "isOverride": false, "generateConvenient": true, @@ -313,12 +353,12 @@ ], "parameters": [ { - "$id": "29", + "$id": "33", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "30", + "$id": "34", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -332,9 +372,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "31", + "$id": "35", "type": { - "$id": "32", + "$id": "36", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -348,43 +388,30 @@ "apiVersions": [], "children": [ { - "$id": "33", + "$id": "37", "kind": "client", "name": "OptionalExplicit", "namespace": "Parameters.BodyOptionality.OptionalExplicit", "methods": [ { - "$id": "34", + "$id": "38", "kind": "basic", "name": "set", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "35", + "$id": "39", "name": "set", "resourceName": "OptionalExplicit", "accessibility": "public", "parameters": [ { - "$id": "36", + "$id": "40", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "37", - "kind": "constant", - "name": "setContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "38", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -397,11 +424,11 @@ "skipUrlEncoding": false }, { - "$id": "39", + "$id": "41", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -416,7 +443,7 @@ ], "responses": [ { - "$id": "40", + "$id": "42", "statusCodes": [ 204 ], @@ -438,11 +465,11 @@ }, "parameters": [ { - "$id": "41", + "$id": "43", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -455,12 +482,12 @@ "skipUrlEncoding": false }, { - "$id": "42", + "$id": "44", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "37" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -474,7 +501,7 @@ } ], "response": { - "$id": "43" + "$id": "45" }, "isOverride": false, "generateConvenient": true, @@ -482,37 +509,24 @@ "crossLanguageDefinitionId": "Parameters.BodyOptionality.OptionalExplicit.set" }, { - "$id": "44", + "$id": "46", "kind": "basic", "name": "omit", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "45", + "$id": "47", "name": "omit", "resourceName": "OptionalExplicit", "accessibility": "public", "parameters": [ { - "$id": "46", + "$id": "48", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "47", - "kind": "constant", - "name": "omitContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "48", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -529,7 +543,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -570,7 +584,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -588,7 +602,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "47" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -646,7 +660,7 @@ "crossLanguageDefinitionId": "Parameters.BodyOptionality.OptionalExplicit", "apiVersions": [], "parent": { - "$ref": "7" + "$ref": "15" } } ] diff --git a/test/CadlRanchProjects/parameters/collection-format/tspCodeModel.json b/test/CadlRanchProjects/parameters/collection-format/tspCodeModel.json index 5685938787e..a98619dddc3 100644 --- a/test/CadlRanchProjects/parameters/collection-format/tspCodeModel.json +++ b/test/CadlRanchProjects/parameters/collection-format/tspCodeModel.json @@ -3,6 +3,7 @@ "name": "Parameters.CollectionFormat", "apiVersions": [], "enums": [], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/parameters/spread/tspCodeModel.json b/test/CadlRanchProjects/parameters/spread/tspCodeModel.json index 9b3ffe7a3b7..da2e041feda 100644 --- a/test/CadlRanchProjects/parameters/spread/tspCodeModel.json +++ b/test/CadlRanchProjects/parameters/spread/tspCodeModel.json @@ -3,9 +3,155 @@ "name": "Parameters.Spread", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "spreadAsRequestBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "spreadCompositeRequestOnlyWithBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "spreadCompositeRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "spreadCompositeRequestMixContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "spreadAsRequestBodyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "spreadParameterWithInnerModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "spreadAsRequestParameterContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "spreadWithMultipleParametersContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "spreadParameterWithInnerAliasContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "20", "kind": "model", "name": "BodyParameter", "namespace": "Parameters.Spread.Model", @@ -15,12 +161,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "21", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "4", + "$id": "22", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33,9 +179,9 @@ "decorators": [], "crossLanguageDefinitionId": "Parameters.Spread.Model.BodyParameter.name", "serializationOptions": { - "$id": "5", + "$id": "23", "json": { - "$id": "6", + "$id": "24", "name": "name" } } @@ -43,7 +189,7 @@ ] }, { - "$id": "7", + "$id": "25", "kind": "model", "name": "SpreadCompositeRequestMixRequest", "namespace": "", @@ -52,12 +198,12 @@ "decorators": [], "properties": [ { - "$id": "8", + "$id": "26", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "9", + "$id": "27", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70,9 +216,9 @@ "decorators": [], "crossLanguageDefinitionId": "spreadCompositeRequestMix.Request.anonymous.prop", "serializationOptions": { - "$id": "10", + "$id": "28", "json": { - "$id": "11", + "$id": "29", "name": "prop" } } @@ -80,7 +226,7 @@ ] }, { - "$id": "12", + "$id": "30", "kind": "model", "name": "SpreadAsRequestBodyRequest", "namespace": "Parameters.Spread.Alias", @@ -89,12 +235,12 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "31", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "14", + "$id": "32", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107,9 +253,9 @@ "decorators": [], "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadAsRequestBody.name", "serializationOptions": { - "$id": "15", + "$id": "33", "json": { - "$id": "16", + "$id": "34", "name": "name" } } @@ -117,7 +263,7 @@ ] }, { - "$id": "17", + "$id": "35", "kind": "model", "name": "SpreadParameterWithInnerModelRequest", "namespace": "", @@ -126,12 +272,12 @@ "decorators": [], "properties": [ { - "$id": "18", + "$id": "36", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "19", + "$id": "37", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -144,9 +290,9 @@ "decorators": [], "crossLanguageDefinitionId": "spreadParameterWithInnerModel.Request.anonymous.name", "serializationOptions": { - "$id": "20", + "$id": "38", "json": { - "$id": "21", + "$id": "39", "name": "name" } } @@ -154,7 +300,7 @@ ] }, { - "$id": "22", + "$id": "40", "kind": "model", "name": "SpreadAsRequestParameterRequest", "namespace": "", @@ -163,12 +309,12 @@ "decorators": [], "properties": [ { - "$id": "23", + "$id": "41", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "24", + "$id": "42", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -181,9 +327,9 @@ "decorators": [], "crossLanguageDefinitionId": "spreadAsRequestParameter.Request.anonymous.name", "serializationOptions": { - "$id": "25", + "$id": "43", "json": { - "$id": "26", + "$id": "44", "name": "name" } } @@ -191,7 +337,7 @@ ] }, { - "$id": "27", + "$id": "45", "kind": "model", "name": "SpreadWithMultipleParametersRequest", "namespace": "", @@ -200,13 +346,13 @@ "decorators": [], "properties": [ { - "$id": "28", + "$id": "46", "kind": "property", "name": "requiredString", "serializedName": "requiredString", "doc": "required string", "type": { - "$id": "29", + "$id": "47", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -219,21 +365,21 @@ "decorators": [], "crossLanguageDefinitionId": "spreadWithMultipleParameters.Request.anonymous.requiredString", "serializationOptions": { - "$id": "30", + "$id": "48", "json": { - "$id": "31", + "$id": "49", "name": "requiredString" } } }, { - "$id": "32", + "$id": "50", "kind": "property", "name": "optionalInt", "serializedName": "optionalInt", "doc": "optional int", "type": { - "$id": "33", + "$id": "51", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -246,25 +392,25 @@ "decorators": [], "crossLanguageDefinitionId": "spreadWithMultipleParameters.Request.anonymous.optionalInt", "serializationOptions": { - "$id": "34", + "$id": "52", "json": { - "$id": "35", + "$id": "53", "name": "optionalInt" } } }, { - "$id": "36", + "$id": "54", "kind": "property", "name": "requiredIntList", "serializedName": "requiredIntList", "doc": "required int", "type": { - "$id": "37", + "$id": "55", "kind": "array", "name": "Array", "valueType": { - "$id": "38", + "$id": "56", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -280,25 +426,25 @@ "decorators": [], "crossLanguageDefinitionId": "spreadWithMultipleParameters.Request.anonymous.requiredIntList", "serializationOptions": { - "$id": "39", + "$id": "57", "json": { - "$id": "40", + "$id": "58", "name": "requiredIntList" } } }, { - "$id": "41", + "$id": "59", "kind": "property", "name": "optionalStringList", "serializedName": "optionalStringList", "doc": "optional string", "type": { - "$id": "42", + "$id": "60", "kind": "array", "name": "Array1", "valueType": { - "$id": "43", + "$id": "61", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -314,9 +460,9 @@ "decorators": [], "crossLanguageDefinitionId": "spreadWithMultipleParameters.Request.anonymous.optionalStringList", "serializationOptions": { - "$id": "44", + "$id": "62", "json": { - "$id": "45", + "$id": "63", "name": "optionalStringList" } } @@ -324,7 +470,7 @@ ] }, { - "$id": "46", + "$id": "64", "kind": "model", "name": "SpreadParameterWithInnerAliasRequest", "namespace": "", @@ -333,13 +479,13 @@ "decorators": [], "properties": [ { - "$id": "47", + "$id": "65", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the Thing", "type": { - "$id": "48", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -352,21 +498,21 @@ "decorators": [], "crossLanguageDefinitionId": "spreadParameterWithInnerAlias.Request.anonymous.name", "serializationOptions": { - "$id": "49", + "$id": "67", "json": { - "$id": "50", + "$id": "68", "name": "name" } } }, { - "$id": "51", + "$id": "69", "kind": "property", "name": "age", "serializedName": "age", "doc": "age of the Thing", "type": { - "$id": "52", + "$id": "70", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -379,9 +525,9 @@ "decorators": [], "crossLanguageDefinitionId": "spreadParameterWithInnerAlias.Request.anonymous.age", "serializationOptions": { - "$id": "53", + "$id": "71", "json": { - "$id": "54", + "$id": "72", "name": "age" } } @@ -391,7 +537,7 @@ ], "clients": [ { - "$id": "55", + "$id": "73", "kind": "client", "name": "SpreadClient", "namespace": "Parameters.Spread", @@ -399,12 +545,12 @@ "methods": [], "parameters": [ { - "$id": "56", + "$id": "74", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "57", + "$id": "75", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -418,9 +564,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "58", + "$id": "76", "type": { - "$id": "59", + "$id": "77", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -434,43 +580,30 @@ "apiVersions": [], "children": [ { - "$id": "60", + "$id": "78", "kind": "client", "name": "Model", "namespace": "Parameters.Spread.Model", "methods": [ { - "$id": "61", + "$id": "79", "kind": "basic", "name": "spreadAsRequestBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "62", + "$id": "80", "name": "spreadAsRequestBody", "resourceName": "Model", "accessibility": "public", "parameters": [ { - "$id": "63", + "$id": "81", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "64", - "kind": "constant", - "name": "spreadAsRequestBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "65", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -483,11 +616,11 @@ "skipUrlEncoding": false }, { - "$id": "66", + "$id": "82", "name": "bodyParameter", "nameInRequest": "bodyParameter", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -502,7 +635,7 @@ ], "responses": [ { - "$id": "67", + "$id": "83", "statusCodes": [ 204 ], @@ -524,11 +657,11 @@ }, "parameters": [ { - "$id": "68", + "$id": "84", "name": "name", "nameInRequest": "name", "type": { - "$id": "69", + "$id": "85", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -545,12 +678,12 @@ "skipUrlEncoding": false }, { - "$id": "70", + "$id": "86", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "64" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -564,7 +697,7 @@ } ], "response": { - "$id": "71" + "$id": "87" }, "isOverride": false, "generateConvenient": true, @@ -572,37 +705,24 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadAsRequestBody" }, { - "$id": "72", + "$id": "88", "kind": "basic", "name": "spreadCompositeRequestOnlyWithBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "73", + "$id": "89", "name": "spreadCompositeRequestOnlyWithBody", "resourceName": "Model", "accessibility": "public", "parameters": [ { - "$id": "74", + "$id": "90", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "75", - "kind": "constant", - "name": "spreadCompositeRequestOnlyWithBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "76", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -615,11 +735,11 @@ "skipUrlEncoding": false }, { - "$id": "77", + "$id": "91", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -634,7 +754,7 @@ ], "responses": [ { - "$id": "78", + "$id": "92", "statusCodes": [ 204 ], @@ -656,11 +776,11 @@ }, "parameters": [ { - "$id": "79", + "$id": "93", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -673,12 +793,12 @@ "skipUrlEncoding": false }, { - "$id": "80", + "$id": "94", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "75" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -692,7 +812,7 @@ } ], "response": { - "$id": "81" + "$id": "95" }, "isOverride": false, "generateConvenient": true, @@ -700,23 +820,23 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequestOnlyWithBody" }, { - "$id": "82", + "$id": "96", "kind": "basic", "name": "spreadCompositeRequestWithoutBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "83", + "$id": "97", "name": "spreadCompositeRequestWithoutBody", "resourceName": "Model", "accessibility": "public", "parameters": [ { - "$id": "84", + "$id": "98", "name": "name", "nameInRequest": "name", "type": { - "$id": "85", + "$id": "99", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -733,11 +853,11 @@ "skipUrlEncoding": false }, { - "$id": "86", + "$id": "100", "name": "testHeader", "nameInRequest": "test-header", "type": { - "$id": "87", + "$id": "101", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -756,7 +876,7 @@ ], "responses": [ { - "$id": "88", + "$id": "102", "statusCodes": [ 204 ], @@ -775,11 +895,11 @@ }, "parameters": [ { - "$id": "89", + "$id": "103", "name": "name", "nameInRequest": "name", "type": { - "$id": "90", + "$id": "104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -796,11 +916,11 @@ "skipUrlEncoding": false }, { - "$id": "91", + "$id": "105", "name": "testHeader", "nameInRequest": "test-header", "type": { - "$id": "92", + "$id": "106", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -818,7 +938,7 @@ } ], "response": { - "$id": "93" + "$id": "107" }, "isOverride": false, "generateConvenient": true, @@ -826,23 +946,23 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequestWithoutBody" }, { - "$id": "94", + "$id": "108", "kind": "basic", "name": "spreadCompositeRequest", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "95", + "$id": "109", "name": "spreadCompositeRequest", "resourceName": "Model", "accessibility": "public", "parameters": [ { - "$id": "96", + "$id": "110", "name": "name", "nameInRequest": "name", "type": { - "$id": "97", + "$id": "111", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -859,11 +979,11 @@ "skipUrlEncoding": false }, { - "$id": "98", + "$id": "112", "name": "testHeader", "nameInRequest": "test-header", "type": { - "$id": "99", + "$id": "113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -880,25 +1000,12 @@ "skipUrlEncoding": false }, { - "$id": "100", + "$id": "114", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "101", - "kind": "constant", - "name": "spreadCompositeRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "102", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -911,11 +1018,11 @@ "skipUrlEncoding": false }, { - "$id": "103", + "$id": "115", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -930,7 +1037,7 @@ ], "responses": [ { - "$id": "104", + "$id": "116", "statusCodes": [ 204 ], @@ -952,11 +1059,11 @@ }, "parameters": [ { - "$id": "105", + "$id": "117", "name": "name", "nameInRequest": "name", "type": { - "$id": "106", + "$id": "118", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -973,11 +1080,11 @@ "skipUrlEncoding": false }, { - "$id": "107", + "$id": "119", "name": "testHeader", "nameInRequest": "test-header", "type": { - "$id": "108", + "$id": "120", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -994,11 +1101,11 @@ "skipUrlEncoding": false }, { - "$id": "109", + "$id": "121", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -1011,12 +1118,12 @@ "skipUrlEncoding": false }, { - "$id": "110", + "$id": "122", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "101" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -1030,7 +1137,7 @@ } ], "response": { - "$id": "111" + "$id": "123" }, "isOverride": false, "generateConvenient": true, @@ -1038,23 +1145,23 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequest" }, { - "$id": "112", + "$id": "124", "kind": "basic", "name": "spreadCompositeRequestMix", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "113", + "$id": "125", "name": "spreadCompositeRequestMix", "resourceName": "Model", "accessibility": "public", "parameters": [ { - "$id": "114", + "$id": "126", "name": "name", "nameInRequest": "name", "type": { - "$id": "115", + "$id": "127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1071,11 +1178,11 @@ "skipUrlEncoding": false }, { - "$id": "116", + "$id": "128", "name": "testHeader", "nameInRequest": "test-header", "type": { - "$id": "117", + "$id": "129", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1092,25 +1199,12 @@ "skipUrlEncoding": false }, { - "$id": "118", + "$id": "130", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "119", - "kind": "constant", - "name": "spreadCompositeRequestMixContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "120", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -1123,11 +1217,11 @@ "skipUrlEncoding": false }, { - "$id": "121", + "$id": "131", "name": "spreadCompositeRequestMixRequest", "nameInRequest": "spreadCompositeRequestMixRequest", "type": { - "$ref": "7" + "$ref": "25" }, "location": "Body", "isApiVersion": false, @@ -1142,7 +1236,7 @@ ], "responses": [ { - "$id": "122", + "$id": "132", "statusCodes": [ 204 ], @@ -1164,11 +1258,11 @@ }, "parameters": [ { - "$id": "123", + "$id": "133", "name": "name", "nameInRequest": "name", "type": { - "$id": "124", + "$id": "134", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1185,11 +1279,11 @@ "skipUrlEncoding": false }, { - "$id": "125", + "$id": "135", "name": "testHeader", "nameInRequest": "test-header", "type": { - "$id": "126", + "$id": "136", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1206,11 +1300,11 @@ "skipUrlEncoding": false }, { - "$id": "127", + "$id": "137", "name": "prop", "nameInRequest": "prop", "type": { - "$id": "128", + "$id": "138", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1227,12 +1321,12 @@ "skipUrlEncoding": false }, { - "$id": "129", + "$id": "139", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "119" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -1246,7 +1340,7 @@ } ], "response": { - "$id": "130" + "$id": "140" }, "isOverride": false, "generateConvenient": true, @@ -1256,12 +1350,12 @@ ], "parameters": [ { - "$id": "131", + "$id": "141", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "132", + "$id": "142", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1275,9 +1369,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "133", + "$id": "143", "type": { - "$id": "134", + "$id": "144", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1290,47 +1384,34 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model", "apiVersions": [], "parent": { - "$ref": "55" + "$ref": "73" } }, { - "$id": "135", + "$id": "145", "kind": "client", "name": "Alias", "namespace": "Parameters.Spread.Alias", "methods": [ { - "$id": "136", + "$id": "146", "kind": "basic", "name": "spreadAsRequestBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "137", + "$id": "147", "name": "spreadAsRequestBody", "resourceName": "Alias", "accessibility": "public", "parameters": [ { - "$id": "138", + "$id": "148", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "139", - "kind": "constant", - "name": "spreadAsRequestBodyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "140", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1343,11 +1424,11 @@ "skipUrlEncoding": false }, { - "$id": "141", + "$id": "149", "name": "spreadAsRequestBodyRequest", "nameInRequest": "spreadAsRequestBodyRequest", "type": { - "$ref": "12" + "$ref": "30" }, "location": "Body", "isApiVersion": false, @@ -1362,7 +1443,7 @@ ], "responses": [ { - "$id": "142", + "$id": "150", "statusCodes": [ 204 ], @@ -1384,11 +1465,11 @@ }, "parameters": [ { - "$id": "143", + "$id": "151", "name": "name", "nameInRequest": "name", "type": { - "$ref": "14" + "$ref": "32" }, "location": "Body", "isApiVersion": false, @@ -1401,12 +1482,12 @@ "skipUrlEncoding": false }, { - "$id": "144", + "$id": "152", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "139" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1420,7 +1501,7 @@ } ], "response": { - "$id": "145" + "$id": "153" }, "isOverride": false, "generateConvenient": true, @@ -1428,23 +1509,23 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadAsRequestBody" }, { - "$id": "146", + "$id": "154", "kind": "basic", "name": "spreadParameterWithInnerModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "147", + "$id": "155", "name": "spreadParameterWithInnerModel", "resourceName": "Alias", "accessibility": "public", "parameters": [ { - "$id": "148", + "$id": "156", "name": "id", "nameInRequest": "id", "type": { - "$id": "149", + "$id": "157", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1461,11 +1542,11 @@ "skipUrlEncoding": false }, { - "$id": "150", + "$id": "158", "name": "x-ms-test-header", "nameInRequest": "x-ms-test-header", "type": { - "$id": "151", + "$id": "159", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1482,25 +1563,12 @@ "skipUrlEncoding": false }, { - "$id": "152", + "$id": "160", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "153", - "kind": "constant", - "name": "spreadParameterWithInnerModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "154", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1513,11 +1581,11 @@ "skipUrlEncoding": false }, { - "$id": "155", + "$id": "161", "name": "spreadParameterWithInnerModelRequest", "nameInRequest": "spreadParameterWithInnerModelRequest", "type": { - "$ref": "17" + "$ref": "35" }, "location": "Body", "isApiVersion": false, @@ -1532,7 +1600,7 @@ ], "responses": [ { - "$id": "156", + "$id": "162", "statusCodes": [ 204 ], @@ -1554,11 +1622,11 @@ }, "parameters": [ { - "$id": "157", + "$id": "163", "name": "id", "nameInRequest": "id", "type": { - "$id": "158", + "$id": "164", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1575,11 +1643,11 @@ "skipUrlEncoding": false }, { - "$id": "159", + "$id": "165", "name": "name", "nameInRequest": "name", "type": { - "$id": "160", + "$id": "166", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1596,11 +1664,11 @@ "skipUrlEncoding": false }, { - "$id": "161", + "$id": "167", "name": "x-ms-test-header", "nameInRequest": "x-ms-test-header", "type": { - "$id": "162", + "$id": "168", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1617,12 +1685,12 @@ "skipUrlEncoding": false }, { - "$id": "163", + "$id": "169", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "153" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1636,7 +1704,7 @@ } ], "response": { - "$id": "164" + "$id": "170" }, "isOverride": false, "generateConvenient": true, @@ -1644,23 +1712,23 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadParameterWithInnerModel" }, { - "$id": "165", + "$id": "171", "kind": "basic", "name": "spreadAsRequestParameter", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "166", + "$id": "172", "name": "spreadAsRequestParameter", "resourceName": "Alias", "accessibility": "public", "parameters": [ { - "$id": "167", + "$id": "173", "name": "id", "nameInRequest": "id", "type": { - "$id": "168", + "$id": "174", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1677,11 +1745,11 @@ "skipUrlEncoding": false }, { - "$id": "169", + "$id": "175", "name": "x-ms-test-header", "nameInRequest": "x-ms-test-header", "type": { - "$id": "170", + "$id": "176", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1698,25 +1766,12 @@ "skipUrlEncoding": false }, { - "$id": "171", + "$id": "177", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "172", - "kind": "constant", - "name": "spreadAsRequestParameterContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "173", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1729,11 +1784,11 @@ "skipUrlEncoding": false }, { - "$id": "174", + "$id": "178", "name": "spreadAsRequestParameterRequest", "nameInRequest": "spreadAsRequestParameterRequest", "type": { - "$ref": "22" + "$ref": "40" }, "location": "Body", "isApiVersion": false, @@ -1748,7 +1803,7 @@ ], "responses": [ { - "$id": "175", + "$id": "179", "statusCodes": [ 204 ], @@ -1770,11 +1825,11 @@ }, "parameters": [ { - "$id": "176", + "$id": "180", "name": "id", "nameInRequest": "id", "type": { - "$id": "177", + "$id": "181", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1791,11 +1846,11 @@ "skipUrlEncoding": false }, { - "$id": "178", + "$id": "182", "name": "x-ms-test-header", "nameInRequest": "x-ms-test-header", "type": { - "$id": "179", + "$id": "183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1812,11 +1867,11 @@ "skipUrlEncoding": false }, { - "$id": "180", + "$id": "184", "name": "name", "nameInRequest": "name", "type": { - "$id": "181", + "$id": "185", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1833,12 +1888,12 @@ "skipUrlEncoding": false }, { - "$id": "182", + "$id": "186", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "172" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1852,7 +1907,7 @@ } ], "response": { - "$id": "183" + "$id": "187" }, "isOverride": false, "generateConvenient": true, @@ -1860,23 +1915,23 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadAsRequestParameter" }, { - "$id": "184", + "$id": "188", "kind": "basic", "name": "spreadWithMultipleParameters", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "185", + "$id": "189", "name": "spreadWithMultipleParameters", "resourceName": "Alias", "accessibility": "public", "parameters": [ { - "$id": "186", + "$id": "190", "name": "id", "nameInRequest": "id", "type": { - "$id": "187", + "$id": "191", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1893,11 +1948,11 @@ "skipUrlEncoding": false }, { - "$id": "188", + "$id": "192", "name": "x-ms-test-header", "nameInRequest": "x-ms-test-header", "type": { - "$id": "189", + "$id": "193", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1914,25 +1969,12 @@ "skipUrlEncoding": false }, { - "$id": "190", + "$id": "194", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "191", - "kind": "constant", - "name": "spreadWithMultipleParametersContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "192", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1945,11 +1987,11 @@ "skipUrlEncoding": false }, { - "$id": "193", + "$id": "195", "name": "spreadWithMultipleParametersRequest", "nameInRequest": "spreadWithMultipleParametersRequest", "type": { - "$ref": "27" + "$ref": "45" }, "location": "Body", "isApiVersion": false, @@ -1964,7 +2006,7 @@ ], "responses": [ { - "$id": "194", + "$id": "196", "statusCodes": [ 204 ], @@ -1986,11 +2028,11 @@ }, "parameters": [ { - "$id": "195", + "$id": "197", "name": "id", "nameInRequest": "id", "type": { - "$id": "196", + "$id": "198", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2007,11 +2049,11 @@ "skipUrlEncoding": false }, { - "$id": "197", + "$id": "199", "name": "x-ms-test-header", "nameInRequest": "x-ms-test-header", "type": { - "$id": "198", + "$id": "200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2028,12 +2070,12 @@ "skipUrlEncoding": false }, { - "$id": "199", + "$id": "201", "name": "requiredString", "nameInRequest": "requiredString", "doc": "required string", "type": { - "$id": "200", + "$id": "202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2050,12 +2092,12 @@ "skipUrlEncoding": false }, { - "$id": "201", + "$id": "203", "name": "optionalInt", "nameInRequest": "optionalInt", "doc": "optional int", "type": { - "$id": "202", + "$id": "204", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2072,12 +2114,12 @@ "skipUrlEncoding": false }, { - "$id": "203", + "$id": "205", "name": "requiredIntList", "nameInRequest": "requiredIntList", "doc": "required int", "type": { - "$ref": "37" + "$ref": "55" }, "location": "Body", "isApiVersion": false, @@ -2090,12 +2132,12 @@ "skipUrlEncoding": false }, { - "$id": "204", + "$id": "206", "name": "optionalStringList", "nameInRequest": "optionalStringList", "doc": "optional string", "type": { - "$ref": "42" + "$ref": "60" }, "location": "Body", "isApiVersion": false, @@ -2108,12 +2150,12 @@ "skipUrlEncoding": false }, { - "$id": "205", + "$id": "207", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "191" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -2127,7 +2169,7 @@ } ], "response": { - "$id": "206" + "$id": "208" }, "isOverride": false, "generateConvenient": true, @@ -2135,25 +2177,25 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadWithMultipleParameters" }, { - "$id": "207", + "$id": "209", "kind": "basic", "name": "spreadParameterWithInnerAlias", "accessibility": "public", "apiVersions": [], "doc": "spread an alias with contains another alias property as body.", "operation": { - "$id": "208", + "$id": "210", "name": "spreadParameterWithInnerAlias", "resourceName": "Alias", "doc": "spread an alias with contains another alias property as body.", "accessibility": "public", "parameters": [ { - "$id": "209", + "$id": "211", "name": "id", "nameInRequest": "id", "type": { - "$id": "210", + "$id": "212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2170,11 +2212,11 @@ "skipUrlEncoding": false }, { - "$id": "211", + "$id": "213", "name": "x-ms-test-header", "nameInRequest": "x-ms-test-header", "type": { - "$id": "212", + "$id": "214", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2191,25 +2233,12 @@ "skipUrlEncoding": false }, { - "$id": "213", + "$id": "215", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "214", - "kind": "constant", - "name": "spreadParameterWithInnerAliasContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "215", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -2226,7 +2255,7 @@ "name": "spreadParameterWithInnerAliasRequest", "nameInRequest": "spreadParameterWithInnerAliasRequest", "type": { - "$ref": "46" + "$ref": "64" }, "location": "Body", "isApiVersion": false, @@ -2354,7 +2383,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "214" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -2412,7 +2441,7 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias", "apiVersions": [], "parent": { - "$ref": "55" + "$ref": "73" } } ] diff --git a/test/CadlRanchProjects/payload/content-negotiation/tspCodeModel.json b/test/CadlRanchProjects/payload/content-negotiation/tspCodeModel.json index 88c0d600f08..af0057b3524 100644 --- a/test/CadlRanchProjects/payload/content-negotiation/tspCodeModel.json +++ b/test/CadlRanchProjects/payload/content-negotiation/tspCodeModel.json @@ -36,9 +36,215 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "5", + "kind": "constant", + "name": "PngImageAsJsonContentType", + "namespace": "Payload.ContentNegotiation.DifferentBody", + "usage": "Output,Json", + "valueType": { + "$ref": "2" + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "PngImageContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "PngImageContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "PngImageContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "JpegImageContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/jpeg", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "JpegImageContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/jpeg", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "JpegImageContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/jpeg", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "PngImageContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "PngImageContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "PngImageContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "PngImageAsJsonContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "PngImageAsJsonContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "PngImageAsJsonContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "30", "kind": "model", "name": "PngImageAsJson", "namespace": "Payload.ContentNegotiation.DifferentBody", @@ -47,21 +253,12 @@ "decorators": [], "properties": [ { - "$id": "6", + "$id": "31", "kind": "header", "name": "contentType", "serializedName": "content-type", "type": { - "$id": "7", - "kind": "constant", - "name": "PngImageAsJsonContentType", - "namespace": "Payload.ContentNegotiation.DifferentBody", - "usage": "Output,Json", - "valueType": { - "$ref": "2" - }, - "value": "application/json", - "decorators": [] + "$ref": "5" }, "optional": false, "readOnly": false, @@ -70,12 +267,12 @@ "correspondingMethodParams": [] }, { - "$id": "8", + "$id": "32", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "9", + "$id": "33", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -89,9 +286,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.ContentNegotiation.DifferentBody.PngImageAsJson.content", "serializationOptions": { - "$id": "10", + "$id": "34", "json": { - "$id": "11", + "$id": "35", "name": "content" } } @@ -101,7 +298,7 @@ ], "clients": [ { - "$id": "12", + "$id": "36", "kind": "client", "name": "ContentNegotiationClient", "namespace": "Payload.ContentNegotiation", @@ -109,12 +306,12 @@ "methods": [], "parameters": [ { - "$id": "13", + "$id": "37", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "14", + "$id": "38", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -128,9 +325,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "15", + "$id": "39", "type": { - "$id": "16", + "$id": "40", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -144,42 +341,29 @@ "apiVersions": [], "children": [ { - "$id": "17", + "$id": "41", "kind": "client", "name": "SameBody", "namespace": "Payload.ContentNegotiation.SameBody", "methods": [ { - "$id": "18", + "$id": "42", "kind": "basic", "name": "getAvatarAsPng", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "19", + "$id": "43", "name": "getAvatarAsPng", "resourceName": "SameBody", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "44", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "21", - "kind": "constant", - "name": "PngImageContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -194,12 +378,12 @@ ], "responses": [ { - "$id": "23", + "$id": "45", "statusCodes": [ 200 ], "bodyType": { - "$id": "24", + "$id": "46", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -207,24 +391,11 @@ }, "headers": [ { - "$id": "25", + "$id": "47", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "26", - "kind": "constant", - "name": "PngImageContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "27", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "8" } } ], @@ -245,24 +416,11 @@ }, "parameters": [ { - "$id": "28", + "$id": "48", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "29", - "kind": "constant", - "name": "PngImageContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "30", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -276,9 +434,9 @@ } ], "response": { - "$id": "31", + "$id": "49", "type": { - "$ref": "24" + "$ref": "46" } }, "isOverride": false, @@ -287,36 +445,23 @@ "crossLanguageDefinitionId": "Payload.ContentNegotiation.SameBody.getAvatarAsPng" }, { - "$id": "32", + "$id": "50", "kind": "basic", "name": "getAvatarAsJpeg", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "33", + "$id": "51", "name": "getAvatarAsJpeg", "resourceName": "SameBody", "accessibility": "public", "parameters": [ { - "$id": "34", + "$id": "52", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "35", - "kind": "constant", - "name": "JpegImageContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "36", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/jpeg", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -331,12 +476,12 @@ ], "responses": [ { - "$id": "37", + "$id": "53", "statusCodes": [ 200 ], "bodyType": { - "$id": "38", + "$id": "54", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -344,24 +489,11 @@ }, "headers": [ { - "$id": "39", + "$id": "55", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "40", - "kind": "constant", - "name": "JpegImageContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "41", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/jpeg", - "decorators": [] + "$ref": "14" } } ], @@ -382,24 +514,11 @@ }, "parameters": [ { - "$id": "42", + "$id": "56", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "43", - "kind": "constant", - "name": "JpegImageContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "44", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/jpeg", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -413,9 +532,9 @@ } ], "response": { - "$id": "45", + "$id": "57", "type": { - "$ref": "38" + "$ref": "54" } }, "isOverride": false, @@ -426,12 +545,12 @@ ], "parameters": [ { - "$id": "46", + "$id": "58", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "47", + "$id": "59", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -445,9 +564,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "48", + "$id": "60", "type": { - "$id": "49", + "$id": "61", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -460,46 +579,33 @@ "crossLanguageDefinitionId": "Payload.ContentNegotiation.SameBody", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "36" } }, { - "$id": "50", + "$id": "62", "kind": "client", "name": "DifferentBody", "namespace": "Payload.ContentNegotiation.DifferentBody", "methods": [ { - "$id": "51", + "$id": "63", "kind": "basic", "name": "getAvatarAsPng", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "52", + "$id": "64", "name": "getAvatarAsPng", "resourceName": "DifferentBody", "accessibility": "public", "parameters": [ { - "$id": "53", + "$id": "65", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "54", - "kind": "constant", - "name": "PngImageContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "55", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -514,12 +620,12 @@ ], "responses": [ { - "$id": "56", + "$id": "66", "statusCodes": [ 200 ], "bodyType": { - "$id": "57", + "$id": "67", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -527,24 +633,11 @@ }, "headers": [ { - "$id": "58", + "$id": "68", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "59", - "kind": "constant", - "name": "PngImageContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "60", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "20" } } ], @@ -565,24 +658,11 @@ }, "parameters": [ { - "$id": "61", + "$id": "69", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "62", - "kind": "constant", - "name": "PngImageContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "63", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -596,9 +676,9 @@ } ], "response": { - "$id": "64", + "$id": "70", "type": { - "$ref": "57" + "$ref": "67" } }, "isOverride": false, @@ -607,36 +687,23 @@ "crossLanguageDefinitionId": "Payload.ContentNegotiation.DifferentBody.getAvatarAsPng" }, { - "$id": "65", + "$id": "71", "kind": "basic", "name": "getAvatarAsJson", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "66", + "$id": "72", "name": "getAvatarAsJson", "resourceName": "DifferentBody", "accessibility": "public", "parameters": [ { - "$id": "67", + "$id": "73", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "68", - "kind": "constant", - "name": "PngImageAsJsonContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "69", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -651,33 +718,20 @@ ], "responses": [ { - "$id": "70", + "$id": "74", "statusCodes": [ 200 ], "bodyType": { - "$ref": "5" + "$ref": "30" }, "headers": [ { - "$id": "71", + "$id": "75", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "72", - "kind": "constant", - "name": "PngImageAsJsonContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "73", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" } } ], @@ -698,24 +752,11 @@ }, "parameters": [ { - "$id": "74", + "$id": "76", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "75", - "kind": "constant", - "name": "PngImageAsJsonContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "76", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -731,7 +772,7 @@ "response": { "$id": "77", "type": { - "$ref": "5" + "$ref": "30" } }, "isOverride": false, @@ -776,7 +817,7 @@ "crossLanguageDefinitionId": "Payload.ContentNegotiation.DifferentBody", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "36" } } ] diff --git a/test/CadlRanchProjects/payload/media-type/tspCodeModel.json b/test/CadlRanchProjects/payload/media-type/tspCodeModel.json index 76d62738d28..92a29b8d488 100644 --- a/test/CadlRanchProjects/payload/media-type/tspCodeModel.json +++ b/test/CadlRanchProjects/payload/media-type/tspCodeModel.json @@ -3,10 +3,140 @@ "name": "Payload.MediaType", "apiVersions": [], "enums": [], + "constants": [ + { + "$id": "2", + "kind": "constant", + "name": "SendAsTextRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "SendAsTextRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "getAsTextContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "SendAsTextRequestContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "SendAsJsonRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "SendAsJsonRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "getAsJsonContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "SendAsJsonRequestContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [], "clients": [ { - "$id": "2", + "$id": "18", "kind": "client", "name": "MediaTypeClient", "namespace": "Payload.MediaType", @@ -14,12 +144,12 @@ "methods": [], "parameters": [ { - "$id": "3", + "$id": "19", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "4", + "$id": "20", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -33,9 +163,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "5", + "$id": "21", "type": { - "$id": "6", + "$id": "22", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -49,42 +179,29 @@ "apiVersions": [], "children": [ { - "$id": "7", + "$id": "23", "kind": "client", "name": "StringBody", "namespace": "Payload.MediaType.StringBody", "methods": [ { - "$id": "8", + "$id": "24", "kind": "basic", "name": "sendAsText", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9", + "$id": "25", "name": "sendAsText", "resourceName": "StringBody", "accessibility": "public", "parameters": [ { - "$id": "10", + "$id": "26", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "11", - "kind": "constant", - "name": "SendAsTextRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "12", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -97,11 +214,11 @@ "skipUrlEncoding": false }, { - "$id": "13", + "$id": "27", "name": "text", "nameInRequest": "text", "type": { - "$id": "14", + "$id": "28", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120,7 +237,7 @@ ], "responses": [ { - "$id": "15", + "$id": "29", "statusCodes": [ 200 ], @@ -142,24 +259,11 @@ }, "parameters": [ { - "$id": "16", + "$id": "30", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "17", - "kind": "constant", - "name": "SendAsTextRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "18", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -172,11 +276,11 @@ "skipUrlEncoding": false }, { - "$id": "19", + "$id": "31", "name": "text", "nameInRequest": "text", "type": { - "$id": "20", + "$id": "32", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -194,7 +298,7 @@ } ], "response": { - "$id": "21" + "$id": "33" }, "isOverride": false, "generateConvenient": true, @@ -202,36 +306,23 @@ "crossLanguageDefinitionId": "Payload.MediaType.StringBody.sendAsText" }, { - "$id": "22", + "$id": "34", "kind": "basic", "name": "getAsText", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "23", + "$id": "35", "name": "getAsText", "resourceName": "StringBody", "accessibility": "public", "parameters": [ { - "$id": "24", + "$id": "36", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "25", - "kind": "constant", - "name": "getAsTextContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "26", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -246,12 +337,12 @@ ], "responses": [ { - "$id": "27", + "$id": "37", "statusCodes": [ 200 ], "bodyType": { - "$id": "28", + "$id": "38", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -259,24 +350,11 @@ }, "headers": [ { - "$id": "29", + "$id": "39", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "30", - "kind": "constant", - "name": "SendAsTextRequestContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "31", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "8" } } ], @@ -297,11 +375,11 @@ }, "parameters": [ { - "$id": "32", + "$id": "40", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "25" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -315,9 +393,9 @@ } ], "response": { - "$id": "33", + "$id": "41", "type": { - "$ref": "28" + "$ref": "38" } }, "isOverride": false, @@ -326,36 +404,23 @@ "crossLanguageDefinitionId": "Payload.MediaType.StringBody.getAsText" }, { - "$id": "34", + "$id": "42", "kind": "basic", "name": "sendAsJson", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "35", + "$id": "43", "name": "sendAsJson", "resourceName": "StringBody", "accessibility": "public", "parameters": [ { - "$id": "36", + "$id": "44", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "37", - "kind": "constant", - "name": "SendAsJsonRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "38", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -368,11 +433,11 @@ "skipUrlEncoding": false }, { - "$id": "39", + "$id": "45", "name": "text", "nameInRequest": "text", "type": { - "$id": "40", + "$id": "46", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -391,7 +456,7 @@ ], "responses": [ { - "$id": "41", + "$id": "47", "statusCodes": [ 200 ], @@ -413,24 +478,11 @@ }, "parameters": [ { - "$id": "42", + "$id": "48", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "43", - "kind": "constant", - "name": "SendAsJsonRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "44", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -443,11 +495,11 @@ "skipUrlEncoding": false }, { - "$id": "45", + "$id": "49", "name": "text", "nameInRequest": "text", "type": { - "$id": "46", + "$id": "50", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -465,7 +517,7 @@ } ], "response": { - "$id": "47" + "$id": "51" }, "isOverride": false, "generateConvenient": true, @@ -473,36 +525,23 @@ "crossLanguageDefinitionId": "Payload.MediaType.StringBody.sendAsJson" }, { - "$id": "48", + "$id": "52", "kind": "basic", "name": "getAsJson", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "49", + "$id": "53", "name": "getAsJson", "resourceName": "StringBody", "accessibility": "public", "parameters": [ { - "$id": "50", + "$id": "54", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "51", - "kind": "constant", - "name": "getAsJsonContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "52", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -517,12 +556,12 @@ ], "responses": [ { - "$id": "53", + "$id": "55", "statusCodes": [ 200 ], "bodyType": { - "$id": "54", + "$id": "56", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -530,24 +569,11 @@ }, "headers": [ { - "$id": "55", + "$id": "57", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "56", - "kind": "constant", - "name": "SendAsJsonRequestContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "57", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" } } ], @@ -572,7 +598,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "51" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -588,7 +614,7 @@ "response": { "$id": "59", "type": { - "$ref": "54" + "$ref": "56" } }, "isOverride": false, @@ -633,7 +659,7 @@ "crossLanguageDefinitionId": "Payload.MediaType.StringBody", "apiVersions": [], "parent": { - "$ref": "2" + "$ref": "18" } } ] diff --git a/test/CadlRanchProjects/payload/multipart/tspCodeModel.json b/test/CadlRanchProjects/payload/multipart/tspCodeModel.json index 6cd08da760a..f63457eb5ee 100644 --- a/test/CadlRanchProjects/payload/multipart/tspCodeModel.json +++ b/test/CadlRanchProjects/payload/multipart/tspCodeModel.json @@ -68,9 +68,419 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "8", + "kind": "constant", + "name": "FileSpecificContentTypeContentType", + "namespace": "Payload.MultiPart", + "usage": "Input", + "valueType": { + "$ref": "2" + }, + "value": "image/jpg", + "decorators": [] + }, + { + "$id": "9", + "kind": "constant", + "name": "FloatRequestTemperatureContentType", + "namespace": "Payload.MultiPart.FormData.HttpParts.NonString", + "usage": "Input", + "valueType": { + "$ref": "5" + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "BasicRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "BasicRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "BasicRequestContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "BasicRequestContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "BasicRequestContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "BasicRequestContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "BasicRequestContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "BasicRequestContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "BasicRequestContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "BasicRequestContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "BasicRequestContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "BasicRequestContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "BasicRequestContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "BasicRequestContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "BasicRequestContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "BasicRequestContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "BasicRequestContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "BasicRequestContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "BasicRequestContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "BasicRequestContentType19", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "BasicRequestContentType20", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "BasicRequestContentType21", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "BasicRequestContentType22", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "BasicRequestContentType23", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + } + ], + "models": [ + { + "$id": "58", "kind": "model", "name": "MultiPartRequest", "namespace": "Payload.MultiPart", @@ -79,12 +489,12 @@ "decorators": [], "properties": [ { - "$id": "9", + "$id": "59", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "10", + "$id": "60", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97,9 +507,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.MultiPartRequest.id", "serializationOptions": { - "$id": "11", + "$id": "61", "multipart": { - "$id": "12", + "$id": "62", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -110,12 +520,12 @@ } }, { - "$id": "13", + "$id": "63", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "14", + "$id": "64", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -129,9 +539,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.MultiPartRequest.profileImage", "serializationOptions": { - "$id": "15", + "$id": "65", "multipart": { - "$id": "16", + "$id": "66", "isFilePart": true, "isMulti": false, "defaultContentTypes": [ @@ -144,7 +554,7 @@ ] }, { - "$id": "17", + "$id": "67", "kind": "model", "name": "ComplexPartsRequest", "namespace": "Payload.MultiPart", @@ -153,12 +563,12 @@ "decorators": [], "properties": [ { - "$id": "18", + "$id": "68", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "19", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -171,9 +581,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexPartsRequest.id", "serializationOptions": { - "$id": "20", + "$id": "70", "multipart": { - "$id": "21", + "$id": "71", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -184,12 +594,12 @@ } }, { - "$id": "22", + "$id": "72", "kind": "property", "name": "address", "serializedName": "address", "type": { - "$id": "23", + "$id": "73", "kind": "model", "name": "Address", "namespace": "Payload.MultiPart", @@ -198,12 +608,12 @@ "decorators": [], "properties": [ { - "$id": "24", + "$id": "74", "kind": "property", "name": "city", "serializedName": "city", "type": { - "$id": "25", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -216,9 +626,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.Address.city", "serializationOptions": { - "$id": "26", + "$id": "76", "json": { - "$id": "27", + "$id": "77", "name": "city" } } @@ -232,9 +642,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexPartsRequest.address", "serializationOptions": { - "$id": "28", + "$id": "78", "multipart": { - "$id": "29", + "$id": "79", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -245,12 +655,12 @@ } }, { - "$id": "30", + "$id": "80", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "31", + "$id": "81", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -264,9 +674,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexPartsRequest.profileImage", "serializationOptions": { - "$id": "32", + "$id": "82", "multipart": { - "$id": "33", + "$id": "83", "isFilePart": true, "isMulti": false, "defaultContentTypes": [ @@ -277,16 +687,16 @@ } }, { - "$id": "34", + "$id": "84", "kind": "property", "name": "pictures", "serializedName": "pictures", "type": { - "$id": "35", + "$id": "85", "kind": "array", "name": "ArrayHttpPart", "valueType": { - "$id": "36", + "$id": "86", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -303,9 +713,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexPartsRequest.pictures", "serializationOptions": { - "$id": "37", + "$id": "87", "multipart": { - "$id": "38", + "$id": "88", "isFilePart": true, "isMulti": true, "defaultContentTypes": [ @@ -318,10 +728,10 @@ ] }, { - "$ref": "23" + "$ref": "73" }, { - "$id": "39", + "$id": "89", "kind": "model", "name": "JsonPartRequest", "namespace": "Payload.MultiPart", @@ -330,12 +740,12 @@ "decorators": [], "properties": [ { - "$id": "40", + "$id": "90", "kind": "property", "name": "address", "serializedName": "address", "type": { - "$ref": "23" + "$ref": "73" }, "optional": false, "readOnly": false, @@ -344,9 +754,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.JsonPartRequest.address", "serializationOptions": { - "$id": "41", + "$id": "91", "multipart": { - "$id": "42", + "$id": "92", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -357,12 +767,12 @@ } }, { - "$id": "43", + "$id": "93", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "44", + "$id": "94", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -376,9 +786,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.JsonPartRequest.profileImage", "serializationOptions": { - "$id": "45", + "$id": "95", "multipart": { - "$id": "46", + "$id": "96", "isFilePart": true, "isMulti": false, "defaultContentTypes": [ @@ -391,7 +801,7 @@ ] }, { - "$id": "47", + "$id": "97", "kind": "model", "name": "BinaryArrayPartsRequest", "namespace": "Payload.MultiPart", @@ -400,12 +810,12 @@ "decorators": [], "properties": [ { - "$id": "48", + "$id": "98", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "49", + "$id": "99", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -418,9 +828,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.BinaryArrayPartsRequest.id", "serializationOptions": { - "$id": "50", + "$id": "100", "multipart": { - "$id": "51", + "$id": "101", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -431,16 +841,16 @@ } }, { - "$id": "52", + "$id": "102", "kind": "property", "name": "pictures", "serializedName": "pictures", "type": { - "$id": "53", + "$id": "103", "kind": "array", "name": "ArrayHttpPart1", "valueType": { - "$id": "54", + "$id": "104", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -457,9 +867,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.BinaryArrayPartsRequest.pictures", "serializationOptions": { - "$id": "55", + "$id": "105", "multipart": { - "$id": "56", + "$id": "106", "isFilePart": true, "isMulti": true, "defaultContentTypes": [ @@ -472,7 +882,7 @@ ] }, { - "$id": "57", + "$id": "107", "kind": "model", "name": "MultiBinaryPartsRequest", "namespace": "Payload.MultiPart", @@ -481,12 +891,12 @@ "decorators": [], "properties": [ { - "$id": "58", + "$id": "108", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "59", + "$id": "109", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -500,9 +910,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.MultiBinaryPartsRequest.profileImage", "serializationOptions": { - "$id": "60", + "$id": "110", "multipart": { - "$id": "61", + "$id": "111", "isFilePart": true, "isMulti": false, "defaultContentTypes": [ @@ -513,12 +923,12 @@ } }, { - "$id": "62", + "$id": "112", "kind": "property", "name": "picture", "serializedName": "picture", "type": { - "$id": "63", + "$id": "113", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -532,9 +942,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.MultiBinaryPartsRequest.picture", "serializationOptions": { - "$id": "64", + "$id": "114", "multipart": { - "$id": "65", + "$id": "115", "isFilePart": true, "isMulti": false, "defaultContentTypes": [ @@ -547,7 +957,7 @@ ] }, { - "$id": "66", + "$id": "116", "kind": "model", "name": "AnonymousModelRequest", "namespace": "Payload.MultiPart.FormData", @@ -556,12 +966,12 @@ "decorators": [], "properties": [ { - "$id": "67", + "$id": "117", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "68", + "$id": "118", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -575,9 +985,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FormData.anonymousModel.Request.anonymous.profileImage", "serializationOptions": { - "$id": "69", + "$id": "119", "multipart": { - "$id": "70", + "$id": "120", "isFilePart": true, "isMulti": false, "defaultContentTypes": [ @@ -590,7 +1000,7 @@ ] }, { - "$id": "71", + "$id": "121", "kind": "model", "name": "ComplexHttpPartsModelRequest", "namespace": "Payload.MultiPart", @@ -599,12 +1009,12 @@ "decorators": [], "properties": [ { - "$id": "72", + "$id": "122", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "73", + "$id": "123", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -617,9 +1027,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexHttpPartsModelRequest.id", "serializationOptions": { - "$id": "74", + "$id": "124", "multipart": { - "$id": "75", + "$id": "125", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -630,12 +1040,12 @@ } }, { - "$id": "76", + "$id": "126", "kind": "property", "name": "address", "serializedName": "address", "type": { - "$ref": "23" + "$ref": "73" }, "optional": false, "readOnly": false, @@ -644,9 +1054,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexHttpPartsModelRequest.address", "serializationOptions": { - "$id": "77", + "$id": "127", "multipart": { - "$id": "78", + "$id": "128", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -657,12 +1067,12 @@ } }, { - "$id": "79", + "$id": "129", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "80", + "$id": "130", "kind": "model", "name": "FileRequiredMetaData", "namespace": "Payload.MultiPart", @@ -670,7 +1080,7 @@ "usage": "Input", "decorators": [], "baseModel": { - "$id": "81", + "$id": "131", "kind": "model", "name": "File", "namespace": "TypeSpec.Http", @@ -681,14 +1091,14 @@ "decorators": [], "properties": [ { - "$id": "82", + "$id": "132", "kind": "property", "name": "contentType", "serializedName": "contentType", "summary": "The allowed media (MIME) types of the file contents.", "doc": "The allowed media (MIME) types of the file contents.\n\nIn file bodies, this value comes from the `Content-Type` header of the request or response. In JSON bodies,\nthis value is serialized as a field in the response.\n\nNOTE: this is not _necessarily_ the same as the `Content-Type` header of the request or response, but\nit will be for file bodies. It may be different if the file is serialized as a JSON object. It always refers to the\n_contents_ of the file, and not necessarily the way the file itself is transmitted or serialized.", "type": { - "$id": "83", + "$id": "133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -701,18 +1111,18 @@ "decorators": [], "crossLanguageDefinitionId": "TypeSpec.Http.File.contentType", "serializationOptions": { - "$id": "84" + "$id": "134" } }, { - "$id": "85", + "$id": "135", "kind": "property", "name": "filename", "serializedName": "filename", "summary": "The name of the file, if any.", "doc": "The name of the file, if any.\n\nIn file bodies, this value comes from the `filename` parameter of the `Content-Disposition` header of the response\nor multipart payload. In JSON bodies, this value is serialized as a field in the response.\n\nNOTE: By default, `filename` cannot be sent in request payloads and can only be sent in responses and multipart\npayloads, as the `Content-Disposition` header is not valid in requests. If you want to send the `filename` in a request,\nyou must extend the `File` model and override the `filename` property with a different location defined by HTTP metadata\ndecorators.", "type": { - "$id": "86", + "$id": "136", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -725,18 +1135,18 @@ "decorators": [], "crossLanguageDefinitionId": "TypeSpec.Http.File.filename", "serializationOptions": { - "$id": "87" + "$id": "137" } }, { - "$id": "88", + "$id": "138", "kind": "property", "name": "contents", "serializedName": "contents", "summary": "The contents of the file.", "doc": "The contents of the file.\n\nIn file bodies, this value comes from the body of the request, response, or multipart payload. In JSON bodies,\nthis value is serialized as a field in the response.", "type": { - "$id": "89", + "$id": "139", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -750,19 +1160,19 @@ "decorators": [], "crossLanguageDefinitionId": "TypeSpec.Http.File.contents", "serializationOptions": { - "$id": "90" + "$id": "140" } } ] }, "properties": [ { - "$id": "91", + "$id": "141", "kind": "property", "name": "filename", "serializedName": "filename", "type": { - "$id": "92", + "$id": "142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -775,16 +1185,16 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileRequiredMetaData.filename", "serializationOptions": { - "$id": "93" + "$id": "143" } }, { - "$id": "94", + "$id": "144", "kind": "property", "name": "contentType", "serializedName": "contentType", "type": { - "$id": "95", + "$id": "145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -797,7 +1207,7 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileRequiredMetaData.contentType", "serializationOptions": { - "$id": "96" + "$id": "146" } } ] @@ -809,16 +1219,16 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexHttpPartsModelRequest.profileImage", "serializationOptions": { - "$id": "97", + "$id": "147", "multipart": { - "$id": "98", + "$id": "148", "isFilePart": true, "isMulti": false, "filename": { - "$id": "99", + "$id": "149", "apiVersions": [], "type": { - "$id": "5244", + "$id": "5294", "kind": "string", "decorators": [], "name": "string", @@ -846,14 +1256,14 @@ "isMultipartFileInput": false, "flatten": false, "serializationOptions": { - "$ref": "93" + "$ref": "143" } }, "contentType": { - "$id": "5245", + "$id": "5295", "apiVersions": [], "type": { - "$id": "5247", + "$id": "5297", "kind": "string", "decorators": [], "name": "string", @@ -881,7 +1291,7 @@ "isMultipartFileInput": false, "flatten": false, "serializationOptions": { - "$ref": "96" + "$ref": "146" } }, "defaultContentTypes": [ @@ -892,16 +1302,16 @@ } }, { - "$id": "5248", + "$id": "5298", "kind": "property", "name": "previousAddresses", "serializedName": "previousAddresses", "type": { - "$id": "5249", + "$id": "5299", "kind": "array", "name": "ArrayAddress", "valueType": { - "$ref": "23" + "$ref": "73" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -913,9 +1323,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexHttpPartsModelRequest.previousAddresses", "serializationOptions": { - "$id": "5250", + "$id": "5300", "multipart": { - "$id": "5251", + "$id": "5301", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -926,16 +1336,16 @@ } }, { - "$id": "5252", + "$id": "5302", "kind": "property", "name": "pictures", "serializedName": "pictures", "type": { - "$id": "5253", + "$id": "5303", "kind": "array", "name": "ArrayHttpPart2", "valueType": { - "$ref": "80" + "$ref": "130" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -947,16 +1357,16 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexHttpPartsModelRequest.pictures", "serializationOptions": { - "$id": "5254", + "$id": "5304", "multipart": { - "$id": "5255", + "$id": "5305", "isFilePart": true, "isMulti": true, "filename": { - "$ref": "99" + "$ref": "149" }, "contentType": { - "$ref": "5245" + "$ref": "5295" }, "defaultContentTypes": [ "*/*" @@ -968,13 +1378,13 @@ ] }, { - "$ref": "80" + "$ref": "130" }, { - "$ref": "81" + "$ref": "131" }, { - "$id": "5256", + "$id": "5306", "kind": "model", "name": "FileWithHttpPartSpecificContentTypeRequest", "namespace": "Payload.MultiPart", @@ -983,12 +1393,12 @@ "decorators": [], "properties": [ { - "$id": "5257", + "$id": "5307", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "5258", + "$id": "5308", "kind": "model", "name": "FileSpecificContentType", "namespace": "Payload.MultiPart", @@ -996,16 +1406,16 @@ "usage": "Input", "decorators": [], "baseModel": { - "$ref": "81" + "$ref": "131" }, "properties": [ { - "$id": "5259", + "$id": "5309", "kind": "property", "name": "filename", "serializedName": "filename", "type": { - "$id": "5260", + "$id": "5310", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1018,25 +1428,16 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType.filename", "serializationOptions": { - "$id": "5261" + "$id": "5311" } }, { - "$id": "5262", + "$id": "5312", "kind": "property", "name": "contentType", "serializedName": "contentType", "type": { - "$id": "5263", - "kind": "constant", - "name": "FileSpecificContentTypeContentType", - "namespace": "Payload.MultiPart", - "usage": "Input", - "valueType": { - "$ref": "2" - }, - "value": "image/jpg", - "decorators": [] + "$ref": "8" }, "optional": false, "readOnly": false, @@ -1045,7 +1446,7 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType.contentType", "serializationOptions": { - "$id": "5264" + "$id": "5313" } } ] @@ -1057,16 +1458,16 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartSpecificContentTypeRequest.profileImage", "serializationOptions": { - "$id": "5265", + "$id": "5314", "multipart": { - "$id": "5266", + "$id": "5315", "isFilePart": true, "isMulti": false, "filename": { - "$id": "5267", + "$id": "5316", "apiVersions": [], "type": { - "$id": "5269", + "$id": "5318", "kind": "string", "decorators": [], "name": "string", @@ -1094,19 +1495,19 @@ "isMultipartFileInput": false, "flatten": false, "serializationOptions": { - "$ref": "5261" + "$ref": "5311" } }, "contentType": { - "$id": "5270", + "$id": "5319", "apiVersions": [], "type": { - "$id": "5273", + "$id": "5322", "kind": "constant", "decorators": [], "value": "image/jpg", "valueType": { - "$id": "5274", + "$id": "5323", "kind": "string", "decorators": [], "name": "string", @@ -1137,7 +1538,7 @@ "isMultipartFileInput": false, "flatten": false, "serializationOptions": { - "$ref": "5264" + "$ref": "5313" } }, "defaultContentTypes": [ @@ -1150,10 +1551,10 @@ ] }, { - "$ref": "5258" + "$ref": "5308" }, { - "$id": "5275", + "$id": "5324", "kind": "model", "name": "FileWithHttpPartRequiredContentTypeRequest", "namespace": "Payload.MultiPart", @@ -1162,12 +1563,12 @@ "decorators": [], "properties": [ { - "$id": "5276", + "$id": "5325", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$ref": "80" + "$ref": "130" }, "optional": false, "readOnly": false, @@ -1176,16 +1577,16 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartRequiredContentTypeRequest.profileImage", "serializationOptions": { - "$id": "5277", + "$id": "5326", "multipart": { - "$id": "5278", + "$id": "5327", "isFilePart": true, "isMulti": false, "filename": { - "$ref": "99" + "$ref": "149" }, "contentType": { - "$ref": "5245" + "$ref": "5295" }, "defaultContentTypes": [ "*/*" @@ -1197,7 +1598,7 @@ ] }, { - "$id": "5279", + "$id": "5328", "kind": "model", "name": "FileWithHttpPartOptionalContentTypeRequest", "namespace": "Payload.MultiPart", @@ -1206,12 +1607,12 @@ "decorators": [], "properties": [ { - "$id": "5280", + "$id": "5329", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "5281", + "$id": "5330", "kind": "model", "name": "FileOptionalContentType", "namespace": "Payload.MultiPart", @@ -1219,16 +1620,16 @@ "usage": "Input", "decorators": [], "baseModel": { - "$ref": "81" + "$ref": "131" }, "properties": [ { - "$id": "5282", + "$id": "5331", "kind": "property", "name": "filename", "serializedName": "filename", "type": { - "$id": "5283", + "$id": "5332", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1241,7 +1642,7 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileOptionalContentType.filename", "serializationOptions": { - "$id": "5284" + "$id": "5333" } } ] @@ -1253,16 +1654,16 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartOptionalContentTypeRequest.profileImage", "serializationOptions": { - "$id": "5285", + "$id": "5334", "multipart": { - "$id": "5286", + "$id": "5335", "isFilePart": true, "isMulti": false, "filename": { - "$id": "5287", + "$id": "5336", "apiVersions": [], "type": { - "$id": "5289", + "$id": "5338", "kind": "string", "decorators": [], "name": "string", @@ -1290,16 +1691,16 @@ "isMultipartFileInput": false, "flatten": false, "serializationOptions": { - "$ref": "5284" + "$ref": "5333" } }, "contentType": { - "$id": "5290", + "$id": "5339", "doc": "The allowed media (MIME) types of the file contents.\n\nIn file bodies, this value comes from the `Content-Type` header of the request or response. In JSON bodies,\nthis value is serialized as a field in the response.\n\nNOTE: this is not _necessarily_ the same as the `Content-Type` header of the request or response, but\nit will be for file bodies. It may be different if the file is serialized as a JSON object. It always refers to the\n_contents_ of the file, and not necessarily the way the file itself is transmitted or serialized.", "summary": "The allowed media (MIME) types of the file contents.", "apiVersions": [], "type": { - "$id": "5299", + "$id": "5348", "kind": "string", "decorators": [], "name": "string", @@ -1327,7 +1728,7 @@ "isMultipartFileInput": false, "flatten": false, "serializationOptions": { - "$ref": "84" + "$ref": "134" } }, "defaultContentTypes": [ @@ -1340,10 +1741,10 @@ ] }, { - "$ref": "5281" + "$ref": "5330" }, { - "$id": "5300", + "$id": "5349", "kind": "model", "name": "FloatRequest", "namespace": "Payload.MultiPart.FormData.HttpParts.NonString", @@ -1352,12 +1753,12 @@ "decorators": [], "properties": [ { - "$id": "5301", + "$id": "5350", "kind": "property", "name": "temperature", "serializedName": "temperature", "type": { - "$id": "5302", + "$id": "5351", "kind": "float64", "name": "float64", "crossLanguageDefinitionId": "TypeSpec.float64", @@ -1370,21 +1771,21 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.float.Request.anonymous.temperature", "serializationOptions": { - "$id": "5303", + "$id": "5352", "multipart": { - "$id": "5304", + "$id": "5353", "isFilePart": false, "isMulti": false, "contentType": { - "$id": "5305", + "$id": "5354", "apiVersions": [], "type": { - "$id": "6101", + "$id": "6150", "kind": "constant", "decorators": [], "value": "text/plain", "valueType": { - "$id": "6102", + "$id": "6151", "kind": "string", "decorators": [], "name": "string", @@ -1423,7 +1824,7 @@ ] }, { - "$id": "6103", + "$id": "6152", "kind": "model", "name": "FloatRequestTemperature", "namespace": "Payload.MultiPart.FormData.HttpParts.NonString", @@ -1432,21 +1833,12 @@ "decorators": [], "properties": [ { - "$id": "6104", + "$id": "6153", "kind": "header", "name": "contentType", "serializedName": "content-type", "type": { - "$id": "6105", - "kind": "constant", - "name": "FloatRequestTemperatureContentType", - "namespace": "Payload.MultiPart.FormData.HttpParts.NonString", - "usage": "Input", - "valueType": { - "$ref": "5" - }, - "value": "text/plain", - "decorators": [] + "$ref": "9" }, "optional": false, "readOnly": false, @@ -1459,7 +1851,7 @@ ], "clients": [ { - "$id": "6106", + "$id": "6154", "kind": "client", "name": "MultiPartClient", "namespace": "Payload.MultiPart", @@ -1467,12 +1859,12 @@ "methods": [], "parameters": [ { - "$id": "6107", + "$id": "6155", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "6108", + "$id": "6156", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1486,9 +1878,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "6109", + "$id": "6157", "type": { - "$id": "6110", + "$id": "6158", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1502,44 +1894,31 @@ "apiVersions": [], "children": [ { - "$id": "6111", + "$id": "6159", "kind": "client", "name": "FormData", "namespace": "Payload.MultiPart.FormData", "methods": [ { - "$id": "6112", + "$id": "6160", "kind": "basic", "name": "basic", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data", "operation": { - "$id": "6113", + "$id": "6161", "name": "basic", "resourceName": "FormData", "doc": "Test content-type: multipart/form-data", "accessibility": "public", "parameters": [ { - "$id": "6114", + "$id": "6162", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6115", - "kind": "constant", - "name": "BasicRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6116", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1552,11 +1931,11 @@ "skipUrlEncoding": false }, { - "$id": "6117", + "$id": "6163", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "58" }, "location": "Body", "isApiVersion": false, @@ -1571,7 +1950,7 @@ ], "responses": [ { - "$id": "6118", + "$id": "6164", "statusCodes": [ 204 ], @@ -1593,24 +1972,11 @@ }, "parameters": [ { - "$id": "6119", + "$id": "6165", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6120", - "kind": "constant", - "name": "BasicRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6121", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1623,11 +1989,11 @@ "skipUrlEncoding": false }, { - "$id": "6122", + "$id": "6166", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "58" }, "location": "Body", "isApiVersion": false, @@ -1641,7 +2007,7 @@ } ], "response": { - "$id": "6123" + "$id": "6167" }, "isOverride": false, "generateConvenient": true, @@ -1649,38 +2015,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.basic" }, { - "$id": "6124", + "$id": "6168", "kind": "basic", "name": "fileArrayAndBasic", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for mixed scenarios", "operation": { - "$id": "6125", + "$id": "6169", "name": "fileArrayAndBasic", "resourceName": "FormData", "doc": "Test content-type: multipart/form-data for mixed scenarios", "accessibility": "public", "parameters": [ { - "$id": "6126", + "$id": "6170", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6127", - "kind": "constant", - "name": "BasicRequestContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6128", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1693,11 +2046,11 @@ "skipUrlEncoding": false }, { - "$id": "6129", + "$id": "6171", "name": "body", "nameInRequest": "body", "type": { - "$ref": "17" + "$ref": "67" }, "location": "Body", "isApiVersion": false, @@ -1712,7 +2065,7 @@ ], "responses": [ { - "$id": "6130", + "$id": "6172", "statusCodes": [ 204 ], @@ -1734,24 +2087,11 @@ }, "parameters": [ { - "$id": "6131", + "$id": "6173", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6132", - "kind": "constant", - "name": "BasicRequestContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6133", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1764,11 +2104,11 @@ "skipUrlEncoding": false }, { - "$id": "6134", + "$id": "6174", "name": "body", "nameInRequest": "body", "type": { - "$ref": "17" + "$ref": "67" }, "location": "Body", "isApiVersion": false, @@ -1782,7 +2122,7 @@ } ], "response": { - "$id": "6135" + "$id": "6175" }, "isOverride": false, "generateConvenient": true, @@ -1790,38 +2130,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.fileArrayAndBasic" }, { - "$id": "6136", + "$id": "6176", "kind": "basic", "name": "jsonPart", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for scenario contains json part and binary part ", "operation": { - "$id": "6137", + "$id": "6177", "name": "jsonPart", "resourceName": "FormData", "doc": "Test content-type: multipart/form-data for scenario contains json part and binary part ", "accessibility": "public", "parameters": [ { - "$id": "6138", + "$id": "6178", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6139", - "kind": "constant", - "name": "BasicRequestContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6140", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1834,11 +2161,11 @@ "skipUrlEncoding": false }, { - "$id": "6141", + "$id": "6179", "name": "body", "nameInRequest": "body", "type": { - "$ref": "39" + "$ref": "89" }, "location": "Body", "isApiVersion": false, @@ -1853,7 +2180,7 @@ ], "responses": [ { - "$id": "6142", + "$id": "6180", "statusCodes": [ 204 ], @@ -1875,24 +2202,11 @@ }, "parameters": [ { - "$id": "6143", + "$id": "6181", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6144", - "kind": "constant", - "name": "BasicRequestContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6145", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1905,11 +2219,11 @@ "skipUrlEncoding": false }, { - "$id": "6146", + "$id": "6182", "name": "body", "nameInRequest": "body", "type": { - "$ref": "39" + "$ref": "89" }, "location": "Body", "isApiVersion": false, @@ -1923,7 +2237,7 @@ } ], "response": { - "$id": "6147" + "$id": "6183" }, "isOverride": false, "generateConvenient": true, @@ -1931,38 +2245,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.jsonPart" }, { - "$id": "6148", + "$id": "6184", "kind": "basic", "name": "binaryArrayParts", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for scenario contains multi binary parts", "operation": { - "$id": "6149", + "$id": "6185", "name": "binaryArrayParts", "resourceName": "FormData", "doc": "Test content-type: multipart/form-data for scenario contains multi binary parts", "accessibility": "public", "parameters": [ { - "$id": "6150", + "$id": "6186", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6151", - "kind": "constant", - "name": "BasicRequestContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6152", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1975,11 +2276,11 @@ "skipUrlEncoding": false }, { - "$id": "6153", + "$id": "6187", "name": "body", "nameInRequest": "body", "type": { - "$ref": "47" + "$ref": "97" }, "location": "Body", "isApiVersion": false, @@ -1994,7 +2295,7 @@ ], "responses": [ { - "$id": "6154", + "$id": "6188", "statusCodes": [ 204 ], @@ -2016,24 +2317,11 @@ }, "parameters": [ { - "$id": "6155", + "$id": "6189", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6156", - "kind": "constant", - "name": "BasicRequestContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6157", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -2046,11 +2334,11 @@ "skipUrlEncoding": false }, { - "$id": "6158", + "$id": "6190", "name": "body", "nameInRequest": "body", "type": { - "$ref": "47" + "$ref": "97" }, "location": "Body", "isApiVersion": false, @@ -2064,7 +2352,7 @@ } ], "response": { - "$id": "6159" + "$id": "6191" }, "isOverride": false, "generateConvenient": true, @@ -2072,38 +2360,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.binaryArrayParts" }, { - "$id": "6160", + "$id": "6192", "kind": "basic", "name": "multiBinaryParts", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for scenario contains multi binary parts", "operation": { - "$id": "6161", + "$id": "6193", "name": "multiBinaryParts", "resourceName": "FormData", "doc": "Test content-type: multipart/form-data for scenario contains multi binary parts", "accessibility": "public", "parameters": [ { - "$id": "6162", + "$id": "6194", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6163", - "kind": "constant", - "name": "BasicRequestContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6164", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -2116,11 +2391,11 @@ "skipUrlEncoding": false }, { - "$id": "6165", + "$id": "6195", "name": "body", "nameInRequest": "body", "type": { - "$ref": "57" + "$ref": "107" }, "location": "Body", "isApiVersion": false, @@ -2135,7 +2410,7 @@ ], "responses": [ { - "$id": "6166", + "$id": "6196", "statusCodes": [ 204 ], @@ -2157,24 +2432,11 @@ }, "parameters": [ { - "$id": "6167", + "$id": "6197", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6168", - "kind": "constant", - "name": "BasicRequestContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6169", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -2187,11 +2449,11 @@ "skipUrlEncoding": false }, { - "$id": "6170", + "$id": "6198", "name": "body", "nameInRequest": "body", "type": { - "$ref": "57" + "$ref": "107" }, "location": "Body", "isApiVersion": false, @@ -2205,7 +2467,7 @@ } ], "response": { - "$id": "6171" + "$id": "6199" }, "isOverride": false, "generateConvenient": true, @@ -2213,38 +2475,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.multiBinaryParts" }, { - "$id": "6172", + "$id": "6200", "kind": "basic", "name": "checkFileNameAndContentType", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data", "operation": { - "$id": "6173", + "$id": "6201", "name": "checkFileNameAndContentType", "resourceName": "FormData", "doc": "Test content-type: multipart/form-data", "accessibility": "public", "parameters": [ { - "$id": "6174", + "$id": "6202", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6175", - "kind": "constant", - "name": "BasicRequestContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6176", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -2257,11 +2506,11 @@ "skipUrlEncoding": false }, { - "$id": "6177", + "$id": "6203", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "58" }, "location": "Body", "isApiVersion": false, @@ -2276,7 +2525,7 @@ ], "responses": [ { - "$id": "6178", + "$id": "6204", "statusCodes": [ 204 ], @@ -2298,24 +2547,11 @@ }, "parameters": [ { - "$id": "6179", + "$id": "6205", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6180", - "kind": "constant", - "name": "BasicRequestContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6181", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2328,11 +2564,11 @@ "skipUrlEncoding": false }, { - "$id": "6182", + "$id": "6206", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "58" }, "location": "Body", "isApiVersion": false, @@ -2346,7 +2582,7 @@ } ], "response": { - "$id": "6183" + "$id": "6207" }, "isOverride": false, "generateConvenient": true, @@ -2354,38 +2590,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.checkFileNameAndContentType" }, { - "$id": "6184", + "$id": "6208", "kind": "basic", "name": "anonymousModel", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data", "operation": { - "$id": "6185", + "$id": "6209", "name": "anonymousModel", "resourceName": "FormData", "doc": "Test content-type: multipart/form-data", "accessibility": "public", "parameters": [ { - "$id": "6186", + "$id": "6210", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6187", - "kind": "constant", - "name": "BasicRequestContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6188", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2398,11 +2621,11 @@ "skipUrlEncoding": false }, { - "$id": "6189", + "$id": "6211", "name": "body", "nameInRequest": "body", "type": { - "$ref": "66" + "$ref": "116" }, "location": "Body", "isApiVersion": false, @@ -2417,7 +2640,7 @@ ], "responses": [ { - "$id": "6190", + "$id": "6212", "statusCodes": [ 204 ], @@ -2439,24 +2662,11 @@ }, "parameters": [ { - "$id": "6191", + "$id": "6213", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6192", - "kind": "constant", - "name": "BasicRequestContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6193", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2469,11 +2679,11 @@ "skipUrlEncoding": false }, { - "$id": "6194", + "$id": "6214", "name": "body", "nameInRequest": "body", "type": { - "$ref": "66" + "$ref": "116" }, "location": "Body", "isApiVersion": false, @@ -2487,7 +2697,7 @@ } ], "response": { - "$id": "6195" + "$id": "6215" }, "isOverride": false, "generateConvenient": true, @@ -2497,12 +2707,12 @@ ], "parameters": [ { - "$id": "6196", + "$id": "6216", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "6197", + "$id": "6217", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2516,9 +2726,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "6198", + "$id": "6218", "type": { - "$id": "6199", + "$id": "6219", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2531,48 +2741,35 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData", "apiVersions": [], "parent": { - "$ref": "6106" + "$ref": "6154" }, "children": [ { - "$id": "6200", + "$id": "6220", "kind": "client", "name": "HttpParts", "namespace": "Payload.MultiPart.FormData.HttpParts", "methods": [ { - "$id": "6201", + "$id": "6221", "kind": "basic", "name": "jsonArrayAndFileArray", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for mixed scenarios", "operation": { - "$id": "6202", + "$id": "6222", "name": "jsonArrayAndFileArray", "resourceName": "HttpParts", "doc": "Test content-type: multipart/form-data for mixed scenarios", "accessibility": "public", "parameters": [ { - "$id": "6203", + "$id": "6223", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6204", - "kind": "constant", - "name": "BasicRequestContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6205", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2585,11 +2782,11 @@ "skipUrlEncoding": false }, { - "$id": "6206", + "$id": "6224", "name": "body", "nameInRequest": "body", "type": { - "$ref": "71" + "$ref": "121" }, "location": "Body", "isApiVersion": false, @@ -2604,7 +2801,7 @@ ], "responses": [ { - "$id": "6207", + "$id": "6225", "statusCodes": [ 204 ], @@ -2626,24 +2823,11 @@ }, "parameters": [ { - "$id": "6208", + "$id": "6226", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6209", - "kind": "constant", - "name": "BasicRequestContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6210", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2656,11 +2840,11 @@ "skipUrlEncoding": false }, { - "$id": "6211", + "$id": "6227", "name": "body", "nameInRequest": "body", "type": { - "$ref": "71" + "$ref": "121" }, "location": "Body", "isApiVersion": false, @@ -2674,7 +2858,7 @@ } ], "response": { - "$id": "6212" + "$id": "6228" }, "isOverride": false, "generateConvenient": true, @@ -2684,12 +2868,12 @@ ], "parameters": [ { - "$id": "6213", + "$id": "6229", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "6214", + "$id": "6230", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2703,9 +2887,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "6215", + "$id": "6231", "type": { - "$id": "6216", + "$id": "6232", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2718,48 +2902,35 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts", "apiVersions": [], "parent": { - "$ref": "6111" + "$ref": "6159" }, "children": [ { - "$id": "6217", + "$id": "6233", "kind": "client", "name": "ContentType", "namespace": "Payload.MultiPart.FormData.HttpParts.ContentType", "methods": [ { - "$id": "6218", + "$id": "6234", "kind": "basic", "name": "imageJpegContentType", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data", "operation": { - "$id": "6219", + "$id": "6235", "name": "imageJpegContentType", "resourceName": "ContentType", "doc": "Test content-type: multipart/form-data", "accessibility": "public", "parameters": [ { - "$id": "6220", + "$id": "6236", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6221", - "kind": "constant", - "name": "BasicRequestContentType16", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6222", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -2772,11 +2943,11 @@ "skipUrlEncoding": false }, { - "$id": "6223", + "$id": "6237", "name": "body", "nameInRequest": "body", "type": { - "$ref": "5256" + "$ref": "5306" }, "location": "Body", "isApiVersion": false, @@ -2791,7 +2962,7 @@ ], "responses": [ { - "$id": "6224", + "$id": "6238", "statusCodes": [ 204 ], @@ -2813,24 +2984,11 @@ }, "parameters": [ { - "$id": "6225", + "$id": "6239", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6226", - "kind": "constant", - "name": "BasicRequestContentType17", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6227", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -2843,11 +3001,11 @@ "skipUrlEncoding": false }, { - "$id": "6228", + "$id": "6240", "name": "body", "nameInRequest": "body", "type": { - "$ref": "5256" + "$ref": "5306" }, "location": "Body", "isApiVersion": false, @@ -2861,7 +3019,7 @@ } ], "response": { - "$id": "6229" + "$id": "6241" }, "isOverride": false, "generateConvenient": true, @@ -2869,38 +3027,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.imageJpegContentType" }, { - "$id": "6230", + "$id": "6242", "kind": "basic", "name": "requiredContentType", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data", "operation": { - "$id": "6231", + "$id": "6243", "name": "requiredContentType", "resourceName": "ContentType", "doc": "Test content-type: multipart/form-data", "accessibility": "public", "parameters": [ { - "$id": "6232", + "$id": "6244", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6233", - "kind": "constant", - "name": "BasicRequestContentType18", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6234", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -2913,11 +3058,11 @@ "skipUrlEncoding": false }, { - "$id": "6235", + "$id": "6245", "name": "body", "nameInRequest": "body", "type": { - "$ref": "5275" + "$ref": "5324" }, "location": "Body", "isApiVersion": false, @@ -2932,7 +3077,7 @@ ], "responses": [ { - "$id": "6236", + "$id": "6246", "statusCodes": [ 204 ], @@ -2954,24 +3099,11 @@ }, "parameters": [ { - "$id": "6237", + "$id": "6247", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6238", - "kind": "constant", - "name": "BasicRequestContentType19", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6239", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -2984,11 +3116,11 @@ "skipUrlEncoding": false }, { - "$id": "6240", + "$id": "6248", "name": "body", "nameInRequest": "body", "type": { - "$ref": "5275" + "$ref": "5324" }, "location": "Body", "isApiVersion": false, @@ -3002,7 +3134,7 @@ } ], "response": { - "$id": "6241" + "$id": "6249" }, "isOverride": false, "generateConvenient": true, @@ -3010,38 +3142,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.requiredContentType" }, { - "$id": "6242", + "$id": "6250", "kind": "basic", "name": "optionalContentType", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for optional content type", "operation": { - "$id": "6243", + "$id": "6251", "name": "optionalContentType", "resourceName": "ContentType", "doc": "Test content-type: multipart/form-data for optional content type", "accessibility": "public", "parameters": [ { - "$id": "6244", + "$id": "6252", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6245", - "kind": "constant", - "name": "BasicRequestContentType20", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6246", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -3054,11 +3173,11 @@ "skipUrlEncoding": false }, { - "$id": "6247", + "$id": "6253", "name": "body", "nameInRequest": "body", "type": { - "$ref": "5279" + "$ref": "5328" }, "location": "Body", "isApiVersion": false, @@ -3073,7 +3192,7 @@ ], "responses": [ { - "$id": "6248", + "$id": "6254", "statusCodes": [ 204 ], @@ -3095,24 +3214,11 @@ }, "parameters": [ { - "$id": "6249", + "$id": "6255", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6250", - "kind": "constant", - "name": "BasicRequestContentType21", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6251", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -3125,11 +3231,11 @@ "skipUrlEncoding": false }, { - "$id": "6252", + "$id": "6256", "name": "body", "nameInRequest": "body", "type": { - "$ref": "5279" + "$ref": "5328" }, "location": "Body", "isApiVersion": false, @@ -3143,7 +3249,7 @@ } ], "response": { - "$id": "6253" + "$id": "6257" }, "isOverride": false, "generateConvenient": true, @@ -3153,12 +3259,12 @@ ], "parameters": [ { - "$id": "6254", + "$id": "6258", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "6255", + "$id": "6259", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3172,9 +3278,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "6256", + "$id": "6260", "type": { - "$id": "6257", + "$id": "6261", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3187,48 +3293,35 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType", "apiVersions": [], "parent": { - "$ref": "6200" + "$ref": "6220" } }, { - "$id": "6258", + "$id": "6262", "kind": "client", "name": "NonString", "namespace": "Payload.MultiPart.FormData.HttpParts.NonString", "methods": [ { - "$id": "6259", + "$id": "6263", "kind": "basic", "name": "float", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for non string", "operation": { - "$id": "6260", + "$id": "6264", "name": "float", "resourceName": "NonString", "doc": "Test content-type: multipart/form-data for non string", "accessibility": "public", "parameters": [ { - "$id": "6261", + "$id": "6265", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6262", - "kind": "constant", - "name": "BasicRequestContentType22", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6263", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -3241,11 +3334,11 @@ "skipUrlEncoding": false }, { - "$id": "6264", + "$id": "6266", "name": "body", "nameInRequest": "body", "type": { - "$ref": "5300" + "$ref": "5349" }, "location": "Body", "isApiVersion": false, @@ -3260,7 +3353,7 @@ ], "responses": [ { - "$id": "6265", + "$id": "6267", "statusCodes": [ 204 ], @@ -3282,24 +3375,11 @@ }, "parameters": [ { - "$id": "6266", + "$id": "6268", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6267", - "kind": "constant", - "name": "BasicRequestContentType23", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6268", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -3316,7 +3396,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "5300" + "$ref": "5349" }, "location": "Body", "isApiVersion": false, @@ -3374,7 +3454,7 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString", "apiVersions": [], "parent": { - "$ref": "6200" + "$ref": "6220" } } ] diff --git a/test/CadlRanchProjects/serialization/encoded-name/json/tspCodeModel.json b/test/CadlRanchProjects/serialization/encoded-name/json/tspCodeModel.json index ce7ec41cb5f..d3c8fadb2ca 100644 --- a/test/CadlRanchProjects/serialization/encoded-name/json/tspCodeModel.json +++ b/test/CadlRanchProjects/serialization/encoded-name/json/tspCodeModel.json @@ -3,9 +3,43 @@ "name": "Serialization.EncodedName.Json", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "sendContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "6", "kind": "model", "name": "JsonEncodedNameModel", "namespace": "Serialization.EncodedName.Json.Property", @@ -14,13 +48,13 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "7", "kind": "property", "name": "defaultName", "serializedName": "wireName", "doc": "Pass in true", "type": { - "$id": "4", + "$id": "8", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -33,9 +67,9 @@ "decorators": [], "crossLanguageDefinitionId": "Serialization.EncodedName.Json.Property.JsonEncodedNameModel.defaultName", "serializationOptions": { - "$id": "5", + "$id": "9", "json": { - "$id": "6", + "$id": "10", "name": "wireName" } } @@ -45,7 +79,7 @@ ], "clients": [ { - "$id": "7", + "$id": "11", "kind": "client", "name": "JsonClient", "namespace": "Serialization.EncodedName.Json", @@ -53,12 +87,12 @@ "methods": [], "parameters": [ { - "$id": "8", + "$id": "12", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "9", + "$id": "13", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -72,9 +106,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "10", + "$id": "14", "type": { - "$id": "11", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -88,43 +122,30 @@ "apiVersions": [], "children": [ { - "$id": "12", + "$id": "16", "kind": "client", "name": "Property", "namespace": "Serialization.EncodedName.Json.Property", "methods": [ { - "$id": "13", + "$id": "17", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "14", + "$id": "18", "name": "send", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "15", + "$id": "19", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "16", - "kind": "constant", - "name": "sendContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "17", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -137,11 +158,11 @@ "skipUrlEncoding": false }, { - "$id": "18", + "$id": "20", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "6" }, "location": "Body", "isApiVersion": false, @@ -156,7 +177,7 @@ ], "responses": [ { - "$id": "19", + "$id": "21", "statusCodes": [ 204 ], @@ -178,11 +199,11 @@ }, "parameters": [ { - "$id": "20", + "$id": "22", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "6" }, "location": "Body", "isApiVersion": false, @@ -195,12 +216,12 @@ "skipUrlEncoding": false }, { - "$id": "21", + "$id": "23", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "16" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -214,7 +235,7 @@ } ], "response": { - "$id": "22" + "$id": "24" }, "isOverride": false, "generateConvenient": true, @@ -222,36 +243,23 @@ "crossLanguageDefinitionId": "Serialization.EncodedName.Json.Property.send" }, { - "$id": "23", + "$id": "25", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "24", + "$id": "26", "name": "get", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "25", + "$id": "27", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "26", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "27", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -271,7 +279,7 @@ 200 ], "bodyType": { - "$ref": "2" + "$ref": "6" }, "headers": [], "isErrorResponse": false, @@ -295,7 +303,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "26" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -311,7 +319,7 @@ "response": { "$id": "30", "type": { - "$ref": "2" + "$ref": "6" } }, "isOverride": false, @@ -356,7 +364,7 @@ "crossLanguageDefinitionId": "Serialization.EncodedName.Json.Property", "apiVersions": [], "parent": { - "$ref": "7" + "$ref": "11" } } ] diff --git a/test/CadlRanchProjects/server/endpoint/not-defined/tspCodeModel.json b/test/CadlRanchProjects/server/endpoint/not-defined/tspCodeModel.json index 505dcf2bc00..63e2fcda04f 100644 --- a/test/CadlRanchProjects/server/endpoint/not-defined/tspCodeModel.json +++ b/test/CadlRanchProjects/server/endpoint/not-defined/tspCodeModel.json @@ -3,6 +3,7 @@ "name": "Server.Endpoint.NotDefined", "apiVersions": [], "enums": [], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/server/path/multiple/tspCodeModel.json b/test/CadlRanchProjects/server/path/multiple/tspCodeModel.json index 11d27efdf0b..a30c8365203 100644 --- a/test/CadlRanchProjects/server/path/multiple/tspCodeModel.json +++ b/test/CadlRanchProjects/server/path/multiple/tspCodeModel.json @@ -45,6 +45,7 @@ "decorators": [] } ], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/server/path/single-headAsBoolean/tspCodeModel.json b/test/CadlRanchProjects/server/path/single-headAsBoolean/tspCodeModel.json index fb355c29ce8..5bf11510a23 100644 --- a/test/CadlRanchProjects/server/path/single-headAsBoolean/tspCodeModel.json +++ b/test/CadlRanchProjects/server/path/single-headAsBoolean/tspCodeModel.json @@ -3,6 +3,7 @@ "name": "Server.Path.Single", "apiVersions": [], "enums": [], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/server/path/single/tspCodeModel.json b/test/CadlRanchProjects/server/path/single/tspCodeModel.json index 6d0694bd1f5..e5e76dcdc6d 100644 --- a/test/CadlRanchProjects/server/path/single/tspCodeModel.json +++ b/test/CadlRanchProjects/server/path/single/tspCodeModel.json @@ -3,6 +3,7 @@ "name": "Server.Path.Single", "apiVersions": [], "enums": [], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/server/versions/not-versioned/tspCodeModel.json b/test/CadlRanchProjects/server/versions/not-versioned/tspCodeModel.json index f661b081719..93efa3ca3fb 100644 --- a/test/CadlRanchProjects/server/versions/not-versioned/tspCodeModel.json +++ b/test/CadlRanchProjects/server/versions/not-versioned/tspCodeModel.json @@ -3,6 +3,7 @@ "name": "Server.Versions.NotVersioned", "apiVersions": [], "enums": [], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/server/versions/versioned/tspCodeModel.json b/test/CadlRanchProjects/server/versions/versioned/tspCodeModel.json index 58eabe0ba9c..07b50c7867f 100644 --- a/test/CadlRanchProjects/server/versions/versioned/tspCodeModel.json +++ b/test/CadlRanchProjects/server/versions/versioned/tspCodeModel.json @@ -64,6 +64,7 @@ "decorators": [] } ], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/special-headers/conditional-request/tspCodeModel.json b/test/CadlRanchProjects/special-headers/conditional-request/tspCodeModel.json index 749ff820616..5b98c1b15c2 100644 --- a/test/CadlRanchProjects/special-headers/conditional-request/tspCodeModel.json +++ b/test/CadlRanchProjects/special-headers/conditional-request/tspCodeModel.json @@ -3,6 +3,7 @@ "name": "SpecialHeaders.ConditionalRequest", "apiVersions": [], "enums": [], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/special-headers/repeatability/tspCodeModel.json b/test/CadlRanchProjects/special-headers/repeatability/tspCodeModel.json index 92eb86e983e..03de2eb2720 100644 --- a/test/CadlRanchProjects/special-headers/repeatability/tspCodeModel.json +++ b/test/CadlRanchProjects/special-headers/repeatability/tspCodeModel.json @@ -58,6 +58,7 @@ "decorators": [] } ], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjects/special-words/tspCodeModel.json b/test/CadlRanchProjects/special-words/tspCodeModel.json index dc426caa9e2..c0ec2fe6126 100644 --- a/test/CadlRanchProjects/special-words/tspCodeModel.json +++ b/test/CadlRanchProjects/special-words/tspCodeModel.json @@ -3,9 +3,555 @@ "name": "SpecialWords", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "withAndContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "withAsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "withAssertContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "withAsyncContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "withAwaitContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "withBreakContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "withClassContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "withConstructorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "withContinueContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "withDefContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "withDelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "withElifContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "withElseContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "withExceptContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "withExecContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "withFinallyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "withForContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "withFromContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "withGlobalContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "withIfContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "withImportContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "withInContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "withIsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "withLambdaContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "withNotContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "withOrContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "withPassContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "withRaiseContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "withReturnContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "withTryContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "withWhileContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "withWithContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "withYieldContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "sameAsModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "70", "kind": "model", "name": "and", "namespace": "SpecialWords.Models", @@ -14,12 +560,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "71", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "4", + "$id": "72", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32,9 +578,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.and.name", "serializationOptions": { - "$id": "5", + "$id": "73", "json": { - "$id": "6", + "$id": "74", "name": "name" } } @@ -42,7 +588,7 @@ ] }, { - "$id": "7", + "$id": "75", "kind": "model", "name": "as", "namespace": "SpecialWords.Models", @@ -51,12 +597,12 @@ "decorators": [], "properties": [ { - "$id": "8", + "$id": "76", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "9", + "$id": "77", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69,9 +615,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.as.name", "serializationOptions": { - "$id": "10", + "$id": "78", "json": { - "$id": "11", + "$id": "79", "name": "name" } } @@ -79,7 +625,7 @@ ] }, { - "$id": "12", + "$id": "80", "kind": "model", "name": "assert", "namespace": "SpecialWords.Models", @@ -88,12 +634,12 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "81", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "14", + "$id": "82", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106,9 +652,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.assert.name", "serializationOptions": { - "$id": "15", + "$id": "83", "json": { - "$id": "16", + "$id": "84", "name": "name" } } @@ -116,7 +662,7 @@ ] }, { - "$id": "17", + "$id": "85", "kind": "model", "name": "async", "namespace": "SpecialWords.Models", @@ -125,12 +671,12 @@ "decorators": [], "properties": [ { - "$id": "18", + "$id": "86", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "19", + "$id": "87", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -143,9 +689,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.async.name", "serializationOptions": { - "$id": "20", + "$id": "88", "json": { - "$id": "21", + "$id": "89", "name": "name" } } @@ -153,7 +699,7 @@ ] }, { - "$id": "22", + "$id": "90", "kind": "model", "name": "await", "namespace": "SpecialWords.Models", @@ -162,12 +708,12 @@ "decorators": [], "properties": [ { - "$id": "23", + "$id": "91", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "24", + "$id": "92", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -180,9 +726,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.await.name", "serializationOptions": { - "$id": "25", + "$id": "93", "json": { - "$id": "26", + "$id": "94", "name": "name" } } @@ -190,7 +736,7 @@ ] }, { - "$id": "27", + "$id": "95", "kind": "model", "name": "break", "namespace": "SpecialWords.Models", @@ -199,12 +745,12 @@ "decorators": [], "properties": [ { - "$id": "28", + "$id": "96", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "29", + "$id": "97", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -217,9 +763,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.break.name", "serializationOptions": { - "$id": "30", + "$id": "98", "json": { - "$id": "31", + "$id": "99", "name": "name" } } @@ -227,7 +773,7 @@ ] }, { - "$id": "32", + "$id": "100", "kind": "model", "name": "class", "namespace": "SpecialWords.Models", @@ -236,12 +782,12 @@ "decorators": [], "properties": [ { - "$id": "33", + "$id": "101", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "34", + "$id": "102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -254,9 +800,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.class.name", "serializationOptions": { - "$id": "35", + "$id": "103", "json": { - "$id": "36", + "$id": "104", "name": "name" } } @@ -264,7 +810,7 @@ ] }, { - "$id": "37", + "$id": "105", "kind": "model", "name": "constructor", "namespace": "SpecialWords.Models", @@ -273,12 +819,12 @@ "decorators": [], "properties": [ { - "$id": "38", + "$id": "106", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "39", + "$id": "107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -291,9 +837,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.constructor.name", "serializationOptions": { - "$id": "40", + "$id": "108", "json": { - "$id": "41", + "$id": "109", "name": "name" } } @@ -301,7 +847,7 @@ ] }, { - "$id": "42", + "$id": "110", "kind": "model", "name": "continue", "namespace": "SpecialWords.Models", @@ -310,12 +856,12 @@ "decorators": [], "properties": [ { - "$id": "43", + "$id": "111", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "44", + "$id": "112", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -328,9 +874,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.continue.name", "serializationOptions": { - "$id": "45", + "$id": "113", "json": { - "$id": "46", + "$id": "114", "name": "name" } } @@ -338,7 +884,7 @@ ] }, { - "$id": "47", + "$id": "115", "kind": "model", "name": "def", "namespace": "SpecialWords.Models", @@ -347,12 +893,12 @@ "decorators": [], "properties": [ { - "$id": "48", + "$id": "116", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "49", + "$id": "117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -365,9 +911,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.def.name", "serializationOptions": { - "$id": "50", + "$id": "118", "json": { - "$id": "51", + "$id": "119", "name": "name" } } @@ -375,7 +921,7 @@ ] }, { - "$id": "52", + "$id": "120", "kind": "model", "name": "del", "namespace": "SpecialWords.Models", @@ -384,12 +930,12 @@ "decorators": [], "properties": [ { - "$id": "53", + "$id": "121", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "54", + "$id": "122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -402,9 +948,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.del.name", "serializationOptions": { - "$id": "55", + "$id": "123", "json": { - "$id": "56", + "$id": "124", "name": "name" } } @@ -412,7 +958,7 @@ ] }, { - "$id": "57", + "$id": "125", "kind": "model", "name": "elif", "namespace": "SpecialWords.Models", @@ -421,12 +967,12 @@ "decorators": [], "properties": [ { - "$id": "58", + "$id": "126", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "59", + "$id": "127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -439,9 +985,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.elif.name", "serializationOptions": { - "$id": "60", + "$id": "128", "json": { - "$id": "61", + "$id": "129", "name": "name" } } @@ -449,7 +995,7 @@ ] }, { - "$id": "62", + "$id": "130", "kind": "model", "name": "else", "namespace": "SpecialWords.Models", @@ -458,12 +1004,12 @@ "decorators": [], "properties": [ { - "$id": "63", + "$id": "131", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "64", + "$id": "132", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -476,9 +1022,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.else.name", "serializationOptions": { - "$id": "65", + "$id": "133", "json": { - "$id": "66", + "$id": "134", "name": "name" } } @@ -486,7 +1032,7 @@ ] }, { - "$id": "67", + "$id": "135", "kind": "model", "name": "except", "namespace": "SpecialWords.Models", @@ -495,12 +1041,12 @@ "decorators": [], "properties": [ { - "$id": "68", + "$id": "136", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "69", + "$id": "137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -513,9 +1059,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.except.name", "serializationOptions": { - "$id": "70", + "$id": "138", "json": { - "$id": "71", + "$id": "139", "name": "name" } } @@ -523,7 +1069,7 @@ ] }, { - "$id": "72", + "$id": "140", "kind": "model", "name": "exec", "namespace": "SpecialWords.Models", @@ -532,12 +1078,12 @@ "decorators": [], "properties": [ { - "$id": "73", + "$id": "141", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "74", + "$id": "142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -550,9 +1096,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.exec.name", "serializationOptions": { - "$id": "75", + "$id": "143", "json": { - "$id": "76", + "$id": "144", "name": "name" } } @@ -560,7 +1106,7 @@ ] }, { - "$id": "77", + "$id": "145", "kind": "model", "name": "finally", "namespace": "SpecialWords.Models", @@ -569,12 +1115,12 @@ "decorators": [], "properties": [ { - "$id": "78", + "$id": "146", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "79", + "$id": "147", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -587,9 +1133,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.finally.name", "serializationOptions": { - "$id": "80", + "$id": "148", "json": { - "$id": "81", + "$id": "149", "name": "name" } } @@ -597,7 +1143,7 @@ ] }, { - "$id": "82", + "$id": "150", "kind": "model", "name": "for", "namespace": "SpecialWords.Models", @@ -606,12 +1152,12 @@ "decorators": [], "properties": [ { - "$id": "83", + "$id": "151", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "84", + "$id": "152", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -624,9 +1170,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.for.name", "serializationOptions": { - "$id": "85", + "$id": "153", "json": { - "$id": "86", + "$id": "154", "name": "name" } } @@ -634,7 +1180,7 @@ ] }, { - "$id": "87", + "$id": "155", "kind": "model", "name": "from", "namespace": "SpecialWords.Models", @@ -643,12 +1189,12 @@ "decorators": [], "properties": [ { - "$id": "88", + "$id": "156", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "89", + "$id": "157", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -661,9 +1207,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.from.name", "serializationOptions": { - "$id": "90", + "$id": "158", "json": { - "$id": "91", + "$id": "159", "name": "name" } } @@ -671,7 +1217,7 @@ ] }, { - "$id": "92", + "$id": "160", "kind": "model", "name": "global", "namespace": "SpecialWords.Models", @@ -680,12 +1226,12 @@ "decorators": [], "properties": [ { - "$id": "93", + "$id": "161", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "94", + "$id": "162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -698,9 +1244,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.global.name", "serializationOptions": { - "$id": "95", + "$id": "163", "json": { - "$id": "96", + "$id": "164", "name": "name" } } @@ -708,7 +1254,7 @@ ] }, { - "$id": "97", + "$id": "165", "kind": "model", "name": "if", "namespace": "SpecialWords.Models", @@ -717,12 +1263,12 @@ "decorators": [], "properties": [ { - "$id": "98", + "$id": "166", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "99", + "$id": "167", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -735,9 +1281,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.if.name", "serializationOptions": { - "$id": "100", + "$id": "168", "json": { - "$id": "101", + "$id": "169", "name": "name" } } @@ -745,7 +1291,7 @@ ] }, { - "$id": "102", + "$id": "170", "kind": "model", "name": "import", "namespace": "SpecialWords.Models", @@ -754,12 +1300,12 @@ "decorators": [], "properties": [ { - "$id": "103", + "$id": "171", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "104", + "$id": "172", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -772,9 +1318,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.import.name", "serializationOptions": { - "$id": "105", + "$id": "173", "json": { - "$id": "106", + "$id": "174", "name": "name" } } @@ -782,7 +1328,7 @@ ] }, { - "$id": "107", + "$id": "175", "kind": "model", "name": "in", "namespace": "SpecialWords.Models", @@ -791,12 +1337,12 @@ "decorators": [], "properties": [ { - "$id": "108", + "$id": "176", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "109", + "$id": "177", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -809,9 +1355,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.in.name", "serializationOptions": { - "$id": "110", + "$id": "178", "json": { - "$id": "111", + "$id": "179", "name": "name" } } @@ -819,7 +1365,7 @@ ] }, { - "$id": "112", + "$id": "180", "kind": "model", "name": "is", "namespace": "SpecialWords.Models", @@ -828,12 +1374,12 @@ "decorators": [], "properties": [ { - "$id": "113", + "$id": "181", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "114", + "$id": "182", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -846,9 +1392,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.is.name", "serializationOptions": { - "$id": "115", + "$id": "183", "json": { - "$id": "116", + "$id": "184", "name": "name" } } @@ -856,7 +1402,7 @@ ] }, { - "$id": "117", + "$id": "185", "kind": "model", "name": "lambda", "namespace": "SpecialWords.Models", @@ -865,12 +1411,12 @@ "decorators": [], "properties": [ { - "$id": "118", + "$id": "186", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "119", + "$id": "187", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -883,9 +1429,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.lambda.name", "serializationOptions": { - "$id": "120", + "$id": "188", "json": { - "$id": "121", + "$id": "189", "name": "name" } } @@ -893,7 +1439,7 @@ ] }, { - "$id": "122", + "$id": "190", "kind": "model", "name": "not", "namespace": "SpecialWords.Models", @@ -902,12 +1448,12 @@ "decorators": [], "properties": [ { - "$id": "123", + "$id": "191", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "124", + "$id": "192", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -920,9 +1466,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.not.name", "serializationOptions": { - "$id": "125", + "$id": "193", "json": { - "$id": "126", + "$id": "194", "name": "name" } } @@ -930,7 +1476,7 @@ ] }, { - "$id": "127", + "$id": "195", "kind": "model", "name": "or", "namespace": "SpecialWords.Models", @@ -939,12 +1485,12 @@ "decorators": [], "properties": [ { - "$id": "128", + "$id": "196", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "129", + "$id": "197", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -957,9 +1503,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.or.name", "serializationOptions": { - "$id": "130", + "$id": "198", "json": { - "$id": "131", + "$id": "199", "name": "name" } } @@ -967,7 +1513,7 @@ ] }, { - "$id": "132", + "$id": "200", "kind": "model", "name": "pass", "namespace": "SpecialWords.Models", @@ -976,12 +1522,12 @@ "decorators": [], "properties": [ { - "$id": "133", + "$id": "201", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "134", + "$id": "202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -994,9 +1540,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.pass.name", "serializationOptions": { - "$id": "135", + "$id": "203", "json": { - "$id": "136", + "$id": "204", "name": "name" } } @@ -1004,7 +1550,7 @@ ] }, { - "$id": "137", + "$id": "205", "kind": "model", "name": "raise", "namespace": "SpecialWords.Models", @@ -1013,12 +1559,12 @@ "decorators": [], "properties": [ { - "$id": "138", + "$id": "206", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "139", + "$id": "207", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1031,9 +1577,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.raise.name", "serializationOptions": { - "$id": "140", + "$id": "208", "json": { - "$id": "141", + "$id": "209", "name": "name" } } @@ -1041,7 +1587,7 @@ ] }, { - "$id": "142", + "$id": "210", "kind": "model", "name": "return", "namespace": "SpecialWords.Models", @@ -1050,12 +1596,12 @@ "decorators": [], "properties": [ { - "$id": "143", + "$id": "211", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "144", + "$id": "212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1068,9 +1614,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.return.name", "serializationOptions": { - "$id": "145", + "$id": "213", "json": { - "$id": "146", + "$id": "214", "name": "name" } } @@ -1078,7 +1624,7 @@ ] }, { - "$id": "147", + "$id": "215", "kind": "model", "name": "try", "namespace": "SpecialWords.Models", @@ -1087,12 +1633,12 @@ "decorators": [], "properties": [ { - "$id": "148", + "$id": "216", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "149", + "$id": "217", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1105,9 +1651,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.try.name", "serializationOptions": { - "$id": "150", + "$id": "218", "json": { - "$id": "151", + "$id": "219", "name": "name" } } @@ -1115,7 +1661,7 @@ ] }, { - "$id": "152", + "$id": "220", "kind": "model", "name": "while", "namespace": "SpecialWords.Models", @@ -1124,12 +1670,12 @@ "decorators": [], "properties": [ { - "$id": "153", + "$id": "221", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "154", + "$id": "222", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1142,9 +1688,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.while.name", "serializationOptions": { - "$id": "155", + "$id": "223", "json": { - "$id": "156", + "$id": "224", "name": "name" } } @@ -1152,7 +1698,7 @@ ] }, { - "$id": "157", + "$id": "225", "kind": "model", "name": "with", "namespace": "SpecialWords.Models", @@ -1161,12 +1707,12 @@ "decorators": [], "properties": [ { - "$id": "158", + "$id": "226", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "159", + "$id": "227", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1179,9 +1725,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.with.name", "serializationOptions": { - "$id": "160", + "$id": "228", "json": { - "$id": "161", + "$id": "229", "name": "name" } } @@ -1189,7 +1735,7 @@ ] }, { - "$id": "162", + "$id": "230", "kind": "model", "name": "yield", "namespace": "SpecialWords.Models", @@ -1198,12 +1744,12 @@ "decorators": [], "properties": [ { - "$id": "163", + "$id": "231", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "164", + "$id": "232", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1216,9 +1762,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.yield.name", "serializationOptions": { - "$id": "165", + "$id": "233", "json": { - "$id": "166", + "$id": "234", "name": "name" } } @@ -1226,7 +1772,7 @@ ] }, { - "$id": "167", + "$id": "235", "kind": "model", "name": "SameAsModel", "namespace": "SpecialWords.ModelProperties", @@ -1235,12 +1781,12 @@ "decorators": [], "properties": [ { - "$id": "168", + "$id": "236", "kind": "property", "name": "SameAsModel", "serializedName": "SameAsModel", "type": { - "$id": "169", + "$id": "237", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1253,9 +1799,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.ModelProperties.SameAsModel.SameAsModel", "serializationOptions": { - "$id": "170", + "$id": "238", "json": { - "$id": "171", + "$id": "239", "name": "SameAsModel" } } @@ -1265,7 +1811,7 @@ ], "clients": [ { - "$id": "172", + "$id": "240", "kind": "client", "name": "SpecialWordsClient", "namespace": "SpecialWords", @@ -1273,12 +1819,12 @@ "methods": [], "parameters": [ { - "$id": "173", + "$id": "241", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "174", + "$id": "242", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1292,9 +1838,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "175", + "$id": "243", "type": { - "$id": "176", + "$id": "244", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1308,44 +1854,31 @@ "apiVersions": [], "children": [ { - "$id": "177", + "$id": "245", "kind": "client", "name": "Models", "namespace": "SpecialWords.Models", "doc": "Verify model names", "methods": [ { - "$id": "178", + "$id": "246", "kind": "basic", "name": "withAnd", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "179", + "$id": "247", "name": "withAnd", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "180", + "$id": "248", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "181", - "kind": "constant", - "name": "withAndContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "182", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -1358,11 +1891,11 @@ "skipUrlEncoding": false }, { - "$id": "183", + "$id": "249", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "70" }, "location": "Body", "isApiVersion": false, @@ -1377,7 +1910,7 @@ ], "responses": [ { - "$id": "184", + "$id": "250", "statusCodes": [ 204 ], @@ -1399,11 +1932,11 @@ }, "parameters": [ { - "$id": "185", + "$id": "251", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "70" }, "location": "Body", "isApiVersion": false, @@ -1416,12 +1949,12 @@ "skipUrlEncoding": false }, { - "$id": "186", + "$id": "252", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "181" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -1435,7 +1968,7 @@ } ], "response": { - "$id": "187" + "$id": "253" }, "isOverride": false, "generateConvenient": true, @@ -1443,37 +1976,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAnd" }, { - "$id": "188", + "$id": "254", "kind": "basic", "name": "withAs", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "189", + "$id": "255", "name": "withAs", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "190", + "$id": "256", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "191", - "kind": "constant", - "name": "withAsContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "192", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -1486,11 +2006,11 @@ "skipUrlEncoding": false }, { - "$id": "193", + "$id": "257", "name": "body", "nameInRequest": "body", "type": { - "$ref": "7" + "$ref": "75" }, "location": "Body", "isApiVersion": false, @@ -1505,7 +2025,7 @@ ], "responses": [ { - "$id": "194", + "$id": "258", "statusCodes": [ 204 ], @@ -1527,11 +2047,11 @@ }, "parameters": [ { - "$id": "195", + "$id": "259", "name": "body", "nameInRequest": "body", "type": { - "$ref": "7" + "$ref": "75" }, "location": "Body", "isApiVersion": false, @@ -1544,12 +2064,12 @@ "skipUrlEncoding": false }, { - "$id": "196", + "$id": "260", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "191" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -1563,7 +2083,7 @@ } ], "response": { - "$id": "197" + "$id": "261" }, "isOverride": false, "generateConvenient": true, @@ -1571,37 +2091,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAs" }, { - "$id": "198", + "$id": "262", "kind": "basic", "name": "withAssert", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "199", + "$id": "263", "name": "withAssert", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "200", + "$id": "264", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "201", - "kind": "constant", - "name": "withAssertContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "202", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -1614,11 +2121,11 @@ "skipUrlEncoding": false }, { - "$id": "203", + "$id": "265", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "80" }, "location": "Body", "isApiVersion": false, @@ -1633,7 +2140,7 @@ ], "responses": [ { - "$id": "204", + "$id": "266", "statusCodes": [ 204 ], @@ -1655,11 +2162,11 @@ }, "parameters": [ { - "$id": "205", + "$id": "267", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "80" }, "location": "Body", "isApiVersion": false, @@ -1672,12 +2179,12 @@ "skipUrlEncoding": false }, { - "$id": "206", + "$id": "268", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "201" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -1691,7 +2198,7 @@ } ], "response": { - "$id": "207" + "$id": "269" }, "isOverride": false, "generateConvenient": true, @@ -1699,37 +2206,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAssert" }, { - "$id": "208", + "$id": "270", "kind": "basic", "name": "withAsync", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "209", + "$id": "271", "name": "withAsync", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "210", + "$id": "272", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "211", - "kind": "constant", - "name": "withAsyncContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "212", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -1742,11 +2236,11 @@ "skipUrlEncoding": false }, { - "$id": "213", + "$id": "273", "name": "body", "nameInRequest": "body", "type": { - "$ref": "17" + "$ref": "85" }, "location": "Body", "isApiVersion": false, @@ -1761,7 +2255,7 @@ ], "responses": [ { - "$id": "214", + "$id": "274", "statusCodes": [ 204 ], @@ -1783,11 +2277,11 @@ }, "parameters": [ { - "$id": "215", + "$id": "275", "name": "body", "nameInRequest": "body", "type": { - "$ref": "17" + "$ref": "85" }, "location": "Body", "isApiVersion": false, @@ -1800,12 +2294,12 @@ "skipUrlEncoding": false }, { - "$id": "216", + "$id": "276", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "211" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -1819,7 +2313,7 @@ } ], "response": { - "$id": "217" + "$id": "277" }, "isOverride": false, "generateConvenient": true, @@ -1827,37 +2321,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAsync" }, { - "$id": "218", + "$id": "278", "kind": "basic", "name": "withAwait", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "219", + "$id": "279", "name": "withAwait", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "220", + "$id": "280", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "221", - "kind": "constant", - "name": "withAwaitContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "222", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1870,11 +2351,11 @@ "skipUrlEncoding": false }, { - "$id": "223", + "$id": "281", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "90" }, "location": "Body", "isApiVersion": false, @@ -1889,7 +2370,7 @@ ], "responses": [ { - "$id": "224", + "$id": "282", "statusCodes": [ 204 ], @@ -1911,11 +2392,11 @@ }, "parameters": [ { - "$id": "225", + "$id": "283", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "90" }, "location": "Body", "isApiVersion": false, @@ -1928,12 +2409,12 @@ "skipUrlEncoding": false }, { - "$id": "226", + "$id": "284", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "221" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1947,7 +2428,7 @@ } ], "response": { - "$id": "227" + "$id": "285" }, "isOverride": false, "generateConvenient": true, @@ -1955,37 +2436,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAwait" }, { - "$id": "228", + "$id": "286", "kind": "basic", "name": "withBreak", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "229", + "$id": "287", "name": "withBreak", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "230", + "$id": "288", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "231", - "kind": "constant", - "name": "withBreakContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "232", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1998,11 +2466,11 @@ "skipUrlEncoding": false }, { - "$id": "233", + "$id": "289", "name": "body", "nameInRequest": "body", "type": { - "$ref": "27" + "$ref": "95" }, "location": "Body", "isApiVersion": false, @@ -2017,7 +2485,7 @@ ], "responses": [ { - "$id": "234", + "$id": "290", "statusCodes": [ 204 ], @@ -2039,11 +2507,11 @@ }, "parameters": [ { - "$id": "235", + "$id": "291", "name": "body", "nameInRequest": "body", "type": { - "$ref": "27" + "$ref": "95" }, "location": "Body", "isApiVersion": false, @@ -2056,12 +2524,12 @@ "skipUrlEncoding": false }, { - "$id": "236", + "$id": "292", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "231" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -2075,7 +2543,7 @@ } ], "response": { - "$id": "237" + "$id": "293" }, "isOverride": false, "generateConvenient": true, @@ -2083,37 +2551,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withBreak" }, { - "$id": "238", + "$id": "294", "kind": "basic", "name": "withClass", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "239", + "$id": "295", "name": "withClass", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "240", + "$id": "296", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "241", - "kind": "constant", - "name": "withClassContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "242", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -2126,11 +2581,11 @@ "skipUrlEncoding": false }, { - "$id": "243", + "$id": "297", "name": "body", "nameInRequest": "body", "type": { - "$ref": "32" + "$ref": "100" }, "location": "Body", "isApiVersion": false, @@ -2145,7 +2600,7 @@ ], "responses": [ { - "$id": "244", + "$id": "298", "statusCodes": [ 204 ], @@ -2167,11 +2622,11 @@ }, "parameters": [ { - "$id": "245", + "$id": "299", "name": "body", "nameInRequest": "body", "type": { - "$ref": "32" + "$ref": "100" }, "location": "Body", "isApiVersion": false, @@ -2184,12 +2639,12 @@ "skipUrlEncoding": false }, { - "$id": "246", + "$id": "300", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "241" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -2203,7 +2658,7 @@ } ], "response": { - "$id": "247" + "$id": "301" }, "isOverride": false, "generateConvenient": true, @@ -2211,37 +2666,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withClass" }, { - "$id": "248", + "$id": "302", "kind": "basic", "name": "withConstructor", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "249", + "$id": "303", "name": "withConstructor", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "250", + "$id": "304", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "251", - "kind": "constant", - "name": "withConstructorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "252", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -2254,11 +2696,11 @@ "skipUrlEncoding": false }, { - "$id": "253", + "$id": "305", "name": "body", "nameInRequest": "body", "type": { - "$ref": "37" + "$ref": "105" }, "location": "Body", "isApiVersion": false, @@ -2273,7 +2715,7 @@ ], "responses": [ { - "$id": "254", + "$id": "306", "statusCodes": [ 204 ], @@ -2295,11 +2737,11 @@ }, "parameters": [ { - "$id": "255", + "$id": "307", "name": "body", "nameInRequest": "body", "type": { - "$ref": "37" + "$ref": "105" }, "location": "Body", "isApiVersion": false, @@ -2312,12 +2754,12 @@ "skipUrlEncoding": false }, { - "$id": "256", + "$id": "308", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "251" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -2331,7 +2773,7 @@ } ], "response": { - "$id": "257" + "$id": "309" }, "isOverride": false, "generateConvenient": true, @@ -2339,37 +2781,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withConstructor" }, { - "$id": "258", + "$id": "310", "kind": "basic", "name": "withContinue", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "259", + "$id": "311", "name": "withContinue", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "260", + "$id": "312", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "261", - "kind": "constant", - "name": "withContinueContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "262", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -2382,11 +2811,11 @@ "skipUrlEncoding": false }, { - "$id": "263", + "$id": "313", "name": "body", "nameInRequest": "body", "type": { - "$ref": "42" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -2401,7 +2830,7 @@ ], "responses": [ { - "$id": "264", + "$id": "314", "statusCodes": [ 204 ], @@ -2423,11 +2852,11 @@ }, "parameters": [ { - "$id": "265", + "$id": "315", "name": "body", "nameInRequest": "body", "type": { - "$ref": "42" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -2440,12 +2869,12 @@ "skipUrlEncoding": false }, { - "$id": "266", + "$id": "316", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "261" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -2459,7 +2888,7 @@ } ], "response": { - "$id": "267" + "$id": "317" }, "isOverride": false, "generateConvenient": true, @@ -2467,37 +2896,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withContinue" }, { - "$id": "268", + "$id": "318", "kind": "basic", "name": "withDef", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "269", + "$id": "319", "name": "withDef", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "270", + "$id": "320", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "271", - "kind": "constant", - "name": "withDefContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "272", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -2510,11 +2926,11 @@ "skipUrlEncoding": false }, { - "$id": "273", + "$id": "321", "name": "body", "nameInRequest": "body", "type": { - "$ref": "47" + "$ref": "115" }, "location": "Body", "isApiVersion": false, @@ -2529,7 +2945,7 @@ ], "responses": [ { - "$id": "274", + "$id": "322", "statusCodes": [ 204 ], @@ -2551,11 +2967,11 @@ }, "parameters": [ { - "$id": "275", + "$id": "323", "name": "body", "nameInRequest": "body", "type": { - "$ref": "47" + "$ref": "115" }, "location": "Body", "isApiVersion": false, @@ -2568,12 +2984,12 @@ "skipUrlEncoding": false }, { - "$id": "276", + "$id": "324", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "271" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -2587,7 +3003,7 @@ } ], "response": { - "$id": "277" + "$id": "325" }, "isOverride": false, "generateConvenient": true, @@ -2595,37 +3011,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withDef" }, { - "$id": "278", + "$id": "326", "kind": "basic", "name": "withDel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "279", + "$id": "327", "name": "withDel", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "280", + "$id": "328", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "281", - "kind": "constant", - "name": "withDelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "282", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -2638,11 +3041,11 @@ "skipUrlEncoding": false }, { - "$id": "283", + "$id": "329", "name": "body", "nameInRequest": "body", "type": { - "$ref": "52" + "$ref": "120" }, "location": "Body", "isApiVersion": false, @@ -2657,7 +3060,7 @@ ], "responses": [ { - "$id": "284", + "$id": "330", "statusCodes": [ 204 ], @@ -2679,11 +3082,11 @@ }, "parameters": [ { - "$id": "285", + "$id": "331", "name": "body", "nameInRequest": "body", "type": { - "$ref": "52" + "$ref": "120" }, "location": "Body", "isApiVersion": false, @@ -2696,12 +3099,12 @@ "skipUrlEncoding": false }, { - "$id": "286", + "$id": "332", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "281" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -2715,7 +3118,7 @@ } ], "response": { - "$id": "287" + "$id": "333" }, "isOverride": false, "generateConvenient": true, @@ -2723,37 +3126,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withDel" }, { - "$id": "288", + "$id": "334", "kind": "basic", "name": "withElif", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "289", + "$id": "335", "name": "withElif", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "290", + "$id": "336", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "291", - "kind": "constant", - "name": "withElifContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "292", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -2766,11 +3156,11 @@ "skipUrlEncoding": false }, { - "$id": "293", + "$id": "337", "name": "body", "nameInRequest": "body", "type": { - "$ref": "57" + "$ref": "125" }, "location": "Body", "isApiVersion": false, @@ -2785,7 +3175,7 @@ ], "responses": [ { - "$id": "294", + "$id": "338", "statusCodes": [ 204 ], @@ -2807,11 +3197,11 @@ }, "parameters": [ { - "$id": "295", + "$id": "339", "name": "body", "nameInRequest": "body", "type": { - "$ref": "57" + "$ref": "125" }, "location": "Body", "isApiVersion": false, @@ -2824,12 +3214,12 @@ "skipUrlEncoding": false }, { - "$id": "296", + "$id": "340", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "291" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -2843,7 +3233,7 @@ } ], "response": { - "$id": "297" + "$id": "341" }, "isOverride": false, "generateConvenient": true, @@ -2851,37 +3241,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withElif" }, { - "$id": "298", + "$id": "342", "kind": "basic", "name": "withElse", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "299", + "$id": "343", "name": "withElse", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "300", + "$id": "344", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "301", - "kind": "constant", - "name": "withElseContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "302", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -2894,11 +3271,11 @@ "skipUrlEncoding": false }, { - "$id": "303", + "$id": "345", "name": "body", "nameInRequest": "body", "type": { - "$ref": "62" + "$ref": "130" }, "location": "Body", "isApiVersion": false, @@ -2913,7 +3290,7 @@ ], "responses": [ { - "$id": "304", + "$id": "346", "statusCodes": [ 204 ], @@ -2935,11 +3312,11 @@ }, "parameters": [ { - "$id": "305", + "$id": "347", "name": "body", "nameInRequest": "body", "type": { - "$ref": "62" + "$ref": "130" }, "location": "Body", "isApiVersion": false, @@ -2952,12 +3329,12 @@ "skipUrlEncoding": false }, { - "$id": "306", + "$id": "348", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "301" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -2971,7 +3348,7 @@ } ], "response": { - "$id": "307" + "$id": "349" }, "isOverride": false, "generateConvenient": true, @@ -2979,37 +3356,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withElse" }, { - "$id": "308", + "$id": "350", "kind": "basic", "name": "withExcept", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "309", + "$id": "351", "name": "withExcept", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "310", + "$id": "352", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "311", - "kind": "constant", - "name": "withExceptContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "312", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -3022,11 +3386,11 @@ "skipUrlEncoding": false }, { - "$id": "313", + "$id": "353", "name": "body", "nameInRequest": "body", "type": { - "$ref": "67" + "$ref": "135" }, "location": "Body", "isApiVersion": false, @@ -3041,7 +3405,7 @@ ], "responses": [ { - "$id": "314", + "$id": "354", "statusCodes": [ 204 ], @@ -3063,11 +3427,11 @@ }, "parameters": [ { - "$id": "315", + "$id": "355", "name": "body", "nameInRequest": "body", "type": { - "$ref": "67" + "$ref": "135" }, "location": "Body", "isApiVersion": false, @@ -3080,12 +3444,12 @@ "skipUrlEncoding": false }, { - "$id": "316", + "$id": "356", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "311" + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -3099,7 +3463,7 @@ } ], "response": { - "$id": "317" + "$id": "357" }, "isOverride": false, "generateConvenient": true, @@ -3107,37 +3471,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withExcept" }, { - "$id": "318", + "$id": "358", "kind": "basic", "name": "withExec", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "319", + "$id": "359", "name": "withExec", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "320", + "$id": "360", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "321", - "kind": "constant", - "name": "withExecContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "322", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -3150,11 +3501,11 @@ "skipUrlEncoding": false }, { - "$id": "323", + "$id": "361", "name": "body", "nameInRequest": "body", "type": { - "$ref": "72" + "$ref": "140" }, "location": "Body", "isApiVersion": false, @@ -3169,7 +3520,7 @@ ], "responses": [ { - "$id": "324", + "$id": "362", "statusCodes": [ 204 ], @@ -3191,11 +3542,11 @@ }, "parameters": [ { - "$id": "325", + "$id": "363", "name": "body", "nameInRequest": "body", "type": { - "$ref": "72" + "$ref": "140" }, "location": "Body", "isApiVersion": false, @@ -3208,12 +3559,12 @@ "skipUrlEncoding": false }, { - "$id": "326", + "$id": "364", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "321" + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -3227,7 +3578,7 @@ } ], "response": { - "$id": "327" + "$id": "365" }, "isOverride": false, "generateConvenient": true, @@ -3235,37 +3586,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withExec" }, { - "$id": "328", + "$id": "366", "kind": "basic", "name": "withFinally", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "329", + "$id": "367", "name": "withFinally", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "330", + "$id": "368", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "331", - "kind": "constant", - "name": "withFinallyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "332", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -3278,11 +3616,11 @@ "skipUrlEncoding": false }, { - "$id": "333", + "$id": "369", "name": "body", "nameInRequest": "body", "type": { - "$ref": "77" + "$ref": "145" }, "location": "Body", "isApiVersion": false, @@ -3297,7 +3635,7 @@ ], "responses": [ { - "$id": "334", + "$id": "370", "statusCodes": [ 204 ], @@ -3319,11 +3657,11 @@ }, "parameters": [ { - "$id": "335", + "$id": "371", "name": "body", "nameInRequest": "body", "type": { - "$ref": "77" + "$ref": "145" }, "location": "Body", "isApiVersion": false, @@ -3336,12 +3674,12 @@ "skipUrlEncoding": false }, { - "$id": "336", + "$id": "372", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "331" + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -3355,7 +3693,7 @@ } ], "response": { - "$id": "337" + "$id": "373" }, "isOverride": false, "generateConvenient": true, @@ -3363,37 +3701,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFinally" }, { - "$id": "338", + "$id": "374", "kind": "basic", "name": "withFor", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "339", + "$id": "375", "name": "withFor", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "340", + "$id": "376", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "341", - "kind": "constant", - "name": "withForContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "342", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -3406,11 +3731,11 @@ "skipUrlEncoding": false }, { - "$id": "343", + "$id": "377", "name": "body", "nameInRequest": "body", "type": { - "$ref": "82" + "$ref": "150" }, "location": "Body", "isApiVersion": false, @@ -3425,7 +3750,7 @@ ], "responses": [ { - "$id": "344", + "$id": "378", "statusCodes": [ 204 ], @@ -3447,11 +3772,11 @@ }, "parameters": [ { - "$id": "345", + "$id": "379", "name": "body", "nameInRequest": "body", "type": { - "$ref": "82" + "$ref": "150" }, "location": "Body", "isApiVersion": false, @@ -3464,12 +3789,12 @@ "skipUrlEncoding": false }, { - "$id": "346", + "$id": "380", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "341" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -3483,7 +3808,7 @@ } ], "response": { - "$id": "347" + "$id": "381" }, "isOverride": false, "generateConvenient": true, @@ -3491,37 +3816,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFor" }, { - "$id": "348", + "$id": "382", "kind": "basic", "name": "withFrom", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "349", + "$id": "383", "name": "withFrom", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "350", + "$id": "384", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "351", - "kind": "constant", - "name": "withFromContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "352", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -3534,11 +3846,11 @@ "skipUrlEncoding": false }, { - "$id": "353", + "$id": "385", "name": "body", "nameInRequest": "body", "type": { - "$ref": "87" + "$ref": "155" }, "location": "Body", "isApiVersion": false, @@ -3553,7 +3865,7 @@ ], "responses": [ { - "$id": "354", + "$id": "386", "statusCodes": [ 204 ], @@ -3575,11 +3887,11 @@ }, "parameters": [ { - "$id": "355", + "$id": "387", "name": "body", "nameInRequest": "body", "type": { - "$ref": "87" + "$ref": "155" }, "location": "Body", "isApiVersion": false, @@ -3592,12 +3904,12 @@ "skipUrlEncoding": false }, { - "$id": "356", + "$id": "388", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "351" + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -3611,7 +3923,7 @@ } ], "response": { - "$id": "357" + "$id": "389" }, "isOverride": false, "generateConvenient": true, @@ -3619,37 +3931,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFrom" }, { - "$id": "358", + "$id": "390", "kind": "basic", "name": "withGlobal", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "359", + "$id": "391", "name": "withGlobal", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "360", + "$id": "392", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "361", - "kind": "constant", - "name": "withGlobalContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "362", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -3662,11 +3961,11 @@ "skipUrlEncoding": false }, { - "$id": "363", + "$id": "393", "name": "body", "nameInRequest": "body", "type": { - "$ref": "92" + "$ref": "160" }, "location": "Body", "isApiVersion": false, @@ -3681,7 +3980,7 @@ ], "responses": [ { - "$id": "364", + "$id": "394", "statusCodes": [ 204 ], @@ -3703,11 +4002,11 @@ }, "parameters": [ { - "$id": "365", + "$id": "395", "name": "body", "nameInRequest": "body", "type": { - "$ref": "92" + "$ref": "160" }, "location": "Body", "isApiVersion": false, @@ -3720,12 +4019,12 @@ "skipUrlEncoding": false }, { - "$id": "366", + "$id": "396", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "361" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -3739,7 +4038,7 @@ } ], "response": { - "$id": "367" + "$id": "397" }, "isOverride": false, "generateConvenient": true, @@ -3747,37 +4046,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withGlobal" }, { - "$id": "368", + "$id": "398", "kind": "basic", "name": "withIf", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "369", + "$id": "399", "name": "withIf", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "370", + "$id": "400", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "371", - "kind": "constant", - "name": "withIfContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "372", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -3790,11 +4076,11 @@ "skipUrlEncoding": false }, { - "$id": "373", + "$id": "401", "name": "body", "nameInRequest": "body", "type": { - "$ref": "97" + "$ref": "165" }, "location": "Body", "isApiVersion": false, @@ -3809,7 +4095,7 @@ ], "responses": [ { - "$id": "374", + "$id": "402", "statusCodes": [ 204 ], @@ -3831,11 +4117,11 @@ }, "parameters": [ { - "$id": "375", + "$id": "403", "name": "body", "nameInRequest": "body", "type": { - "$ref": "97" + "$ref": "165" }, "location": "Body", "isApiVersion": false, @@ -3848,12 +4134,12 @@ "skipUrlEncoding": false }, { - "$id": "376", + "$id": "404", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "371" + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -3867,7 +4153,7 @@ } ], "response": { - "$id": "377" + "$id": "405" }, "isOverride": false, "generateConvenient": true, @@ -3875,37 +4161,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIf" }, { - "$id": "378", + "$id": "406", "kind": "basic", "name": "withImport", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "379", + "$id": "407", "name": "withImport", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "380", + "$id": "408", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "381", - "kind": "constant", - "name": "withImportContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "382", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3918,11 +4191,11 @@ "skipUrlEncoding": false }, { - "$id": "383", + "$id": "409", "name": "body", "nameInRequest": "body", "type": { - "$ref": "102" + "$ref": "170" }, "location": "Body", "isApiVersion": false, @@ -3937,7 +4210,7 @@ ], "responses": [ { - "$id": "384", + "$id": "410", "statusCodes": [ 204 ], @@ -3959,11 +4232,11 @@ }, "parameters": [ { - "$id": "385", + "$id": "411", "name": "body", "nameInRequest": "body", "type": { - "$ref": "102" + "$ref": "170" }, "location": "Body", "isApiVersion": false, @@ -3976,12 +4249,12 @@ "skipUrlEncoding": false }, { - "$id": "386", + "$id": "412", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "381" + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3995,7 +4268,7 @@ } ], "response": { - "$id": "387" + "$id": "413" }, "isOverride": false, "generateConvenient": true, @@ -4003,37 +4276,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withImport" }, { - "$id": "388", + "$id": "414", "kind": "basic", "name": "withIn", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "389", + "$id": "415", "name": "withIn", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "390", + "$id": "416", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "391", - "kind": "constant", - "name": "withInContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "392", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -4046,11 +4306,11 @@ "skipUrlEncoding": false }, { - "$id": "393", + "$id": "417", "name": "body", "nameInRequest": "body", "type": { - "$ref": "107" + "$ref": "175" }, "location": "Body", "isApiVersion": false, @@ -4065,7 +4325,7 @@ ], "responses": [ { - "$id": "394", + "$id": "418", "statusCodes": [ 204 ], @@ -4087,11 +4347,11 @@ }, "parameters": [ { - "$id": "395", + "$id": "419", "name": "body", "nameInRequest": "body", "type": { - "$ref": "107" + "$ref": "175" }, "location": "Body", "isApiVersion": false, @@ -4104,12 +4364,12 @@ "skipUrlEncoding": false }, { - "$id": "396", + "$id": "420", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "391" + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -4123,7 +4383,7 @@ } ], "response": { - "$id": "397" + "$id": "421" }, "isOverride": false, "generateConvenient": true, @@ -4131,37 +4391,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIn" }, { - "$id": "398", + "$id": "422", "kind": "basic", "name": "withIs", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "399", + "$id": "423", "name": "withIs", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "400", + "$id": "424", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "401", - "kind": "constant", - "name": "withIsContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "402", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -4174,11 +4421,11 @@ "skipUrlEncoding": false }, { - "$id": "403", + "$id": "425", "name": "body", "nameInRequest": "body", "type": { - "$ref": "112" + "$ref": "180" }, "location": "Body", "isApiVersion": false, @@ -4193,7 +4440,7 @@ ], "responses": [ { - "$id": "404", + "$id": "426", "statusCodes": [ 204 ], @@ -4215,11 +4462,11 @@ }, "parameters": [ { - "$id": "405", + "$id": "427", "name": "body", "nameInRequest": "body", "type": { - "$ref": "112" + "$ref": "180" }, "location": "Body", "isApiVersion": false, @@ -4232,12 +4479,12 @@ "skipUrlEncoding": false }, { - "$id": "406", + "$id": "428", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "401" + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -4251,7 +4498,7 @@ } ], "response": { - "$id": "407" + "$id": "429" }, "isOverride": false, "generateConvenient": true, @@ -4259,37 +4506,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIs" }, { - "$id": "408", + "$id": "430", "kind": "basic", "name": "withLambda", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "409", + "$id": "431", "name": "withLambda", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "410", + "$id": "432", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "411", - "kind": "constant", - "name": "withLambdaContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "412", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -4302,11 +4536,11 @@ "skipUrlEncoding": false }, { - "$id": "413", + "$id": "433", "name": "body", "nameInRequest": "body", "type": { - "$ref": "117" + "$ref": "185" }, "location": "Body", "isApiVersion": false, @@ -4321,7 +4555,7 @@ ], "responses": [ { - "$id": "414", + "$id": "434", "statusCodes": [ 204 ], @@ -4343,11 +4577,11 @@ }, "parameters": [ { - "$id": "415", + "$id": "435", "name": "body", "nameInRequest": "body", "type": { - "$ref": "117" + "$ref": "185" }, "location": "Body", "isApiVersion": false, @@ -4360,12 +4594,12 @@ "skipUrlEncoding": false }, { - "$id": "416", + "$id": "436", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "411" + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -4379,7 +4613,7 @@ } ], "response": { - "$id": "417" + "$id": "437" }, "isOverride": false, "generateConvenient": true, @@ -4387,37 +4621,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withLambda" }, { - "$id": "418", + "$id": "438", "kind": "basic", "name": "withNot", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "419", + "$id": "439", "name": "withNot", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "420", + "$id": "440", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "421", - "kind": "constant", - "name": "withNotContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "422", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -4430,11 +4651,11 @@ "skipUrlEncoding": false }, { - "$id": "423", + "$id": "441", "name": "body", "nameInRequest": "body", "type": { - "$ref": "122" + "$ref": "190" }, "location": "Body", "isApiVersion": false, @@ -4449,7 +4670,7 @@ ], "responses": [ { - "$id": "424", + "$id": "442", "statusCodes": [ 204 ], @@ -4471,11 +4692,11 @@ }, "parameters": [ { - "$id": "425", + "$id": "443", "name": "body", "nameInRequest": "body", "type": { - "$ref": "122" + "$ref": "190" }, "location": "Body", "isApiVersion": false, @@ -4488,12 +4709,12 @@ "skipUrlEncoding": false }, { - "$id": "426", + "$id": "444", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "421" + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -4507,7 +4728,7 @@ } ], "response": { - "$id": "427" + "$id": "445" }, "isOverride": false, "generateConvenient": true, @@ -4515,37 +4736,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withNot" }, { - "$id": "428", + "$id": "446", "kind": "basic", "name": "withOr", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "429", + "$id": "447", "name": "withOr", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "430", + "$id": "448", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "431", - "kind": "constant", - "name": "withOrContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "432", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -4558,11 +4766,11 @@ "skipUrlEncoding": false }, { - "$id": "433", + "$id": "449", "name": "body", "nameInRequest": "body", "type": { - "$ref": "127" + "$ref": "195" }, "location": "Body", "isApiVersion": false, @@ -4577,7 +4785,7 @@ ], "responses": [ { - "$id": "434", + "$id": "450", "statusCodes": [ 204 ], @@ -4599,11 +4807,11 @@ }, "parameters": [ { - "$id": "435", + "$id": "451", "name": "body", "nameInRequest": "body", "type": { - "$ref": "127" + "$ref": "195" }, "location": "Body", "isApiVersion": false, @@ -4616,12 +4824,12 @@ "skipUrlEncoding": false }, { - "$id": "436", + "$id": "452", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "431" + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -4635,7 +4843,7 @@ } ], "response": { - "$id": "437" + "$id": "453" }, "isOverride": false, "generateConvenient": true, @@ -4643,37 +4851,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withOr" }, { - "$id": "438", + "$id": "454", "kind": "basic", "name": "withPass", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "439", + "$id": "455", "name": "withPass", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "440", + "$id": "456", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "441", - "kind": "constant", - "name": "withPassContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "442", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -4686,11 +4881,11 @@ "skipUrlEncoding": false }, { - "$id": "443", + "$id": "457", "name": "body", "nameInRequest": "body", "type": { - "$ref": "132" + "$ref": "200" }, "location": "Body", "isApiVersion": false, @@ -4705,7 +4900,7 @@ ], "responses": [ { - "$id": "444", + "$id": "458", "statusCodes": [ 204 ], @@ -4727,11 +4922,11 @@ }, "parameters": [ { - "$id": "445", + "$id": "459", "name": "body", "nameInRequest": "body", "type": { - "$ref": "132" + "$ref": "200" }, "location": "Body", "isApiVersion": false, @@ -4744,12 +4939,12 @@ "skipUrlEncoding": false }, { - "$id": "446", + "$id": "460", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "441" + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -4763,7 +4958,7 @@ } ], "response": { - "$id": "447" + "$id": "461" }, "isOverride": false, "generateConvenient": true, @@ -4771,37 +4966,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withPass" }, { - "$id": "448", + "$id": "462", "kind": "basic", "name": "withRaise", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "449", + "$id": "463", "name": "withRaise", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "450", + "$id": "464", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "451", - "kind": "constant", - "name": "withRaiseContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "452", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -4814,11 +4996,11 @@ "skipUrlEncoding": false }, { - "$id": "453", + "$id": "465", "name": "body", "nameInRequest": "body", "type": { - "$ref": "137" + "$ref": "205" }, "location": "Body", "isApiVersion": false, @@ -4833,7 +5015,7 @@ ], "responses": [ { - "$id": "454", + "$id": "466", "statusCodes": [ 204 ], @@ -4855,11 +5037,11 @@ }, "parameters": [ { - "$id": "455", + "$id": "467", "name": "body", "nameInRequest": "body", "type": { - "$ref": "137" + "$ref": "205" }, "location": "Body", "isApiVersion": false, @@ -4872,12 +5054,12 @@ "skipUrlEncoding": false }, { - "$id": "456", + "$id": "468", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "451" + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -4891,7 +5073,7 @@ } ], "response": { - "$id": "457" + "$id": "469" }, "isOverride": false, "generateConvenient": true, @@ -4899,37 +5081,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withRaise" }, { - "$id": "458", + "$id": "470", "kind": "basic", "name": "withReturn", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "459", + "$id": "471", "name": "withReturn", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "460", + "$id": "472", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "461", - "kind": "constant", - "name": "withReturnContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "462", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -4942,11 +5111,11 @@ "skipUrlEncoding": false }, { - "$id": "463", + "$id": "473", "name": "body", "nameInRequest": "body", "type": { - "$ref": "142" + "$ref": "210" }, "location": "Body", "isApiVersion": false, @@ -4961,7 +5130,7 @@ ], "responses": [ { - "$id": "464", + "$id": "474", "statusCodes": [ 204 ], @@ -4983,11 +5152,11 @@ }, "parameters": [ { - "$id": "465", + "$id": "475", "name": "body", "nameInRequest": "body", "type": { - "$ref": "142" + "$ref": "210" }, "location": "Body", "isApiVersion": false, @@ -5000,12 +5169,12 @@ "skipUrlEncoding": false }, { - "$id": "466", + "$id": "476", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "461" + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -5019,7 +5188,7 @@ } ], "response": { - "$id": "467" + "$id": "477" }, "isOverride": false, "generateConvenient": true, @@ -5027,37 +5196,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withReturn" }, { - "$id": "468", + "$id": "478", "kind": "basic", "name": "withTry", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "469", + "$id": "479", "name": "withTry", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "470", + "$id": "480", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "471", - "kind": "constant", - "name": "withTryContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "472", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -5070,11 +5226,11 @@ "skipUrlEncoding": false }, { - "$id": "473", + "$id": "481", "name": "body", "nameInRequest": "body", "type": { - "$ref": "147" + "$ref": "215" }, "location": "Body", "isApiVersion": false, @@ -5089,7 +5245,7 @@ ], "responses": [ { - "$id": "474", + "$id": "482", "statusCodes": [ 204 ], @@ -5111,11 +5267,11 @@ }, "parameters": [ { - "$id": "475", + "$id": "483", "name": "body", "nameInRequest": "body", "type": { - "$ref": "147" + "$ref": "215" }, "location": "Body", "isApiVersion": false, @@ -5128,12 +5284,12 @@ "skipUrlEncoding": false }, { - "$id": "476", + "$id": "484", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "471" + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -5147,7 +5303,7 @@ } ], "response": { - "$id": "477" + "$id": "485" }, "isOverride": false, "generateConvenient": true, @@ -5155,37 +5311,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withTry" }, { - "$id": "478", + "$id": "486", "kind": "basic", "name": "withWhile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "479", + "$id": "487", "name": "withWhile", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "480", + "$id": "488", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "481", - "kind": "constant", - "name": "withWhileContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "482", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -5198,11 +5341,11 @@ "skipUrlEncoding": false }, { - "$id": "483", + "$id": "489", "name": "body", "nameInRequest": "body", "type": { - "$ref": "152" + "$ref": "220" }, "location": "Body", "isApiVersion": false, @@ -5217,7 +5360,7 @@ ], "responses": [ { - "$id": "484", + "$id": "490", "statusCodes": [ 204 ], @@ -5239,11 +5382,11 @@ }, "parameters": [ { - "$id": "485", + "$id": "491", "name": "body", "nameInRequest": "body", "type": { - "$ref": "152" + "$ref": "220" }, "location": "Body", "isApiVersion": false, @@ -5256,12 +5399,12 @@ "skipUrlEncoding": false }, { - "$id": "486", + "$id": "492", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "481" + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -5275,7 +5418,7 @@ } ], "response": { - "$id": "487" + "$id": "493" }, "isOverride": false, "generateConvenient": true, @@ -5283,37 +5426,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withWhile" }, { - "$id": "488", + "$id": "494", "kind": "basic", "name": "withWith", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "489", + "$id": "495", "name": "withWith", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "490", + "$id": "496", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "491", - "kind": "constant", - "name": "withWithContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "492", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -5326,11 +5456,11 @@ "skipUrlEncoding": false }, { - "$id": "493", + "$id": "497", "name": "body", "nameInRequest": "body", "type": { - "$ref": "157" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -5345,7 +5475,7 @@ ], "responses": [ { - "$id": "494", + "$id": "498", "statusCodes": [ 204 ], @@ -5367,11 +5497,11 @@ }, "parameters": [ { - "$id": "495", + "$id": "499", "name": "body", "nameInRequest": "body", "type": { - "$ref": "157" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -5384,12 +5514,12 @@ "skipUrlEncoding": false }, { - "$id": "496", + "$id": "500", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "491" + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -5403,7 +5533,7 @@ } ], "response": { - "$id": "497" + "$id": "501" }, "isOverride": false, "generateConvenient": true, @@ -5411,37 +5541,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withWith" }, { - "$id": "498", + "$id": "502", "kind": "basic", "name": "withYield", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "499", + "$id": "503", "name": "withYield", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "500", + "$id": "504", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "501", - "kind": "constant", - "name": "withYieldContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "502", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -5454,11 +5571,11 @@ "skipUrlEncoding": false }, { - "$id": "503", + "$id": "505", "name": "body", "nameInRequest": "body", "type": { - "$ref": "162" + "$ref": "230" }, "location": "Body", "isApiVersion": false, @@ -5473,7 +5590,7 @@ ], "responses": [ { - "$id": "504", + "$id": "506", "statusCodes": [ 204 ], @@ -5495,11 +5612,11 @@ }, "parameters": [ { - "$id": "505", + "$id": "507", "name": "body", "nameInRequest": "body", "type": { - "$ref": "162" + "$ref": "230" }, "location": "Body", "isApiVersion": false, @@ -5512,12 +5629,12 @@ "skipUrlEncoding": false }, { - "$id": "506", + "$id": "508", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "501" + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -5531,7 +5648,7 @@ } ], "response": { - "$id": "507" + "$id": "509" }, "isOverride": false, "generateConvenient": true, @@ -5541,12 +5658,12 @@ ], "parameters": [ { - "$id": "508", + "$id": "510", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "509", + "$id": "511", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5560,9 +5677,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "510", + "$id": "512", "type": { - "$id": "511", + "$id": "513", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5575,48 +5692,35 @@ "crossLanguageDefinitionId": "SpecialWords.Models", "apiVersions": [], "parent": { - "$ref": "172" + "$ref": "240" } }, { - "$id": "512", + "$id": "514", "kind": "client", "name": "ModelProperties", "namespace": "SpecialWords.ModelProperties", "doc": "Verify model names", "methods": [ { - "$id": "513", + "$id": "515", "kind": "basic", "name": "sameAsModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "514", + "$id": "516", "name": "sameAsModel", "resourceName": "ModelProperties", "accessibility": "public", "parameters": [ { - "$id": "515", + "$id": "517", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "516", - "kind": "constant", - "name": "sameAsModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "517", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -5633,7 +5737,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "167" + "$ref": "235" }, "location": "Body", "isApiVersion": false, @@ -5674,7 +5778,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "167" + "$ref": "235" }, "location": "Body", "isApiVersion": false, @@ -5692,7 +5796,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "516" + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -5750,7 +5854,7 @@ "crossLanguageDefinitionId": "SpecialWords.ModelProperties", "apiVersions": [], "parent": { - "$ref": "172" + "$ref": "240" } }, { @@ -7117,7 +7221,7 @@ "crossLanguageDefinitionId": "SpecialWords.Operations", "apiVersions": [], "parent": { - "$ref": "172" + "$ref": "240" } }, { @@ -10020,7 +10124,7 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters", "apiVersions": [], "parent": { - "$ref": "172" + "$ref": "240" } } ] diff --git a/test/CadlRanchProjects/type/array/tspCodeModel.json b/test/CadlRanchProjects/type/array/tspCodeModel.json index bbafc053a74..f060c7a3b3b 100644 --- a/test/CadlRanchProjects/type/array/tspCodeModel.json +++ b/test/CadlRanchProjects/type/array/tspCodeModel.json @@ -3,9 +3,459 @@ "name": "Type.Array", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "putContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "putContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "getContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "putContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "getContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "putContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "getContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "putContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "getContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "putContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "getContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "putContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "getContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "putContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "getContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "putContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "getContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "putContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "getContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "putContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "getContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "putContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "getContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "putContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "getContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "putContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "58", "kind": "model", "name": "InnerModel", "namespace": "_Type._Array", @@ -15,13 +465,13 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "59", "kind": "property", "name": "property", "serializedName": "property", "doc": "Required string property", "type": { - "$id": "4", + "$id": "60", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34,24 +484,24 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Array.InnerModel.property", "serializationOptions": { - "$id": "5", + "$id": "61", "json": { - "$id": "6", + "$id": "62", "name": "property" } } }, { - "$id": "7", + "$id": "63", "kind": "property", "name": "children", "serializedName": "children", "type": { - "$id": "8", + "$id": "64", "kind": "array", "name": "ArrayInnerModel", "valueType": { - "$ref": "2" + "$ref": "58" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -63,9 +513,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Array.InnerModel.children", "serializationOptions": { - "$id": "9", + "$id": "65", "json": { - "$id": "10", + "$id": "66", "name": "children" } } @@ -75,7 +525,7 @@ ], "clients": [ { - "$id": "11", + "$id": "67", "kind": "client", "name": "ArrayClient", "namespace": "_Type._Array", @@ -83,12 +533,12 @@ "methods": [], "parameters": [ { - "$id": "12", + "$id": "68", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "13", + "$id": "69", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -102,9 +552,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "14", + "$id": "70", "type": { - "$id": "15", + "$id": "71", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -118,43 +568,30 @@ "apiVersions": [], "children": [ { - "$id": "16", + "$id": "72", "kind": "client", "name": "Int32Value", "namespace": "_Type._Array", "doc": "Array of int32 values", "methods": [ { - "$id": "17", + "$id": "73", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "18", + "$id": "74", "name": "get", "resourceName": "Int32Value", "accessibility": "public", "parameters": [ { - "$id": "19", + "$id": "75", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "20", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "21", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -169,16 +606,16 @@ ], "responses": [ { - "$id": "22", + "$id": "76", "statusCodes": [ 200 ], "bodyType": { - "$id": "23", + "$id": "77", "kind": "array", "name": "Array", "valueType": { - "$id": "24", + "$id": "78", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -205,11 +642,11 @@ }, "parameters": [ { - "$id": "25", + "$id": "79", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "20" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -223,9 +660,9 @@ } ], "response": { - "$id": "26", + "$id": "80", "type": { - "$ref": "23" + "$ref": "77" } }, "isOverride": false, @@ -234,37 +671,24 @@ "crossLanguageDefinitionId": "Type.Array.Int32Value.get" }, { - "$id": "27", + "$id": "81", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "28", + "$id": "82", "name": "put", "resourceName": "Int32Value", "accessibility": "public", "parameters": [ { - "$id": "29", + "$id": "83", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "30", - "kind": "constant", - "name": "putContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "31", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -277,11 +701,11 @@ "skipUrlEncoding": false }, { - "$id": "32", + "$id": "84", "name": "body", "nameInRequest": "body", "type": { - "$ref": "23" + "$ref": "77" }, "location": "Body", "isApiVersion": false, @@ -296,7 +720,7 @@ ], "responses": [ { - "$id": "33", + "$id": "85", "statusCodes": [ 204 ], @@ -318,11 +742,11 @@ }, "parameters": [ { - "$id": "34", + "$id": "86", "name": "body", "nameInRequest": "body", "type": { - "$ref": "23" + "$ref": "77" }, "location": "Body", "isApiVersion": false, @@ -335,12 +759,12 @@ "skipUrlEncoding": false }, { - "$id": "35", + "$id": "87", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "30" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -354,7 +778,7 @@ } ], "response": { - "$id": "36" + "$id": "88" }, "isOverride": false, "generateConvenient": true, @@ -364,12 +788,12 @@ ], "parameters": [ { - "$id": "37", + "$id": "89", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "38", + "$id": "90", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -383,9 +807,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "39", + "$id": "91", "type": { - "$id": "40", + "$id": "92", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -398,47 +822,34 @@ "crossLanguageDefinitionId": "Type.Array.Int32Value", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "41", + "$id": "93", "kind": "client", "name": "Int64Value", "namespace": "_Type._Array", "doc": "Array of int64 values", "methods": [ { - "$id": "42", + "$id": "94", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "43", + "$id": "95", "name": "get", "resourceName": "Int64Value", "accessibility": "public", "parameters": [ { - "$id": "44", + "$id": "96", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "45", - "kind": "constant", - "name": "getContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "46", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -453,16 +864,16 @@ ], "responses": [ { - "$id": "47", + "$id": "97", "statusCodes": [ 200 ], "bodyType": { - "$id": "48", + "$id": "98", "kind": "array", "name": "Array1", "valueType": { - "$id": "49", + "$id": "99", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -489,11 +900,11 @@ }, "parameters": [ { - "$id": "50", + "$id": "100", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "45" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -507,9 +918,9 @@ } ], "response": { - "$id": "51", + "$id": "101", "type": { - "$ref": "48" + "$ref": "98" } }, "isOverride": false, @@ -518,37 +929,24 @@ "crossLanguageDefinitionId": "Type.Array.Int64Value.get" }, { - "$id": "52", + "$id": "102", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "53", + "$id": "103", "name": "put", "resourceName": "Int64Value", "accessibility": "public", "parameters": [ { - "$id": "54", + "$id": "104", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "55", - "kind": "constant", - "name": "putContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "56", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -561,11 +959,11 @@ "skipUrlEncoding": false }, { - "$id": "57", + "$id": "105", "name": "body", "nameInRequest": "body", "type": { - "$ref": "48" + "$ref": "98" }, "location": "Body", "isApiVersion": false, @@ -580,7 +978,7 @@ ], "responses": [ { - "$id": "58", + "$id": "106", "statusCodes": [ 204 ], @@ -602,11 +1000,11 @@ }, "parameters": [ { - "$id": "59", + "$id": "107", "name": "body", "nameInRequest": "body", "type": { - "$ref": "48" + "$ref": "98" }, "location": "Body", "isApiVersion": false, @@ -619,12 +1017,12 @@ "skipUrlEncoding": false }, { - "$id": "60", + "$id": "108", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "55" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -638,7 +1036,7 @@ } ], "response": { - "$id": "61" + "$id": "109" }, "isOverride": false, "generateConvenient": true, @@ -648,12 +1046,12 @@ ], "parameters": [ { - "$id": "62", + "$id": "110", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "63", + "$id": "111", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -667,9 +1065,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "64", + "$id": "112", "type": { - "$id": "65", + "$id": "113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -682,47 +1080,34 @@ "crossLanguageDefinitionId": "Type.Array.Int64Value", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "66", + "$id": "114", "kind": "client", "name": "BooleanValue", "namespace": "_Type._Array", "doc": "Array of boolean values", "methods": [ { - "$id": "67", + "$id": "115", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "68", + "$id": "116", "name": "get", "resourceName": "BooleanValue", "accessibility": "public", "parameters": [ { - "$id": "69", + "$id": "117", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "70", - "kind": "constant", - "name": "getContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "71", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -737,16 +1122,16 @@ ], "responses": [ { - "$id": "72", + "$id": "118", "statusCodes": [ 200 ], "bodyType": { - "$id": "73", + "$id": "119", "kind": "array", "name": "Array2", "valueType": { - "$id": "74", + "$id": "120", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -773,11 +1158,11 @@ }, "parameters": [ { - "$id": "75", + "$id": "121", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "70" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -791,9 +1176,9 @@ } ], "response": { - "$id": "76", + "$id": "122", "type": { - "$ref": "73" + "$ref": "119" } }, "isOverride": false, @@ -802,37 +1187,24 @@ "crossLanguageDefinitionId": "Type.Array.BooleanValue.get" }, { - "$id": "77", + "$id": "123", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "78", + "$id": "124", "name": "put", "resourceName": "BooleanValue", "accessibility": "public", "parameters": [ { - "$id": "79", + "$id": "125", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "80", - "kind": "constant", - "name": "putContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "81", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -845,11 +1217,11 @@ "skipUrlEncoding": false }, { - "$id": "82", + "$id": "126", "name": "body", "nameInRequest": "body", "type": { - "$ref": "73" + "$ref": "119" }, "location": "Body", "isApiVersion": false, @@ -864,7 +1236,7 @@ ], "responses": [ { - "$id": "83", + "$id": "127", "statusCodes": [ 204 ], @@ -886,11 +1258,11 @@ }, "parameters": [ { - "$id": "84", + "$id": "128", "name": "body", "nameInRequest": "body", "type": { - "$ref": "73" + "$ref": "119" }, "location": "Body", "isApiVersion": false, @@ -903,12 +1275,12 @@ "skipUrlEncoding": false }, { - "$id": "85", + "$id": "129", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "80" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -922,7 +1294,7 @@ } ], "response": { - "$id": "86" + "$id": "130" }, "isOverride": false, "generateConvenient": true, @@ -932,12 +1304,12 @@ ], "parameters": [ { - "$id": "87", + "$id": "131", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "88", + "$id": "132", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -951,9 +1323,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "89", + "$id": "133", "type": { - "$id": "90", + "$id": "134", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -966,47 +1338,34 @@ "crossLanguageDefinitionId": "Type.Array.BooleanValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "91", + "$id": "135", "kind": "client", "name": "StringValue", "namespace": "_Type._Array", "doc": "Array of string values", "methods": [ { - "$id": "92", + "$id": "136", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "93", + "$id": "137", "name": "get", "resourceName": "StringValue", "accessibility": "public", "parameters": [ { - "$id": "94", + "$id": "138", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "95", - "kind": "constant", - "name": "getContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "96", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1021,16 +1380,16 @@ ], "responses": [ { - "$id": "97", + "$id": "139", "statusCodes": [ 200 ], "bodyType": { - "$id": "98", + "$id": "140", "kind": "array", "name": "Array3", "valueType": { - "$id": "99", + "$id": "141", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1057,11 +1416,11 @@ }, "parameters": [ { - "$id": "100", + "$id": "142", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "95" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1075,9 +1434,9 @@ } ], "response": { - "$id": "101", + "$id": "143", "type": { - "$ref": "98" + "$ref": "140" } }, "isOverride": false, @@ -1086,37 +1445,24 @@ "crossLanguageDefinitionId": "Type.Array.StringValue.get" }, { - "$id": "102", + "$id": "144", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "103", + "$id": "145", "name": "put", "resourceName": "StringValue", "accessibility": "public", "parameters": [ { - "$id": "104", + "$id": "146", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "105", - "kind": "constant", - "name": "putContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "106", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1129,11 +1475,11 @@ "skipUrlEncoding": false }, { - "$id": "107", + "$id": "147", "name": "body", "nameInRequest": "body", "type": { - "$ref": "98" + "$ref": "140" }, "location": "Body", "isApiVersion": false, @@ -1148,7 +1494,7 @@ ], "responses": [ { - "$id": "108", + "$id": "148", "statusCodes": [ 204 ], @@ -1170,11 +1516,11 @@ }, "parameters": [ { - "$id": "109", + "$id": "149", "name": "body", "nameInRequest": "body", "type": { - "$ref": "98" + "$ref": "140" }, "location": "Body", "isApiVersion": false, @@ -1187,12 +1533,12 @@ "skipUrlEncoding": false }, { - "$id": "110", + "$id": "150", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "105" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1206,7 +1552,7 @@ } ], "response": { - "$id": "111" + "$id": "151" }, "isOverride": false, "generateConvenient": true, @@ -1216,12 +1562,12 @@ ], "parameters": [ { - "$id": "112", + "$id": "152", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "113", + "$id": "153", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1235,9 +1581,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "114", + "$id": "154", "type": { - "$id": "115", + "$id": "155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1250,47 +1596,34 @@ "crossLanguageDefinitionId": "Type.Array.StringValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "116", + "$id": "156", "kind": "client", "name": "Float32Value", "namespace": "_Type._Array", "doc": "Array of float values", "methods": [ { - "$id": "117", + "$id": "157", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "118", + "$id": "158", "name": "get", "resourceName": "Float32Value", "accessibility": "public", "parameters": [ { - "$id": "119", + "$id": "159", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "120", - "kind": "constant", - "name": "getContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "121", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1305,16 +1638,16 @@ ], "responses": [ { - "$id": "122", + "$id": "160", "statusCodes": [ 200 ], "bodyType": { - "$id": "123", + "$id": "161", "kind": "array", "name": "Array4", "valueType": { - "$id": "124", + "$id": "162", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1341,11 +1674,11 @@ }, "parameters": [ { - "$id": "125", + "$id": "163", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "120" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1359,9 +1692,9 @@ } ], "response": { - "$id": "126", + "$id": "164", "type": { - "$ref": "123" + "$ref": "161" } }, "isOverride": false, @@ -1370,37 +1703,24 @@ "crossLanguageDefinitionId": "Type.Array.Float32Value.get" }, { - "$id": "127", + "$id": "165", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "128", + "$id": "166", "name": "put", "resourceName": "Float32Value", "accessibility": "public", "parameters": [ { - "$id": "129", + "$id": "167", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "130", - "kind": "constant", - "name": "putContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "131", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1413,11 +1733,11 @@ "skipUrlEncoding": false }, { - "$id": "132", + "$id": "168", "name": "body", "nameInRequest": "body", "type": { - "$ref": "123" + "$ref": "161" }, "location": "Body", "isApiVersion": false, @@ -1432,7 +1752,7 @@ ], "responses": [ { - "$id": "133", + "$id": "169", "statusCodes": [ 204 ], @@ -1454,11 +1774,11 @@ }, "parameters": [ { - "$id": "134", + "$id": "170", "name": "body", "nameInRequest": "body", "type": { - "$ref": "123" + "$ref": "161" }, "location": "Body", "isApiVersion": false, @@ -1471,12 +1791,12 @@ "skipUrlEncoding": false }, { - "$id": "135", + "$id": "171", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "130" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1490,7 +1810,7 @@ } ], "response": { - "$id": "136" + "$id": "172" }, "isOverride": false, "generateConvenient": true, @@ -1500,12 +1820,12 @@ ], "parameters": [ { - "$id": "137", + "$id": "173", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "138", + "$id": "174", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1519,9 +1839,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "139", + "$id": "175", "type": { - "$id": "140", + "$id": "176", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1534,47 +1854,34 @@ "crossLanguageDefinitionId": "Type.Array.Float32Value", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "141", + "$id": "177", "kind": "client", "name": "DatetimeValue", "namespace": "_Type._Array", "doc": "Array of datetime values", "methods": [ { - "$id": "142", + "$id": "178", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "143", + "$id": "179", "name": "get", "resourceName": "DatetimeValue", "accessibility": "public", "parameters": [ { - "$id": "144", + "$id": "180", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "145", - "kind": "constant", - "name": "getContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "146", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1589,21 +1896,21 @@ ], "responses": [ { - "$id": "147", + "$id": "181", "statusCodes": [ 200 ], "bodyType": { - "$id": "148", + "$id": "182", "kind": "array", "name": "Array5", "valueType": { - "$id": "149", + "$id": "183", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "150", + "$id": "184", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1633,11 +1940,11 @@ }, "parameters": [ { - "$id": "151", + "$id": "185", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "145" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1651,9 +1958,9 @@ } ], "response": { - "$id": "152", + "$id": "186", "type": { - "$ref": "148" + "$ref": "182" } }, "isOverride": false, @@ -1662,37 +1969,24 @@ "crossLanguageDefinitionId": "Type.Array.DatetimeValue.get" }, { - "$id": "153", + "$id": "187", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "154", + "$id": "188", "name": "put", "resourceName": "DatetimeValue", "accessibility": "public", "parameters": [ { - "$id": "155", + "$id": "189", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "156", - "kind": "constant", - "name": "putContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "157", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1705,11 +1999,11 @@ "skipUrlEncoding": false }, { - "$id": "158", + "$id": "190", "name": "body", "nameInRequest": "body", "type": { - "$ref": "148" + "$ref": "182" }, "location": "Body", "isApiVersion": false, @@ -1724,7 +2018,7 @@ ], "responses": [ { - "$id": "159", + "$id": "191", "statusCodes": [ 204 ], @@ -1746,11 +2040,11 @@ }, "parameters": [ { - "$id": "160", + "$id": "192", "name": "body", "nameInRequest": "body", "type": { - "$ref": "148" + "$ref": "182" }, "location": "Body", "isApiVersion": false, @@ -1763,12 +2057,12 @@ "skipUrlEncoding": false }, { - "$id": "161", + "$id": "193", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "156" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1782,7 +2076,7 @@ } ], "response": { - "$id": "162" + "$id": "194" }, "isOverride": false, "generateConvenient": true, @@ -1792,12 +2086,12 @@ ], "parameters": [ { - "$id": "163", + "$id": "195", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "164", + "$id": "196", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1811,9 +2105,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "165", + "$id": "197", "type": { - "$id": "166", + "$id": "198", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1826,47 +2120,34 @@ "crossLanguageDefinitionId": "Type.Array.DatetimeValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "167", + "$id": "199", "kind": "client", "name": "DurationValue", "namespace": "_Type._Array", "doc": "Array of duration values", "methods": [ { - "$id": "168", + "$id": "200", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "169", + "$id": "201", "name": "get", "resourceName": "DurationValue", "accessibility": "public", "parameters": [ { - "$id": "170", + "$id": "202", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "171", - "kind": "constant", - "name": "getContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "172", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1881,21 +2162,21 @@ ], "responses": [ { - "$id": "173", + "$id": "203", "statusCodes": [ 200 ], "bodyType": { - "$id": "174", + "$id": "204", "kind": "array", "name": "Array6", "valueType": { - "$id": "175", + "$id": "205", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "176", + "$id": "206", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1925,11 +2206,11 @@ }, "parameters": [ { - "$id": "177", + "$id": "207", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "171" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1943,9 +2224,9 @@ } ], "response": { - "$id": "178", + "$id": "208", "type": { - "$ref": "174" + "$ref": "204" } }, "isOverride": false, @@ -1954,37 +2235,24 @@ "crossLanguageDefinitionId": "Type.Array.DurationValue.get" }, { - "$id": "179", + "$id": "209", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "180", + "$id": "210", "name": "put", "resourceName": "DurationValue", "accessibility": "public", "parameters": [ { - "$id": "181", + "$id": "211", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "182", - "kind": "constant", - "name": "putContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "183", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -1997,11 +2265,11 @@ "skipUrlEncoding": false }, { - "$id": "184", + "$id": "212", "name": "body", "nameInRequest": "body", "type": { - "$ref": "174" + "$ref": "204" }, "location": "Body", "isApiVersion": false, @@ -2016,7 +2284,7 @@ ], "responses": [ { - "$id": "185", + "$id": "213", "statusCodes": [ 204 ], @@ -2038,11 +2306,11 @@ }, "parameters": [ { - "$id": "186", + "$id": "214", "name": "body", "nameInRequest": "body", "type": { - "$ref": "174" + "$ref": "204" }, "location": "Body", "isApiVersion": false, @@ -2055,12 +2323,12 @@ "skipUrlEncoding": false }, { - "$id": "187", + "$id": "215", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "182" + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -2074,7 +2342,7 @@ } ], "response": { - "$id": "188" + "$id": "216" }, "isOverride": false, "generateConvenient": true, @@ -2084,12 +2352,12 @@ ], "parameters": [ { - "$id": "189", + "$id": "217", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "190", + "$id": "218", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2103,9 +2371,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "191", + "$id": "219", "type": { - "$id": "192", + "$id": "220", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2118,47 +2386,34 @@ "crossLanguageDefinitionId": "Type.Array.DurationValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "193", + "$id": "221", "kind": "client", "name": "UnknownValue", "namespace": "_Type._Array", "doc": "Array of unknown values", "methods": [ { - "$id": "194", + "$id": "222", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "195", + "$id": "223", "name": "get", "resourceName": "UnknownValue", "accessibility": "public", "parameters": [ { - "$id": "196", + "$id": "224", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "197", - "kind": "constant", - "name": "getContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "198", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -2173,16 +2428,16 @@ ], "responses": [ { - "$id": "199", + "$id": "225", "statusCodes": [ 200 ], "bodyType": { - "$id": "200", + "$id": "226", "kind": "array", "name": "Array7", "valueType": { - "$id": "201", + "$id": "227", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -2209,11 +2464,11 @@ }, "parameters": [ { - "$id": "202", + "$id": "228", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "197" + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -2227,9 +2482,9 @@ } ], "response": { - "$id": "203", + "$id": "229", "type": { - "$ref": "200" + "$ref": "226" } }, "isOverride": false, @@ -2238,37 +2493,24 @@ "crossLanguageDefinitionId": "Type.Array.UnknownValue.get" }, { - "$id": "204", + "$id": "230", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "205", + "$id": "231", "name": "put", "resourceName": "UnknownValue", "accessibility": "public", "parameters": [ { - "$id": "206", + "$id": "232", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "207", - "kind": "constant", - "name": "putContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "208", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2281,11 +2523,11 @@ "skipUrlEncoding": false }, { - "$id": "209", + "$id": "233", "name": "body", "nameInRequest": "body", "type": { - "$ref": "200" + "$ref": "226" }, "location": "Body", "isApiVersion": false, @@ -2300,7 +2542,7 @@ ], "responses": [ { - "$id": "210", + "$id": "234", "statusCodes": [ 204 ], @@ -2322,11 +2564,11 @@ }, "parameters": [ { - "$id": "211", + "$id": "235", "name": "body", "nameInRequest": "body", "type": { - "$ref": "200" + "$ref": "226" }, "location": "Body", "isApiVersion": false, @@ -2339,12 +2581,12 @@ "skipUrlEncoding": false }, { - "$id": "212", + "$id": "236", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "207" + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2358,7 +2600,7 @@ } ], "response": { - "$id": "213" + "$id": "237" }, "isOverride": false, "generateConvenient": true, @@ -2368,12 +2610,12 @@ ], "parameters": [ { - "$id": "214", + "$id": "238", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "215", + "$id": "239", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2387,9 +2629,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "216", + "$id": "240", "type": { - "$id": "217", + "$id": "241", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2402,47 +2644,34 @@ "crossLanguageDefinitionId": "Type.Array.UnknownValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "218", + "$id": "242", "kind": "client", "name": "ModelValue", "namespace": "_Type._Array", "doc": "Array of model values", "methods": [ { - "$id": "219", + "$id": "243", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "220", + "$id": "244", "name": "get", "resourceName": "ModelValue", "accessibility": "public", "parameters": [ { - "$id": "221", + "$id": "245", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "222", - "kind": "constant", - "name": "getContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "223", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2457,12 +2686,12 @@ ], "responses": [ { - "$id": "224", + "$id": "246", "statusCodes": [ 200 ], "bodyType": { - "$ref": "8" + "$ref": "64" }, "headers": [], "isErrorResponse": false, @@ -2482,11 +2711,11 @@ }, "parameters": [ { - "$id": "225", + "$id": "247", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "222" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2500,9 +2729,9 @@ } ], "response": { - "$id": "226", + "$id": "248", "type": { - "$ref": "8" + "$ref": "64" } }, "isOverride": false, @@ -2511,37 +2740,24 @@ "crossLanguageDefinitionId": "Type.Array.ModelValue.get" }, { - "$id": "227", + "$id": "249", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "228", + "$id": "250", "name": "put", "resourceName": "ModelValue", "accessibility": "public", "parameters": [ { - "$id": "229", + "$id": "251", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "230", - "kind": "constant", - "name": "putContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "231", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2554,11 +2770,11 @@ "skipUrlEncoding": false }, { - "$id": "232", + "$id": "252", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "64" }, "location": "Body", "isApiVersion": false, @@ -2573,7 +2789,7 @@ ], "responses": [ { - "$id": "233", + "$id": "253", "statusCodes": [ 204 ], @@ -2595,11 +2811,11 @@ }, "parameters": [ { - "$id": "234", + "$id": "254", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "64" }, "location": "Body", "isApiVersion": false, @@ -2612,12 +2828,12 @@ "skipUrlEncoding": false }, { - "$id": "235", + "$id": "255", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "230" + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2631,7 +2847,7 @@ } ], "response": { - "$id": "236" + "$id": "256" }, "isOverride": false, "generateConvenient": true, @@ -2641,12 +2857,12 @@ ], "parameters": [ { - "$id": "237", + "$id": "257", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "238", + "$id": "258", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2660,9 +2876,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "239", + "$id": "259", "type": { - "$id": "240", + "$id": "260", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2675,47 +2891,34 @@ "crossLanguageDefinitionId": "Type.Array.ModelValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "241", + "$id": "261", "kind": "client", "name": "NullableFloatValue", "namespace": "_Type._Array", "doc": "Array of nullable float values", "methods": [ { - "$id": "242", + "$id": "262", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "243", + "$id": "263", "name": "get", "resourceName": "NullableFloatValue", "accessibility": "public", "parameters": [ { - "$id": "244", + "$id": "264", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "245", - "kind": "constant", - "name": "getContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "246", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2730,19 +2933,19 @@ ], "responses": [ { - "$id": "247", + "$id": "265", "statusCodes": [ 200 ], "bodyType": { - "$id": "248", + "$id": "266", "kind": "array", "name": "Array8", "valueType": { - "$id": "249", + "$id": "267", "kind": "nullable", "type": { - "$id": "250", + "$id": "268", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -2771,11 +2974,11 @@ }, "parameters": [ { - "$id": "251", + "$id": "269", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "245" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2789,9 +2992,9 @@ } ], "response": { - "$id": "252", + "$id": "270", "type": { - "$ref": "248" + "$ref": "266" } }, "isOverride": false, @@ -2800,37 +3003,24 @@ "crossLanguageDefinitionId": "Type.Array.NullableFloatValue.get" }, { - "$id": "253", + "$id": "271", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "254", + "$id": "272", "name": "put", "resourceName": "NullableFloatValue", "accessibility": "public", "parameters": [ { - "$id": "255", + "$id": "273", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "256", - "kind": "constant", - "name": "putContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "257", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2843,11 +3033,11 @@ "skipUrlEncoding": false }, { - "$id": "258", + "$id": "274", "name": "body", "nameInRequest": "body", "type": { - "$ref": "248" + "$ref": "266" }, "location": "Body", "isApiVersion": false, @@ -2862,7 +3052,7 @@ ], "responses": [ { - "$id": "259", + "$id": "275", "statusCodes": [ 204 ], @@ -2884,11 +3074,11 @@ }, "parameters": [ { - "$id": "260", + "$id": "276", "name": "body", "nameInRequest": "body", "type": { - "$ref": "248" + "$ref": "266" }, "location": "Body", "isApiVersion": false, @@ -2901,12 +3091,12 @@ "skipUrlEncoding": false }, { - "$id": "261", + "$id": "277", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "256" + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2920,7 +3110,7 @@ } ], "response": { - "$id": "262" + "$id": "278" }, "isOverride": false, "generateConvenient": true, @@ -2930,12 +3120,12 @@ ], "parameters": [ { - "$id": "263", + "$id": "279", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "264", + "$id": "280", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2949,9 +3139,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "265", + "$id": "281", "type": { - "$id": "266", + "$id": "282", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2964,47 +3154,34 @@ "crossLanguageDefinitionId": "Type.Array.NullableFloatValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "267", + "$id": "283", "kind": "client", "name": "NullableInt32Value", "namespace": "_Type._Array", "doc": "Array of nullable int32 values", "methods": [ { - "$id": "268", + "$id": "284", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "269", + "$id": "285", "name": "get", "resourceName": "NullableInt32Value", "accessibility": "public", "parameters": [ { - "$id": "270", + "$id": "286", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "271", - "kind": "constant", - "name": "getContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "272", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3019,19 +3196,19 @@ ], "responses": [ { - "$id": "273", + "$id": "287", "statusCodes": [ 200 ], "bodyType": { - "$id": "274", + "$id": "288", "kind": "array", "name": "Array9", "valueType": { - "$id": "275", + "$id": "289", "kind": "nullable", "type": { - "$id": "276", + "$id": "290", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -3060,11 +3237,11 @@ }, "parameters": [ { - "$id": "277", + "$id": "291", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "271" + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3078,9 +3255,9 @@ } ], "response": { - "$id": "278", + "$id": "292", "type": { - "$ref": "274" + "$ref": "288" } }, "isOverride": false, @@ -3089,37 +3266,24 @@ "crossLanguageDefinitionId": "Type.Array.NullableInt32Value.get" }, { - "$id": "279", + "$id": "293", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "280", + "$id": "294", "name": "put", "resourceName": "NullableInt32Value", "accessibility": "public", "parameters": [ { - "$id": "281", + "$id": "295", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "282", - "kind": "constant", - "name": "putContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "283", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -3132,11 +3296,11 @@ "skipUrlEncoding": false }, { - "$id": "284", + "$id": "296", "name": "body", "nameInRequest": "body", "type": { - "$ref": "274" + "$ref": "288" }, "location": "Body", "isApiVersion": false, @@ -3151,7 +3315,7 @@ ], "responses": [ { - "$id": "285", + "$id": "297", "statusCodes": [ 204 ], @@ -3173,11 +3337,11 @@ }, "parameters": [ { - "$id": "286", + "$id": "298", "name": "body", "nameInRequest": "body", "type": { - "$ref": "274" + "$ref": "288" }, "location": "Body", "isApiVersion": false, @@ -3190,12 +3354,12 @@ "skipUrlEncoding": false }, { - "$id": "287", + "$id": "299", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "282" + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -3209,7 +3373,7 @@ } ], "response": { - "$id": "288" + "$id": "300" }, "isOverride": false, "generateConvenient": true, @@ -3219,12 +3383,12 @@ ], "parameters": [ { - "$id": "289", + "$id": "301", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "290", + "$id": "302", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3238,9 +3402,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "291", + "$id": "303", "type": { - "$id": "292", + "$id": "304", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3253,47 +3417,34 @@ "crossLanguageDefinitionId": "Type.Array.NullableInt32Value", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "293", + "$id": "305", "kind": "client", "name": "NullableBooleanValue", "namespace": "_Type._Array", "doc": "Array of nullable boolean values", "methods": [ { - "$id": "294", + "$id": "306", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "295", + "$id": "307", "name": "get", "resourceName": "NullableBooleanValue", "accessibility": "public", "parameters": [ { - "$id": "296", + "$id": "308", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "297", - "kind": "constant", - "name": "getContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "298", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -3308,19 +3459,19 @@ ], "responses": [ { - "$id": "299", + "$id": "309", "statusCodes": [ 200 ], "bodyType": { - "$id": "300", + "$id": "310", "kind": "array", "name": "Array10", "valueType": { - "$id": "301", + "$id": "311", "kind": "nullable", "type": { - "$id": "302", + "$id": "312", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -3349,11 +3500,11 @@ }, "parameters": [ { - "$id": "303", + "$id": "313", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "297" + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -3367,9 +3518,9 @@ } ], "response": { - "$id": "304", + "$id": "314", "type": { - "$ref": "300" + "$ref": "310" } }, "isOverride": false, @@ -3378,37 +3529,24 @@ "crossLanguageDefinitionId": "Type.Array.NullableBooleanValue.get" }, { - "$id": "305", + "$id": "315", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "306", + "$id": "316", "name": "put", "resourceName": "NullableBooleanValue", "accessibility": "public", "parameters": [ { - "$id": "307", + "$id": "317", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "308", - "kind": "constant", - "name": "putContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "309", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -3421,11 +3559,11 @@ "skipUrlEncoding": false }, { - "$id": "310", + "$id": "318", "name": "body", "nameInRequest": "body", "type": { - "$ref": "300" + "$ref": "310" }, "location": "Body", "isApiVersion": false, @@ -3440,7 +3578,7 @@ ], "responses": [ { - "$id": "311", + "$id": "319", "statusCodes": [ 204 ], @@ -3462,11 +3600,11 @@ }, "parameters": [ { - "$id": "312", + "$id": "320", "name": "body", "nameInRequest": "body", "type": { - "$ref": "300" + "$ref": "310" }, "location": "Body", "isApiVersion": false, @@ -3479,12 +3617,12 @@ "skipUrlEncoding": false }, { - "$id": "313", + "$id": "321", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "308" + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -3498,7 +3636,7 @@ } ], "response": { - "$id": "314" + "$id": "322" }, "isOverride": false, "generateConvenient": true, @@ -3508,12 +3646,12 @@ ], "parameters": [ { - "$id": "315", + "$id": "323", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "316", + "$id": "324", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3527,9 +3665,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "317", + "$id": "325", "type": { - "$id": "318", + "$id": "326", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3542,47 +3680,34 @@ "crossLanguageDefinitionId": "Type.Array.NullableBooleanValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "319", + "$id": "327", "kind": "client", "name": "NullableStringValue", "namespace": "_Type._Array", "doc": "Array of nullable string values", "methods": [ { - "$id": "320", + "$id": "328", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "321", + "$id": "329", "name": "get", "resourceName": "NullableStringValue", "accessibility": "public", "parameters": [ { - "$id": "322", + "$id": "330", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "323", - "kind": "constant", - "name": "getContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "324", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -3597,19 +3722,19 @@ ], "responses": [ { - "$id": "325", + "$id": "331", "statusCodes": [ 200 ], "bodyType": { - "$id": "326", + "$id": "332", "kind": "array", "name": "Array11", "valueType": { - "$id": "327", + "$id": "333", "kind": "nullable", "type": { - "$id": "328", + "$id": "334", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3638,11 +3763,11 @@ }, "parameters": [ { - "$id": "329", + "$id": "335", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "323" + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -3656,9 +3781,9 @@ } ], "response": { - "$id": "330", + "$id": "336", "type": { - "$ref": "326" + "$ref": "332" } }, "isOverride": false, @@ -3667,37 +3792,24 @@ "crossLanguageDefinitionId": "Type.Array.NullableStringValue.get" }, { - "$id": "331", + "$id": "337", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "332", + "$id": "338", "name": "put", "resourceName": "NullableStringValue", "accessibility": "public", "parameters": [ { - "$id": "333", + "$id": "339", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "334", - "kind": "constant", - "name": "putContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "335", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -3710,11 +3822,11 @@ "skipUrlEncoding": false }, { - "$id": "336", + "$id": "340", "name": "body", "nameInRequest": "body", "type": { - "$ref": "326" + "$ref": "332" }, "location": "Body", "isApiVersion": false, @@ -3729,7 +3841,7 @@ ], "responses": [ { - "$id": "337", + "$id": "341", "statusCodes": [ 204 ], @@ -3751,11 +3863,11 @@ }, "parameters": [ { - "$id": "338", + "$id": "342", "name": "body", "nameInRequest": "body", "type": { - "$ref": "326" + "$ref": "332" }, "location": "Body", "isApiVersion": false, @@ -3768,12 +3880,12 @@ "skipUrlEncoding": false }, { - "$id": "339", + "$id": "343", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "334" + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -3787,7 +3899,7 @@ } ], "response": { - "$id": "340" + "$id": "344" }, "isOverride": false, "generateConvenient": true, @@ -3797,12 +3909,12 @@ ], "parameters": [ { - "$id": "341", + "$id": "345", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "342", + "$id": "346", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3816,9 +3928,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "343", + "$id": "347", "type": { - "$id": "344", + "$id": "348", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3831,47 +3943,34 @@ "crossLanguageDefinitionId": "Type.Array.NullableStringValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "345", + "$id": "349", "kind": "client", "name": "NullableModelValue", "namespace": "_Type._Array", "doc": "Array of nullable model values", "methods": [ { - "$id": "346", + "$id": "350", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "347", + "$id": "351", "name": "get", "resourceName": "NullableModelValue", "accessibility": "public", "parameters": [ { - "$id": "348", + "$id": "352", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "349", - "kind": "constant", - "name": "getContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "350", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -3886,19 +3985,19 @@ ], "responses": [ { - "$id": "351", + "$id": "353", "statusCodes": [ 200 ], "bodyType": { - "$id": "352", + "$id": "354", "kind": "array", "name": "Array12", "valueType": { - "$id": "353", + "$id": "355", "kind": "nullable", "type": { - "$ref": "2" + "$ref": "58" }, "namespace": "" }, @@ -3923,11 +4022,11 @@ }, "parameters": [ { - "$id": "354", + "$id": "356", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "349" + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -3941,9 +4040,9 @@ } ], "response": { - "$id": "355", + "$id": "357", "type": { - "$ref": "352" + "$ref": "354" } }, "isOverride": false, @@ -3952,37 +4051,24 @@ "crossLanguageDefinitionId": "Type.Array.NullableModelValue.get" }, { - "$id": "356", + "$id": "358", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "357", + "$id": "359", "name": "put", "resourceName": "NullableModelValue", "accessibility": "public", "parameters": [ { - "$id": "358", + "$id": "360", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "359", - "kind": "constant", - "name": "putContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "360", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -3999,7 +4085,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "352" + "$ref": "354" }, "location": "Body", "isApiVersion": false, @@ -4040,7 +4126,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "352" + "$ref": "354" }, "location": "Body", "isApiVersion": false, @@ -4058,7 +4144,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "359" + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -4116,7 +4202,7 @@ "crossLanguageDefinitionId": "Type.Array.NullableModelValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } } ] diff --git a/test/CadlRanchProjects/type/dictionary/tspCodeModel.json b/test/CadlRanchProjects/type/dictionary/tspCodeModel.json index 7c1db26b69f..23858b789d3 100644 --- a/test/CadlRanchProjects/type/dictionary/tspCodeModel.json +++ b/test/CadlRanchProjects/type/dictionary/tspCodeModel.json @@ -3,9 +3,363 @@ "name": "Type.Dictionary", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "putContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "putContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "getContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "putContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "getContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "putContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "getContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "putContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "getContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "putContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "getContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "putContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "getContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "putContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "getContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "putContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "getContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "putContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "getContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "putContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "46", "kind": "model", "name": "InnerModel", "namespace": "_Type._Dictionary", @@ -15,13 +369,13 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "47", "kind": "property", "name": "property", "serializedName": "property", "doc": "Required string property", "type": { - "$id": "4", + "$id": "48", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34,30 +388,30 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Dictionary.InnerModel.property", "serializationOptions": { - "$id": "5", + "$id": "49", "json": { - "$id": "6", + "$id": "50", "name": "property" } } }, { - "$id": "7", + "$id": "51", "kind": "property", "name": "children", "serializedName": "children", "type": { - "$id": "8", + "$id": "52", "kind": "dict", "keyType": { - "$id": "9", + "$id": "53", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "2" + "$ref": "46" }, "decorators": [] }, @@ -68,9 +422,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Dictionary.InnerModel.children", "serializationOptions": { - "$id": "10", + "$id": "54", "json": { - "$id": "11", + "$id": "55", "name": "children" } } @@ -80,7 +434,7 @@ ], "clients": [ { - "$id": "12", + "$id": "56", "kind": "client", "name": "DictionaryClient", "namespace": "_Type._Dictionary", @@ -88,12 +442,12 @@ "methods": [], "parameters": [ { - "$id": "13", + "$id": "57", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "14", + "$id": "58", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -107,9 +461,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "15", + "$id": "59", "type": { - "$id": "16", + "$id": "60", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -123,43 +477,30 @@ "apiVersions": [], "children": [ { - "$id": "17", + "$id": "61", "kind": "client", "name": "Int32Value", "namespace": "_Type._Dictionary", "doc": "Dictionary of int32 values", "methods": [ { - "$id": "18", + "$id": "62", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "19", + "$id": "63", "name": "get", "resourceName": "Int32Value", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "64", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "21", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -174,22 +515,22 @@ ], "responses": [ { - "$id": "23", + "$id": "65", "statusCodes": [ 200 ], "bodyType": { - "$id": "24", + "$id": "66", "kind": "dict", "keyType": { - "$id": "25", + "$id": "67", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "26", + "$id": "68", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -215,11 +556,11 @@ }, "parameters": [ { - "$id": "27", + "$id": "69", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "21" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -233,9 +574,9 @@ } ], "response": { - "$id": "28", + "$id": "70", "type": { - "$ref": "24" + "$ref": "66" } }, "isOverride": false, @@ -244,37 +585,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.Int32Value.get" }, { - "$id": "29", + "$id": "71", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "30", + "$id": "72", "name": "put", "resourceName": "Int32Value", "accessibility": "public", "parameters": [ { - "$id": "31", + "$id": "73", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "32", - "kind": "constant", - "name": "putContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "33", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -287,11 +615,11 @@ "skipUrlEncoding": false }, { - "$id": "34", + "$id": "74", "name": "body", "nameInRequest": "body", "type": { - "$ref": "24" + "$ref": "66" }, "location": "Body", "isApiVersion": false, @@ -306,7 +634,7 @@ ], "responses": [ { - "$id": "35", + "$id": "75", "statusCodes": [ 204 ], @@ -328,11 +656,11 @@ }, "parameters": [ { - "$id": "36", + "$id": "76", "name": "body", "nameInRequest": "body", "type": { - "$ref": "24" + "$ref": "66" }, "location": "Body", "isApiVersion": false, @@ -345,12 +673,12 @@ "skipUrlEncoding": false }, { - "$id": "37", + "$id": "77", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "32" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -364,7 +692,7 @@ } ], "response": { - "$id": "38" + "$id": "78" }, "isOverride": false, "generateConvenient": true, @@ -374,12 +702,12 @@ ], "parameters": [ { - "$id": "39", + "$id": "79", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "40", + "$id": "80", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -393,9 +721,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "41", + "$id": "81", "type": { - "$id": "42", + "$id": "82", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -408,47 +736,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.Int32Value", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "43", + "$id": "83", "kind": "client", "name": "Int64Value", "namespace": "_Type._Dictionary", "doc": "Dictionary of int64 values", "methods": [ { - "$id": "44", + "$id": "84", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "45", + "$id": "85", "name": "get", "resourceName": "Int64Value", "accessibility": "public", "parameters": [ { - "$id": "46", + "$id": "86", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "47", - "kind": "constant", - "name": "getContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "48", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -463,22 +778,22 @@ ], "responses": [ { - "$id": "49", + "$id": "87", "statusCodes": [ 200 ], "bodyType": { - "$id": "50", + "$id": "88", "kind": "dict", "keyType": { - "$id": "51", + "$id": "89", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "52", + "$id": "90", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -504,11 +819,11 @@ }, "parameters": [ { - "$id": "53", + "$id": "91", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "47" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -522,9 +837,9 @@ } ], "response": { - "$id": "54", + "$id": "92", "type": { - "$ref": "50" + "$ref": "88" } }, "isOverride": false, @@ -533,37 +848,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.Int64Value.get" }, { - "$id": "55", + "$id": "93", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "56", + "$id": "94", "name": "put", "resourceName": "Int64Value", "accessibility": "public", "parameters": [ { - "$id": "57", + "$id": "95", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "58", - "kind": "constant", - "name": "putContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "59", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -576,11 +878,11 @@ "skipUrlEncoding": false }, { - "$id": "60", + "$id": "96", "name": "body", "nameInRequest": "body", "type": { - "$ref": "50" + "$ref": "88" }, "location": "Body", "isApiVersion": false, @@ -595,7 +897,7 @@ ], "responses": [ { - "$id": "61", + "$id": "97", "statusCodes": [ 204 ], @@ -617,11 +919,11 @@ }, "parameters": [ { - "$id": "62", + "$id": "98", "name": "body", "nameInRequest": "body", "type": { - "$ref": "50" + "$ref": "88" }, "location": "Body", "isApiVersion": false, @@ -634,12 +936,12 @@ "skipUrlEncoding": false }, { - "$id": "63", + "$id": "99", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "58" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -653,7 +955,7 @@ } ], "response": { - "$id": "64" + "$id": "100" }, "isOverride": false, "generateConvenient": true, @@ -663,12 +965,12 @@ ], "parameters": [ { - "$id": "65", + "$id": "101", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "66", + "$id": "102", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -682,9 +984,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "67", + "$id": "103", "type": { - "$id": "68", + "$id": "104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -697,47 +999,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.Int64Value", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "69", + "$id": "105", "kind": "client", "name": "BooleanValue", "namespace": "_Type._Dictionary", "doc": "Dictionary of boolean values", "methods": [ { - "$id": "70", + "$id": "106", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "71", + "$id": "107", "name": "get", "resourceName": "BooleanValue", "accessibility": "public", "parameters": [ { - "$id": "72", + "$id": "108", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "73", - "kind": "constant", - "name": "getContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "74", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -752,22 +1041,22 @@ ], "responses": [ { - "$id": "75", + "$id": "109", "statusCodes": [ 200 ], "bodyType": { - "$id": "76", + "$id": "110", "kind": "dict", "keyType": { - "$id": "77", + "$id": "111", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "78", + "$id": "112", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -793,11 +1082,11 @@ }, "parameters": [ { - "$id": "79", + "$id": "113", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "73" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -811,9 +1100,9 @@ } ], "response": { - "$id": "80", + "$id": "114", "type": { - "$ref": "76" + "$ref": "110" } }, "isOverride": false, @@ -822,37 +1111,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.BooleanValue.get" }, { - "$id": "81", + "$id": "115", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "82", + "$id": "116", "name": "put", "resourceName": "BooleanValue", "accessibility": "public", "parameters": [ { - "$id": "83", + "$id": "117", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "84", - "kind": "constant", - "name": "putContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "85", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -865,11 +1141,11 @@ "skipUrlEncoding": false }, { - "$id": "86", + "$id": "118", "name": "body", "nameInRequest": "body", "type": { - "$ref": "76" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -884,7 +1160,7 @@ ], "responses": [ { - "$id": "87", + "$id": "119", "statusCodes": [ 204 ], @@ -906,11 +1182,11 @@ }, "parameters": [ { - "$id": "88", + "$id": "120", "name": "body", "nameInRequest": "body", "type": { - "$ref": "76" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -923,12 +1199,12 @@ "skipUrlEncoding": false }, { - "$id": "89", + "$id": "121", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "84" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -942,7 +1218,7 @@ } ], "response": { - "$id": "90" + "$id": "122" }, "isOverride": false, "generateConvenient": true, @@ -952,12 +1228,12 @@ ], "parameters": [ { - "$id": "91", + "$id": "123", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "92", + "$id": "124", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -971,9 +1247,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "93", + "$id": "125", "type": { - "$id": "94", + "$id": "126", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -986,47 +1262,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.BooleanValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "95", + "$id": "127", "kind": "client", "name": "StringValue", "namespace": "_Type._Dictionary", "doc": "Dictionary of string values", "methods": [ { - "$id": "96", + "$id": "128", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "97", + "$id": "129", "name": "get", "resourceName": "StringValue", "accessibility": "public", "parameters": [ { - "$id": "98", + "$id": "130", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "99", - "kind": "constant", - "name": "getContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "100", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1041,22 +1304,22 @@ ], "responses": [ { - "$id": "101", + "$id": "131", "statusCodes": [ 200 ], "bodyType": { - "$id": "102", + "$id": "132", "kind": "dict", "keyType": { - "$id": "103", + "$id": "133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "104", + "$id": "134", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1082,11 +1345,11 @@ }, "parameters": [ { - "$id": "105", + "$id": "135", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "99" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1100,9 +1363,9 @@ } ], "response": { - "$id": "106", + "$id": "136", "type": { - "$ref": "102" + "$ref": "132" } }, "isOverride": false, @@ -1111,37 +1374,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.StringValue.get" }, { - "$id": "107", + "$id": "137", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "108", + "$id": "138", "name": "put", "resourceName": "StringValue", "accessibility": "public", "parameters": [ { - "$id": "109", + "$id": "139", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "110", - "kind": "constant", - "name": "putContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "111", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1154,11 +1404,11 @@ "skipUrlEncoding": false }, { - "$id": "112", + "$id": "140", "name": "body", "nameInRequest": "body", "type": { - "$ref": "102" + "$ref": "132" }, "location": "Body", "isApiVersion": false, @@ -1173,7 +1423,7 @@ ], "responses": [ { - "$id": "113", + "$id": "141", "statusCodes": [ 204 ], @@ -1195,11 +1445,11 @@ }, "parameters": [ { - "$id": "114", + "$id": "142", "name": "body", "nameInRequest": "body", "type": { - "$ref": "102" + "$ref": "132" }, "location": "Body", "isApiVersion": false, @@ -1212,12 +1462,12 @@ "skipUrlEncoding": false }, { - "$id": "115", + "$id": "143", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "110" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1231,7 +1481,7 @@ } ], "response": { - "$id": "116" + "$id": "144" }, "isOverride": false, "generateConvenient": true, @@ -1241,12 +1491,12 @@ ], "parameters": [ { - "$id": "117", + "$id": "145", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "118", + "$id": "146", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1260,9 +1510,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "119", + "$id": "147", "type": { - "$id": "120", + "$id": "148", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1275,47 +1525,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.StringValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "121", + "$id": "149", "kind": "client", "name": "Float32Value", "namespace": "_Type._Dictionary", "doc": "Dictionary of float values", "methods": [ { - "$id": "122", + "$id": "150", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "123", + "$id": "151", "name": "get", "resourceName": "Float32Value", "accessibility": "public", "parameters": [ { - "$id": "124", + "$id": "152", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "125", - "kind": "constant", - "name": "getContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "126", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1330,22 +1567,22 @@ ], "responses": [ { - "$id": "127", + "$id": "153", "statusCodes": [ 200 ], "bodyType": { - "$id": "128", + "$id": "154", "kind": "dict", "keyType": { - "$id": "129", + "$id": "155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "130", + "$id": "156", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1371,11 +1608,11 @@ }, "parameters": [ { - "$id": "131", + "$id": "157", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "125" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1389,9 +1626,9 @@ } ], "response": { - "$id": "132", + "$id": "158", "type": { - "$ref": "128" + "$ref": "154" } }, "isOverride": false, @@ -1400,37 +1637,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.Float32Value.get" }, { - "$id": "133", + "$id": "159", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "134", + "$id": "160", "name": "put", "resourceName": "Float32Value", "accessibility": "public", "parameters": [ { - "$id": "135", + "$id": "161", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "136", - "kind": "constant", - "name": "putContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "137", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1443,11 +1667,11 @@ "skipUrlEncoding": false }, { - "$id": "138", + "$id": "162", "name": "body", "nameInRequest": "body", "type": { - "$ref": "128" + "$ref": "154" }, "location": "Body", "isApiVersion": false, @@ -1462,7 +1686,7 @@ ], "responses": [ { - "$id": "139", + "$id": "163", "statusCodes": [ 204 ], @@ -1484,11 +1708,11 @@ }, "parameters": [ { - "$id": "140", + "$id": "164", "name": "body", "nameInRequest": "body", "type": { - "$ref": "128" + "$ref": "154" }, "location": "Body", "isApiVersion": false, @@ -1501,12 +1725,12 @@ "skipUrlEncoding": false }, { - "$id": "141", + "$id": "165", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "136" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1520,7 +1744,7 @@ } ], "response": { - "$id": "142" + "$id": "166" }, "isOverride": false, "generateConvenient": true, @@ -1530,12 +1754,12 @@ ], "parameters": [ { - "$id": "143", + "$id": "167", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "144", + "$id": "168", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1549,9 +1773,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "145", + "$id": "169", "type": { - "$id": "146", + "$id": "170", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1564,47 +1788,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.Float32Value", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "147", + "$id": "171", "kind": "client", "name": "DatetimeValue", "namespace": "_Type._Dictionary", "doc": "Dictionary of datetime values", "methods": [ { - "$id": "148", + "$id": "172", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "149", + "$id": "173", "name": "get", "resourceName": "DatetimeValue", "accessibility": "public", "parameters": [ { - "$id": "150", + "$id": "174", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "151", - "kind": "constant", - "name": "getContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "152", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1619,27 +1830,27 @@ ], "responses": [ { - "$id": "153", + "$id": "175", "statusCodes": [ 200 ], "bodyType": { - "$id": "154", + "$id": "176", "kind": "dict", "keyType": { - "$id": "155", + "$id": "177", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "156", + "$id": "178", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "157", + "$id": "179", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1668,11 +1879,11 @@ }, "parameters": [ { - "$id": "158", + "$id": "180", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "151" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1686,9 +1897,9 @@ } ], "response": { - "$id": "159", + "$id": "181", "type": { - "$ref": "154" + "$ref": "176" } }, "isOverride": false, @@ -1697,37 +1908,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.DatetimeValue.get" }, { - "$id": "160", + "$id": "182", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "161", + "$id": "183", "name": "put", "resourceName": "DatetimeValue", "accessibility": "public", "parameters": [ { - "$id": "162", + "$id": "184", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "163", - "kind": "constant", - "name": "putContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "164", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1740,11 +1938,11 @@ "skipUrlEncoding": false }, { - "$id": "165", + "$id": "185", "name": "body", "nameInRequest": "body", "type": { - "$ref": "154" + "$ref": "176" }, "location": "Body", "isApiVersion": false, @@ -1759,7 +1957,7 @@ ], "responses": [ { - "$id": "166", + "$id": "186", "statusCodes": [ 204 ], @@ -1781,11 +1979,11 @@ }, "parameters": [ { - "$id": "167", + "$id": "187", "name": "body", "nameInRequest": "body", "type": { - "$ref": "154" + "$ref": "176" }, "location": "Body", "isApiVersion": false, @@ -1798,12 +1996,12 @@ "skipUrlEncoding": false }, { - "$id": "168", + "$id": "188", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "163" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1817,7 +2015,7 @@ } ], "response": { - "$id": "169" + "$id": "189" }, "isOverride": false, "generateConvenient": true, @@ -1827,12 +2025,12 @@ ], "parameters": [ { - "$id": "170", + "$id": "190", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "171", + "$id": "191", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1846,9 +2044,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "172", + "$id": "192", "type": { - "$id": "173", + "$id": "193", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1861,47 +2059,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.DatetimeValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "174", + "$id": "194", "kind": "client", "name": "DurationValue", "namespace": "_Type._Dictionary", "doc": "Dictionary of duration values", "methods": [ { - "$id": "175", + "$id": "195", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "176", + "$id": "196", "name": "get", "resourceName": "DurationValue", "accessibility": "public", "parameters": [ { - "$id": "177", + "$id": "197", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "178", - "kind": "constant", - "name": "getContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "179", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1916,27 +2101,27 @@ ], "responses": [ { - "$id": "180", + "$id": "198", "statusCodes": [ 200 ], "bodyType": { - "$id": "181", + "$id": "199", "kind": "dict", "keyType": { - "$id": "182", + "$id": "200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "183", + "$id": "201", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "184", + "$id": "202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1965,11 +2150,11 @@ }, "parameters": [ { - "$id": "185", + "$id": "203", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "178" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1983,9 +2168,9 @@ } ], "response": { - "$id": "186", + "$id": "204", "type": { - "$ref": "181" + "$ref": "199" } }, "isOverride": false, @@ -1994,37 +2179,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.DurationValue.get" }, { - "$id": "187", + "$id": "205", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "188", + "$id": "206", "name": "put", "resourceName": "DurationValue", "accessibility": "public", "parameters": [ { - "$id": "189", + "$id": "207", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "190", - "kind": "constant", - "name": "putContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "191", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -2037,11 +2209,11 @@ "skipUrlEncoding": false }, { - "$id": "192", + "$id": "208", "name": "body", "nameInRequest": "body", "type": { - "$ref": "181" + "$ref": "199" }, "location": "Body", "isApiVersion": false, @@ -2056,7 +2228,7 @@ ], "responses": [ { - "$id": "193", + "$id": "209", "statusCodes": [ 204 ], @@ -2078,11 +2250,11 @@ }, "parameters": [ { - "$id": "194", + "$id": "210", "name": "body", "nameInRequest": "body", "type": { - "$ref": "181" + "$ref": "199" }, "location": "Body", "isApiVersion": false, @@ -2095,12 +2267,12 @@ "skipUrlEncoding": false }, { - "$id": "195", + "$id": "211", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "190" + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -2114,7 +2286,7 @@ } ], "response": { - "$id": "196" + "$id": "212" }, "isOverride": false, "generateConvenient": true, @@ -2124,12 +2296,12 @@ ], "parameters": [ { - "$id": "197", + "$id": "213", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "198", + "$id": "214", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2143,9 +2315,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "199", + "$id": "215", "type": { - "$id": "200", + "$id": "216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2158,47 +2330,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.DurationValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "201", + "$id": "217", "kind": "client", "name": "UnknownValue", "namespace": "_Type._Dictionary", "doc": "Dictionary of unknown values", "methods": [ { - "$id": "202", + "$id": "218", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "203", + "$id": "219", "name": "get", "resourceName": "UnknownValue", "accessibility": "public", "parameters": [ { - "$id": "204", + "$id": "220", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "205", - "kind": "constant", - "name": "getContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "206", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -2213,22 +2372,22 @@ ], "responses": [ { - "$id": "207", + "$id": "221", "statusCodes": [ 200 ], "bodyType": { - "$id": "208", + "$id": "222", "kind": "dict", "keyType": { - "$id": "209", + "$id": "223", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "210", + "$id": "224", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -2254,11 +2413,11 @@ }, "parameters": [ { - "$id": "211", + "$id": "225", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "205" + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -2272,9 +2431,9 @@ } ], "response": { - "$id": "212", + "$id": "226", "type": { - "$ref": "208" + "$ref": "222" } }, "isOverride": false, @@ -2283,37 +2442,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.UnknownValue.get" }, { - "$id": "213", + "$id": "227", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "214", + "$id": "228", "name": "put", "resourceName": "UnknownValue", "accessibility": "public", "parameters": [ { - "$id": "215", + "$id": "229", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "216", - "kind": "constant", - "name": "putContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "217", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2326,11 +2472,11 @@ "skipUrlEncoding": false }, { - "$id": "218", + "$id": "230", "name": "body", "nameInRequest": "body", "type": { - "$ref": "208" + "$ref": "222" }, "location": "Body", "isApiVersion": false, @@ -2345,7 +2491,7 @@ ], "responses": [ { - "$id": "219", + "$id": "231", "statusCodes": [ 204 ], @@ -2367,11 +2513,11 @@ }, "parameters": [ { - "$id": "220", + "$id": "232", "name": "body", "nameInRequest": "body", "type": { - "$ref": "208" + "$ref": "222" }, "location": "Body", "isApiVersion": false, @@ -2384,12 +2530,12 @@ "skipUrlEncoding": false }, { - "$id": "221", + "$id": "233", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "216" + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2403,7 +2549,7 @@ } ], "response": { - "$id": "222" + "$id": "234" }, "isOverride": false, "generateConvenient": true, @@ -2413,12 +2559,12 @@ ], "parameters": [ { - "$id": "223", + "$id": "235", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "224", + "$id": "236", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2432,9 +2578,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "225", + "$id": "237", "type": { - "$id": "226", + "$id": "238", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2447,47 +2593,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.UnknownValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "227", + "$id": "239", "kind": "client", "name": "ModelValue", "namespace": "_Type._Dictionary", "doc": "Dictionary of model values", "methods": [ { - "$id": "228", + "$id": "240", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "229", + "$id": "241", "name": "get", "resourceName": "ModelValue", "accessibility": "public", "parameters": [ { - "$id": "230", + "$id": "242", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "231", - "kind": "constant", - "name": "getContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "232", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2502,12 +2635,12 @@ ], "responses": [ { - "$id": "233", + "$id": "243", "statusCodes": [ 200 ], "bodyType": { - "$ref": "8" + "$ref": "52" }, "headers": [], "isErrorResponse": false, @@ -2527,11 +2660,11 @@ }, "parameters": [ { - "$id": "234", + "$id": "244", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "231" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2545,9 +2678,9 @@ } ], "response": { - "$id": "235", + "$id": "245", "type": { - "$ref": "8" + "$ref": "52" } }, "isOverride": false, @@ -2556,37 +2689,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.ModelValue.get" }, { - "$id": "236", + "$id": "246", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "237", + "$id": "247", "name": "put", "resourceName": "ModelValue", "accessibility": "public", "parameters": [ { - "$id": "238", + "$id": "248", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "239", - "kind": "constant", - "name": "putContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "240", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2599,11 +2719,11 @@ "skipUrlEncoding": false }, { - "$id": "241", + "$id": "249", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "52" }, "location": "Body", "isApiVersion": false, @@ -2618,7 +2738,7 @@ ], "responses": [ { - "$id": "242", + "$id": "250", "statusCodes": [ 204 ], @@ -2640,11 +2760,11 @@ }, "parameters": [ { - "$id": "243", + "$id": "251", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "52" }, "location": "Body", "isApiVersion": false, @@ -2657,12 +2777,12 @@ "skipUrlEncoding": false }, { - "$id": "244", + "$id": "252", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "239" + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2676,7 +2796,7 @@ } ], "response": { - "$id": "245" + "$id": "253" }, "isOverride": false, "generateConvenient": true, @@ -2686,12 +2806,12 @@ ], "parameters": [ { - "$id": "246", + "$id": "254", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "247", + "$id": "255", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2705,9 +2825,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "248", + "$id": "256", "type": { - "$id": "249", + "$id": "257", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2720,47 +2840,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.ModelValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "250", + "$id": "258", "kind": "client", "name": "RecursiveModelValue", "namespace": "_Type._Dictionary", "doc": "Dictionary of model values", "methods": [ { - "$id": "251", + "$id": "259", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "252", + "$id": "260", "name": "get", "resourceName": "RecursiveModelValue", "accessibility": "public", "parameters": [ { - "$id": "253", + "$id": "261", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "254", - "kind": "constant", - "name": "getContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "255", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2775,12 +2882,12 @@ ], "responses": [ { - "$id": "256", + "$id": "262", "statusCodes": [ 200 ], "bodyType": { - "$ref": "8" + "$ref": "52" }, "headers": [], "isErrorResponse": false, @@ -2800,11 +2907,11 @@ }, "parameters": [ { - "$id": "257", + "$id": "263", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "254" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2818,9 +2925,9 @@ } ], "response": { - "$id": "258", + "$id": "264", "type": { - "$ref": "8" + "$ref": "52" } }, "isOverride": false, @@ -2829,37 +2936,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.RecursiveModelValue.get" }, { - "$id": "259", + "$id": "265", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "260", + "$id": "266", "name": "put", "resourceName": "RecursiveModelValue", "accessibility": "public", "parameters": [ { - "$id": "261", + "$id": "267", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "262", - "kind": "constant", - "name": "putContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "263", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2872,11 +2966,11 @@ "skipUrlEncoding": false }, { - "$id": "264", + "$id": "268", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "52" }, "location": "Body", "isApiVersion": false, @@ -2891,7 +2985,7 @@ ], "responses": [ { - "$id": "265", + "$id": "269", "statusCodes": [ 204 ], @@ -2913,11 +3007,11 @@ }, "parameters": [ { - "$id": "266", + "$id": "270", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "52" }, "location": "Body", "isApiVersion": false, @@ -2930,12 +3024,12 @@ "skipUrlEncoding": false }, { - "$id": "267", + "$id": "271", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "262" + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2949,7 +3043,7 @@ } ], "response": { - "$id": "268" + "$id": "272" }, "isOverride": false, "generateConvenient": true, @@ -2959,12 +3053,12 @@ ], "parameters": [ { - "$id": "269", + "$id": "273", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "270", + "$id": "274", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2978,9 +3072,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "271", + "$id": "275", "type": { - "$id": "272", + "$id": "276", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2993,47 +3087,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.RecursiveModelValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "273", + "$id": "277", "kind": "client", "name": "NullableFloatValue", "namespace": "_Type._Dictionary", "doc": "Dictionary of nullable float values", "methods": [ { - "$id": "274", + "$id": "278", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "275", + "$id": "279", "name": "get", "resourceName": "NullableFloatValue", "accessibility": "public", "parameters": [ { - "$id": "276", + "$id": "280", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "277", - "kind": "constant", - "name": "getContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "278", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3048,25 +3129,25 @@ ], "responses": [ { - "$id": "279", + "$id": "281", "statusCodes": [ 200 ], "bodyType": { - "$id": "280", + "$id": "282", "kind": "dict", "keyType": { - "$id": "281", + "$id": "283", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "282", + "$id": "284", "kind": "nullable", "type": { - "$id": "283", + "$id": "285", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -3094,11 +3175,11 @@ }, "parameters": [ { - "$id": "284", + "$id": "286", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "277" + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3112,9 +3193,9 @@ } ], "response": { - "$id": "285", + "$id": "287", "type": { - "$ref": "280" + "$ref": "282" } }, "isOverride": false, @@ -3123,37 +3204,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.NullableFloatValue.get" }, { - "$id": "286", + "$id": "288", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "287", + "$id": "289", "name": "put", "resourceName": "NullableFloatValue", "accessibility": "public", "parameters": [ { - "$id": "288", + "$id": "290", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "289", - "kind": "constant", - "name": "putContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "290", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -3170,7 +3238,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "280" + "$ref": "282" }, "location": "Body", "isApiVersion": false, @@ -3211,7 +3279,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "280" + "$ref": "282" }, "location": "Body", "isApiVersion": false, @@ -3229,7 +3297,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "289" + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -3287,7 +3355,7 @@ "crossLanguageDefinitionId": "Type.Dictionary.NullableFloatValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } } ] diff --git a/test/CadlRanchProjects/type/enum/extensible/tspCodeModel.json b/test/CadlRanchProjects/type/enum/extensible/tspCodeModel.json index f7ac436ec38..b27435ab0b7 100644 --- a/test/CadlRanchProjects/type/enum/extensible/tspCodeModel.json +++ b/test/CadlRanchProjects/type/enum/extensible/tspCodeModel.json @@ -151,22 +151,152 @@ "decorators": [] } ], + "constants": [ + { + "$id": "18", + "kind": "constant", + "name": "getKnownValueContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "GetKnownValueResponseContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "getUnknownValueContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "GetKnownValueResponseContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "GetKnownValueResponseContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "GetKnownValueResponseContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "GetKnownValueResponseContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "GetKnownValueResponseContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [], "clients": [ { - "$id": "18", + "$id": "34", "kind": "client", "name": "ExtensibleClient", "namespace": "_Type._Enum.Extensible", "methods": [], "parameters": [ { - "$id": "19", + "$id": "35", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "20", + "$id": "36", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -180,9 +310,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "21", + "$id": "37", "type": { - "$id": "22", + "$id": "38", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -196,42 +326,29 @@ "apiVersions": [], "children": [ { - "$id": "23", + "$id": "39", "kind": "client", "name": "String", "namespace": "_Type._Enum.Extensible", "methods": [ { - "$id": "24", + "$id": "40", "kind": "basic", "name": "getKnownValue", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "25", + "$id": "41", "name": "getKnownValue", "resourceName": "String", "accessibility": "public", "parameters": [ { - "$id": "26", + "$id": "42", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "27", - "kind": "constant", - "name": "getKnownValueContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "28", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -246,7 +363,7 @@ ], "responses": [ { - "$id": "29", + "$id": "43", "statusCodes": [ 200 ], @@ -255,24 +372,11 @@ }, "headers": [ { - "$id": "30", + "$id": "44", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "31", - "kind": "constant", - "name": "GetKnownValueResponseContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "32", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" } } ], @@ -293,11 +397,11 @@ }, "parameters": [ { - "$id": "33", + "$id": "45", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "27" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -311,7 +415,7 @@ } ], "response": { - "$id": "34", + "$id": "46", "type": { "$ref": "2" } @@ -322,36 +426,23 @@ "crossLanguageDefinitionId": "Type.Enum.Extensible.String.getKnownValue" }, { - "$id": "35", + "$id": "47", "kind": "basic", "name": "getUnknownValue", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "36", + "$id": "48", "name": "getUnknownValue", "resourceName": "String", "accessibility": "public", "parameters": [ { - "$id": "37", + "$id": "49", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "38", - "kind": "constant", - "name": "getUnknownValueContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "39", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -366,7 +457,7 @@ ], "responses": [ { - "$id": "40", + "$id": "50", "statusCodes": [ 200 ], @@ -375,24 +466,11 @@ }, "headers": [ { - "$id": "41", + "$id": "51", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "42", - "kind": "constant", - "name": "GetKnownValueResponseContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "43", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" } } ], @@ -413,11 +491,11 @@ }, "parameters": [ { - "$id": "44", + "$id": "52", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "38" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -431,7 +509,7 @@ } ], "response": { - "$id": "45", + "$id": "53", "type": { "$ref": "2" } @@ -442,36 +520,23 @@ "crossLanguageDefinitionId": "Type.Enum.Extensible.String.getUnknownValue" }, { - "$id": "46", + "$id": "54", "kind": "basic", "name": "putKnownValue", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "47", + "$id": "55", "name": "putKnownValue", "resourceName": "String", "accessibility": "public", "parameters": [ { - "$id": "48", + "$id": "56", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "49", - "kind": "constant", - "name": "GetKnownValueResponseContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "50", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -484,7 +549,7 @@ "skipUrlEncoding": false }, { - "$id": "51", + "$id": "57", "name": "body", "nameInRequest": "body", "type": { @@ -503,7 +568,7 @@ ], "responses": [ { - "$id": "52", + "$id": "58", "statusCodes": [ 204 ], @@ -525,24 +590,11 @@ }, "parameters": [ { - "$id": "53", + "$id": "59", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "54", - "kind": "constant", - "name": "GetKnownValueResponseContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "55", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -555,7 +607,7 @@ "skipUrlEncoding": false }, { - "$id": "56", + "$id": "60", "name": "body", "nameInRequest": "body", "type": { @@ -573,7 +625,7 @@ } ], "response": { - "$id": "57" + "$id": "61" }, "isOverride": false, "generateConvenient": true, @@ -581,36 +633,23 @@ "crossLanguageDefinitionId": "Type.Enum.Extensible.String.putKnownValue" }, { - "$id": "58", + "$id": "62", "kind": "basic", "name": "putUnknownValue", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "59", + "$id": "63", "name": "putUnknownValue", "resourceName": "String", "accessibility": "public", "parameters": [ { - "$id": "60", + "$id": "64", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "61", - "kind": "constant", - "name": "GetKnownValueResponseContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "62", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -623,7 +662,7 @@ "skipUrlEncoding": false }, { - "$id": "63", + "$id": "65", "name": "body", "nameInRequest": "body", "type": { @@ -642,7 +681,7 @@ ], "responses": [ { - "$id": "64", + "$id": "66", "statusCodes": [ 204 ], @@ -664,24 +703,11 @@ }, "parameters": [ { - "$id": "65", + "$id": "67", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "66", - "kind": "constant", - "name": "GetKnownValueResponseContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "67", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -756,7 +782,7 @@ "crossLanguageDefinitionId": "Type.Enum.Extensible.String", "apiVersions": [], "parent": { - "$ref": "18" + "$ref": "34" } } ] diff --git a/test/CadlRanchProjects/type/enum/fixed/tspCodeModel.json b/test/CadlRanchProjects/type/enum/fixed/tspCodeModel.json index db737f6e9b9..ffccf67619d 100644 --- a/test/CadlRanchProjects/type/enum/fixed/tspCodeModel.json +++ b/test/CadlRanchProjects/type/enum/fixed/tspCodeModel.json @@ -151,22 +151,120 @@ "decorators": [] } ], + "constants": [ + { + "$id": "18", + "kind": "constant", + "name": "getKnownValueContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "GetKnownValueResponseContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "GetKnownValueResponseContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "GetKnownValueResponseContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "GetKnownValueResponseContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "GetKnownValueResponseContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [], "clients": [ { - "$id": "18", + "$id": "30", "kind": "client", "name": "FixedClient", "namespace": "_Type._Enum.Fixed", "methods": [], "parameters": [ { - "$id": "19", + "$id": "31", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "20", + "$id": "32", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -180,9 +278,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "21", + "$id": "33", "type": { - "$id": "22", + "$id": "34", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -196,44 +294,31 @@ "apiVersions": [], "children": [ { - "$id": "23", + "$id": "35", "kind": "client", "name": "String", "namespace": "_Type._Enum.Fixed", "methods": [ { - "$id": "24", + "$id": "36", "kind": "basic", "name": "getKnownValue", "accessibility": "public", "apiVersions": [], "doc": "getKnownValue", "operation": { - "$id": "25", + "$id": "37", "name": "getKnownValue", "resourceName": "String", "doc": "getKnownValue", "accessibility": "public", "parameters": [ { - "$id": "26", + "$id": "38", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "27", - "kind": "constant", - "name": "getKnownValueContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "28", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -248,7 +333,7 @@ ], "responses": [ { - "$id": "29", + "$id": "39", "statusCodes": [ 200 ], @@ -257,24 +342,11 @@ }, "headers": [ { - "$id": "30", + "$id": "40", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "31", - "kind": "constant", - "name": "GetKnownValueResponseContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "32", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" } } ], @@ -295,11 +367,11 @@ }, "parameters": [ { - "$id": "33", + "$id": "41", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "27" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -313,7 +385,7 @@ } ], "response": { - "$id": "34", + "$id": "42", "type": { "$ref": "2" } @@ -324,38 +396,25 @@ "crossLanguageDefinitionId": "Type.Enum.Fixed.String.getKnownValue" }, { - "$id": "35", + "$id": "43", "kind": "basic", "name": "putKnownValue", "accessibility": "public", "apiVersions": [], "doc": "putKnownValue", "operation": { - "$id": "36", + "$id": "44", "name": "putKnownValue", "resourceName": "String", "doc": "putKnownValue", "accessibility": "public", "parameters": [ { - "$id": "37", + "$id": "45", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "38", - "kind": "constant", - "name": "GetKnownValueResponseContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "39", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -368,7 +427,7 @@ "skipUrlEncoding": false }, { - "$id": "40", + "$id": "46", "name": "body", "nameInRequest": "body", "doc": "_", @@ -388,7 +447,7 @@ ], "responses": [ { - "$id": "41", + "$id": "47", "statusCodes": [ 204 ], @@ -410,24 +469,11 @@ }, "parameters": [ { - "$id": "42", + "$id": "48", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "43", - "kind": "constant", - "name": "GetKnownValueResponseContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "44", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -440,7 +486,7 @@ "skipUrlEncoding": false }, { - "$id": "45", + "$id": "49", "name": "body", "nameInRequest": "body", "doc": "_", @@ -459,7 +505,7 @@ } ], "response": { - "$id": "46" + "$id": "50" }, "isOverride": false, "generateConvenient": true, @@ -467,38 +513,25 @@ "crossLanguageDefinitionId": "Type.Enum.Fixed.String.putKnownValue" }, { - "$id": "47", + "$id": "51", "kind": "basic", "name": "putUnknownValue", "accessibility": "public", "apiVersions": [], "doc": "putUnknownValue", "operation": { - "$id": "48", + "$id": "52", "name": "putUnknownValue", "resourceName": "String", "doc": "putUnknownValue", "accessibility": "public", "parameters": [ { - "$id": "49", + "$id": "53", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "50", - "kind": "constant", - "name": "GetKnownValueResponseContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "51", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -511,7 +544,7 @@ "skipUrlEncoding": false }, { - "$id": "52", + "$id": "54", "name": "body", "nameInRequest": "body", "doc": "_", @@ -531,7 +564,7 @@ ], "responses": [ { - "$id": "53", + "$id": "55", "statusCodes": [ 204 ], @@ -553,24 +586,11 @@ }, "parameters": [ { - "$id": "54", + "$id": "56", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "55", - "kind": "constant", - "name": "GetKnownValueResponseContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "56", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -646,7 +666,7 @@ "crossLanguageDefinitionId": "Type.Enum.Fixed.String", "apiVersions": [], "parent": { - "$ref": "18" + "$ref": "30" } } ] diff --git a/test/CadlRanchProjects/type/model/empty/tspCodeModel.json b/test/CadlRanchProjects/type/model/empty/tspCodeModel.json index de62666ced3..338fa909624 100644 --- a/test/CadlRanchProjects/type/model/empty/tspCodeModel.json +++ b/test/CadlRanchProjects/type/model/empty/tspCodeModel.json @@ -3,9 +3,75 @@ "name": "Type.Model.Empty", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "putEmptyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "getEmptyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "postRoundTripEmptyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "postRoundTripEmptyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "10", "kind": "model", "name": "EmptyInput", "namespace": "_Type.Model.Empty", @@ -16,7 +82,7 @@ "properties": [] }, { - "$id": "3", + "$id": "11", "kind": "model", "name": "EmptyOutput", "namespace": "_Type.Model.Empty", @@ -27,7 +93,7 @@ "properties": [] }, { - "$id": "4", + "$id": "12", "kind": "model", "name": "EmptyInputOutput", "namespace": "_Type.Model.Empty", @@ -40,44 +106,31 @@ ], "clients": [ { - "$id": "5", + "$id": "13", "kind": "client", "name": "EmptyClient", "namespace": "_Type.Model.Empty", "doc": "Illustrates usage of empty model used in operation's parameters and responses.", "methods": [ { - "$id": "6", + "$id": "14", "kind": "basic", "name": "putEmpty", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "7", + "$id": "15", "name": "putEmpty", "resourceName": "Empty", "accessibility": "public", "parameters": [ { - "$id": "8", + "$id": "16", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "9", - "kind": "constant", - "name": "putEmptyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "10", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -90,11 +143,11 @@ "skipUrlEncoding": false }, { - "$id": "11", + "$id": "17", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -109,7 +162,7 @@ ], "responses": [ { - "$id": "12", + "$id": "18", "statusCodes": [ 204 ], @@ -131,11 +184,11 @@ }, "parameters": [ { - "$id": "13", + "$id": "19", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -148,12 +201,12 @@ "skipUrlEncoding": false }, { - "$id": "14", + "$id": "20", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "9" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -167,7 +220,7 @@ } ], "response": { - "$id": "15" + "$id": "21" }, "isOverride": false, "generateConvenient": true, @@ -175,36 +228,23 @@ "crossLanguageDefinitionId": "Type.Model.Empty.putEmpty" }, { - "$id": "16", + "$id": "22", "kind": "basic", "name": "getEmpty", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "17", + "$id": "23", "name": "getEmpty", "resourceName": "Empty", "accessibility": "public", "parameters": [ { - "$id": "18", + "$id": "24", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "19", - "kind": "constant", - "name": "getEmptyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "20", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -219,12 +259,12 @@ ], "responses": [ { - "$id": "21", + "$id": "25", "statusCodes": [ 200 ], "bodyType": { - "$ref": "3" + "$ref": "11" }, "headers": [], "isErrorResponse": false, @@ -244,11 +284,11 @@ }, "parameters": [ { - "$id": "22", + "$id": "26", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "19" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -262,9 +302,9 @@ } ], "response": { - "$id": "23", + "$id": "27", "type": { - "$ref": "3" + "$ref": "11" } }, "isOverride": false, @@ -273,37 +313,24 @@ "crossLanguageDefinitionId": "Type.Model.Empty.getEmpty" }, { - "$id": "24", + "$id": "28", "kind": "basic", "name": "postRoundTripEmpty", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "25", + "$id": "29", "name": "postRoundTripEmpty", "resourceName": "Empty", "accessibility": "public", "parameters": [ { - "$id": "26", + "$id": "30", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "27", - "kind": "constant", - "name": "postRoundTripEmptyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "28", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -316,24 +343,11 @@ "skipUrlEncoding": false }, { - "$id": "29", + "$id": "31", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "30", - "kind": "constant", - "name": "postRoundTripEmptyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "31", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -350,7 +364,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "4" + "$ref": "12" }, "location": "Body", "isApiVersion": false, @@ -370,7 +384,7 @@ 200 ], "bodyType": { - "$ref": "4" + "$ref": "12" }, "headers": [], "isErrorResponse": false, @@ -397,7 +411,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "4" + "$ref": "12" }, "location": "Body", "isApiVersion": false, @@ -415,7 +429,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "27" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -432,7 +446,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "30" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -448,7 +462,7 @@ "response": { "$id": "37", "type": { - "$ref": "4" + "$ref": "12" } }, "isOverride": false, diff --git a/test/CadlRanchProjects/type/model/inheritance/enum-discriminator/tspCodeModel.json b/test/CadlRanchProjects/type/model/inheritance/enum-discriminator/tspCodeModel.json index 5933bae9aaa..8b8f50a2c2e 100644 --- a/test/CadlRanchProjects/type/model/inheritance/enum-discriminator/tspCodeModel.json +++ b/test/CadlRanchProjects/type/model/inheritance/enum-discriminator/tspCodeModel.json @@ -82,9 +82,139 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "10", + "kind": "constant", + "name": "getExtensibleModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "putExtensibleModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "getExtensibleModelMissingDiscriminatorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "getExtensibleModelWrongDiscriminatorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "getFixedModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "putFixedModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "getFixedModelMissingDiscriminatorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "getFixedModelWrongDiscriminatorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "26", "kind": "model", "name": "Dog", "namespace": "_Type.Model.Inheritance.EnumDiscriminator", @@ -93,7 +223,7 @@ "doc": "Test extensible enum type for discriminator", "decorators": [], "discriminatorProperty": { - "$id": "11", + "$id": "27", "kind": "property", "name": "kind", "serializedName": "kind", @@ -108,25 +238,25 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.Dog.kind", "serializationOptions": { - "$id": "12", + "$id": "28", "json": { - "$id": "13", + "$id": "29", "name": "kind" } } }, "properties": [ { - "$ref": "11" + "$ref": "27" }, { - "$id": "14", + "$id": "30", "kind": "property", "name": "weight", "serializedName": "weight", "doc": "Weight of the dog", "type": { - "$id": "15", + "$id": "31", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -139,18 +269,18 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.Dog.weight", "serializationOptions": { - "$id": "16", + "$id": "32", "json": { - "$id": "17", + "$id": "33", "name": "weight" } } } ], "discriminatedSubtypes": { - "$id": "18", + "$id": "34", "golden": { - "$id": "19", + "$id": "35", "kind": "model", "name": "Golden", "namespace": "_Type.Model.Inheritance.EnumDiscriminator", @@ -160,22 +290,22 @@ "discriminatorValue": "golden", "decorators": [], "baseModel": { - "$ref": "10" + "$ref": "26" }, "properties": [ { - "$id": "20", + "$id": "36", "kind": "property", "name": "kind", "serializedName": "kind", "doc": "discriminator property", "type": { - "$id": "21", + "$id": "37", "kind": "enumvalue", "name": "Golden", "value": "golden", "valueType": { - "$id": "22", + "$id": "38", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -194,9 +324,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.Golden.kind", "serializationOptions": { - "$id": "23", + "$id": "39", "json": { - "$id": "24", + "$id": "40", "name": "kind" } } @@ -206,10 +336,10 @@ } }, { - "$ref": "19" + "$ref": "35" }, { - "$id": "25", + "$id": "41", "kind": "model", "name": "Snake", "namespace": "_Type.Model.Inheritance.EnumDiscriminator", @@ -218,7 +348,7 @@ "doc": "Test fixed enum type for discriminator", "decorators": [], "discriminatorProperty": { - "$id": "26", + "$id": "42", "kind": "property", "name": "kind", "serializedName": "kind", @@ -233,25 +363,25 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.Snake.kind", "serializationOptions": { - "$id": "27", + "$id": "43", "json": { - "$id": "28", + "$id": "44", "name": "kind" } } }, "properties": [ { - "$ref": "26" + "$ref": "42" }, { - "$id": "29", + "$id": "45", "kind": "property", "name": "length", "serializedName": "length", "doc": "Length of the snake", "type": { - "$id": "30", + "$id": "46", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -264,18 +394,18 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.Snake.length", "serializationOptions": { - "$id": "31", + "$id": "47", "json": { - "$id": "32", + "$id": "48", "name": "length" } } } ], "discriminatedSubtypes": { - "$id": "33", + "$id": "49", "cobra": { - "$id": "34", + "$id": "50", "kind": "model", "name": "Cobra", "namespace": "_Type.Model.Inheritance.EnumDiscriminator", @@ -285,22 +415,22 @@ "discriminatorValue": "cobra", "decorators": [], "baseModel": { - "$ref": "25" + "$ref": "41" }, "properties": [ { - "$id": "35", + "$id": "51", "kind": "property", "name": "kind", "serializedName": "kind", "doc": "discriminator property", "type": { - "$id": "36", + "$id": "52", "kind": "enumvalue", "name": "Cobra", "value": "cobra", "valueType": { - "$id": "37", + "$id": "53", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -319,9 +449,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.Cobra.kind", "serializationOptions": { - "$id": "38", + "$id": "54", "json": { - "$id": "39", + "$id": "55", "name": "kind" } } @@ -331,50 +461,37 @@ } }, { - "$ref": "34" + "$ref": "50" } ], "clients": [ { - "$id": "40", + "$id": "56", "kind": "client", "name": "EnumDiscriminatorClient", "namespace": "_Type.Model.Inheritance.EnumDiscriminator", "doc": "Illustrates inheritance with enum discriminator.", "methods": [ { - "$id": "41", + "$id": "57", "kind": "basic", "name": "getExtensibleModel", "accessibility": "public", "apiVersions": [], "doc": "Receive model with extensible enum discriminator type.", "operation": { - "$id": "42", + "$id": "58", "name": "getExtensibleModel", "resourceName": "EnumDiscriminator", "doc": "Receive model with extensible enum discriminator type.", "accessibility": "public", "parameters": [ { - "$id": "43", + "$id": "59", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "44", - "kind": "constant", - "name": "getExtensibleModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "45", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -389,12 +506,12 @@ ], "responses": [ { - "$id": "46", + "$id": "60", "statusCodes": [ 200 ], "bodyType": { - "$ref": "10" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -414,11 +531,11 @@ }, "parameters": [ { - "$id": "47", + "$id": "61", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "44" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -432,9 +549,9 @@ } ], "response": { - "$id": "48", + "$id": "62", "type": { - "$ref": "10" + "$ref": "26" } }, "isOverride": false, @@ -443,39 +560,26 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getExtensibleModel" }, { - "$id": "49", + "$id": "63", "kind": "basic", "name": "putExtensibleModel", "accessibility": "public", "apiVersions": [], "doc": "Send model with extensible enum discriminator type.", "operation": { - "$id": "50", + "$id": "64", "name": "putExtensibleModel", "resourceName": "EnumDiscriminator", "doc": "Send model with extensible enum discriminator type.", "accessibility": "public", "parameters": [ { - "$id": "51", + "$id": "65", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "52", - "kind": "constant", - "name": "putExtensibleModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "53", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -488,12 +592,12 @@ "skipUrlEncoding": false }, { - "$id": "54", + "$id": "66", "name": "input", "nameInRequest": "input", "doc": "Dog to create", "type": { - "$ref": "10" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -508,7 +612,7 @@ ], "responses": [ { - "$id": "55", + "$id": "67", "statusCodes": [ 204 ], @@ -530,12 +634,12 @@ }, "parameters": [ { - "$id": "56", + "$id": "68", "name": "input", "nameInRequest": "input", "doc": "Dog to create", "type": { - "$ref": "10" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -548,12 +652,12 @@ "skipUrlEncoding": false }, { - "$id": "57", + "$id": "69", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "52" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -567,7 +671,7 @@ } ], "response": { - "$id": "58" + "$id": "70" }, "isOverride": false, "generateConvenient": true, @@ -575,38 +679,25 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.putExtensibleModel" }, { - "$id": "59", + "$id": "71", "kind": "basic", "name": "getExtensibleModelMissingDiscriminator", "accessibility": "public", "apiVersions": [], "doc": "Get a model omitting the discriminator.", "operation": { - "$id": "60", + "$id": "72", "name": "getExtensibleModelMissingDiscriminator", "resourceName": "EnumDiscriminator", "doc": "Get a model omitting the discriminator.", "accessibility": "public", "parameters": [ { - "$id": "61", + "$id": "73", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "62", - "kind": "constant", - "name": "getExtensibleModelMissingDiscriminatorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "63", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -621,12 +712,12 @@ ], "responses": [ { - "$id": "64", + "$id": "74", "statusCodes": [ 200 ], "bodyType": { - "$ref": "10" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -646,11 +737,11 @@ }, "parameters": [ { - "$id": "65", + "$id": "75", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "62" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -664,9 +755,9 @@ } ], "response": { - "$id": "66", + "$id": "76", "type": { - "$ref": "10" + "$ref": "26" } }, "isOverride": false, @@ -675,38 +766,25 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getExtensibleModelMissingDiscriminator" }, { - "$id": "67", + "$id": "77", "kind": "basic", "name": "getExtensibleModelWrongDiscriminator", "accessibility": "public", "apiVersions": [], "doc": "Get a model containing discriminator value never defined.", "operation": { - "$id": "68", + "$id": "78", "name": "getExtensibleModelWrongDiscriminator", "resourceName": "EnumDiscriminator", "doc": "Get a model containing discriminator value never defined.", "accessibility": "public", "parameters": [ { - "$id": "69", + "$id": "79", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "70", - "kind": "constant", - "name": "getExtensibleModelWrongDiscriminatorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "71", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -721,12 +799,12 @@ ], "responses": [ { - "$id": "72", + "$id": "80", "statusCodes": [ 200 ], "bodyType": { - "$ref": "10" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -746,11 +824,11 @@ }, "parameters": [ { - "$id": "73", + "$id": "81", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "70" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -764,9 +842,9 @@ } ], "response": { - "$id": "74", + "$id": "82", "type": { - "$ref": "10" + "$ref": "26" } }, "isOverride": false, @@ -775,38 +853,25 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getExtensibleModelWrongDiscriminator" }, { - "$id": "75", + "$id": "83", "kind": "basic", "name": "getFixedModel", "accessibility": "public", "apiVersions": [], "doc": "Receive model with fixed enum discriminator type.", "operation": { - "$id": "76", + "$id": "84", "name": "getFixedModel", "resourceName": "EnumDiscriminator", "doc": "Receive model with fixed enum discriminator type.", "accessibility": "public", "parameters": [ { - "$id": "77", + "$id": "85", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "78", - "kind": "constant", - "name": "getFixedModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "79", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -821,12 +886,12 @@ ], "responses": [ { - "$id": "80", + "$id": "86", "statusCodes": [ 200 ], "bodyType": { - "$ref": "25" + "$ref": "41" }, "headers": [], "isErrorResponse": false, @@ -846,11 +911,11 @@ }, "parameters": [ { - "$id": "81", + "$id": "87", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "78" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -864,9 +929,9 @@ } ], "response": { - "$id": "82", + "$id": "88", "type": { - "$ref": "25" + "$ref": "41" } }, "isOverride": false, @@ -875,39 +940,26 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getFixedModel" }, { - "$id": "83", + "$id": "89", "kind": "basic", "name": "putFixedModel", "accessibility": "public", "apiVersions": [], "doc": "Send model with fixed enum discriminator type.", "operation": { - "$id": "84", + "$id": "90", "name": "putFixedModel", "resourceName": "EnumDiscriminator", "doc": "Send model with fixed enum discriminator type.", "accessibility": "public", "parameters": [ { - "$id": "85", + "$id": "91", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "86", - "kind": "constant", - "name": "putFixedModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "87", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -920,12 +972,12 @@ "skipUrlEncoding": false }, { - "$id": "88", + "$id": "92", "name": "input", "nameInRequest": "input", "doc": "Snake to create", "type": { - "$ref": "25" + "$ref": "41" }, "location": "Body", "isApiVersion": false, @@ -940,7 +992,7 @@ ], "responses": [ { - "$id": "89", + "$id": "93", "statusCodes": [ 204 ], @@ -962,12 +1014,12 @@ }, "parameters": [ { - "$id": "90", + "$id": "94", "name": "input", "nameInRequest": "input", "doc": "Snake to create", "type": { - "$ref": "25" + "$ref": "41" }, "location": "Body", "isApiVersion": false, @@ -980,12 +1032,12 @@ "skipUrlEncoding": false }, { - "$id": "91", + "$id": "95", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "86" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -999,7 +1051,7 @@ } ], "response": { - "$id": "92" + "$id": "96" }, "isOverride": false, "generateConvenient": true, @@ -1007,38 +1059,25 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.putFixedModel" }, { - "$id": "93", + "$id": "97", "kind": "basic", "name": "getFixedModelMissingDiscriminator", "accessibility": "public", "apiVersions": [], "doc": "Get a model omitting the discriminator.", "operation": { - "$id": "94", + "$id": "98", "name": "getFixedModelMissingDiscriminator", "resourceName": "EnumDiscriminator", "doc": "Get a model omitting the discriminator.", "accessibility": "public", "parameters": [ { - "$id": "95", + "$id": "99", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "96", - "kind": "constant", - "name": "getFixedModelMissingDiscriminatorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "97", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1053,12 +1092,12 @@ ], "responses": [ { - "$id": "98", + "$id": "100", "statusCodes": [ 200 ], "bodyType": { - "$ref": "25" + "$ref": "41" }, "headers": [], "isErrorResponse": false, @@ -1078,11 +1117,11 @@ }, "parameters": [ { - "$id": "99", + "$id": "101", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "96" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1096,9 +1135,9 @@ } ], "response": { - "$id": "100", + "$id": "102", "type": { - "$ref": "25" + "$ref": "41" } }, "isOverride": false, @@ -1107,38 +1146,25 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getFixedModelMissingDiscriminator" }, { - "$id": "101", + "$id": "103", "kind": "basic", "name": "getFixedModelWrongDiscriminator", "accessibility": "public", "apiVersions": [], "doc": "Get a model containing discriminator value never defined.", "operation": { - "$id": "102", + "$id": "104", "name": "getFixedModelWrongDiscriminator", "resourceName": "EnumDiscriminator", "doc": "Get a model containing discriminator value never defined.", "accessibility": "public", "parameters": [ { - "$id": "103", + "$id": "105", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "104", - "kind": "constant", - "name": "getFixedModelWrongDiscriminatorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "105", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1158,7 +1184,7 @@ 200 ], "bodyType": { - "$ref": "25" + "$ref": "41" }, "headers": [], "isErrorResponse": false, @@ -1182,7 +1208,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "104" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1198,7 +1224,7 @@ "response": { "$id": "108", "type": { - "$ref": "25" + "$ref": "41" } }, "isOverride": false, diff --git a/test/CadlRanchProjects/type/model/inheritance/not-discriminated/tspCodeModel.json b/test/CadlRanchProjects/type/model/inheritance/not-discriminated/tspCodeModel.json index 1930d5de56b..2b8e942e041 100644 --- a/test/CadlRanchProjects/type/model/inheritance/not-discriminated/tspCodeModel.json +++ b/test/CadlRanchProjects/type/model/inheritance/not-discriminated/tspCodeModel.json @@ -3,9 +3,75 @@ "name": "Type.Model.Inheritance.NotDiscriminated", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "postValidContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "getValidContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "putValidContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "putValidContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "10", "kind": "model", "name": "Siamese", "namespace": "_Type.Model.Inheritance.NotDiscriminated", @@ -14,7 +80,7 @@ "doc": "The third level model in the normal multiple levels inheritance.", "decorators": [], "baseModel": { - "$id": "3", + "$id": "11", "kind": "model", "name": "Cat", "namespace": "_Type.Model.Inheritance.NotDiscriminated", @@ -23,7 +89,7 @@ "doc": "The second level model in the normal multiple levels inheritance.", "decorators": [], "baseModel": { - "$id": "4", + "$id": "12", "kind": "model", "name": "Pet", "namespace": "_Type.Model.Inheritance.NotDiscriminated", @@ -33,12 +99,12 @@ "decorators": [], "properties": [ { - "$id": "5", + "$id": "13", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "6", + "$id": "14", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51,9 +117,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.Pet.name", "serializationOptions": { - "$id": "7", + "$id": "15", "json": { - "$id": "8", + "$id": "16", "name": "name" } } @@ -62,12 +128,12 @@ }, "properties": [ { - "$id": "9", + "$id": "17", "kind": "property", "name": "age", "serializedName": "age", "type": { - "$id": "10", + "$id": "18", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -80,9 +146,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.Cat.age", "serializationOptions": { - "$id": "11", + "$id": "19", "json": { - "$id": "12", + "$id": "20", "name": "age" } } @@ -91,12 +157,12 @@ }, "properties": [ { - "$id": "13", + "$id": "21", "kind": "property", "name": "smart", "serializedName": "smart", "type": { - "$id": "14", + "$id": "22", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -109,9 +175,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.Siamese.smart", "serializationOptions": { - "$id": "15", + "$id": "23", "json": { - "$id": "16", + "$id": "24", "name": "smart" } } @@ -119,52 +185,39 @@ ] }, { - "$ref": "3" + "$ref": "11" }, { - "$ref": "4" + "$ref": "12" } ], "clients": [ { - "$id": "17", + "$id": "25", "kind": "client", "name": "NotDiscriminatedClient", "namespace": "_Type.Model.Inheritance.NotDiscriminated", "doc": "Illustrates not-discriminated inheritance model.", "methods": [ { - "$id": "18", + "$id": "26", "kind": "basic", "name": "postValid", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "19", + "$id": "27", "name": "postValid", "resourceName": "NotDiscriminated", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "28", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "21", - "kind": "constant", - "name": "postValidContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -177,11 +230,11 @@ "skipUrlEncoding": false }, { - "$id": "23", + "$id": "29", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -196,7 +249,7 @@ ], "responses": [ { - "$id": "24", + "$id": "30", "statusCodes": [ 204 ], @@ -218,11 +271,11 @@ }, "parameters": [ { - "$id": "25", + "$id": "31", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -235,12 +288,12 @@ "skipUrlEncoding": false }, { - "$id": "26", + "$id": "32", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "21" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -254,7 +307,7 @@ } ], "response": { - "$id": "27" + "$id": "33" }, "isOverride": false, "generateConvenient": true, @@ -262,36 +315,23 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.postValid" }, { - "$id": "28", + "$id": "34", "kind": "basic", "name": "getValid", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "29", + "$id": "35", "name": "getValid", "resourceName": "NotDiscriminated", "accessibility": "public", "parameters": [ { - "$id": "30", + "$id": "36", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "31", - "kind": "constant", - "name": "getValidContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "32", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -306,12 +346,12 @@ ], "responses": [ { - "$id": "33", + "$id": "37", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "10" }, "headers": [], "isErrorResponse": false, @@ -331,11 +371,11 @@ }, "parameters": [ { - "$id": "34", + "$id": "38", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "31" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -349,9 +389,9 @@ } ], "response": { - "$id": "35", + "$id": "39", "type": { - "$ref": "2" + "$ref": "10" } }, "isOverride": false, @@ -360,37 +400,24 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.getValid" }, { - "$id": "36", + "$id": "40", "kind": "basic", "name": "putValid", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "37", + "$id": "41", "name": "putValid", "resourceName": "NotDiscriminated", "accessibility": "public", "parameters": [ { - "$id": "38", + "$id": "42", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "39", - "kind": "constant", - "name": "putValidContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "40", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -403,24 +430,11 @@ "skipUrlEncoding": false }, { - "$id": "41", + "$id": "43", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "42", - "kind": "constant", - "name": "putValidContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "43", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -437,7 +451,7 @@ "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -457,7 +471,7 @@ 200 ], "bodyType": { - "$ref": "2" + "$ref": "10" }, "headers": [], "isErrorResponse": false, @@ -484,7 +498,7 @@ "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -502,7 +516,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "39" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -519,7 +533,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "42" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -535,7 +549,7 @@ "response": { "$id": "49", "type": { - "$ref": "2" + "$ref": "10" } }, "isOverride": false, diff --git a/test/CadlRanchProjects/type/model/inheritance/recursive/tspCodeModel.json b/test/CadlRanchProjects/type/model/inheritance/recursive/tspCodeModel.json index 6a8e930cc6c..976e581cedf 100644 --- a/test/CadlRanchProjects/type/model/inheritance/recursive/tspCodeModel.json +++ b/test/CadlRanchProjects/type/model/inheritance/recursive/tspCodeModel.json @@ -3,9 +3,43 @@ "name": "Type.Model.Inheritance.Recursive", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "putContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "6", "kind": "model", "name": "Extension", "namespace": "_Type.Model.Inheritance.Recursive", @@ -14,7 +48,7 @@ "doc": "extension", "decorators": [], "baseModel": { - "$id": "3", + "$id": "7", "kind": "model", "name": "Element", "namespace": "_Type.Model.Inheritance.Recursive", @@ -24,16 +58,16 @@ "decorators": [], "properties": [ { - "$id": "4", + "$id": "8", "kind": "property", "name": "extension", "serializedName": "extension", "type": { - "$id": "5", + "$id": "9", "kind": "array", "name": "ArrayExtension", "valueType": { - "$ref": "2" + "$ref": "6" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -45,9 +79,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.Recursive.Element.extension", "serializationOptions": { - "$id": "6", + "$id": "10", "json": { - "$id": "7", + "$id": "11", "name": "extension" } } @@ -56,12 +90,12 @@ }, "properties": [ { - "$id": "8", + "$id": "12", "kind": "property", "name": "level", "serializedName": "level", "type": { - "$id": "9", + "$id": "13", "kind": "int8", "name": "int8", "crossLanguageDefinitionId": "TypeSpec.int8", @@ -74,9 +108,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.Recursive.Extension.level", "serializationOptions": { - "$id": "10", + "$id": "14", "json": { - "$id": "11", + "$id": "15", "name": "level" } } @@ -84,49 +118,36 @@ ] }, { - "$ref": "3" + "$ref": "7" } ], "clients": [ { - "$id": "12", + "$id": "16", "kind": "client", "name": "RecursiveClient", "namespace": "_Type.Model.Inheritance.Recursive", "doc": "Illustrates inheritance recursion", "methods": [ { - "$id": "13", + "$id": "17", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "14", + "$id": "18", "name": "put", "resourceName": "Recursive", "accessibility": "public", "parameters": [ { - "$id": "15", + "$id": "19", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "16", - "kind": "constant", - "name": "putContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "17", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -139,11 +160,11 @@ "skipUrlEncoding": false }, { - "$id": "18", + "$id": "20", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "6" }, "location": "Body", "isApiVersion": false, @@ -158,7 +179,7 @@ ], "responses": [ { - "$id": "19", + "$id": "21", "statusCodes": [ 204 ], @@ -180,11 +201,11 @@ }, "parameters": [ { - "$id": "20", + "$id": "22", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "6" }, "location": "Body", "isApiVersion": false, @@ -197,12 +218,12 @@ "skipUrlEncoding": false }, { - "$id": "21", + "$id": "23", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "16" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -216,7 +237,7 @@ } ], "response": { - "$id": "22" + "$id": "24" }, "isOverride": false, "generateConvenient": true, @@ -224,36 +245,23 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.Recursive.put" }, { - "$id": "23", + "$id": "25", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "24", + "$id": "26", "name": "get", "resourceName": "Recursive", "accessibility": "public", "parameters": [ { - "$id": "25", + "$id": "27", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "26", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "27", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -273,7 +281,7 @@ 200 ], "bodyType": { - "$ref": "2" + "$ref": "6" }, "headers": [], "isErrorResponse": false, @@ -297,7 +305,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "26" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -313,7 +321,7 @@ "response": { "$id": "30", "type": { - "$ref": "2" + "$ref": "6" } }, "isOverride": false, diff --git a/test/CadlRanchProjects/type/model/inheritance/single-discriminator/tspCodeModel.json b/test/CadlRanchProjects/type/model/inheritance/single-discriminator/tspCodeModel.json index 0087a0301fc..6d64c1da577 100644 --- a/test/CadlRanchProjects/type/model/inheritance/single-discriminator/tspCodeModel.json +++ b/test/CadlRanchProjects/type/model/inheritance/single-discriminator/tspCodeModel.json @@ -3,9 +3,203 @@ "name": "Type.Model.Inheritance.SingleDiscriminator", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "SeaGullKind", + "namespace": "_Type.Model.Inheritance.SingleDiscriminator", + "usage": "Input,Output,Json", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "seagull", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "SparrowKind", + "namespace": "_Type.Model.Inheritance.SingleDiscriminator", + "usage": "Input,Output,Json", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "sparrow", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "GooseKind", + "namespace": "_Type.Model.Inheritance.SingleDiscriminator", + "usage": "Input,Output,Json", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "goose", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "EagleKind", + "namespace": "_Type.Model.Inheritance.SingleDiscriminator", + "usage": "Input,Output,Json", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "eagle", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "TRexKind", + "namespace": "_Type.Model.Inheritance.SingleDiscriminator", + "usage": "Output,Json", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "t-rex", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "getModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "putModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "getRecursiveModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "putRecursiveModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "getMissingDiscriminatorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "getWrongDiscriminatorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "getLegacyModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "26", "kind": "model", "name": "Bird", "namespace": "_Type.Model.Inheritance.SingleDiscriminator", @@ -14,12 +208,12 @@ "doc": "This is base model for polymorphic single level inheritance with a discriminator.", "decorators": [], "discriminatorProperty": { - "$id": "3", + "$id": "27", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "4", + "$id": "28", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32,24 +226,24 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Bird.kind", "serializationOptions": { - "$id": "5", + "$id": "29", "json": { - "$id": "6", + "$id": "30", "name": "kind" } } }, "properties": [ { - "$ref": "3" + "$ref": "27" }, { - "$id": "7", + "$id": "31", "kind": "property", "name": "wingspan", "serializedName": "wingspan", "type": { - "$id": "8", + "$id": "32", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62,18 +256,18 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Bird.wingspan", "serializationOptions": { - "$id": "9", + "$id": "33", "json": { - "$id": "10", + "$id": "34", "name": "wingspan" } } } ], "discriminatedSubtypes": { - "$id": "11", + "$id": "35", "seagull": { - "$id": "12", + "$id": "36", "kind": "model", "name": "SeaGull", "namespace": "_Type.Model.Inheritance.SingleDiscriminator", @@ -83,29 +277,16 @@ "discriminatorValue": "seagull", "decorators": [], "baseModel": { - "$ref": "2" + "$ref": "26" }, "properties": [ { - "$id": "13", + "$id": "37", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "14", - "kind": "constant", - "name": "SeaGullKind", - "namespace": "_Type.Model.Inheritance.SingleDiscriminator", - "usage": "Input,Output,Json", - "valueType": { - "$id": "15", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "seagull", - "decorators": [] + "$ref": "2" }, "optional": false, "readOnly": false, @@ -114,9 +295,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.SeaGull.kind", "serializationOptions": { - "$id": "16", + "$id": "38", "json": { - "$id": "17", + "$id": "39", "name": "kind" } } @@ -124,7 +305,7 @@ ] }, "sparrow": { - "$id": "18", + "$id": "40", "kind": "model", "name": "Sparrow", "namespace": "_Type.Model.Inheritance.SingleDiscriminator", @@ -134,29 +315,16 @@ "discriminatorValue": "sparrow", "decorators": [], "baseModel": { - "$ref": "2" + "$ref": "26" }, "properties": [ { - "$id": "19", + "$id": "41", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "20", - "kind": "constant", - "name": "SparrowKind", - "namespace": "_Type.Model.Inheritance.SingleDiscriminator", - "usage": "Input,Output,Json", - "valueType": { - "$id": "21", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "sparrow", - "decorators": [] + "$ref": "4" }, "optional": false, "readOnly": false, @@ -165,9 +333,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Sparrow.kind", "serializationOptions": { - "$id": "22", + "$id": "42", "json": { - "$id": "23", + "$id": "43", "name": "kind" } } @@ -175,7 +343,7 @@ ] }, "goose": { - "$id": "24", + "$id": "44", "kind": "model", "name": "Goose", "namespace": "_Type.Model.Inheritance.SingleDiscriminator", @@ -185,29 +353,16 @@ "discriminatorValue": "goose", "decorators": [], "baseModel": { - "$ref": "2" + "$ref": "26" }, "properties": [ { - "$id": "25", + "$id": "45", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "26", - "kind": "constant", - "name": "GooseKind", - "namespace": "_Type.Model.Inheritance.SingleDiscriminator", - "usage": "Input,Output,Json", - "valueType": { - "$id": "27", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "goose", - "decorators": [] + "$ref": "6" }, "optional": false, "readOnly": false, @@ -216,9 +371,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Goose.kind", "serializationOptions": { - "$id": "28", + "$id": "46", "json": { - "$id": "29", + "$id": "47", "name": "kind" } } @@ -226,7 +381,7 @@ ] }, "eagle": { - "$id": "30", + "$id": "48", "kind": "model", "name": "Eagle", "namespace": "_Type.Model.Inheritance.SingleDiscriminator", @@ -236,29 +391,16 @@ "discriminatorValue": "eagle", "decorators": [], "baseModel": { - "$ref": "2" + "$ref": "26" }, "properties": [ { - "$id": "31", + "$id": "49", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "32", - "kind": "constant", - "name": "EagleKind", - "namespace": "_Type.Model.Inheritance.SingleDiscriminator", - "usage": "Input,Output,Json", - "valueType": { - "$id": "33", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "eagle", - "decorators": [] + "$ref": "8" }, "optional": false, "readOnly": false, @@ -267,24 +409,24 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Eagle.kind", "serializationOptions": { - "$id": "34", + "$id": "50", "json": { - "$id": "35", + "$id": "51", "name": "kind" } } }, { - "$id": "36", + "$id": "52", "kind": "property", "name": "friends", "serializedName": "friends", "type": { - "$id": "37", + "$id": "53", "kind": "array", "name": "ArrayBird", "valueType": { - "$ref": "2" + "$ref": "26" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -296,30 +438,30 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Eagle.friends", "serializationOptions": { - "$id": "38", + "$id": "54", "json": { - "$id": "39", + "$id": "55", "name": "friends" } } }, { - "$id": "40", + "$id": "56", "kind": "property", "name": "hate", "serializedName": "hate", "type": { - "$id": "41", + "$id": "57", "kind": "dict", "keyType": { - "$id": "42", + "$id": "58", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "2" + "$ref": "26" }, "decorators": [] }, @@ -330,20 +472,20 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Eagle.hate", "serializationOptions": { - "$id": "43", + "$id": "59", "json": { - "$id": "44", + "$id": "60", "name": "hate" } } }, { - "$id": "45", + "$id": "61", "kind": "property", "name": "partner", "serializedName": "partner", "type": { - "$ref": "2" + "$ref": "26" }, "optional": true, "readOnly": false, @@ -352,9 +494,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Eagle.partner", "serializationOptions": { - "$id": "46", + "$id": "62", "json": { - "$id": "47", + "$id": "63", "name": "partner" } } @@ -364,19 +506,19 @@ } }, { - "$ref": "12" + "$ref": "36" }, { - "$ref": "18" + "$ref": "40" }, { - "$ref": "24" + "$ref": "44" }, { - "$ref": "30" + "$ref": "48" }, { - "$id": "48", + "$id": "64", "kind": "model", "name": "Dinosaur", "namespace": "_Type.Model.Inheritance.SingleDiscriminator", @@ -385,13 +527,13 @@ "doc": "Define a base class in the legacy way. Discriminator property is not explicitly defined in the model.", "decorators": [], "discriminatorProperty": { - "$id": "49", + "$id": "65", "kind": "property", "name": "kind", "serializedName": "kind", "doc": "Discriminator property for Dinosaur.", "type": { - "$id": "50", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -404,24 +546,24 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Dinosaur.kind", "serializationOptions": { - "$id": "51", + "$id": "67", "json": { - "$id": "52", + "$id": "68", "name": "kind" } } }, "properties": [ { - "$ref": "49" + "$ref": "65" }, { - "$id": "53", + "$id": "69", "kind": "property", "name": "size", "serializedName": "size", "type": { - "$id": "54", + "$id": "70", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -434,18 +576,18 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Dinosaur.size", "serializationOptions": { - "$id": "55", + "$id": "71", "json": { - "$id": "56", + "$id": "72", "name": "size" } } } ], "discriminatedSubtypes": { - "$id": "57", + "$id": "73", "t-rex": { - "$id": "58", + "$id": "74", "kind": "model", "name": "TRex", "namespace": "_Type.Model.Inheritance.SingleDiscriminator", @@ -455,29 +597,16 @@ "discriminatorValue": "t-rex", "decorators": [], "baseModel": { - "$ref": "48" + "$ref": "64" }, "properties": [ { - "$id": "59", + "$id": "75", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "60", - "kind": "constant", - "name": "TRexKind", - "namespace": "_Type.Model.Inheritance.SingleDiscriminator", - "usage": "Output,Json", - "valueType": { - "$id": "61", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "t-rex", - "decorators": [] + "$ref": "10" }, "optional": false, "readOnly": false, @@ -486,9 +615,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.TRex.kind", "serializationOptions": { - "$id": "62", + "$id": "76", "json": { - "$id": "63", + "$id": "77", "name": "kind" } } @@ -498,48 +627,35 @@ } }, { - "$ref": "58" + "$ref": "74" } ], "clients": [ { - "$id": "64", + "$id": "78", "kind": "client", "name": "SingleDiscriminatorClient", "namespace": "_Type.Model.Inheritance.SingleDiscriminator", "doc": "Illustrates inheritance with single discriminator.", "methods": [ { - "$id": "65", + "$id": "79", "kind": "basic", "name": "getModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "66", + "$id": "80", "name": "getModel", "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ { - "$id": "67", + "$id": "81", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "68", - "kind": "constant", - "name": "getModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "69", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -554,12 +670,12 @@ ], "responses": [ { - "$id": "70", + "$id": "82", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -579,11 +695,11 @@ }, "parameters": [ { - "$id": "71", + "$id": "83", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "68" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -597,9 +713,9 @@ } ], "response": { - "$id": "72", + "$id": "84", "type": { - "$ref": "2" + "$ref": "26" } }, "isOverride": false, @@ -608,37 +724,24 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.getModel" }, { - "$id": "73", + "$id": "85", "kind": "basic", "name": "putModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "74", + "$id": "86", "name": "putModel", "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ { - "$id": "75", + "$id": "87", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "76", - "kind": "constant", - "name": "putModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "77", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -651,11 +754,11 @@ "skipUrlEncoding": false }, { - "$id": "78", + "$id": "88", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -670,7 +773,7 @@ ], "responses": [ { - "$id": "79", + "$id": "89", "statusCodes": [ 204 ], @@ -692,11 +795,11 @@ }, "parameters": [ { - "$id": "80", + "$id": "90", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -709,12 +812,12 @@ "skipUrlEncoding": false }, { - "$id": "81", + "$id": "91", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "76" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -728,7 +831,7 @@ } ], "response": { - "$id": "82" + "$id": "92" }, "isOverride": false, "generateConvenient": true, @@ -736,36 +839,23 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.putModel" }, { - "$id": "83", + "$id": "93", "kind": "basic", "name": "getRecursiveModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "84", + "$id": "94", "name": "getRecursiveModel", "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ { - "$id": "85", + "$id": "95", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "86", - "kind": "constant", - "name": "getRecursiveModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "87", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -780,12 +870,12 @@ ], "responses": [ { - "$id": "88", + "$id": "96", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -805,11 +895,11 @@ }, "parameters": [ { - "$id": "89", + "$id": "97", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "86" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -823,9 +913,9 @@ } ], "response": { - "$id": "90", + "$id": "98", "type": { - "$ref": "2" + "$ref": "26" } }, "isOverride": false, @@ -834,37 +924,24 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.getRecursiveModel" }, { - "$id": "91", + "$id": "99", "kind": "basic", "name": "putRecursiveModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "92", + "$id": "100", "name": "putRecursiveModel", "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ { - "$id": "93", + "$id": "101", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "94", - "kind": "constant", - "name": "putRecursiveModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "95", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -877,11 +954,11 @@ "skipUrlEncoding": false }, { - "$id": "96", + "$id": "102", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -896,7 +973,7 @@ ], "responses": [ { - "$id": "97", + "$id": "103", "statusCodes": [ 204 ], @@ -918,11 +995,11 @@ }, "parameters": [ { - "$id": "98", + "$id": "104", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -935,12 +1012,12 @@ "skipUrlEncoding": false }, { - "$id": "99", + "$id": "105", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "94" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -954,7 +1031,7 @@ } ], "response": { - "$id": "100" + "$id": "106" }, "isOverride": false, "generateConvenient": true, @@ -962,36 +1039,23 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.putRecursiveModel" }, { - "$id": "101", + "$id": "107", "kind": "basic", "name": "getMissingDiscriminator", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "102", + "$id": "108", "name": "getMissingDiscriminator", "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ { - "$id": "103", + "$id": "109", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "104", - "kind": "constant", - "name": "getMissingDiscriminatorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "105", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1006,12 +1070,12 @@ ], "responses": [ { - "$id": "106", + "$id": "110", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -1031,11 +1095,11 @@ }, "parameters": [ { - "$id": "107", + "$id": "111", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "104" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1049,9 +1113,9 @@ } ], "response": { - "$id": "108", + "$id": "112", "type": { - "$ref": "2" + "$ref": "26" } }, "isOverride": false, @@ -1060,36 +1124,23 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.getMissingDiscriminator" }, { - "$id": "109", + "$id": "113", "kind": "basic", "name": "getWrongDiscriminator", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "110", + "$id": "114", "name": "getWrongDiscriminator", "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ { - "$id": "111", + "$id": "115", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "112", - "kind": "constant", - "name": "getWrongDiscriminatorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "113", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1104,12 +1155,12 @@ ], "responses": [ { - "$id": "114", + "$id": "116", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -1129,11 +1180,11 @@ }, "parameters": [ { - "$id": "115", + "$id": "117", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "112" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1147,9 +1198,9 @@ } ], "response": { - "$id": "116", + "$id": "118", "type": { - "$ref": "2" + "$ref": "26" } }, "isOverride": false, @@ -1158,36 +1209,23 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.getWrongDiscriminator" }, { - "$id": "117", + "$id": "119", "kind": "basic", "name": "getLegacyModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "118", + "$id": "120", "name": "getLegacyModel", "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ { - "$id": "119", + "$id": "121", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "120", - "kind": "constant", - "name": "getLegacyModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "121", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1207,7 +1245,7 @@ 200 ], "bodyType": { - "$ref": "48" + "$ref": "64" }, "headers": [], "isErrorResponse": false, @@ -1231,7 +1269,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "120" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1247,7 +1285,7 @@ "response": { "$id": "124", "type": { - "$ref": "48" + "$ref": "64" } }, "isOverride": false, diff --git a/test/CadlRanchProjects/type/model/usage/tspCodeModel.json b/test/CadlRanchProjects/type/model/usage/tspCodeModel.json index afad8820e87..90165b161b8 100644 --- a/test/CadlRanchProjects/type/model/usage/tspCodeModel.json +++ b/test/CadlRanchProjects/type/model/usage/tspCodeModel.json @@ -3,9 +3,75 @@ "name": "Type.Model.Usage", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "inputContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "outputContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "inputAndOutputContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "inputAndOutputContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "10", "kind": "model", "name": "InputRecord", "namespace": "_Type.Model.Usage", @@ -15,12 +81,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "11", "kind": "property", "name": "requiredProp", "serializedName": "requiredProp", "type": { - "$id": "4", + "$id": "12", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33,9 +99,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Usage.InputRecord.requiredProp", "serializationOptions": { - "$id": "5", + "$id": "13", "json": { - "$id": "6", + "$id": "14", "name": "requiredProp" } } @@ -43,7 +109,7 @@ ] }, { - "$id": "7", + "$id": "15", "kind": "model", "name": "OutputRecord", "namespace": "_Type.Model.Usage", @@ -53,12 +119,12 @@ "decorators": [], "properties": [ { - "$id": "8", + "$id": "16", "kind": "property", "name": "requiredProp", "serializedName": "requiredProp", "type": { - "$id": "9", + "$id": "17", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71,9 +137,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Usage.OutputRecord.requiredProp", "serializationOptions": { - "$id": "10", + "$id": "18", "json": { - "$id": "11", + "$id": "19", "name": "requiredProp" } } @@ -81,7 +147,7 @@ ] }, { - "$id": "12", + "$id": "20", "kind": "model", "name": "InputOutputRecord", "namespace": "_Type.Model.Usage", @@ -91,12 +157,12 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "21", "kind": "property", "name": "requiredProp", "serializedName": "requiredProp", "type": { - "$id": "14", + "$id": "22", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109,9 +175,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Usage.InputOutputRecord.requiredProp", "serializationOptions": { - "$id": "15", + "$id": "23", "json": { - "$id": "16", + "$id": "24", "name": "requiredProp" } } @@ -121,44 +187,31 @@ ], "clients": [ { - "$id": "17", + "$id": "25", "kind": "client", "name": "UsageClient", "namespace": "_Type.Model.Usage", "doc": "Illustrates usage of Record in different places(Operation parameters, return type or both).", "methods": [ { - "$id": "18", + "$id": "26", "kind": "basic", "name": "input", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "19", + "$id": "27", "name": "input", "resourceName": "Usage", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "28", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "21", - "kind": "constant", - "name": "inputContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -171,11 +224,11 @@ "skipUrlEncoding": false }, { - "$id": "23", + "$id": "29", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -190,7 +243,7 @@ ], "responses": [ { - "$id": "24", + "$id": "30", "statusCodes": [ 204 ], @@ -212,11 +265,11 @@ }, "parameters": [ { - "$id": "25", + "$id": "31", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -229,12 +282,12 @@ "skipUrlEncoding": false }, { - "$id": "26", + "$id": "32", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "21" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -248,7 +301,7 @@ } ], "response": { - "$id": "27" + "$id": "33" }, "isOverride": false, "generateConvenient": true, @@ -256,36 +309,23 @@ "crossLanguageDefinitionId": "Type.Model.Usage.input" }, { - "$id": "28", + "$id": "34", "kind": "basic", "name": "output", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "29", + "$id": "35", "name": "output", "resourceName": "Usage", "accessibility": "public", "parameters": [ { - "$id": "30", + "$id": "36", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "31", - "kind": "constant", - "name": "outputContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "32", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -300,12 +340,12 @@ ], "responses": [ { - "$id": "33", + "$id": "37", "statusCodes": [ 200 ], "bodyType": { - "$ref": "7" + "$ref": "15" }, "headers": [], "isErrorResponse": false, @@ -325,11 +365,11 @@ }, "parameters": [ { - "$id": "34", + "$id": "38", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "31" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -343,9 +383,9 @@ } ], "response": { - "$id": "35", + "$id": "39", "type": { - "$ref": "7" + "$ref": "15" } }, "isOverride": false, @@ -354,37 +394,24 @@ "crossLanguageDefinitionId": "Type.Model.Usage.output" }, { - "$id": "36", + "$id": "40", "kind": "basic", "name": "inputAndOutput", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "37", + "$id": "41", "name": "inputAndOutput", "resourceName": "Usage", "accessibility": "public", "parameters": [ { - "$id": "38", + "$id": "42", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "39", - "kind": "constant", - "name": "inputAndOutputContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "40", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -397,24 +424,11 @@ "skipUrlEncoding": false }, { - "$id": "41", + "$id": "43", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "42", - "kind": "constant", - "name": "inputAndOutputContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "43", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -431,7 +445,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -451,7 +465,7 @@ 200 ], "bodyType": { - "$ref": "12" + "$ref": "20" }, "headers": [], "isErrorResponse": false, @@ -478,7 +492,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -496,7 +510,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "39" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -513,7 +527,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "42" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -529,7 +543,7 @@ "response": { "$id": "49", "type": { - "$ref": "12" + "$ref": "20" } }, "isOverride": false, diff --git a/test/CadlRanchProjects/type/model/visibility/tspCodeModel.json b/test/CadlRanchProjects/type/model/visibility/tspCodeModel.json index a99980d8faa..9d213b1273b 100644 --- a/test/CadlRanchProjects/type/model/visibility/tspCodeModel.json +++ b/test/CadlRanchProjects/type/model/visibility/tspCodeModel.json @@ -3,9 +3,155 @@ "name": "Type.Model.Visibility", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "getModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "getModelContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "headModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "putModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "patchModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "postModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "deleteModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "putReadOnlyModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "putReadOnlyModelContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "20", "kind": "model", "name": "VisibilityModel", "namespace": "_Type.Model.Visibility", @@ -15,13 +161,13 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "21", "kind": "property", "name": "readProp", "serializedName": "readProp", "doc": "Required string, illustrating a readonly property.", "type": { - "$id": "4", + "$id": "22", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34,21 +180,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Visibility.VisibilityModel.readProp", "serializationOptions": { - "$id": "5", + "$id": "23", "json": { - "$id": "6", + "$id": "24", "name": "readProp" } } }, { - "$id": "7", + "$id": "25", "kind": "query", "name": "queryProp", "serializedName": "queryProp", "doc": "Required int32, illustrating a query property.", "type": { - "$id": "8", + "$id": "26", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61,17 +207,17 @@ "correspondingMethodParams": [] }, { - "$id": "9", + "$id": "27", "kind": "property", "name": "createProp", "serializedName": "createProp", "doc": "Required string[], illustrating a create property.", "type": { - "$id": "10", + "$id": "28", "kind": "array", "name": "Array", "valueType": { - "$id": "11", + "$id": "29", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87,25 +233,25 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Visibility.VisibilityModel.createProp", "serializationOptions": { - "$id": "12", + "$id": "30", "json": { - "$id": "13", + "$id": "31", "name": "createProp" } } }, { - "$id": "14", + "$id": "32", "kind": "property", "name": "updateProp", "serializedName": "updateProp", "doc": "Required int32[], illustrating a update property.", "type": { - "$id": "15", + "$id": "33", "kind": "array", "name": "Array1", "valueType": { - "$id": "16", + "$id": "34", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -121,21 +267,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Visibility.VisibilityModel.updateProp", "serializationOptions": { - "$id": "17", + "$id": "35", "json": { - "$id": "18", + "$id": "36", "name": "updateProp" } } }, { - "$id": "19", + "$id": "37", "kind": "property", "name": "deleteProp", "serializedName": "deleteProp", "doc": "Required bool, illustrating a delete property.", "type": { - "$id": "20", + "$id": "38", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -148,9 +294,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Visibility.VisibilityModel.deleteProp", "serializationOptions": { - "$id": "21", + "$id": "39", "json": { - "$id": "22", + "$id": "40", "name": "deleteProp" } } @@ -158,7 +304,7 @@ ] }, { - "$id": "23", + "$id": "41", "kind": "model", "name": "ReadOnlyModel", "namespace": "_Type.Model.Visibility", @@ -168,16 +314,16 @@ "decorators": [], "properties": [ { - "$id": "24", + "$id": "42", "kind": "property", "name": "optionalNullableIntList", "serializedName": "optionalNullableIntList", "doc": "Optional readonly nullable int list.", "type": { - "$id": "25", + "$id": "43", "kind": "nullable", "type": { - "$ref": "15" + "$ref": "33" }, "namespace": "" }, @@ -188,31 +334,31 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Visibility.ReadOnlyModel.optionalNullableIntList", "serializationOptions": { - "$id": "26", + "$id": "44", "json": { - "$id": "27", + "$id": "45", "name": "optionalNullableIntList" } } }, { - "$id": "28", + "$id": "46", "kind": "property", "name": "optionalStringRecord", "serializedName": "optionalStringRecord", "doc": "Optional readonly string dictionary.", "type": { - "$id": "29", + "$id": "47", "kind": "dict", "keyType": { - "$id": "30", + "$id": "48", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "31", + "$id": "49", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -227,9 +373,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Visibility.ReadOnlyModel.optionalStringRecord", "serializationOptions": { - "$id": "32", + "$id": "50", "json": { - "$id": "33", + "$id": "51", "name": "optionalStringRecord" } } @@ -239,31 +385,31 @@ ], "clients": [ { - "$id": "34", + "$id": "52", "kind": "client", "name": "VisibilityClient", "namespace": "_Type.Model.Visibility", "doc": "Illustrates models with visibility properties.", "methods": [ { - "$id": "35", + "$id": "53", "kind": "basic", "name": "getModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "36", + "$id": "54", "name": "getModel", "resourceName": "Visibility", "accessibility": "public", "parameters": [ { - "$id": "37", + "$id": "55", "name": "queryProp", "nameInRequest": "queryProp", "doc": "Required int32, illustrating a query property.", "type": { - "$id": "38", + "$id": "56", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -280,25 +426,12 @@ "skipUrlEncoding": false }, { - "$id": "39", + "$id": "57", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "40", - "kind": "constant", - "name": "getModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "41", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -311,24 +444,11 @@ "skipUrlEncoding": false }, { - "$id": "42", + "$id": "58", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "43", - "kind": "constant", - "name": "getModelContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "44", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -341,11 +461,11 @@ "skipUrlEncoding": false }, { - "$id": "45", + "$id": "59", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -360,12 +480,12 @@ ], "responses": [ { - "$id": "46", + "$id": "60", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "20" }, "headers": [], "isErrorResponse": false, @@ -388,11 +508,11 @@ }, "parameters": [ { - "$id": "47", + "$id": "61", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -405,12 +525,12 @@ "skipUrlEncoding": false }, { - "$id": "48", + "$id": "62", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "40" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -423,11 +543,11 @@ "skipUrlEncoding": false }, { - "$id": "49", + "$id": "63", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "43" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -441,9 +561,9 @@ } ], "response": { - "$id": "50", + "$id": "64", "type": { - "$ref": "2" + "$ref": "20" } }, "isOverride": false, @@ -452,24 +572,24 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.getModel" }, { - "$id": "51", + "$id": "65", "kind": "basic", "name": "headModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "52", + "$id": "66", "name": "headModel", "resourceName": "Visibility", "accessibility": "public", "parameters": [ { - "$id": "53", + "$id": "67", "name": "queryProp", "nameInRequest": "queryProp", "doc": "Required int32, illustrating a query property.", "type": { - "$id": "54", + "$id": "68", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -486,25 +606,12 @@ "skipUrlEncoding": false }, { - "$id": "55", + "$id": "69", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "56", - "kind": "constant", - "name": "headModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "57", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -517,11 +624,11 @@ "skipUrlEncoding": false }, { - "$id": "58", + "$id": "70", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -536,7 +643,7 @@ ], "responses": [ { - "$id": "59", + "$id": "71", "statusCodes": [ 200 ], @@ -558,11 +665,11 @@ }, "parameters": [ { - "$id": "60", + "$id": "72", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -575,12 +682,12 @@ "skipUrlEncoding": false }, { - "$id": "61", + "$id": "73", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "56" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -594,7 +701,7 @@ } ], "response": { - "$id": "62" + "$id": "74" }, "isOverride": false, "generateConvenient": true, @@ -602,37 +709,24 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.headModel" }, { - "$id": "63", + "$id": "75", "kind": "basic", "name": "putModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "64", + "$id": "76", "name": "putModel", "resourceName": "Visibility", "accessibility": "public", "parameters": [ { - "$id": "65", + "$id": "77", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "66", - "kind": "constant", - "name": "putModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "67", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -645,11 +739,11 @@ "skipUrlEncoding": false }, { - "$id": "68", + "$id": "78", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -664,7 +758,7 @@ ], "responses": [ { - "$id": "69", + "$id": "79", "statusCodes": [ 204 ], @@ -686,11 +780,11 @@ }, "parameters": [ { - "$id": "70", + "$id": "80", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -703,12 +797,12 @@ "skipUrlEncoding": false }, { - "$id": "71", + "$id": "81", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "66" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -722,7 +816,7 @@ } ], "response": { - "$id": "72" + "$id": "82" }, "isOverride": false, "generateConvenient": true, @@ -730,37 +824,24 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.putModel" }, { - "$id": "73", + "$id": "83", "kind": "basic", "name": "patchModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "74", + "$id": "84", "name": "patchModel", "resourceName": "Visibility", "accessibility": "public", "parameters": [ { - "$id": "75", + "$id": "85", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "76", - "kind": "constant", - "name": "patchModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "77", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -773,11 +854,11 @@ "skipUrlEncoding": false }, { - "$id": "78", + "$id": "86", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -792,7 +873,7 @@ ], "responses": [ { - "$id": "79", + "$id": "87", "statusCodes": [ 204 ], @@ -814,11 +895,11 @@ }, "parameters": [ { - "$id": "80", + "$id": "88", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -831,12 +912,12 @@ "skipUrlEncoding": false }, { - "$id": "81", + "$id": "89", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "76" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -850,7 +931,7 @@ } ], "response": { - "$id": "82" + "$id": "90" }, "isOverride": false, "generateConvenient": true, @@ -858,37 +939,24 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.patchModel" }, { - "$id": "83", + "$id": "91", "kind": "basic", "name": "postModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "84", + "$id": "92", "name": "postModel", "resourceName": "Visibility", "accessibility": "public", "parameters": [ { - "$id": "85", + "$id": "93", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "86", - "kind": "constant", - "name": "postModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "87", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -901,11 +969,11 @@ "skipUrlEncoding": false }, { - "$id": "88", + "$id": "94", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -920,7 +988,7 @@ ], "responses": [ { - "$id": "89", + "$id": "95", "statusCodes": [ 204 ], @@ -942,11 +1010,11 @@ }, "parameters": [ { - "$id": "90", + "$id": "96", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -959,12 +1027,12 @@ "skipUrlEncoding": false }, { - "$id": "91", + "$id": "97", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "86" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -978,7 +1046,7 @@ } ], "response": { - "$id": "92" + "$id": "98" }, "isOverride": false, "generateConvenient": true, @@ -986,37 +1054,24 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.postModel" }, { - "$id": "93", + "$id": "99", "kind": "basic", "name": "deleteModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "94", + "$id": "100", "name": "deleteModel", "resourceName": "Visibility", "accessibility": "public", "parameters": [ { - "$id": "95", + "$id": "101", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "96", - "kind": "constant", - "name": "deleteModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "97", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1029,11 +1084,11 @@ "skipUrlEncoding": false }, { - "$id": "98", + "$id": "102", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -1048,7 +1103,7 @@ ], "responses": [ { - "$id": "99", + "$id": "103", "statusCodes": [ 204 ], @@ -1070,11 +1125,11 @@ }, "parameters": [ { - "$id": "100", + "$id": "104", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -1087,12 +1142,12 @@ "skipUrlEncoding": false }, { - "$id": "101", + "$id": "105", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "96" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1106,7 +1161,7 @@ } ], "response": { - "$id": "102" + "$id": "106" }, "isOverride": false, "generateConvenient": true, @@ -1114,37 +1169,24 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.deleteModel" }, { - "$id": "103", + "$id": "107", "kind": "basic", "name": "putReadOnlyModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "104", + "$id": "108", "name": "putReadOnlyModel", "resourceName": "Visibility", "accessibility": "public", "parameters": [ { - "$id": "105", + "$id": "109", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "106", - "kind": "constant", - "name": "putReadOnlyModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "107", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1157,24 +1199,11 @@ "skipUrlEncoding": false }, { - "$id": "108", + "$id": "110", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "109", - "kind": "constant", - "name": "putReadOnlyModelContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "110", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1191,7 +1220,7 @@ "name": "input", "nameInRequest": "input", "type": { - "$ref": "23" + "$ref": "41" }, "location": "Body", "isApiVersion": false, @@ -1211,7 +1240,7 @@ 200 ], "bodyType": { - "$ref": "23" + "$ref": "41" }, "headers": [], "isErrorResponse": false, @@ -1238,7 +1267,7 @@ "name": "input", "nameInRequest": "input", "type": { - "$ref": "23" + "$ref": "41" }, "location": "Body", "isApiVersion": false, @@ -1256,7 +1285,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "106" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1273,7 +1302,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "109" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1289,7 +1318,7 @@ "response": { "$id": "116", "type": { - "$ref": "23" + "$ref": "41" } }, "isOverride": false, diff --git a/test/CadlRanchProjects/type/property/additional-properties/tspCodeModel.json b/test/CadlRanchProjects/type/property/additional-properties/tspCodeModel.json index 4e3b382a051..1eec97d6f75 100644 --- a/test/CadlRanchProjects/type/property/additional-properties/tspCodeModel.json +++ b/test/CadlRanchProjects/type/property/additional-properties/tspCodeModel.json @@ -100,9 +100,1071 @@ "decorators": [] } ], + "constants": [ + { + "$id": "11", + "kind": "constant", + "name": "ExtendsUnknownAdditionalPropertiesDiscriminatedDerivedKind", + "namespace": "_Type.Property.AdditionalProperties", + "usage": "Input,Output,Json", + "valueType": { + "$id": "12", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "derived", + "decorators": [] + }, + { + "$id": "13", + "kind": "constant", + "name": "IsUnknownAdditionalPropertiesDiscriminatedDerivedKind", + "namespace": "_Type.Property.AdditionalProperties", + "usage": "Input,Output,Json", + "valueType": { + "$id": "14", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "derived", + "decorators": [] + }, + { + "$id": "15", + "kind": "constant", + "name": "WidgetData0Kind", + "namespace": "_Type.Property.AdditionalProperties", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "2" + }, + "value": "kind0", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "WidgetData1Kind", + "namespace": "_Type.Property.AdditionalProperties", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "5" + }, + "value": "kind1", + "decorators": [] + }, + { + "$id": "17", + "kind": "constant", + "name": "WidgetData2Kind", + "namespace": "_Type.Property.AdditionalProperties", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "8" + }, + "value": "kind1", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "putContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "putContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "getContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "putContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "getContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "putContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "getContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "putContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "getContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "putContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "getContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "putContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "getContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "putContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "getContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "putContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "getContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "putContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "getContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "putContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "getContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "putContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "getContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "putContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "70", + "kind": "constant", + "name": "getContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "72", + "kind": "constant", + "name": "putContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "74", + "kind": "constant", + "name": "getContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "76", + "kind": "constant", + "name": "putContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "78", + "kind": "constant", + "name": "getContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "80", + "kind": "constant", + "name": "putContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "82", + "kind": "constant", + "name": "getContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "84", + "kind": "constant", + "name": "putContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "86", + "kind": "constant", + "name": "getContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "88", + "kind": "constant", + "name": "putContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "90", + "kind": "constant", + "name": "getContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "91", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "92", + "kind": "constant", + "name": "putContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "94", + "kind": "constant", + "name": "getContentType19", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "96", + "kind": "constant", + "name": "putContentType19", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "98", + "kind": "constant", + "name": "getContentType20", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "100", + "kind": "constant", + "name": "putContentType20", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "102", + "kind": "constant", + "name": "getContentType21", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "104", + "kind": "constant", + "name": "putContentType21", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "106", + "kind": "constant", + "name": "getContentType22", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "107", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "108", + "kind": "constant", + "name": "putContentType22", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "109", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "110", + "kind": "constant", + "name": "getContentType23", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "112", + "kind": "constant", + "name": "putContentType23", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "114", + "kind": "constant", + "name": "getContentType24", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "116", + "kind": "constant", + "name": "putContentType24", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "118", + "kind": "constant", + "name": "getContentType25", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "119", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "120", + "kind": "constant", + "name": "putContentType25", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "121", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "122", + "kind": "constant", + "name": "getContentType26", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "124", + "kind": "constant", + "name": "putContentType26", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "126", + "kind": "constant", + "name": "getContentType27", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "128", + "kind": "constant", + "name": "putContentType27", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "130", + "kind": "constant", + "name": "getContentType28", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "132", + "kind": "constant", + "name": "putContentType28", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "134", + "kind": "constant", + "name": "getContentType29", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "136", + "kind": "constant", + "name": "putContentType29", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "138", + "kind": "constant", + "name": "getContentType30", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "140", + "kind": "constant", + "name": "putContentType30", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [ { - "$id": "11", + "$id": "142", "kind": "model", "name": "ExtendsUnknownAdditionalProperties", "namespace": "_Type.Property.AdditionalProperties", @@ -111,7 +1173,7 @@ "doc": "The model extends from Record type.", "decorators": [], "additionalProperties": { - "$id": "12", + "$id": "143", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -119,13 +1181,13 @@ }, "properties": [ { - "$id": "13", + "$id": "144", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "14", + "$id": "145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -138,9 +1200,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalProperties.name", "serializationOptions": { - "$id": "15", + "$id": "146", "json": { - "$id": "16", + "$id": "147", "name": "name" } } @@ -148,7 +1210,7 @@ ] }, { - "$id": "17", + "$id": "148", "kind": "model", "name": "ExtendsUnknownAdditionalPropertiesDerived", "namespace": "_Type.Property.AdditionalProperties", @@ -157,17 +1219,17 @@ "doc": "The model extends from a type that extends from Record.", "decorators": [], "baseModel": { - "$ref": "11" + "$ref": "142" }, "properties": [ { - "$id": "18", + "$id": "149", "kind": "property", "name": "index", "serializedName": "index", "doc": "The index property", "type": { - "$id": "19", + "$id": "150", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -180,21 +1242,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalPropertiesDerived.index", "serializationOptions": { - "$id": "20", + "$id": "151", "json": { - "$id": "21", + "$id": "152", "name": "index" } } }, { - "$id": "22", + "$id": "153", "kind": "property", "name": "age", "serializedName": "age", "doc": "The age property", "type": { - "$id": "23", + "$id": "154", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -207,9 +1269,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalPropertiesDerived.age", "serializationOptions": { - "$id": "24", + "$id": "155", "json": { - "$id": "25", + "$id": "156", "name": "age" } } @@ -217,7 +1279,7 @@ ] }, { - "$id": "26", + "$id": "157", "kind": "model", "name": "ExtendsUnknownAdditionalPropertiesDiscriminated", "namespace": "_Type.Property.AdditionalProperties", @@ -226,16 +1288,16 @@ "doc": "The model extends from Record with a discriminator.", "decorators": [], "additionalProperties": { - "$ref": "12" + "$ref": "143" }, "discriminatorProperty": { - "$id": "27", + "$id": "158", "kind": "property", "name": "kind", "serializedName": "kind", "doc": "The discriminator", "type": { - "$id": "28", + "$id": "159", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -248,22 +1310,22 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalPropertiesDiscriminated.kind", "serializationOptions": { - "$id": "29", + "$id": "160", "json": { - "$id": "30", + "$id": "161", "name": "kind" } } }, "properties": [ { - "$id": "31", + "$id": "162", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "32", + "$id": "163", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -276,21 +1338,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalPropertiesDiscriminated.name", "serializationOptions": { - "$id": "33", + "$id": "164", "json": { - "$id": "34", + "$id": "165", "name": "name" } } }, { - "$ref": "27" + "$ref": "158" } ], "discriminatedSubtypes": { - "$id": "35", + "$id": "166", "derived": { - "$id": "36", + "$id": "167", "kind": "model", "name": "ExtendsUnknownAdditionalPropertiesDiscriminatedDerived", "namespace": "_Type.Property.AdditionalProperties", @@ -300,29 +1362,16 @@ "discriminatorValue": "derived", "decorators": [], "baseModel": { - "$ref": "26" + "$ref": "157" }, "properties": [ { - "$id": "37", + "$id": "168", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "38", - "kind": "constant", - "name": "ExtendsUnknownAdditionalPropertiesDiscriminatedDerivedKind", - "namespace": "_Type.Property.AdditionalProperties", - "usage": "Input,Output,Json", - "valueType": { - "$id": "39", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "derived", - "decorators": [] + "$ref": "11" }, "optional": false, "readOnly": false, @@ -331,21 +1380,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalPropertiesDiscriminatedDerived.kind", "serializationOptions": { - "$id": "40", + "$id": "169", "json": { - "$id": "41", + "$id": "170", "name": "kind" } } }, { - "$id": "42", + "$id": "171", "kind": "property", "name": "index", "serializedName": "index", "doc": "The index property", "type": { - "$id": "43", + "$id": "172", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -358,21 +1407,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalPropertiesDiscriminatedDerived.index", "serializationOptions": { - "$id": "44", + "$id": "173", "json": { - "$id": "45", + "$id": "174", "name": "index" } } }, { - "$id": "46", + "$id": "175", "kind": "property", "name": "age", "serializedName": "age", "doc": "The age property", "type": { - "$id": "47", + "$id": "176", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -385,9 +1434,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalPropertiesDiscriminatedDerived.age", "serializationOptions": { - "$id": "48", + "$id": "177", "json": { - "$id": "49", + "$id": "178", "name": "age" } } @@ -397,10 +1446,10 @@ } }, { - "$ref": "36" + "$ref": "167" }, { - "$id": "50", + "$id": "179", "kind": "model", "name": "IsUnknownAdditionalProperties", "namespace": "_Type.Property.AdditionalProperties", @@ -409,7 +1458,7 @@ "doc": "The model is from Record type.", "decorators": [], "additionalProperties": { - "$id": "51", + "$id": "180", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -417,13 +1466,13 @@ }, "properties": [ { - "$id": "52", + "$id": "181", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "53", + "$id": "182", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -436,9 +1485,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalProperties.name", "serializationOptions": { - "$id": "54", + "$id": "183", "json": { - "$id": "55", + "$id": "184", "name": "name" } } @@ -446,7 +1495,7 @@ ] }, { - "$id": "56", + "$id": "185", "kind": "model", "name": "IsUnknownAdditionalPropertiesDerived", "namespace": "_Type.Property.AdditionalProperties", @@ -455,17 +1504,17 @@ "doc": "The model extends from a type that is Record type", "decorators": [], "baseModel": { - "$ref": "50" + "$ref": "179" }, "properties": [ { - "$id": "57", + "$id": "186", "kind": "property", "name": "index", "serializedName": "index", "doc": "The index property", "type": { - "$id": "58", + "$id": "187", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -478,21 +1527,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalPropertiesDerived.index", "serializationOptions": { - "$id": "59", + "$id": "188", "json": { - "$id": "60", + "$id": "189", "name": "index" } } }, { - "$id": "61", + "$id": "190", "kind": "property", "name": "age", "serializedName": "age", "doc": "The age property", "type": { - "$id": "62", + "$id": "191", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -505,9 +1554,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalPropertiesDerived.age", "serializationOptions": { - "$id": "63", + "$id": "192", "json": { - "$id": "64", + "$id": "193", "name": "age" } } @@ -515,7 +1564,7 @@ ] }, { - "$id": "65", + "$id": "194", "kind": "model", "name": "IsUnknownAdditionalPropertiesDiscriminated", "namespace": "_Type.Property.AdditionalProperties", @@ -524,20 +1573,20 @@ "doc": "The model is Record with a discriminator.", "decorators": [], "additionalProperties": { - "$id": "66", + "$id": "195", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", "decorators": [] }, "discriminatorProperty": { - "$id": "67", + "$id": "196", "kind": "property", "name": "kind", "serializedName": "kind", "doc": "The discriminator", "type": { - "$id": "68", + "$id": "197", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -550,22 +1599,22 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalPropertiesDiscriminated.kind", "serializationOptions": { - "$id": "69", + "$id": "198", "json": { - "$id": "70", + "$id": "199", "name": "kind" } } }, "properties": [ { - "$id": "71", + "$id": "200", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "72", + "$id": "201", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -578,21 +1627,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalPropertiesDiscriminated.name", "serializationOptions": { - "$id": "73", + "$id": "202", "json": { - "$id": "74", + "$id": "203", "name": "name" } } }, { - "$ref": "67" + "$ref": "196" } ], "discriminatedSubtypes": { - "$id": "75", + "$id": "204", "derived": { - "$id": "76", + "$id": "205", "kind": "model", "name": "IsUnknownAdditionalPropertiesDiscriminatedDerived", "namespace": "_Type.Property.AdditionalProperties", @@ -602,29 +1651,16 @@ "discriminatorValue": "derived", "decorators": [], "baseModel": { - "$ref": "65" + "$ref": "194" }, "properties": [ { - "$id": "77", + "$id": "206", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "78", - "kind": "constant", - "name": "IsUnknownAdditionalPropertiesDiscriminatedDerivedKind", - "namespace": "_Type.Property.AdditionalProperties", - "usage": "Input,Output,Json", - "valueType": { - "$id": "79", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "derived", - "decorators": [] + "$ref": "13" }, "optional": false, "readOnly": false, @@ -633,21 +1669,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalPropertiesDiscriminatedDerived.kind", "serializationOptions": { - "$id": "80", + "$id": "207", "json": { - "$id": "81", + "$id": "208", "name": "kind" } } }, { - "$id": "82", + "$id": "209", "kind": "property", "name": "index", "serializedName": "index", "doc": "The index property", "type": { - "$id": "83", + "$id": "210", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -660,21 +1696,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalPropertiesDiscriminatedDerived.index", "serializationOptions": { - "$id": "84", + "$id": "211", "json": { - "$id": "85", + "$id": "212", "name": "index" } } }, { - "$id": "86", + "$id": "213", "kind": "property", "name": "age", "serializedName": "age", "doc": "The age property", "type": { - "$id": "87", + "$id": "214", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -687,9 +1723,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalPropertiesDiscriminatedDerived.age", "serializationOptions": { - "$id": "88", + "$id": "215", "json": { - "$id": "89", + "$id": "216", "name": "age" } } @@ -699,10 +1735,10 @@ } }, { - "$ref": "76" + "$ref": "205" }, { - "$id": "90", + "$id": "217", "kind": "model", "name": "ExtendsStringAdditionalProperties", "namespace": "_Type.Property.AdditionalProperties", @@ -711,7 +1747,7 @@ "doc": "The model extends from Record type.", "decorators": [], "additionalProperties": { - "$id": "91", + "$id": "218", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -719,13 +1755,13 @@ }, "properties": [ { - "$id": "92", + "$id": "219", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "93", + "$id": "220", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -738,9 +1774,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsStringAdditionalProperties.name", "serializationOptions": { - "$id": "94", + "$id": "221", "json": { - "$id": "95", + "$id": "222", "name": "name" } } @@ -748,7 +1784,7 @@ ] }, { - "$id": "96", + "$id": "223", "kind": "model", "name": "IsStringAdditionalProperties", "namespace": "_Type.Property.AdditionalProperties", @@ -757,7 +1793,7 @@ "doc": "The model is from Record type.", "decorators": [], "additionalProperties": { - "$id": "97", + "$id": "224", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -765,13 +1801,13 @@ }, "properties": [ { - "$id": "98", + "$id": "225", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "99", + "$id": "226", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -784,9 +1820,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsStringAdditionalProperties.name", "serializationOptions": { - "$id": "100", + "$id": "227", "json": { - "$id": "101", + "$id": "228", "name": "name" } } @@ -794,7 +1830,7 @@ ] }, { - "$id": "102", + "$id": "229", "kind": "model", "name": "SpreadStringRecord", "namespace": "_Type.Property.AdditionalProperties", @@ -803,7 +1839,7 @@ "doc": "The model spread Record with the same known property type", "decorators": [], "additionalProperties": { - "$id": "103", + "$id": "230", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -811,13 +1847,13 @@ }, "properties": [ { - "$id": "104", + "$id": "231", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "105", + "$id": "232", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -830,9 +1866,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadStringRecord.name", "serializationOptions": { - "$id": "106", + "$id": "233", "json": { - "$id": "107", + "$id": "234", "name": "name" } } @@ -840,7 +1876,7 @@ ] }, { - "$id": "108", + "$id": "235", "kind": "model", "name": "ExtendsFloatAdditionalProperties", "namespace": "_Type.Property.AdditionalProperties", @@ -849,7 +1885,7 @@ "doc": "The model extends from Record type.", "decorators": [], "additionalProperties": { - "$id": "109", + "$id": "236", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -857,13 +1893,13 @@ }, "properties": [ { - "$id": "110", + "$id": "237", "kind": "property", "name": "id", "serializedName": "id", "doc": "The id property", "type": { - "$id": "111", + "$id": "238", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -876,9 +1912,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsFloatAdditionalProperties.id", "serializationOptions": { - "$id": "112", + "$id": "239", "json": { - "$id": "113", + "$id": "240", "name": "id" } } @@ -886,7 +1922,7 @@ ] }, { - "$id": "114", + "$id": "241", "kind": "model", "name": "IsFloatAdditionalProperties", "namespace": "_Type.Property.AdditionalProperties", @@ -895,7 +1931,7 @@ "doc": "The model is from Record type.", "decorators": [], "additionalProperties": { - "$id": "115", + "$id": "242", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -903,13 +1939,13 @@ }, "properties": [ { - "$id": "116", + "$id": "243", "kind": "property", "name": "id", "serializedName": "id", "doc": "The id property", "type": { - "$id": "117", + "$id": "244", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -922,9 +1958,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsFloatAdditionalProperties.id", "serializationOptions": { - "$id": "118", + "$id": "245", "json": { - "$id": "119", + "$id": "246", "name": "id" } } @@ -932,7 +1968,7 @@ ] }, { - "$id": "120", + "$id": "247", "kind": "model", "name": "SpreadFloatRecord", "namespace": "_Type.Property.AdditionalProperties", @@ -941,7 +1977,7 @@ "doc": "The model spread Record with the same known property type", "decorators": [], "additionalProperties": { - "$id": "121", + "$id": "248", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -949,13 +1985,13 @@ }, "properties": [ { - "$id": "122", + "$id": "249", "kind": "property", "name": "id", "serializedName": "id", "doc": "The id property", "type": { - "$id": "123", + "$id": "250", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -968,9 +2004,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadFloatRecord.id", "serializationOptions": { - "$id": "124", + "$id": "251", "json": { - "$id": "125", + "$id": "252", "name": "id" } } @@ -978,7 +2014,7 @@ ] }, { - "$id": "126", + "$id": "253", "kind": "model", "name": "ExtendsModelAdditionalProperties", "namespace": "_Type.Property.AdditionalProperties", @@ -987,7 +2023,7 @@ "doc": "The model extends from Record type.", "decorators": [], "additionalProperties": { - "$id": "127", + "$id": "254", "kind": "model", "name": "ModelForRecord", "namespace": "_Type.Property.AdditionalProperties", @@ -997,13 +2033,13 @@ "decorators": [], "properties": [ { - "$id": "128", + "$id": "255", "kind": "property", "name": "state", "serializedName": "state", "doc": "The state property", "type": { - "$id": "129", + "$id": "256", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1016,9 +2052,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ModelForRecord.state", "serializationOptions": { - "$id": "130", + "$id": "257", "json": { - "$id": "131", + "$id": "258", "name": "state" } } @@ -1027,12 +2063,12 @@ }, "properties": [ { - "$id": "132", + "$id": "259", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$ref": "127" + "$ref": "254" }, "optional": false, "readOnly": false, @@ -1041,9 +2077,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModelAdditionalProperties.knownProp", "serializationOptions": { - "$id": "133", + "$id": "260", "json": { - "$id": "134", + "$id": "261", "name": "knownProp" } } @@ -1051,10 +2087,10 @@ ] }, { - "$ref": "127" + "$ref": "254" }, { - "$id": "135", + "$id": "262", "kind": "model", "name": "IsModelAdditionalProperties", "namespace": "_Type.Property.AdditionalProperties", @@ -1063,16 +2099,16 @@ "doc": "The model is from Record type.", "decorators": [], "additionalProperties": { - "$ref": "127" + "$ref": "254" }, "properties": [ { - "$id": "136", + "$id": "263", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$ref": "127" + "$ref": "254" }, "optional": false, "readOnly": false, @@ -1081,9 +2117,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModelAdditionalProperties.knownProp", "serializationOptions": { - "$id": "137", + "$id": "264", "json": { - "$id": "138", + "$id": "265", "name": "knownProp" } } @@ -1091,7 +2127,7 @@ ] }, { - "$id": "139", + "$id": "266", "kind": "model", "name": "SpreadModelRecord", "namespace": "_Type.Property.AdditionalProperties", @@ -1100,16 +2136,16 @@ "doc": "The model spread Record with the same known property type", "decorators": [], "additionalProperties": { - "$ref": "127" + "$ref": "254" }, "properties": [ { - "$id": "140", + "$id": "267", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$ref": "127" + "$ref": "254" }, "optional": false, "readOnly": false, @@ -1118,9 +2154,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModelRecord.knownProp", "serializationOptions": { - "$id": "141", + "$id": "268", "json": { - "$id": "142", + "$id": "269", "name": "knownProp" } } @@ -1128,7 +2164,7 @@ ] }, { - "$id": "143", + "$id": "270", "kind": "model", "name": "ExtendsModelArrayAdditionalProperties", "namespace": "_Type.Property.AdditionalProperties", @@ -1137,23 +2173,23 @@ "doc": "The model extends from Record type.", "decorators": [], "additionalProperties": { - "$id": "144", + "$id": "271", "kind": "array", "name": "ArrayModelForRecord", "valueType": { - "$ref": "127" + "$ref": "254" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, "properties": [ { - "$id": "145", + "$id": "272", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$ref": "144" + "$ref": "271" }, "optional": false, "readOnly": false, @@ -1162,9 +2198,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModelArrayAdditionalProperties.knownProp", "serializationOptions": { - "$id": "146", + "$id": "273", "json": { - "$id": "147", + "$id": "274", "name": "knownProp" } } @@ -1172,7 +2208,7 @@ ] }, { - "$id": "148", + "$id": "275", "kind": "model", "name": "IsModelArrayAdditionalProperties", "namespace": "_Type.Property.AdditionalProperties", @@ -1181,16 +2217,16 @@ "doc": "The model is from Record type.", "decorators": [], "additionalProperties": { - "$ref": "144" + "$ref": "271" }, "properties": [ { - "$id": "149", + "$id": "276", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$ref": "144" + "$ref": "271" }, "optional": false, "readOnly": false, @@ -1199,9 +2235,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModelArrayAdditionalProperties.knownProp", "serializationOptions": { - "$id": "150", + "$id": "277", "json": { - "$id": "151", + "$id": "278", "name": "knownProp" } } @@ -1209,7 +2245,7 @@ ] }, { - "$id": "152", + "$id": "279", "kind": "model", "name": "SpreadModelArrayRecord", "namespace": "_Type.Property.AdditionalProperties", @@ -1217,16 +2253,16 @@ "usage": "Input,Output,Json", "decorators": [], "additionalProperties": { - "$ref": "144" + "$ref": "271" }, "properties": [ { - "$id": "153", + "$id": "280", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$ref": "144" + "$ref": "271" }, "optional": false, "readOnly": false, @@ -1235,9 +2271,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModelArrayRecord.knownProp", "serializationOptions": { - "$id": "154", + "$id": "281", "json": { - "$id": "155", + "$id": "282", "name": "knownProp" } } @@ -1245,7 +2281,7 @@ ] }, { - "$id": "156", + "$id": "283", "kind": "model", "name": "DifferentSpreadStringRecord", "namespace": "_Type.Property.AdditionalProperties", @@ -1254,7 +2290,7 @@ "doc": "The model spread Record with the different known property type", "decorators": [], "additionalProperties": { - "$id": "157", + "$id": "284", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1262,13 +2298,13 @@ }, "properties": [ { - "$id": "158", + "$id": "285", "kind": "property", "name": "id", "serializedName": "id", "doc": "The name property", "type": { - "$id": "159", + "$id": "286", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1281,9 +2317,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadStringRecord.id", "serializationOptions": { - "$id": "160", + "$id": "287", "json": { - "$id": "161", + "$id": "288", "name": "id" } } @@ -1291,7 +2327,7 @@ ] }, { - "$id": "162", + "$id": "289", "kind": "model", "name": "DifferentSpreadFloatRecord", "namespace": "_Type.Property.AdditionalProperties", @@ -1300,7 +2336,7 @@ "doc": "The model spread Record with the different known property type", "decorators": [], "additionalProperties": { - "$id": "163", + "$id": "290", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1308,13 +2344,13 @@ }, "properties": [ { - "$id": "164", + "$id": "291", "kind": "property", "name": "name", "serializedName": "name", "doc": "The id property", "type": { - "$id": "165", + "$id": "292", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1327,9 +2363,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadFloatRecord.name", "serializationOptions": { - "$id": "166", + "$id": "293", "json": { - "$id": "167", + "$id": "294", "name": "name" } } @@ -1337,7 +2373,7 @@ ] }, { - "$id": "168", + "$id": "295", "kind": "model", "name": "DifferentSpreadModelRecord", "namespace": "_Type.Property.AdditionalProperties", @@ -1346,16 +2382,16 @@ "doc": "The model spread Record with the different known property type", "decorators": [], "additionalProperties": { - "$ref": "127" + "$ref": "254" }, "properties": [ { - "$id": "169", + "$id": "296", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$id": "170", + "$id": "297", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1368,9 +2404,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadModelRecord.knownProp", "serializationOptions": { - "$id": "171", + "$id": "298", "json": { - "$id": "172", + "$id": "299", "name": "knownProp" } } @@ -1378,7 +2414,7 @@ ] }, { - "$id": "173", + "$id": "300", "kind": "model", "name": "DifferentSpreadModelArrayRecord", "namespace": "_Type.Property.AdditionalProperties", @@ -1387,16 +2423,16 @@ "doc": "The model spread Record with the different known property type", "decorators": [], "additionalProperties": { - "$ref": "144" + "$ref": "271" }, "properties": [ { - "$id": "174", + "$id": "301", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$id": "175", + "$id": "302", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1409,9 +2445,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadModelArrayRecord.knownProp", "serializationOptions": { - "$id": "176", + "$id": "303", "json": { - "$id": "177", + "$id": "304", "name": "knownProp" } } @@ -1419,7 +2455,7 @@ ] }, { - "$id": "178", + "$id": "305", "kind": "model", "name": "DifferentSpreadStringDerived", "namespace": "_Type.Property.AdditionalProperties", @@ -1428,17 +2464,17 @@ "doc": "The model extends from a model that spread Record with the different known property type", "decorators": [], "baseModel": { - "$ref": "156" + "$ref": "283" }, "properties": [ { - "$id": "179", + "$id": "306", "kind": "property", "name": "derivedProp", "serializedName": "derivedProp", "doc": "The index property", "type": { - "$id": "180", + "$id": "307", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1451,9 +2487,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadStringDerived.derivedProp", "serializationOptions": { - "$id": "181", + "$id": "308", "json": { - "$id": "182", + "$id": "309", "name": "derivedProp" } } @@ -1461,7 +2497,7 @@ ] }, { - "$id": "183", + "$id": "310", "kind": "model", "name": "DifferentSpreadFloatDerived", "namespace": "_Type.Property.AdditionalProperties", @@ -1470,17 +2506,17 @@ "doc": "The model extends from a model that spread Record with the different known property type", "decorators": [], "baseModel": { - "$ref": "162" + "$ref": "289" }, "properties": [ { - "$id": "184", + "$id": "311", "kind": "property", "name": "derivedProp", "serializedName": "derivedProp", "doc": "The index property", "type": { - "$id": "185", + "$id": "312", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1493,9 +2529,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadFloatDerived.derivedProp", "serializationOptions": { - "$id": "186", + "$id": "313", "json": { - "$id": "187", + "$id": "314", "name": "derivedProp" } } @@ -1503,7 +2539,7 @@ ] }, { - "$id": "188", + "$id": "315", "kind": "model", "name": "DifferentSpreadModelDerived", "namespace": "_Type.Property.AdditionalProperties", @@ -1512,17 +2548,17 @@ "doc": "The model extends from a model that spread Record with the different known property type", "decorators": [], "baseModel": { - "$ref": "168" + "$ref": "295" }, "properties": [ { - "$id": "189", + "$id": "316", "kind": "property", "name": "derivedProp", "serializedName": "derivedProp", "doc": "The index property", "type": { - "$ref": "127" + "$ref": "254" }, "optional": false, "readOnly": false, @@ -1531,9 +2567,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadModelDerived.derivedProp", "serializationOptions": { - "$id": "190", + "$id": "317", "json": { - "$id": "191", + "$id": "318", "name": "derivedProp" } } @@ -1541,7 +2577,7 @@ ] }, { - "$id": "192", + "$id": "319", "kind": "model", "name": "DifferentSpreadModelArrayDerived", "namespace": "_Type.Property.AdditionalProperties", @@ -1550,17 +2586,17 @@ "doc": "The model extends from a model that spread Record with the different known property type", "decorators": [], "baseModel": { - "$ref": "173" + "$ref": "300" }, "properties": [ { - "$id": "193", + "$id": "320", "kind": "property", "name": "derivedProp", "serializedName": "derivedProp", "doc": "The index property", "type": { - "$ref": "144" + "$ref": "271" }, "optional": false, "readOnly": false, @@ -1569,9 +2605,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadModelArrayDerived.derivedProp", "serializationOptions": { - "$id": "194", + "$id": "321", "json": { - "$id": "195", + "$id": "322", "name": "derivedProp" } } @@ -1579,7 +2615,7 @@ ] }, { - "$id": "196", + "$id": "323", "kind": "model", "name": "MultipleSpreadRecord", "namespace": "_Type.Property.AdditionalProperties", @@ -1588,19 +2624,19 @@ "doc": "The model spread Record and Record", "decorators": [], "additionalProperties": { - "$id": "197", + "$id": "324", "kind": "union", "name": "MultipleSpreadRecordAdditionalProperty", "variantTypes": [ { - "$id": "198", + "$id": "325", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "199", + "$id": "326", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1612,13 +2648,13 @@ }, "properties": [ { - "$id": "200", + "$id": "327", "kind": "property", "name": "flag", "serializedName": "flag", "doc": "The name property", "type": { - "$id": "201", + "$id": "328", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1631,9 +2667,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.MultipleSpreadRecord.flag", "serializationOptions": { - "$id": "202", + "$id": "329", "json": { - "$id": "203", + "$id": "330", "name": "flag" } } @@ -1641,7 +2677,7 @@ ] }, { - "$id": "204", + "$id": "331", "kind": "model", "name": "SpreadRecordForUnion", "namespace": "_Type.Property.AdditionalProperties", @@ -1650,19 +2686,19 @@ "doc": "The model spread Record", "decorators": [], "additionalProperties": { - "$id": "205", + "$id": "332", "kind": "union", "name": "SpreadRecordForUnionAdditionalProperty", "variantTypes": [ { - "$id": "206", + "$id": "333", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "207", + "$id": "334", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1674,13 +2710,13 @@ }, "properties": [ { - "$id": "208", + "$id": "335", "kind": "property", "name": "flag", "serializedName": "flag", "doc": "The name property", "type": { - "$id": "209", + "$id": "336", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1693,9 +2729,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordForUnion.flag", "serializationOptions": { - "$id": "210", + "$id": "337", "json": { - "$id": "211", + "$id": "338", "name": "flag" } } @@ -1703,7 +2739,7 @@ ] }, { - "$id": "212", + "$id": "339", "kind": "model", "name": "SpreadRecordForNonDiscriminatedUnion", "namespace": "_Type.Property.AdditionalProperties", @@ -1712,12 +2748,12 @@ "doc": "The model spread Record", "decorators": [], "additionalProperties": { - "$id": "213", + "$id": "340", "kind": "union", "name": "SpreadRecordForNonDiscriminatedUnionAdditionalProperty", "variantTypes": [ { - "$id": "214", + "$id": "341", "kind": "model", "name": "WidgetData0", "namespace": "_Type.Property.AdditionalProperties", @@ -1726,21 +2762,12 @@ "decorators": [], "properties": [ { - "$id": "215", + "$id": "342", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "216", - "kind": "constant", - "name": "WidgetData0Kind", - "namespace": "_Type.Property.AdditionalProperties", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "2" - }, - "value": "kind0", - "decorators": [] + "$ref": "15" }, "optional": false, "readOnly": false, @@ -1749,20 +2776,20 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.WidgetData0.kind", "serializationOptions": { - "$id": "217", + "$id": "343", "json": { - "$id": "218", + "$id": "344", "name": "kind" } } }, { - "$id": "219", + "$id": "345", "kind": "property", "name": "fooProp", "serializedName": "fooProp", "type": { - "$id": "220", + "$id": "346", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1775,9 +2802,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.WidgetData0.fooProp", "serializationOptions": { - "$id": "221", + "$id": "347", "json": { - "$id": "222", + "$id": "348", "name": "fooProp" } } @@ -1785,7 +2812,7 @@ ] }, { - "$id": "223", + "$id": "349", "kind": "model", "name": "WidgetData1", "namespace": "_Type.Property.AdditionalProperties", @@ -1794,21 +2821,12 @@ "decorators": [], "properties": [ { - "$id": "224", + "$id": "350", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "225", - "kind": "constant", - "name": "WidgetData1Kind", - "namespace": "_Type.Property.AdditionalProperties", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "5" - }, - "value": "kind1", - "decorators": [] + "$ref": "16" }, "optional": false, "readOnly": false, @@ -1817,25 +2835,25 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.WidgetData1.kind", "serializationOptions": { - "$id": "226", + "$id": "351", "json": { - "$id": "227", + "$id": "352", "name": "kind" } } }, { - "$id": "228", + "$id": "353", "kind": "property", "name": "start", "serializedName": "start", "type": { - "$id": "229", + "$id": "354", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "230", + "$id": "355", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1851,25 +2869,25 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.WidgetData1.start", "serializationOptions": { - "$id": "231", + "$id": "356", "json": { - "$id": "232", + "$id": "357", "name": "start" } } }, { - "$id": "233", + "$id": "358", "kind": "property", "name": "end", "serializedName": "end", "type": { - "$id": "234", + "$id": "359", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "235", + "$id": "360", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1885,9 +2903,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.WidgetData1.end", "serializationOptions": { - "$id": "236", + "$id": "361", "json": { - "$id": "237", + "$id": "362", "name": "end" } } @@ -1900,13 +2918,13 @@ }, "properties": [ { - "$id": "238", + "$id": "363", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "239", + "$id": "364", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1919,9 +2937,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordForNonDiscriminatedUnion.name", "serializationOptions": { - "$id": "240", + "$id": "365", "json": { - "$id": "241", + "$id": "366", "name": "name" } } @@ -1929,13 +2947,13 @@ ] }, { - "$ref": "214" + "$ref": "341" }, { - "$ref": "223" + "$ref": "349" }, { - "$id": "242", + "$id": "367", "kind": "model", "name": "SpreadRecordForNonDiscriminatedUnion2", "namespace": "_Type.Property.AdditionalProperties", @@ -1944,12 +2962,12 @@ "doc": "The model spread Record", "decorators": [], "additionalProperties": { - "$id": "243", + "$id": "368", "kind": "union", "name": "SpreadRecordForNonDiscriminatedUnion2AdditionalProperty", "variantTypes": [ { - "$id": "244", + "$id": "369", "kind": "model", "name": "WidgetData2", "namespace": "_Type.Property.AdditionalProperties", @@ -1958,21 +2976,12 @@ "decorators": [], "properties": [ { - "$id": "245", + "$id": "370", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "246", - "kind": "constant", - "name": "WidgetData2Kind", - "namespace": "_Type.Property.AdditionalProperties", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "8" - }, - "value": "kind1", - "decorators": [] + "$ref": "17" }, "optional": false, "readOnly": false, @@ -1981,20 +2990,20 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.WidgetData2.kind", "serializationOptions": { - "$id": "247", + "$id": "371", "json": { - "$id": "248", + "$id": "372", "name": "kind" } } }, { - "$id": "249", + "$id": "373", "kind": "property", "name": "start", "serializedName": "start", "type": { - "$id": "250", + "$id": "374", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2007,9 +3016,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.WidgetData2.start", "serializationOptions": { - "$id": "251", + "$id": "375", "json": { - "$id": "252", + "$id": "376", "name": "start" } } @@ -2017,7 +3026,7 @@ ] }, { - "$ref": "223" + "$ref": "349" } ], "namespace": "", @@ -2025,13 +3034,13 @@ }, "properties": [ { - "$id": "253", + "$id": "377", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "254", + "$id": "378", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2044,9 +3053,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordForNonDiscriminatedUnion2.name", "serializationOptions": { - "$id": "255", + "$id": "379", "json": { - "$id": "256", + "$id": "380", "name": "name" } } @@ -2054,10 +3063,10 @@ ] }, { - "$ref": "244" + "$ref": "369" }, { - "$id": "257", + "$id": "381", "kind": "model", "name": "SpreadRecordForNonDiscriminatedUnion3", "namespace": "_Type.Property.AdditionalProperties", @@ -2066,22 +3075,22 @@ "doc": "The model spread Record", "decorators": [], "additionalProperties": { - "$id": "258", + "$id": "382", "kind": "union", "name": "SpreadRecordForNonDiscriminatedUnion3AdditionalProperty", "variantTypes": [ { - "$id": "259", + "$id": "383", "kind": "array", "name": "ArrayWidgetData2", "valueType": { - "$ref": "244" + "$ref": "369" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, { - "$ref": "223" + "$ref": "349" } ], "namespace": "", @@ -2089,13 +3098,13 @@ }, "properties": [ { - "$id": "260", + "$id": "384", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "261", + "$id": "385", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2108,9 +3117,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordForNonDiscriminatedUnion3.name", "serializationOptions": { - "$id": "262", + "$id": "386", "json": { - "$id": "263", + "$id": "387", "name": "name" } } @@ -2120,7 +3129,7 @@ ], "clients": [ { - "$id": "264", + "$id": "388", "kind": "client", "name": "AdditionalPropertiesClient", "namespace": "_Type.Property.AdditionalProperties", @@ -2128,12 +3137,12 @@ "methods": [], "parameters": [ { - "$id": "265", + "$id": "389", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "266", + "$id": "390", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2147,9 +3156,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "267", + "$id": "391", "type": { - "$id": "268", + "$id": "392", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2163,44 +3172,31 @@ "apiVersions": [], "children": [ { - "$id": "269", + "$id": "393", "kind": "client", "name": "ExtendsUnknown", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "270", + "$id": "394", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "271", + "$id": "395", "name": "get", "resourceName": "ExtendsUnknown", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "272", + "$id": "396", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "273", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "274", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -2215,12 +3211,12 @@ ], "responses": [ { - "$id": "275", + "$id": "397", "statusCodes": [ 200 ], "bodyType": { - "$ref": "11" + "$ref": "142" }, "headers": [], "isErrorResponse": false, @@ -2240,11 +3236,11 @@ }, "parameters": [ { - "$id": "276", + "$id": "398", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "273" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -2258,9 +3254,9 @@ } ], "response": { - "$id": "277", + "$id": "399", "type": { - "$ref": "11" + "$ref": "142" } }, "isOverride": false, @@ -2269,39 +3265,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknown.get" }, { - "$id": "278", + "$id": "400", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "279", + "$id": "401", "name": "put", "resourceName": "ExtendsUnknown", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "280", + "$id": "402", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "281", - "kind": "constant", - "name": "putContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "282", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -2314,12 +3297,12 @@ "skipUrlEncoding": false }, { - "$id": "283", + "$id": "403", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "11" + "$ref": "142" }, "location": "Body", "isApiVersion": false, @@ -2334,7 +3317,7 @@ ], "responses": [ { - "$id": "284", + "$id": "404", "statusCodes": [ 204 ], @@ -2356,12 +3339,12 @@ }, "parameters": [ { - "$id": "285", + "$id": "405", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "11" + "$ref": "142" }, "location": "Body", "isApiVersion": false, @@ -2374,12 +3357,12 @@ "skipUrlEncoding": false }, { - "$id": "286", + "$id": "406", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "281" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -2393,7 +3376,7 @@ } ], "response": { - "$id": "287" + "$id": "407" }, "isOverride": false, "generateConvenient": true, @@ -2403,12 +3386,12 @@ ], "parameters": [ { - "$id": "288", + "$id": "408", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "289", + "$id": "409", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2422,9 +3405,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "290", + "$id": "410", "type": { - "$id": "291", + "$id": "411", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2437,48 +3420,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknown", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "292", + "$id": "412", "kind": "client", "name": "ExtendsUnknownDerived", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "293", + "$id": "413", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "294", + "$id": "414", "name": "get", "resourceName": "ExtendsUnknownDerived", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "295", + "$id": "415", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "296", - "kind": "constant", - "name": "getContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "297", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -2493,12 +3463,12 @@ ], "responses": [ { - "$id": "298", + "$id": "416", "statusCodes": [ 200 ], "bodyType": { - "$ref": "17" + "$ref": "148" }, "headers": [], "isErrorResponse": false, @@ -2518,11 +3488,11 @@ }, "parameters": [ { - "$id": "299", + "$id": "417", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "296" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -2536,9 +3506,9 @@ } ], "response": { - "$id": "300", + "$id": "418", "type": { - "$ref": "17" + "$ref": "148" } }, "isOverride": false, @@ -2547,39 +3517,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.get" }, { - "$id": "301", + "$id": "419", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "302", + "$id": "420", "name": "put", "resourceName": "ExtendsUnknownDerived", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "303", + "$id": "421", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "304", - "kind": "constant", - "name": "putContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "305", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -2592,12 +3549,12 @@ "skipUrlEncoding": false }, { - "$id": "306", + "$id": "422", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "17" + "$ref": "148" }, "location": "Body", "isApiVersion": false, @@ -2612,7 +3569,7 @@ ], "responses": [ { - "$id": "307", + "$id": "423", "statusCodes": [ 204 ], @@ -2634,12 +3591,12 @@ }, "parameters": [ { - "$id": "308", + "$id": "424", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "17" + "$ref": "148" }, "location": "Body", "isApiVersion": false, @@ -2652,12 +3609,12 @@ "skipUrlEncoding": false }, { - "$id": "309", + "$id": "425", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "304" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -2671,7 +3628,7 @@ } ], "response": { - "$id": "310" + "$id": "426" }, "isOverride": false, "generateConvenient": true, @@ -2681,12 +3638,12 @@ ], "parameters": [ { - "$id": "311", + "$id": "427", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "312", + "$id": "428", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2700,9 +3657,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "313", + "$id": "429", "type": { - "$id": "314", + "$id": "430", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2715,48 +3672,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDerived", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "315", + "$id": "431", "kind": "client", "name": "ExtendsUnknownDiscriminated", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "316", + "$id": "432", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "317", + "$id": "433", "name": "get", "resourceName": "ExtendsUnknownDiscriminated", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "318", + "$id": "434", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "319", - "kind": "constant", - "name": "getContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "320", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -2771,12 +3715,12 @@ ], "responses": [ { - "$id": "321", + "$id": "435", "statusCodes": [ 200 ], "bodyType": { - "$ref": "26" + "$ref": "157" }, "headers": [], "isErrorResponse": false, @@ -2796,11 +3740,11 @@ }, "parameters": [ { - "$id": "322", + "$id": "436", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "319" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -2814,9 +3758,9 @@ } ], "response": { - "$id": "323", + "$id": "437", "type": { - "$ref": "26" + "$ref": "157" } }, "isOverride": false, @@ -2825,39 +3769,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.get" }, { - "$id": "324", + "$id": "438", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "325", + "$id": "439", "name": "put", "resourceName": "ExtendsUnknownDiscriminated", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "326", + "$id": "440", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "327", - "kind": "constant", - "name": "putContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "328", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -2870,12 +3801,12 @@ "skipUrlEncoding": false }, { - "$id": "329", + "$id": "441", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "26" + "$ref": "157" }, "location": "Body", "isApiVersion": false, @@ -2890,7 +3821,7 @@ ], "responses": [ { - "$id": "330", + "$id": "442", "statusCodes": [ 204 ], @@ -2912,12 +3843,12 @@ }, "parameters": [ { - "$id": "331", + "$id": "443", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "26" + "$ref": "157" }, "location": "Body", "isApiVersion": false, @@ -2930,12 +3861,12 @@ "skipUrlEncoding": false }, { - "$id": "332", + "$id": "444", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "327" + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -2949,7 +3880,7 @@ } ], "response": { - "$id": "333" + "$id": "445" }, "isOverride": false, "generateConvenient": true, @@ -2959,12 +3890,12 @@ ], "parameters": [ { - "$id": "334", + "$id": "446", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "335", + "$id": "447", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2978,9 +3909,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "336", + "$id": "448", "type": { - "$id": "337", + "$id": "449", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2993,48 +3924,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "338", + "$id": "450", "kind": "client", "name": "IsUnknown", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "339", + "$id": "451", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "340", + "$id": "452", "name": "get", "resourceName": "IsUnknown", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "341", + "$id": "453", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "342", - "kind": "constant", - "name": "getContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "343", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -3049,12 +3967,12 @@ ], "responses": [ { - "$id": "344", + "$id": "454", "statusCodes": [ 200 ], "bodyType": { - "$ref": "50" + "$ref": "179" }, "headers": [], "isErrorResponse": false, @@ -3074,11 +3992,11 @@ }, "parameters": [ { - "$id": "345", + "$id": "455", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "342" + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -3092,9 +4010,9 @@ } ], "response": { - "$id": "346", + "$id": "456", "type": { - "$ref": "50" + "$ref": "179" } }, "isOverride": false, @@ -3103,39 +4021,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknown.get" }, { - "$id": "347", + "$id": "457", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "348", + "$id": "458", "name": "put", "resourceName": "IsUnknown", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "349", + "$id": "459", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "350", - "kind": "constant", - "name": "putContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "351", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -3148,12 +4053,12 @@ "skipUrlEncoding": false }, { - "$id": "352", + "$id": "460", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "50" + "$ref": "179" }, "location": "Body", "isApiVersion": false, @@ -3168,7 +4073,7 @@ ], "responses": [ { - "$id": "353", + "$id": "461", "statusCodes": [ 204 ], @@ -3190,12 +4095,12 @@ }, "parameters": [ { - "$id": "354", + "$id": "462", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "50" + "$ref": "179" }, "location": "Body", "isApiVersion": false, @@ -3208,12 +4113,12 @@ "skipUrlEncoding": false }, { - "$id": "355", + "$id": "463", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "350" + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -3227,7 +4132,7 @@ } ], "response": { - "$id": "356" + "$id": "464" }, "isOverride": false, "generateConvenient": true, @@ -3237,12 +4142,12 @@ ], "parameters": [ { - "$id": "357", + "$id": "465", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "358", + "$id": "466", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3256,9 +4161,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "359", + "$id": "467", "type": { - "$id": "360", + "$id": "468", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3271,48 +4176,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknown", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "361", + "$id": "469", "kind": "client", "name": "IsUnknownDerived", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "362", + "$id": "470", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "363", + "$id": "471", "name": "get", "resourceName": "IsUnknownDerived", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "364", + "$id": "472", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "365", - "kind": "constant", - "name": "getContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "366", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -3327,12 +4219,12 @@ ], "responses": [ { - "$id": "367", + "$id": "473", "statusCodes": [ 200 ], "bodyType": { - "$ref": "56" + "$ref": "185" }, "headers": [], "isErrorResponse": false, @@ -3352,11 +4244,11 @@ }, "parameters": [ { - "$id": "368", + "$id": "474", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "365" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -3370,9 +4262,9 @@ } ], "response": { - "$id": "369", + "$id": "475", "type": { - "$ref": "56" + "$ref": "185" } }, "isOverride": false, @@ -3381,39 +4273,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDerived.get" }, { - "$id": "370", + "$id": "476", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "371", + "$id": "477", "name": "put", "resourceName": "IsUnknownDerived", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "372", + "$id": "478", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "373", - "kind": "constant", - "name": "putContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "374", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -3426,12 +4305,12 @@ "skipUrlEncoding": false }, { - "$id": "375", + "$id": "479", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "56" + "$ref": "185" }, "location": "Body", "isApiVersion": false, @@ -3446,7 +4325,7 @@ ], "responses": [ { - "$id": "376", + "$id": "480", "statusCodes": [ 204 ], @@ -3468,12 +4347,12 @@ }, "parameters": [ { - "$id": "377", + "$id": "481", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "56" + "$ref": "185" }, "location": "Body", "isApiVersion": false, @@ -3486,12 +4365,12 @@ "skipUrlEncoding": false }, { - "$id": "378", + "$id": "482", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "373" + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -3505,7 +4384,7 @@ } ], "response": { - "$id": "379" + "$id": "483" }, "isOverride": false, "generateConvenient": true, @@ -3515,12 +4394,12 @@ ], "parameters": [ { - "$id": "380", + "$id": "484", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "381", + "$id": "485", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3534,9 +4413,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "382", + "$id": "486", "type": { - "$id": "383", + "$id": "487", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3549,48 +4428,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDerived", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "384", + "$id": "488", "kind": "client", "name": "IsUnknownDiscriminated", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "385", + "$id": "489", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "386", + "$id": "490", "name": "get", "resourceName": "IsUnknownDiscriminated", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "387", + "$id": "491", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "388", - "kind": "constant", - "name": "getContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "389", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -3605,12 +4471,12 @@ ], "responses": [ { - "$id": "390", + "$id": "492", "statusCodes": [ 200 ], "bodyType": { - "$ref": "65" + "$ref": "194" }, "headers": [], "isErrorResponse": false, @@ -3630,11 +4496,11 @@ }, "parameters": [ { - "$id": "391", + "$id": "493", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "388" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -3648,9 +4514,9 @@ } ], "response": { - "$id": "392", + "$id": "494", "type": { - "$ref": "65" + "$ref": "194" } }, "isOverride": false, @@ -3659,39 +4525,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.get" }, { - "$id": "393", + "$id": "495", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "394", + "$id": "496", "name": "put", "resourceName": "IsUnknownDiscriminated", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "395", + "$id": "497", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "396", - "kind": "constant", - "name": "putContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "397", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -3704,12 +4557,12 @@ "skipUrlEncoding": false }, { - "$id": "398", + "$id": "498", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "65" + "$ref": "194" }, "location": "Body", "isApiVersion": false, @@ -3724,7 +4577,7 @@ ], "responses": [ { - "$id": "399", + "$id": "499", "statusCodes": [ 204 ], @@ -3746,12 +4599,12 @@ }, "parameters": [ { - "$id": "400", + "$id": "500", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "65" + "$ref": "194" }, "location": "Body", "isApiVersion": false, @@ -3764,12 +4617,12 @@ "skipUrlEncoding": false }, { - "$id": "401", + "$id": "501", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "396" + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -3783,7 +4636,7 @@ } ], "response": { - "$id": "402" + "$id": "502" }, "isOverride": false, "generateConvenient": true, @@ -3793,12 +4646,12 @@ ], "parameters": [ { - "$id": "403", + "$id": "503", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "404", + "$id": "504", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3812,9 +4665,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "405", + "$id": "505", "type": { - "$id": "406", + "$id": "506", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3827,48 +4680,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDiscriminated", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "407", + "$id": "507", "kind": "client", "name": "ExtendsString", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "408", + "$id": "508", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "409", + "$id": "509", "name": "get", "resourceName": "ExtendsString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "410", + "$id": "510", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "411", - "kind": "constant", - "name": "getContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "412", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3883,12 +4723,12 @@ ], "responses": [ { - "$id": "413", + "$id": "511", "statusCodes": [ 200 ], "bodyType": { - "$ref": "90" + "$ref": "217" }, "headers": [], "isErrorResponse": false, @@ -3908,11 +4748,11 @@ }, "parameters": [ { - "$id": "414", + "$id": "512", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "411" + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3926,9 +4766,9 @@ } ], "response": { - "$id": "415", + "$id": "513", "type": { - "$ref": "90" + "$ref": "217" } }, "isOverride": false, @@ -3937,39 +4777,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsString.get" }, { - "$id": "416", + "$id": "514", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "417", + "$id": "515", "name": "put", "resourceName": "ExtendsString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "418", + "$id": "516", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "419", - "kind": "constant", - "name": "putContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "420", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -3982,12 +4809,12 @@ "skipUrlEncoding": false }, { - "$id": "421", + "$id": "517", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "90" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -4002,7 +4829,7 @@ ], "responses": [ { - "$id": "422", + "$id": "518", "statusCodes": [ 204 ], @@ -4024,12 +4851,12 @@ }, "parameters": [ { - "$id": "423", + "$id": "519", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "90" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -4042,12 +4869,12 @@ "skipUrlEncoding": false }, { - "$id": "424", + "$id": "520", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "419" + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -4061,7 +4888,7 @@ } ], "response": { - "$id": "425" + "$id": "521" }, "isOverride": false, "generateConvenient": true, @@ -4071,12 +4898,12 @@ ], "parameters": [ { - "$id": "426", + "$id": "522", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "427", + "$id": "523", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4090,9 +4917,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "428", + "$id": "524", "type": { - "$id": "429", + "$id": "525", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4105,48 +4932,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsString", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "430", + "$id": "526", "kind": "client", "name": "IsString", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "431", + "$id": "527", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "432", + "$id": "528", "name": "get", "resourceName": "IsString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "433", + "$id": "529", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "434", - "kind": "constant", - "name": "getContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "435", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -4161,12 +4975,12 @@ ], "responses": [ { - "$id": "436", + "$id": "530", "statusCodes": [ 200 ], "bodyType": { - "$ref": "96" + "$ref": "223" }, "headers": [], "isErrorResponse": false, @@ -4186,11 +5000,11 @@ }, "parameters": [ { - "$id": "437", + "$id": "531", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "434" + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -4204,9 +5018,9 @@ } ], "response": { - "$id": "438", + "$id": "532", "type": { - "$ref": "96" + "$ref": "223" } }, "isOverride": false, @@ -4215,39 +5029,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsString.get" }, { - "$id": "439", + "$id": "533", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "440", + "$id": "534", "name": "put", "resourceName": "IsString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "441", + "$id": "535", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "442", - "kind": "constant", - "name": "putContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "443", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -4260,12 +5061,12 @@ "skipUrlEncoding": false }, { - "$id": "444", + "$id": "536", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "96" + "$ref": "223" }, "location": "Body", "isApiVersion": false, @@ -4280,7 +5081,7 @@ ], "responses": [ { - "$id": "445", + "$id": "537", "statusCodes": [ 204 ], @@ -4302,12 +5103,12 @@ }, "parameters": [ { - "$id": "446", + "$id": "538", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "96" + "$ref": "223" }, "location": "Body", "isApiVersion": false, @@ -4320,12 +5121,12 @@ "skipUrlEncoding": false }, { - "$id": "447", + "$id": "539", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "442" + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -4339,7 +5140,7 @@ } ], "response": { - "$id": "448" + "$id": "540" }, "isOverride": false, "generateConvenient": true, @@ -4349,12 +5150,12 @@ ], "parameters": [ { - "$id": "449", + "$id": "541", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "450", + "$id": "542", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4368,9 +5169,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "451", + "$id": "543", "type": { - "$id": "452", + "$id": "544", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4383,48 +5184,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsString", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "453", + "$id": "545", "kind": "client", "name": "SpreadString", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "454", + "$id": "546", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "455", + "$id": "547", "name": "get", "resourceName": "SpreadString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "456", + "$id": "548", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "457", - "kind": "constant", - "name": "getContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "458", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -4439,12 +5227,12 @@ ], "responses": [ { - "$id": "459", + "$id": "549", "statusCodes": [ 200 ], "bodyType": { - "$ref": "102" + "$ref": "229" }, "headers": [], "isErrorResponse": false, @@ -4464,11 +5252,11 @@ }, "parameters": [ { - "$id": "460", + "$id": "550", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "457" + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -4482,9 +5270,9 @@ } ], "response": { - "$id": "461", + "$id": "551", "type": { - "$ref": "102" + "$ref": "229" } }, "isOverride": false, @@ -4493,39 +5281,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadString.get" }, { - "$id": "462", + "$id": "552", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "463", + "$id": "553", "name": "put", "resourceName": "SpreadString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "464", + "$id": "554", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "465", - "kind": "constant", - "name": "putContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "466", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -4538,12 +5313,12 @@ "skipUrlEncoding": false }, { - "$id": "467", + "$id": "555", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "102" + "$ref": "229" }, "location": "Body", "isApiVersion": false, @@ -4558,7 +5333,7 @@ ], "responses": [ { - "$id": "468", + "$id": "556", "statusCodes": [ 204 ], @@ -4580,12 +5355,12 @@ }, "parameters": [ { - "$id": "469", + "$id": "557", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "102" + "$ref": "229" }, "location": "Body", "isApiVersion": false, @@ -4598,12 +5373,12 @@ "skipUrlEncoding": false }, { - "$id": "470", + "$id": "558", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "465" + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -4617,7 +5392,7 @@ } ], "response": { - "$id": "471" + "$id": "559" }, "isOverride": false, "generateConvenient": true, @@ -4627,12 +5402,12 @@ ], "parameters": [ { - "$id": "472", + "$id": "560", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "473", + "$id": "561", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4646,9 +5421,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "474", + "$id": "562", "type": { - "$id": "475", + "$id": "563", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4661,48 +5436,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadString", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "476", + "$id": "564", "kind": "client", "name": "ExtendsFloat", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "477", + "$id": "565", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "478", + "$id": "566", "name": "get", "resourceName": "ExtendsFloat", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "479", + "$id": "567", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "480", - "kind": "constant", - "name": "getContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "481", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -4717,12 +5479,12 @@ ], "responses": [ { - "$id": "482", + "$id": "568", "statusCodes": [ 200 ], "bodyType": { - "$ref": "108" + "$ref": "235" }, "headers": [], "isErrorResponse": false, @@ -4742,11 +5504,11 @@ }, "parameters": [ { - "$id": "483", + "$id": "569", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "480" + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -4760,9 +5522,9 @@ } ], "response": { - "$id": "484", + "$id": "570", "type": { - "$ref": "108" + "$ref": "235" } }, "isOverride": false, @@ -4771,39 +5533,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsFloat.get" }, { - "$id": "485", + "$id": "571", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "486", + "$id": "572", "name": "put", "resourceName": "ExtendsFloat", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "487", + "$id": "573", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "488", - "kind": "constant", - "name": "putContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "489", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -4816,12 +5565,12 @@ "skipUrlEncoding": false }, { - "$id": "490", + "$id": "574", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "108" + "$ref": "235" }, "location": "Body", "isApiVersion": false, @@ -4836,7 +5585,7 @@ ], "responses": [ { - "$id": "491", + "$id": "575", "statusCodes": [ 204 ], @@ -4858,12 +5607,12 @@ }, "parameters": [ { - "$id": "492", + "$id": "576", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "108" + "$ref": "235" }, "location": "Body", "isApiVersion": false, @@ -4876,12 +5625,12 @@ "skipUrlEncoding": false }, { - "$id": "493", + "$id": "577", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "488" + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -4895,7 +5644,7 @@ } ], "response": { - "$id": "494" + "$id": "578" }, "isOverride": false, "generateConvenient": true, @@ -4905,12 +5654,12 @@ ], "parameters": [ { - "$id": "495", + "$id": "579", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "496", + "$id": "580", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4924,9 +5673,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "497", + "$id": "581", "type": { - "$id": "498", + "$id": "582", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4939,48 +5688,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsFloat", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "499", + "$id": "583", "kind": "client", "name": "IsFloat", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "500", + "$id": "584", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "501", + "$id": "585", "name": "get", "resourceName": "IsFloat", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "502", + "$id": "586", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "503", - "kind": "constant", - "name": "getContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "504", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -4995,12 +5731,12 @@ ], "responses": [ { - "$id": "505", + "$id": "587", "statusCodes": [ 200 ], "bodyType": { - "$ref": "114" + "$ref": "241" }, "headers": [], "isErrorResponse": false, @@ -5020,11 +5756,11 @@ }, "parameters": [ { - "$id": "506", + "$id": "588", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "503" + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -5038,9 +5774,9 @@ } ], "response": { - "$id": "507", + "$id": "589", "type": { - "$ref": "114" + "$ref": "241" } }, "isOverride": false, @@ -5049,39 +5785,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsFloat.get" }, { - "$id": "508", + "$id": "590", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "509", + "$id": "591", "name": "put", "resourceName": "IsFloat", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "510", + "$id": "592", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "511", - "kind": "constant", - "name": "putContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "512", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -5094,12 +5817,12 @@ "skipUrlEncoding": false }, { - "$id": "513", + "$id": "593", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "114" + "$ref": "241" }, "location": "Body", "isApiVersion": false, @@ -5114,7 +5837,7 @@ ], "responses": [ { - "$id": "514", + "$id": "594", "statusCodes": [ 204 ], @@ -5136,12 +5859,12 @@ }, "parameters": [ { - "$id": "515", + "$id": "595", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "114" + "$ref": "241" }, "location": "Body", "isApiVersion": false, @@ -5154,12 +5877,12 @@ "skipUrlEncoding": false }, { - "$id": "516", + "$id": "596", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "511" + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -5173,7 +5896,7 @@ } ], "response": { - "$id": "517" + "$id": "597" }, "isOverride": false, "generateConvenient": true, @@ -5183,12 +5906,12 @@ ], "parameters": [ { - "$id": "518", + "$id": "598", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "519", + "$id": "599", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5202,9 +5925,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "520", + "$id": "600", "type": { - "$id": "521", + "$id": "601", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5217,48 +5940,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsFloat", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "522", + "$id": "602", "kind": "client", "name": "SpreadFloat", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "523", + "$id": "603", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "524", + "$id": "604", "name": "get", "resourceName": "SpreadFloat", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "525", + "$id": "605", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "526", - "kind": "constant", - "name": "getContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "527", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -5273,12 +5983,12 @@ ], "responses": [ { - "$id": "528", + "$id": "606", "statusCodes": [ 200 ], "bodyType": { - "$ref": "120" + "$ref": "247" }, "headers": [], "isErrorResponse": false, @@ -5298,11 +6008,11 @@ }, "parameters": [ { - "$id": "529", + "$id": "607", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "526" + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -5316,9 +6026,9 @@ } ], "response": { - "$id": "530", + "$id": "608", "type": { - "$ref": "120" + "$ref": "247" } }, "isOverride": false, @@ -5327,39 +6037,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadFloat.get" }, { - "$id": "531", + "$id": "609", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "532", + "$id": "610", "name": "put", "resourceName": "SpreadFloat", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "533", + "$id": "611", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "534", - "kind": "constant", - "name": "putContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "535", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -5372,12 +6069,12 @@ "skipUrlEncoding": false }, { - "$id": "536", + "$id": "612", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "120" + "$ref": "247" }, "location": "Body", "isApiVersion": false, @@ -5392,7 +6089,7 @@ ], "responses": [ { - "$id": "537", + "$id": "613", "statusCodes": [ 204 ], @@ -5414,12 +6111,12 @@ }, "parameters": [ { - "$id": "538", + "$id": "614", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "120" + "$ref": "247" }, "location": "Body", "isApiVersion": false, @@ -5432,12 +6129,12 @@ "skipUrlEncoding": false }, { - "$id": "539", + "$id": "615", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "534" + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -5451,7 +6148,7 @@ } ], "response": { - "$id": "540" + "$id": "616" }, "isOverride": false, "generateConvenient": true, @@ -5461,12 +6158,12 @@ ], "parameters": [ { - "$id": "541", + "$id": "617", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "542", + "$id": "618", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5480,9 +6177,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "543", + "$id": "619", "type": { - "$id": "544", + "$id": "620", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5495,48 +6192,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadFloat", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "545", + "$id": "621", "kind": "client", "name": "ExtendsModel", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "546", + "$id": "622", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "547", + "$id": "623", "name": "get", "resourceName": "ExtendsModel", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "548", + "$id": "624", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "549", - "kind": "constant", - "name": "getContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "550", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -5551,12 +6235,12 @@ ], "responses": [ { - "$id": "551", + "$id": "625", "statusCodes": [ 200 ], "bodyType": { - "$ref": "126" + "$ref": "253" }, "headers": [], "isErrorResponse": false, @@ -5576,11 +6260,11 @@ }, "parameters": [ { - "$id": "552", + "$id": "626", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "549" + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -5594,9 +6278,9 @@ } ], "response": { - "$id": "553", + "$id": "627", "type": { - "$ref": "126" + "$ref": "253" } }, "isOverride": false, @@ -5605,39 +6289,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModel.get" }, { - "$id": "554", + "$id": "628", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "555", + "$id": "629", "name": "put", "resourceName": "ExtendsModel", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "556", + "$id": "630", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "557", - "kind": "constant", - "name": "putContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "558", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -5650,12 +6321,12 @@ "skipUrlEncoding": false }, { - "$id": "559", + "$id": "631", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "126" + "$ref": "253" }, "location": "Body", "isApiVersion": false, @@ -5670,7 +6341,7 @@ ], "responses": [ { - "$id": "560", + "$id": "632", "statusCodes": [ 204 ], @@ -5692,12 +6363,12 @@ }, "parameters": [ { - "$id": "561", + "$id": "633", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "126" + "$ref": "253" }, "location": "Body", "isApiVersion": false, @@ -5710,12 +6381,12 @@ "skipUrlEncoding": false }, { - "$id": "562", + "$id": "634", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "557" + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -5729,7 +6400,7 @@ } ], "response": { - "$id": "563" + "$id": "635" }, "isOverride": false, "generateConvenient": true, @@ -5739,12 +6410,12 @@ ], "parameters": [ { - "$id": "564", + "$id": "636", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "565", + "$id": "637", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5758,9 +6429,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "566", + "$id": "638", "type": { - "$id": "567", + "$id": "639", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5773,48 +6444,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModel", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "568", + "$id": "640", "kind": "client", "name": "IsModel", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "569", + "$id": "641", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "570", + "$id": "642", "name": "get", "resourceName": "IsModel", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "571", + "$id": "643", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "572", - "kind": "constant", - "name": "getContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "573", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -5829,12 +6487,12 @@ ], "responses": [ { - "$id": "574", + "$id": "644", "statusCodes": [ 200 ], "bodyType": { - "$ref": "135" + "$ref": "262" }, "headers": [], "isErrorResponse": false, @@ -5854,11 +6512,11 @@ }, "parameters": [ { - "$id": "575", + "$id": "645", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "572" + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -5872,9 +6530,9 @@ } ], "response": { - "$id": "576", + "$id": "646", "type": { - "$ref": "135" + "$ref": "262" } }, "isOverride": false, @@ -5883,39 +6541,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModel.get" }, { - "$id": "577", + "$id": "647", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "578", + "$id": "648", "name": "put", "resourceName": "IsModel", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "579", + "$id": "649", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "580", - "kind": "constant", - "name": "putContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "581", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -5928,12 +6573,12 @@ "skipUrlEncoding": false }, { - "$id": "582", + "$id": "650", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "135" + "$ref": "262" }, "location": "Body", "isApiVersion": false, @@ -5948,7 +6593,7 @@ ], "responses": [ { - "$id": "583", + "$id": "651", "statusCodes": [ 204 ], @@ -5970,12 +6615,12 @@ }, "parameters": [ { - "$id": "584", + "$id": "652", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "135" + "$ref": "262" }, "location": "Body", "isApiVersion": false, @@ -5988,12 +6633,12 @@ "skipUrlEncoding": false }, { - "$id": "585", + "$id": "653", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "580" + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -6007,7 +6652,7 @@ } ], "response": { - "$id": "586" + "$id": "654" }, "isOverride": false, "generateConvenient": true, @@ -6017,12 +6662,12 @@ ], "parameters": [ { - "$id": "587", + "$id": "655", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "588", + "$id": "656", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6036,9 +6681,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "589", + "$id": "657", "type": { - "$id": "590", + "$id": "658", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6051,48 +6696,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModel", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "591", + "$id": "659", "kind": "client", "name": "SpreadModel", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "592", + "$id": "660", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "593", + "$id": "661", "name": "get", "resourceName": "SpreadModel", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "594", + "$id": "662", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "595", - "kind": "constant", - "name": "getContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "596", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -6107,12 +6739,12 @@ ], "responses": [ { - "$id": "597", + "$id": "663", "statusCodes": [ 200 ], "bodyType": { - "$ref": "139" + "$ref": "266" }, "headers": [], "isErrorResponse": false, @@ -6132,11 +6764,11 @@ }, "parameters": [ { - "$id": "598", + "$id": "664", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "595" + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -6150,9 +6782,9 @@ } ], "response": { - "$id": "599", + "$id": "665", "type": { - "$ref": "139" + "$ref": "266" } }, "isOverride": false, @@ -6161,39 +6793,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModel.get" }, { - "$id": "600", + "$id": "666", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "601", + "$id": "667", "name": "put", "resourceName": "SpreadModel", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "602", + "$id": "668", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "603", - "kind": "constant", - "name": "putContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "604", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -6206,12 +6825,12 @@ "skipUrlEncoding": false }, { - "$id": "605", + "$id": "669", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "139" + "$ref": "266" }, "location": "Body", "isApiVersion": false, @@ -6226,7 +6845,7 @@ ], "responses": [ { - "$id": "606", + "$id": "670", "statusCodes": [ 204 ], @@ -6248,12 +6867,12 @@ }, "parameters": [ { - "$id": "607", + "$id": "671", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "139" + "$ref": "266" }, "location": "Body", "isApiVersion": false, @@ -6266,12 +6885,12 @@ "skipUrlEncoding": false }, { - "$id": "608", + "$id": "672", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "603" + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -6285,7 +6904,7 @@ } ], "response": { - "$id": "609" + "$id": "673" }, "isOverride": false, "generateConvenient": true, @@ -6295,12 +6914,12 @@ ], "parameters": [ { - "$id": "610", + "$id": "674", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "611", + "$id": "675", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6314,9 +6933,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "612", + "$id": "676", "type": { - "$id": "613", + "$id": "677", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6329,48 +6948,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModel", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "614", + "$id": "678", "kind": "client", "name": "ExtendsModelArray", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "615", + "$id": "679", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "616", + "$id": "680", "name": "get", "resourceName": "ExtendsModelArray", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "617", + "$id": "681", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "618", - "kind": "constant", - "name": "getContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "619", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -6385,12 +6991,12 @@ ], "responses": [ { - "$id": "620", + "$id": "682", "statusCodes": [ 200 ], "bodyType": { - "$ref": "143" + "$ref": "270" }, "headers": [], "isErrorResponse": false, @@ -6410,11 +7016,11 @@ }, "parameters": [ { - "$id": "621", + "$id": "683", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "618" + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -6428,9 +7034,9 @@ } ], "response": { - "$id": "622", + "$id": "684", "type": { - "$ref": "143" + "$ref": "270" } }, "isOverride": false, @@ -6439,39 +7045,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModelArray.get" }, { - "$id": "623", + "$id": "685", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "624", + "$id": "686", "name": "put", "resourceName": "ExtendsModelArray", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "625", + "$id": "687", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "626", - "kind": "constant", - "name": "putContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "627", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -6484,12 +7077,12 @@ "skipUrlEncoding": false }, { - "$id": "628", + "$id": "688", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "143" + "$ref": "270" }, "location": "Body", "isApiVersion": false, @@ -6504,7 +7097,7 @@ ], "responses": [ { - "$id": "629", + "$id": "689", "statusCodes": [ 204 ], @@ -6526,12 +7119,12 @@ }, "parameters": [ { - "$id": "630", + "$id": "690", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "143" + "$ref": "270" }, "location": "Body", "isApiVersion": false, @@ -6544,12 +7137,12 @@ "skipUrlEncoding": false }, { - "$id": "631", + "$id": "691", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "626" + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -6563,7 +7156,7 @@ } ], "response": { - "$id": "632" + "$id": "692" }, "isOverride": false, "generateConvenient": true, @@ -6573,12 +7166,12 @@ ], "parameters": [ { - "$id": "633", + "$id": "693", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "634", + "$id": "694", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6592,9 +7185,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "635", + "$id": "695", "type": { - "$id": "636", + "$id": "696", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6607,48 +7200,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModelArray", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "637", + "$id": "697", "kind": "client", "name": "IsModelArray", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "638", + "$id": "698", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "639", + "$id": "699", "name": "get", "resourceName": "IsModelArray", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "640", + "$id": "700", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "641", - "kind": "constant", - "name": "getContentType16", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "642", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -6663,12 +7243,12 @@ ], "responses": [ { - "$id": "643", + "$id": "701", "statusCodes": [ 200 ], "bodyType": { - "$ref": "148" + "$ref": "275" }, "headers": [], "isErrorResponse": false, @@ -6688,11 +7268,11 @@ }, "parameters": [ { - "$id": "644", + "$id": "702", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "641" + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -6706,9 +7286,9 @@ } ], "response": { - "$id": "645", + "$id": "703", "type": { - "$ref": "148" + "$ref": "275" } }, "isOverride": false, @@ -6717,39 +7297,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModelArray.get" }, { - "$id": "646", + "$id": "704", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "647", + "$id": "705", "name": "put", "resourceName": "IsModelArray", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "648", + "$id": "706", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "649", - "kind": "constant", - "name": "putContentType16", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "650", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -6762,12 +7329,12 @@ "skipUrlEncoding": false }, { - "$id": "651", + "$id": "707", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "148" + "$ref": "275" }, "location": "Body", "isApiVersion": false, @@ -6782,7 +7349,7 @@ ], "responses": [ { - "$id": "652", + "$id": "708", "statusCodes": [ 204 ], @@ -6804,12 +7371,12 @@ }, "parameters": [ { - "$id": "653", + "$id": "709", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "148" + "$ref": "275" }, "location": "Body", "isApiVersion": false, @@ -6822,12 +7389,12 @@ "skipUrlEncoding": false }, { - "$id": "654", + "$id": "710", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "649" + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -6841,7 +7408,7 @@ } ], "response": { - "$id": "655" + "$id": "711" }, "isOverride": false, "generateConvenient": true, @@ -6851,12 +7418,12 @@ ], "parameters": [ { - "$id": "656", + "$id": "712", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "657", + "$id": "713", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6870,9 +7437,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "658", + "$id": "714", "type": { - "$id": "659", + "$id": "715", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6885,48 +7452,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModelArray", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "660", + "$id": "716", "kind": "client", "name": "SpreadModelArray", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "661", + "$id": "717", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "662", + "$id": "718", "name": "get", "resourceName": "SpreadModelArray", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "663", + "$id": "719", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "664", - "kind": "constant", - "name": "getContentType17", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "665", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -6941,12 +7495,12 @@ ], "responses": [ { - "$id": "666", + "$id": "720", "statusCodes": [ 200 ], "bodyType": { - "$ref": "152" + "$ref": "279" }, "headers": [], "isErrorResponse": false, @@ -6966,11 +7520,11 @@ }, "parameters": [ { - "$id": "667", + "$id": "721", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "664" + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -6984,9 +7538,9 @@ } ], "response": { - "$id": "668", + "$id": "722", "type": { - "$ref": "152" + "$ref": "279" } }, "isOverride": false, @@ -6995,39 +7549,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModelArray.get" }, { - "$id": "669", + "$id": "723", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "670", + "$id": "724", "name": "put", "resourceName": "SpreadModelArray", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "671", + "$id": "725", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "672", - "kind": "constant", - "name": "putContentType17", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "673", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -7040,12 +7581,12 @@ "skipUrlEncoding": false }, { - "$id": "674", + "$id": "726", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "152" + "$ref": "279" }, "location": "Body", "isApiVersion": false, @@ -7060,7 +7601,7 @@ ], "responses": [ { - "$id": "675", + "$id": "727", "statusCodes": [ 204 ], @@ -7082,12 +7623,12 @@ }, "parameters": [ { - "$id": "676", + "$id": "728", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "152" + "$ref": "279" }, "location": "Body", "isApiVersion": false, @@ -7100,12 +7641,12 @@ "skipUrlEncoding": false }, { - "$id": "677", + "$id": "729", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "672" + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -7119,7 +7660,7 @@ } ], "response": { - "$id": "678" + "$id": "730" }, "isOverride": false, "generateConvenient": true, @@ -7129,12 +7670,12 @@ ], "parameters": [ { - "$id": "679", + "$id": "731", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "680", + "$id": "732", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7148,9 +7689,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "681", + "$id": "733", "type": { - "$id": "682", + "$id": "734", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7163,48 +7704,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModelArray", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "683", + "$id": "735", "kind": "client", "name": "SpreadDifferentString", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "684", + "$id": "736", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "685", + "$id": "737", "name": "get", "resourceName": "SpreadDifferentString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "686", + "$id": "738", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "687", - "kind": "constant", - "name": "getContentType18", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "688", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -7219,12 +7747,12 @@ ], "responses": [ { - "$id": "689", + "$id": "739", "statusCodes": [ 200 ], "bodyType": { - "$ref": "156" + "$ref": "283" }, "headers": [], "isErrorResponse": false, @@ -7244,11 +7772,11 @@ }, "parameters": [ { - "$id": "690", + "$id": "740", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "687" + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -7262,9 +7790,9 @@ } ], "response": { - "$id": "691", + "$id": "741", "type": { - "$ref": "156" + "$ref": "283" } }, "isOverride": false, @@ -7273,39 +7801,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentString.get" }, { - "$id": "692", + "$id": "742", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "693", + "$id": "743", "name": "put", "resourceName": "SpreadDifferentString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "694", + "$id": "744", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "695", - "kind": "constant", - "name": "putContentType18", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "696", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -7318,12 +7833,12 @@ "skipUrlEncoding": false }, { - "$id": "697", + "$id": "745", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "156" + "$ref": "283" }, "location": "Body", "isApiVersion": false, @@ -7338,7 +7853,7 @@ ], "responses": [ { - "$id": "698", + "$id": "746", "statusCodes": [ 204 ], @@ -7360,12 +7875,12 @@ }, "parameters": [ { - "$id": "699", + "$id": "747", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "156" + "$ref": "283" }, "location": "Body", "isApiVersion": false, @@ -7378,12 +7893,12 @@ "skipUrlEncoding": false }, { - "$id": "700", + "$id": "748", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "695" + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -7397,7 +7912,7 @@ } ], "response": { - "$id": "701" + "$id": "749" }, "isOverride": false, "generateConvenient": true, @@ -7407,12 +7922,12 @@ ], "parameters": [ { - "$id": "702", + "$id": "750", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "703", + "$id": "751", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7426,9 +7941,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "704", + "$id": "752", "type": { - "$id": "705", + "$id": "753", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7441,48 +7956,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentString", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "706", + "$id": "754", "kind": "client", "name": "SpreadDifferentFloat", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "707", + "$id": "755", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "708", + "$id": "756", "name": "get", "resourceName": "SpreadDifferentFloat", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "709", + "$id": "757", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "710", - "kind": "constant", - "name": "getContentType19", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "711", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -7497,12 +7999,12 @@ ], "responses": [ { - "$id": "712", + "$id": "758", "statusCodes": [ 200 ], "bodyType": { - "$ref": "162" + "$ref": "289" }, "headers": [], "isErrorResponse": false, @@ -7522,11 +8024,11 @@ }, "parameters": [ { - "$id": "713", + "$id": "759", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "710" + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -7540,9 +8042,9 @@ } ], "response": { - "$id": "714", + "$id": "760", "type": { - "$ref": "162" + "$ref": "289" } }, "isOverride": false, @@ -7551,39 +8053,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentFloat.get" }, { - "$id": "715", + "$id": "761", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "716", + "$id": "762", "name": "put", "resourceName": "SpreadDifferentFloat", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "717", + "$id": "763", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "718", - "kind": "constant", - "name": "putContentType19", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "719", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -7596,12 +8085,12 @@ "skipUrlEncoding": false }, { - "$id": "720", + "$id": "764", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "162" + "$ref": "289" }, "location": "Body", "isApiVersion": false, @@ -7616,7 +8105,7 @@ ], "responses": [ { - "$id": "721", + "$id": "765", "statusCodes": [ 204 ], @@ -7638,12 +8127,12 @@ }, "parameters": [ { - "$id": "722", + "$id": "766", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "162" + "$ref": "289" }, "location": "Body", "isApiVersion": false, @@ -7656,12 +8145,12 @@ "skipUrlEncoding": false }, { - "$id": "723", + "$id": "767", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "718" + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -7675,7 +8164,7 @@ } ], "response": { - "$id": "724" + "$id": "768" }, "isOverride": false, "generateConvenient": true, @@ -7685,12 +8174,12 @@ ], "parameters": [ { - "$id": "725", + "$id": "769", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "726", + "$id": "770", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7704,9 +8193,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "727", + "$id": "771", "type": { - "$id": "728", + "$id": "772", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7719,48 +8208,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentFloat", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "729", + "$id": "773", "kind": "client", "name": "SpreadDifferentModel", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "730", + "$id": "774", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "731", + "$id": "775", "name": "get", "resourceName": "SpreadDifferentModel", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "732", + "$id": "776", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "733", - "kind": "constant", - "name": "getContentType20", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "734", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -7775,12 +8251,12 @@ ], "responses": [ { - "$id": "735", + "$id": "777", "statusCodes": [ 200 ], "bodyType": { - "$ref": "168" + "$ref": "295" }, "headers": [], "isErrorResponse": false, @@ -7800,11 +8276,11 @@ }, "parameters": [ { - "$id": "736", + "$id": "778", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "733" + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -7818,9 +8294,9 @@ } ], "response": { - "$id": "737", + "$id": "779", "type": { - "$ref": "168" + "$ref": "295" } }, "isOverride": false, @@ -7829,39 +8305,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModel.get" }, { - "$id": "738", + "$id": "780", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "739", + "$id": "781", "name": "put", "resourceName": "SpreadDifferentModel", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "740", + "$id": "782", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "741", - "kind": "constant", - "name": "putContentType20", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "742", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -7874,12 +8337,12 @@ "skipUrlEncoding": false }, { - "$id": "743", + "$id": "783", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "168" + "$ref": "295" }, "location": "Body", "isApiVersion": false, @@ -7894,7 +8357,7 @@ ], "responses": [ { - "$id": "744", + "$id": "784", "statusCodes": [ 204 ], @@ -7916,12 +8379,12 @@ }, "parameters": [ { - "$id": "745", + "$id": "785", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "168" + "$ref": "295" }, "location": "Body", "isApiVersion": false, @@ -7934,12 +8397,12 @@ "skipUrlEncoding": false }, { - "$id": "746", + "$id": "786", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "741" + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -7953,7 +8416,7 @@ } ], "response": { - "$id": "747" + "$id": "787" }, "isOverride": false, "generateConvenient": true, @@ -7963,12 +8426,12 @@ ], "parameters": [ { - "$id": "748", + "$id": "788", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "749", + "$id": "789", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7982,9 +8445,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "750", + "$id": "790", "type": { - "$id": "751", + "$id": "791", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7997,48 +8460,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModel", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "752", + "$id": "792", "kind": "client", "name": "SpreadDifferentModelArray", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "753", + "$id": "793", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "754", + "$id": "794", "name": "get", "resourceName": "SpreadDifferentModelArray", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "755", + "$id": "795", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "756", - "kind": "constant", - "name": "getContentType21", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "757", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -8053,12 +8503,12 @@ ], "responses": [ { - "$id": "758", + "$id": "796", "statusCodes": [ 200 ], "bodyType": { - "$ref": "173" + "$ref": "300" }, "headers": [], "isErrorResponse": false, @@ -8078,11 +8528,11 @@ }, "parameters": [ { - "$id": "759", + "$id": "797", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "756" + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -8096,9 +8546,9 @@ } ], "response": { - "$id": "760", + "$id": "798", "type": { - "$ref": "173" + "$ref": "300" } }, "isOverride": false, @@ -8107,39 +8557,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.get" }, { - "$id": "761", + "$id": "799", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "762", + "$id": "800", "name": "put", "resourceName": "SpreadDifferentModelArray", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "763", + "$id": "801", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "764", - "kind": "constant", - "name": "putContentType21", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "765", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -8152,12 +8589,12 @@ "skipUrlEncoding": false }, { - "$id": "766", + "$id": "802", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "173" + "$ref": "300" }, "location": "Body", "isApiVersion": false, @@ -8172,7 +8609,7 @@ ], "responses": [ { - "$id": "767", + "$id": "803", "statusCodes": [ 204 ], @@ -8194,12 +8631,12 @@ }, "parameters": [ { - "$id": "768", + "$id": "804", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "173" + "$ref": "300" }, "location": "Body", "isApiVersion": false, @@ -8212,12 +8649,12 @@ "skipUrlEncoding": false }, { - "$id": "769", + "$id": "805", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "764" + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -8231,7 +8668,7 @@ } ], "response": { - "$id": "770" + "$id": "806" }, "isOverride": false, "generateConvenient": true, @@ -8241,12 +8678,12 @@ ], "parameters": [ { - "$id": "771", + "$id": "807", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "772", + "$id": "808", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8260,9 +8697,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "773", + "$id": "809", "type": { - "$id": "774", + "$id": "810", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8275,48 +8712,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModelArray", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "775", + "$id": "811", "kind": "client", "name": "ExtendsDifferentSpreadString", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "776", + "$id": "812", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "777", + "$id": "813", "name": "get", "resourceName": "ExtendsDifferentSpreadString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "778", + "$id": "814", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "779", - "kind": "constant", - "name": "getContentType22", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "780", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -8331,12 +8755,12 @@ ], "responses": [ { - "$id": "781", + "$id": "815", "statusCodes": [ 200 ], "bodyType": { - "$ref": "178" + "$ref": "305" }, "headers": [], "isErrorResponse": false, @@ -8356,11 +8780,11 @@ }, "parameters": [ { - "$id": "782", + "$id": "816", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "779" + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -8374,9 +8798,9 @@ } ], "response": { - "$id": "783", + "$id": "817", "type": { - "$ref": "178" + "$ref": "305" } }, "isOverride": false, @@ -8385,39 +8809,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.get" }, { - "$id": "784", + "$id": "818", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "785", + "$id": "819", "name": "put", "resourceName": "ExtendsDifferentSpreadString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "786", + "$id": "820", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "787", - "kind": "constant", - "name": "putContentType22", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "788", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -8430,12 +8841,12 @@ "skipUrlEncoding": false }, { - "$id": "789", + "$id": "821", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "178" + "$ref": "305" }, "location": "Body", "isApiVersion": false, @@ -8450,7 +8861,7 @@ ], "responses": [ { - "$id": "790", + "$id": "822", "statusCodes": [ 204 ], @@ -8472,12 +8883,12 @@ }, "parameters": [ { - "$id": "791", + "$id": "823", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "178" + "$ref": "305" }, "location": "Body", "isApiVersion": false, @@ -8490,12 +8901,12 @@ "skipUrlEncoding": false }, { - "$id": "792", + "$id": "824", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "787" + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -8509,7 +8920,7 @@ } ], "response": { - "$id": "793" + "$id": "825" }, "isOverride": false, "generateConvenient": true, @@ -8519,12 +8930,12 @@ ], "parameters": [ { - "$id": "794", + "$id": "826", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "795", + "$id": "827", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8538,9 +8949,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "796", + "$id": "828", "type": { - "$id": "797", + "$id": "829", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8553,48 +8964,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "798", + "$id": "830", "kind": "client", "name": "ExtendsDifferentSpreadFloat", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "799", + "$id": "831", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "800", + "$id": "832", "name": "get", "resourceName": "ExtendsDifferentSpreadFloat", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "801", + "$id": "833", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "802", - "kind": "constant", - "name": "getContentType23", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "803", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -8609,12 +9007,12 @@ ], "responses": [ { - "$id": "804", + "$id": "834", "statusCodes": [ 200 ], "bodyType": { - "$ref": "183" + "$ref": "310" }, "headers": [], "isErrorResponse": false, @@ -8634,11 +9032,11 @@ }, "parameters": [ { - "$id": "805", + "$id": "835", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "802" + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -8652,9 +9050,9 @@ } ], "response": { - "$id": "806", + "$id": "836", "type": { - "$ref": "183" + "$ref": "310" } }, "isOverride": false, @@ -8663,39 +9061,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.get" }, { - "$id": "807", + "$id": "837", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "808", + "$id": "838", "name": "put", "resourceName": "ExtendsDifferentSpreadFloat", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "809", + "$id": "839", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "810", - "kind": "constant", - "name": "putContentType23", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "811", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -8708,12 +9093,12 @@ "skipUrlEncoding": false }, { - "$id": "812", + "$id": "840", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "183" + "$ref": "310" }, "location": "Body", "isApiVersion": false, @@ -8728,7 +9113,7 @@ ], "responses": [ { - "$id": "813", + "$id": "841", "statusCodes": [ 204 ], @@ -8750,12 +9135,12 @@ }, "parameters": [ { - "$id": "814", + "$id": "842", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "183" + "$ref": "310" }, "location": "Body", "isApiVersion": false, @@ -8768,12 +9153,12 @@ "skipUrlEncoding": false }, { - "$id": "815", + "$id": "843", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "810" + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -8787,7 +9172,7 @@ } ], "response": { - "$id": "816" + "$id": "844" }, "isOverride": false, "generateConvenient": true, @@ -8797,12 +9182,12 @@ ], "parameters": [ { - "$id": "817", + "$id": "845", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "818", + "$id": "846", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8816,9 +9201,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "819", + "$id": "847", "type": { - "$id": "820", + "$id": "848", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8831,48 +9216,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "821", + "$id": "849", "kind": "client", "name": "ExtendsDifferentSpreadModel", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "822", + "$id": "850", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "823", + "$id": "851", "name": "get", "resourceName": "ExtendsDifferentSpreadModel", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "824", + "$id": "852", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "825", - "kind": "constant", - "name": "getContentType24", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "826", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -8887,12 +9259,12 @@ ], "responses": [ { - "$id": "827", + "$id": "853", "statusCodes": [ 200 ], "bodyType": { - "$ref": "188" + "$ref": "315" }, "headers": [], "isErrorResponse": false, @@ -8912,11 +9284,11 @@ }, "parameters": [ { - "$id": "828", + "$id": "854", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "825" + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -8930,9 +9302,9 @@ } ], "response": { - "$id": "829", + "$id": "855", "type": { - "$ref": "188" + "$ref": "315" } }, "isOverride": false, @@ -8941,39 +9313,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.get" }, { - "$id": "830", + "$id": "856", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "831", + "$id": "857", "name": "put", "resourceName": "ExtendsDifferentSpreadModel", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "832", + "$id": "858", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "833", - "kind": "constant", - "name": "putContentType24", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "834", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -8986,12 +9345,12 @@ "skipUrlEncoding": false }, { - "$id": "835", + "$id": "859", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "188" + "$ref": "315" }, "location": "Body", "isApiVersion": false, @@ -9006,7 +9365,7 @@ ], "responses": [ { - "$id": "836", + "$id": "860", "statusCodes": [ 204 ], @@ -9028,12 +9387,12 @@ }, "parameters": [ { - "$id": "837", + "$id": "861", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "188" + "$ref": "315" }, "location": "Body", "isApiVersion": false, @@ -9046,12 +9405,12 @@ "skipUrlEncoding": false }, { - "$id": "838", + "$id": "862", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "833" + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -9065,7 +9424,7 @@ } ], "response": { - "$id": "839" + "$id": "863" }, "isOverride": false, "generateConvenient": true, @@ -9075,12 +9434,12 @@ ], "parameters": [ { - "$id": "840", + "$id": "864", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "841", + "$id": "865", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9094,9 +9453,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "842", + "$id": "866", "type": { - "$id": "843", + "$id": "867", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9109,48 +9468,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "844", + "$id": "868", "kind": "client", "name": "ExtendsDifferentSpreadModelArray", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "845", + "$id": "869", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "846", + "$id": "870", "name": "get", "resourceName": "ExtendsDifferentSpreadModelArray", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "847", + "$id": "871", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "848", - "kind": "constant", - "name": "getContentType25", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "849", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -9165,12 +9511,12 @@ ], "responses": [ { - "$id": "850", + "$id": "872", "statusCodes": [ 200 ], "bodyType": { - "$ref": "192" + "$ref": "319" }, "headers": [], "isErrorResponse": false, @@ -9190,11 +9536,11 @@ }, "parameters": [ { - "$id": "851", + "$id": "873", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "848" + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -9208,9 +9554,9 @@ } ], "response": { - "$id": "852", + "$id": "874", "type": { - "$ref": "192" + "$ref": "319" } }, "isOverride": false, @@ -9219,39 +9565,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.get" }, { - "$id": "853", + "$id": "875", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "854", + "$id": "876", "name": "put", "resourceName": "ExtendsDifferentSpreadModelArray", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "855", + "$id": "877", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "856", - "kind": "constant", - "name": "putContentType25", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "857", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -9264,12 +9597,12 @@ "skipUrlEncoding": false }, { - "$id": "858", + "$id": "878", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "192" + "$ref": "319" }, "location": "Body", "isApiVersion": false, @@ -9284,7 +9617,7 @@ ], "responses": [ { - "$id": "859", + "$id": "879", "statusCodes": [ 204 ], @@ -9306,12 +9639,12 @@ }, "parameters": [ { - "$id": "860", + "$id": "880", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "192" + "$ref": "319" }, "location": "Body", "isApiVersion": false, @@ -9324,12 +9657,12 @@ "skipUrlEncoding": false }, { - "$id": "861", + "$id": "881", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "856" + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -9343,7 +9676,7 @@ } ], "response": { - "$id": "862" + "$id": "882" }, "isOverride": false, "generateConvenient": true, @@ -9353,12 +9686,12 @@ ], "parameters": [ { - "$id": "863", + "$id": "883", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "864", + "$id": "884", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9372,9 +9705,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "865", + "$id": "885", "type": { - "$id": "866", + "$id": "886", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9387,48 +9720,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "867", + "$id": "887", "kind": "client", "name": "MultipleSpread", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "868", + "$id": "888", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "869", + "$id": "889", "name": "get", "resourceName": "MultipleSpread", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "870", + "$id": "890", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "871", - "kind": "constant", - "name": "getContentType26", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "872", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -9443,12 +9763,12 @@ ], "responses": [ { - "$id": "873", + "$id": "891", "statusCodes": [ 200 ], "bodyType": { - "$ref": "196" + "$ref": "323" }, "headers": [], "isErrorResponse": false, @@ -9468,11 +9788,11 @@ }, "parameters": [ { - "$id": "874", + "$id": "892", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "871" + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -9486,9 +9806,9 @@ } ], "response": { - "$id": "875", + "$id": "893", "type": { - "$ref": "196" + "$ref": "323" } }, "isOverride": false, @@ -9497,39 +9817,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.MultipleSpread.get" }, { - "$id": "876", + "$id": "894", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "877", + "$id": "895", "name": "put", "resourceName": "MultipleSpread", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "878", + "$id": "896", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "879", - "kind": "constant", - "name": "putContentType26", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "880", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -9542,12 +9849,12 @@ "skipUrlEncoding": false }, { - "$id": "881", + "$id": "897", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "196" + "$ref": "323" }, "location": "Body", "isApiVersion": false, @@ -9562,7 +9869,7 @@ ], "responses": [ { - "$id": "882", + "$id": "898", "statusCodes": [ 204 ], @@ -9584,12 +9891,12 @@ }, "parameters": [ { - "$id": "883", + "$id": "899", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "196" + "$ref": "323" }, "location": "Body", "isApiVersion": false, @@ -9602,12 +9909,12 @@ "skipUrlEncoding": false }, { - "$id": "884", + "$id": "900", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "879" + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -9621,7 +9928,7 @@ } ], "response": { - "$id": "885" + "$id": "901" }, "isOverride": false, "generateConvenient": true, @@ -9631,12 +9938,12 @@ ], "parameters": [ { - "$id": "886", + "$id": "902", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "887", + "$id": "903", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9650,9 +9957,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "888", + "$id": "904", "type": { - "$id": "889", + "$id": "905", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9665,48 +9972,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.MultipleSpread", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "890", + "$id": "906", "kind": "client", "name": "SpreadRecordUnion", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "891", + "$id": "907", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "892", + "$id": "908", "name": "get", "resourceName": "SpreadRecordUnion", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "893", + "$id": "909", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "894", - "kind": "constant", - "name": "getContentType27", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "895", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -9721,12 +10015,12 @@ ], "responses": [ { - "$id": "896", + "$id": "910", "statusCodes": [ 200 ], "bodyType": { - "$ref": "204" + "$ref": "331" }, "headers": [], "isErrorResponse": false, @@ -9746,11 +10040,11 @@ }, "parameters": [ { - "$id": "897", + "$id": "911", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "894" + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -9764,9 +10058,9 @@ } ], "response": { - "$id": "898", + "$id": "912", "type": { - "$ref": "204" + "$ref": "331" } }, "isOverride": false, @@ -9775,39 +10069,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordUnion.get" }, { - "$id": "899", + "$id": "913", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "900", + "$id": "914", "name": "put", "resourceName": "SpreadRecordUnion", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "901", + "$id": "915", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "902", - "kind": "constant", - "name": "putContentType27", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "903", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -9820,12 +10101,12 @@ "skipUrlEncoding": false }, { - "$id": "904", + "$id": "916", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "204" + "$ref": "331" }, "location": "Body", "isApiVersion": false, @@ -9840,7 +10121,7 @@ ], "responses": [ { - "$id": "905", + "$id": "917", "statusCodes": [ 204 ], @@ -9862,12 +10143,12 @@ }, "parameters": [ { - "$id": "906", + "$id": "918", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "204" + "$ref": "331" }, "location": "Body", "isApiVersion": false, @@ -9880,12 +10161,12 @@ "skipUrlEncoding": false }, { - "$id": "907", + "$id": "919", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "902" + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -9899,7 +10180,7 @@ } ], "response": { - "$id": "908" + "$id": "920" }, "isOverride": false, "generateConvenient": true, @@ -9909,12 +10190,12 @@ ], "parameters": [ { - "$id": "909", + "$id": "921", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "910", + "$id": "922", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9928,9 +10209,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "911", + "$id": "923", "type": { - "$id": "912", + "$id": "924", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9943,48 +10224,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordUnion", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "913", + "$id": "925", "kind": "client", "name": "SpreadRecordNonDiscriminatedUnion", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "914", + "$id": "926", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "915", + "$id": "927", "name": "get", "resourceName": "SpreadRecordNonDiscriminatedUnion", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "916", + "$id": "928", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "917", - "kind": "constant", - "name": "getContentType28", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "918", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -9999,12 +10267,12 @@ ], "responses": [ { - "$id": "919", + "$id": "929", "statusCodes": [ 200 ], "bodyType": { - "$ref": "212" + "$ref": "339" }, "headers": [], "isErrorResponse": false, @@ -10024,11 +10292,11 @@ }, "parameters": [ { - "$id": "920", + "$id": "930", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "917" + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -10042,9 +10310,9 @@ } ], "response": { - "$id": "921", + "$id": "931", "type": { - "$ref": "212" + "$ref": "339" } }, "isOverride": false, @@ -10053,39 +10321,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.get" }, { - "$id": "922", + "$id": "932", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "923", + "$id": "933", "name": "put", "resourceName": "SpreadRecordNonDiscriminatedUnion", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "924", + "$id": "934", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "925", - "kind": "constant", - "name": "putContentType28", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "926", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -10098,12 +10353,12 @@ "skipUrlEncoding": false }, { - "$id": "927", + "$id": "935", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "212" + "$ref": "339" }, "location": "Body", "isApiVersion": false, @@ -10118,7 +10373,7 @@ ], "responses": [ { - "$id": "928", + "$id": "936", "statusCodes": [ 204 ], @@ -10140,12 +10395,12 @@ }, "parameters": [ { - "$id": "929", + "$id": "937", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "212" + "$ref": "339" }, "location": "Body", "isApiVersion": false, @@ -10158,12 +10413,12 @@ "skipUrlEncoding": false }, { - "$id": "930", + "$id": "938", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "925" + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -10177,7 +10432,7 @@ } ], "response": { - "$id": "931" + "$id": "939" }, "isOverride": false, "generateConvenient": true, @@ -10187,12 +10442,12 @@ ], "parameters": [ { - "$id": "932", + "$id": "940", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "933", + "$id": "941", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -10206,9 +10461,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "934", + "$id": "942", "type": { - "$id": "935", + "$id": "943", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -10221,48 +10476,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "936", + "$id": "944", "kind": "client", "name": "SpreadRecordNonDiscriminatedUnion2", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "937", + "$id": "945", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "938", + "$id": "946", "name": "get", "resourceName": "SpreadRecordNonDiscriminatedUnion2", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "939", + "$id": "947", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "940", - "kind": "constant", - "name": "getContentType29", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "941", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -10277,12 +10519,12 @@ ], "responses": [ { - "$id": "942", + "$id": "948", "statusCodes": [ 200 ], "bodyType": { - "$ref": "242" + "$ref": "367" }, "headers": [], "isErrorResponse": false, @@ -10302,11 +10544,11 @@ }, "parameters": [ { - "$id": "943", + "$id": "949", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "940" + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -10320,9 +10562,9 @@ } ], "response": { - "$id": "944", + "$id": "950", "type": { - "$ref": "242" + "$ref": "367" } }, "isOverride": false, @@ -10331,39 +10573,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.get" }, { - "$id": "945", + "$id": "951", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "946", + "$id": "952", "name": "put", "resourceName": "SpreadRecordNonDiscriminatedUnion2", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "947", + "$id": "953", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "948", - "kind": "constant", - "name": "putContentType29", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "949", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -10376,12 +10605,12 @@ "skipUrlEncoding": false }, { - "$id": "950", + "$id": "954", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "242" + "$ref": "367" }, "location": "Body", "isApiVersion": false, @@ -10396,7 +10625,7 @@ ], "responses": [ { - "$id": "951", + "$id": "955", "statusCodes": [ 204 ], @@ -10418,12 +10647,12 @@ }, "parameters": [ { - "$id": "952", + "$id": "956", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "242" + "$ref": "367" }, "location": "Body", "isApiVersion": false, @@ -10436,12 +10665,12 @@ "skipUrlEncoding": false }, { - "$id": "953", + "$id": "957", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "948" + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -10455,7 +10684,7 @@ } ], "response": { - "$id": "954" + "$id": "958" }, "isOverride": false, "generateConvenient": true, @@ -10465,12 +10694,12 @@ ], "parameters": [ { - "$id": "955", + "$id": "959", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "956", + "$id": "960", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -10484,9 +10713,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "957", + "$id": "961", "type": { - "$id": "958", + "$id": "962", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -10499,48 +10728,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "959", + "$id": "963", "kind": "client", "name": "SpreadRecordNonDiscriminatedUnion3", "namespace": "_Type.Property.AdditionalProperties", "methods": [ { - "$id": "960", + "$id": "964", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "961", + "$id": "965", "name": "get", "resourceName": "SpreadRecordNonDiscriminatedUnion3", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "962", + "$id": "966", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "963", - "kind": "constant", - "name": "getContentType30", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "964", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -10555,12 +10771,12 @@ ], "responses": [ { - "$id": "965", + "$id": "967", "statusCodes": [ 200 ], "bodyType": { - "$ref": "257" + "$ref": "381" }, "headers": [], "isErrorResponse": false, @@ -10580,11 +10796,11 @@ }, "parameters": [ { - "$id": "966", + "$id": "968", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "963" + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -10598,9 +10814,9 @@ } ], "response": { - "$id": "967", + "$id": "969", "type": { - "$ref": "257" + "$ref": "381" } }, "isOverride": false, @@ -10609,39 +10825,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.get" }, { - "$id": "968", + "$id": "970", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "969", + "$id": "971", "name": "put", "resourceName": "SpreadRecordNonDiscriminatedUnion3", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "970", + "$id": "972", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "971", - "kind": "constant", - "name": "putContentType30", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "972", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -10659,7 +10862,7 @@ "nameInRequest": "body", "doc": "body", "type": { - "$ref": "257" + "$ref": "381" }, "location": "Body", "isApiVersion": false, @@ -10701,7 +10904,7 @@ "nameInRequest": "body", "doc": "body", "type": { - "$ref": "257" + "$ref": "381" }, "location": "Body", "isApiVersion": false, @@ -10719,7 +10922,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "971" + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -10777,7 +10980,7 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } } ] diff --git a/test/CadlRanchProjects/type/property/nullable/tspCodeModel.json b/test/CadlRanchProjects/type/property/nullable/tspCodeModel.json index b134b9df9cc..0c8a4d27594 100644 --- a/test/CadlRanchProjects/type/property/nullable/tspCodeModel.json +++ b/test/CadlRanchProjects/type/property/nullable/tspCodeModel.json @@ -3,9 +3,683 @@ "name": "Type.Property.Nullable", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "getNonNullContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "getNullContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "PatchNonNullRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "PatchNonNullRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "PatchNonNullRequestContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "PatchNonNullRequestContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "getNonNullContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "getNullContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "PatchNonNullRequestContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "PatchNonNullRequestContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "PatchNonNullRequestContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "PatchNonNullRequestContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "getNonNullContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "getNullContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "PatchNonNullRequestContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "PatchNonNullRequestContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "PatchNonNullRequestContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "PatchNonNullRequestContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "getNonNullContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "getNullContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "PatchNonNullRequestContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "PatchNonNullRequestContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "PatchNonNullRequestContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "PatchNonNullRequestContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "getNonNullContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "getNullContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "PatchNonNullRequestContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "PatchNonNullRequestContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "PatchNonNullRequestContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "PatchNonNullRequestContentType19", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "getNonNullContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "getNullContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "PatchNonNullRequestContentType20", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "PatchNonNullRequestContentType21", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "70", + "kind": "constant", + "name": "PatchNonNullRequestContentType22", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "72", + "kind": "constant", + "name": "PatchNonNullRequestContentType23", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "74", + "kind": "constant", + "name": "getNonNullContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "76", + "kind": "constant", + "name": "getNullContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "78", + "kind": "constant", + "name": "PatchNonNullRequestContentType24", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "80", + "kind": "constant", + "name": "PatchNonNullRequestContentType25", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "82", + "kind": "constant", + "name": "PatchNonNullRequestContentType26", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "84", + "kind": "constant", + "name": "PatchNonNullRequestContentType27", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + } + ], + "models": [ + { + "$id": "86", "kind": "model", "name": "StringProperty", "namespace": "_Type.Property.Nullable", @@ -15,13 +689,13 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "87", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "Required property", "type": { - "$id": "4", + "$id": "88", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34,24 +708,24 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.StringProperty.requiredProperty", "serializationOptions": { - "$id": "5", + "$id": "89", "json": { - "$id": "6", + "$id": "90", "name": "requiredProperty" } } }, { - "$id": "7", + "$id": "91", "kind": "property", "name": "nullableProperty", "serializedName": "nullableProperty", "doc": "Property", "type": { - "$id": "8", + "$id": "92", "kind": "nullable", "type": { - "$id": "9", + "$id": "93", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66,9 +740,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.StringProperty.nullableProperty", "serializationOptions": { - "$id": "10", + "$id": "94", "json": { - "$id": "11", + "$id": "95", "name": "nullableProperty" } } @@ -76,7 +750,7 @@ ] }, { - "$id": "12", + "$id": "96", "kind": "model", "name": "BytesProperty", "namespace": "_Type.Property.Nullable", @@ -86,13 +760,13 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "97", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "Required property", "type": { - "$id": "14", + "$id": "98", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105,24 +779,24 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.BytesProperty.requiredProperty", "serializationOptions": { - "$id": "15", + "$id": "99", "json": { - "$id": "16", + "$id": "100", "name": "requiredProperty" } } }, { - "$id": "17", + "$id": "101", "kind": "property", "name": "nullableProperty", "serializedName": "nullableProperty", "doc": "Property", "type": { - "$id": "18", + "$id": "102", "kind": "nullable", "type": { - "$id": "19", + "$id": "103", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -138,9 +812,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.BytesProperty.nullableProperty", "serializationOptions": { - "$id": "20", + "$id": "104", "json": { - "$id": "21", + "$id": "105", "name": "nullableProperty" } } @@ -148,7 +822,7 @@ ] }, { - "$id": "22", + "$id": "106", "kind": "model", "name": "DatetimeProperty", "namespace": "_Type.Property.Nullable", @@ -158,13 +832,13 @@ "decorators": [], "properties": [ { - "$id": "23", + "$id": "107", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "Required property", "type": { - "$id": "24", + "$id": "108", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -177,29 +851,29 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.DatetimeProperty.requiredProperty", "serializationOptions": { - "$id": "25", + "$id": "109", "json": { - "$id": "26", + "$id": "110", "name": "requiredProperty" } } }, { - "$id": "27", + "$id": "111", "kind": "property", "name": "nullableProperty", "serializedName": "nullableProperty", "doc": "Property", "type": { - "$id": "28", + "$id": "112", "kind": "nullable", "type": { - "$id": "29", + "$id": "113", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "30", + "$id": "114", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -217,9 +891,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.DatetimeProperty.nullableProperty", "serializationOptions": { - "$id": "31", + "$id": "115", "json": { - "$id": "32", + "$id": "116", "name": "nullableProperty" } } @@ -227,7 +901,7 @@ ] }, { - "$id": "33", + "$id": "117", "kind": "model", "name": "DurationProperty", "namespace": "_Type.Property.Nullable", @@ -237,13 +911,13 @@ "decorators": [], "properties": [ { - "$id": "34", + "$id": "118", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "Required property", "type": { - "$id": "35", + "$id": "119", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -256,29 +930,29 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.DurationProperty.requiredProperty", "serializationOptions": { - "$id": "36", + "$id": "120", "json": { - "$id": "37", + "$id": "121", "name": "requiredProperty" } } }, { - "$id": "38", + "$id": "122", "kind": "property", "name": "nullableProperty", "serializedName": "nullableProperty", "doc": "Property", "type": { - "$id": "39", + "$id": "123", "kind": "nullable", "type": { - "$id": "40", + "$id": "124", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "41", + "$id": "125", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -296,9 +970,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.DurationProperty.nullableProperty", "serializationOptions": { - "$id": "42", + "$id": "126", "json": { - "$id": "43", + "$id": "127", "name": "nullableProperty" } } @@ -306,7 +980,7 @@ ] }, { - "$id": "44", + "$id": "128", "kind": "model", "name": "CollectionsByteProperty", "namespace": "_Type.Property.Nullable", @@ -316,13 +990,13 @@ "decorators": [], "properties": [ { - "$id": "45", + "$id": "129", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "Required property", "type": { - "$id": "46", + "$id": "130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -335,28 +1009,28 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByteProperty.requiredProperty", "serializationOptions": { - "$id": "47", + "$id": "131", "json": { - "$id": "48", + "$id": "132", "name": "requiredProperty" } } }, { - "$id": "49", + "$id": "133", "kind": "property", "name": "nullableProperty", "serializedName": "nullableProperty", "doc": "Property", "type": { - "$id": "50", + "$id": "134", "kind": "nullable", "type": { - "$id": "51", + "$id": "135", "kind": "array", "name": "Array", "valueType": { - "$id": "52", + "$id": "136", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -375,9 +1049,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByteProperty.nullableProperty", "serializationOptions": { - "$id": "53", + "$id": "137", "json": { - "$id": "54", + "$id": "138", "name": "nullableProperty" } } @@ -385,7 +1059,7 @@ ] }, { - "$id": "55", + "$id": "139", "kind": "model", "name": "CollectionsModelProperty", "namespace": "_Type.Property.Nullable", @@ -395,13 +1069,13 @@ "decorators": [], "properties": [ { - "$id": "56", + "$id": "140", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "Required property", "type": { - "$id": "57", + "$id": "141", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -414,28 +1088,28 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModelProperty.requiredProperty", "serializationOptions": { - "$id": "58", + "$id": "142", "json": { - "$id": "59", + "$id": "143", "name": "requiredProperty" } } }, { - "$id": "60", + "$id": "144", "kind": "property", "name": "nullableProperty", "serializedName": "nullableProperty", "doc": "Property", "type": { - "$id": "61", + "$id": "145", "kind": "nullable", "type": { - "$id": "62", + "$id": "146", "kind": "array", "name": "ArrayInnerModel", "valueType": { - "$id": "63", + "$id": "147", "kind": "model", "name": "InnerModel", "namespace": "_Type.Property.Nullable", @@ -445,13 +1119,13 @@ "decorators": [], "properties": [ { - "$id": "64", + "$id": "148", "kind": "property", "name": "property", "serializedName": "property", "doc": "Inner model property", "type": { - "$id": "65", + "$id": "149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -464,9 +1138,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.InnerModel.property", "serializationOptions": { - "$id": "66", + "$id": "150", "json": { - "$id": "67", + "$id": "151", "name": "property" } } @@ -485,9 +1159,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModelProperty.nullableProperty", "serializationOptions": { - "$id": "68", + "$id": "152", "json": { - "$id": "69", + "$id": "153", "name": "nullableProperty" } } @@ -495,10 +1169,10 @@ ] }, { - "$ref": "63" + "$ref": "147" }, { - "$id": "70", + "$id": "154", "kind": "model", "name": "CollectionsStringProperty", "namespace": "_Type.Property.Nullable", @@ -508,13 +1182,13 @@ "decorators": [], "properties": [ { - "$id": "71", + "$id": "155", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "Required property", "type": { - "$id": "72", + "$id": "156", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -527,28 +1201,28 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsStringProperty.requiredProperty", "serializationOptions": { - "$id": "73", + "$id": "157", "json": { - "$id": "74", + "$id": "158", "name": "requiredProperty" } } }, { - "$id": "75", + "$id": "159", "kind": "property", "name": "nullableProperty", "serializedName": "nullableProperty", "doc": "Property", "type": { - "$id": "76", + "$id": "160", "kind": "nullable", "type": { - "$id": "77", + "$id": "161", "kind": "array", "name": "Array1", "valueType": { - "$id": "78", + "$id": "162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -566,9 +1240,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsStringProperty.nullableProperty", "serializationOptions": { - "$id": "79", + "$id": "163", "json": { - "$id": "80", + "$id": "164", "name": "nullableProperty" } } @@ -578,7 +1252,7 @@ ], "clients": [ { - "$id": "81", + "$id": "165", "kind": "client", "name": "NullableClient", "namespace": "_Type.Property.Nullable", @@ -586,12 +1260,12 @@ "methods": [], "parameters": [ { - "$id": "82", + "$id": "166", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "83", + "$id": "167", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -605,9 +1279,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "84", + "$id": "168", "type": { - "$id": "85", + "$id": "169", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -621,44 +1295,31 @@ "apiVersions": [], "children": [ { - "$id": "86", + "$id": "170", "kind": "client", "name": "String", "namespace": "_Type.Property.Nullable", "methods": [ { - "$id": "87", + "$id": "171", "kind": "basic", "name": "getNonNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "88", + "$id": "172", "name": "getNonNull", "resourceName": "String", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "89", + "$id": "173", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "90", - "kind": "constant", - "name": "getNonNullContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "91", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -673,12 +1334,12 @@ ], "responses": [ { - "$id": "92", + "$id": "174", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "86" }, "headers": [], "isErrorResponse": false, @@ -698,11 +1359,11 @@ }, "parameters": [ { - "$id": "93", + "$id": "175", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "90" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -716,9 +1377,9 @@ } ], "response": { - "$id": "94", + "$id": "176", "type": { - "$ref": "2" + "$ref": "86" } }, "isOverride": false, @@ -727,38 +1388,25 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.String.getNonNull" }, { - "$id": "95", + "$id": "177", "kind": "basic", "name": "getNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "96", + "$id": "178", "name": "getNull", "resourceName": "String", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "97", + "$id": "179", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "98", - "kind": "constant", - "name": "getNullContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "99", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -773,12 +1421,12 @@ ], "responses": [ { - "$id": "100", + "$id": "180", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "86" }, "headers": [], "isErrorResponse": false, @@ -798,11 +1446,11 @@ }, "parameters": [ { - "$id": "101", + "$id": "181", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "98" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -816,9 +1464,9 @@ } ], "response": { - "$id": "102", + "$id": "182", "type": { - "$ref": "2" + "$ref": "86" } }, "isOverride": false, @@ -827,39 +1475,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.String.getNull" }, { - "$id": "103", + "$id": "183", "kind": "basic", "name": "patchNonNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "104", + "$id": "184", "name": "patchNonNull", "resourceName": "String", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "105", + "$id": "185", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "106", - "kind": "constant", - "name": "PatchNonNullRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "107", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -872,11 +1507,11 @@ "skipUrlEncoding": false }, { - "$id": "108", + "$id": "186", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "86" }, "location": "Body", "isApiVersion": false, @@ -891,7 +1526,7 @@ ], "responses": [ { - "$id": "109", + "$id": "187", "statusCodes": [ 204 ], @@ -913,25 +1548,12 @@ }, "parameters": [ { - "$id": "110", + "$id": "188", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "111", - "kind": "constant", - "name": "PatchNonNullRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "112", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -944,11 +1566,11 @@ "skipUrlEncoding": false }, { - "$id": "113", + "$id": "189", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "86" }, "location": "Body", "isApiVersion": false, @@ -962,7 +1584,7 @@ } ], "response": { - "$id": "114" + "$id": "190" }, "isOverride": false, "generateConvenient": true, @@ -970,39 +1592,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.String.patchNonNull" }, { - "$id": "115", + "$id": "191", "kind": "basic", "name": "patchNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "116", + "$id": "192", "name": "patchNull", "resourceName": "String", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "117", + "$id": "193", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "118", - "kind": "constant", - "name": "PatchNonNullRequestContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "119", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1015,11 +1624,11 @@ "skipUrlEncoding": false }, { - "$id": "120", + "$id": "194", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "86" }, "location": "Body", "isApiVersion": false, @@ -1034,7 +1643,7 @@ ], "responses": [ { - "$id": "121", + "$id": "195", "statusCodes": [ 204 ], @@ -1056,25 +1665,12 @@ }, "parameters": [ { - "$id": "122", + "$id": "196", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "123", - "kind": "constant", - "name": "PatchNonNullRequestContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "124", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1087,11 +1683,11 @@ "skipUrlEncoding": false }, { - "$id": "125", + "$id": "197", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "86" }, "location": "Body", "isApiVersion": false, @@ -1105,7 +1701,7 @@ } ], "response": { - "$id": "126" + "$id": "198" }, "isOverride": false, "generateConvenient": true, @@ -1115,12 +1711,12 @@ ], "parameters": [ { - "$id": "127", + "$id": "199", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "128", + "$id": "200", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1134,9 +1730,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "129", + "$id": "201", "type": { - "$id": "130", + "$id": "202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1149,48 +1745,35 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.String", "apiVersions": [], "parent": { - "$ref": "81" + "$ref": "165" } }, { - "$id": "131", + "$id": "203", "kind": "client", "name": "Bytes", "namespace": "_Type.Property.Nullable", "methods": [ { - "$id": "132", + "$id": "204", "kind": "basic", "name": "getNonNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "133", + "$id": "205", "name": "getNonNull", "resourceName": "Bytes", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "134", + "$id": "206", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "135", - "kind": "constant", - "name": "getNonNullContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "136", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1205,12 +1788,12 @@ ], "responses": [ { - "$id": "137", + "$id": "207", "statusCodes": [ 200 ], "bodyType": { - "$ref": "12" + "$ref": "96" }, "headers": [], "isErrorResponse": false, @@ -1230,11 +1813,11 @@ }, "parameters": [ { - "$id": "138", + "$id": "208", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "135" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1248,9 +1831,9 @@ } ], "response": { - "$id": "139", + "$id": "209", "type": { - "$ref": "12" + "$ref": "96" } }, "isOverride": false, @@ -1259,38 +1842,25 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes.getNonNull" }, { - "$id": "140", + "$id": "210", "kind": "basic", "name": "getNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "141", + "$id": "211", "name": "getNull", "resourceName": "Bytes", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "142", + "$id": "212", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "143", - "kind": "constant", - "name": "getNullContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "144", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1305,12 +1875,12 @@ ], "responses": [ { - "$id": "145", + "$id": "213", "statusCodes": [ 200 ], "bodyType": { - "$ref": "12" + "$ref": "96" }, "headers": [], "isErrorResponse": false, @@ -1330,11 +1900,11 @@ }, "parameters": [ { - "$id": "146", + "$id": "214", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "143" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1348,9 +1918,9 @@ } ], "response": { - "$id": "147", + "$id": "215", "type": { - "$ref": "12" + "$ref": "96" } }, "isOverride": false, @@ -1359,39 +1929,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes.getNull" }, { - "$id": "148", + "$id": "216", "kind": "basic", "name": "patchNonNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "149", + "$id": "217", "name": "patchNonNull", "resourceName": "Bytes", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "150", + "$id": "218", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "151", - "kind": "constant", - "name": "PatchNonNullRequestContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "152", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1404,11 +1961,11 @@ "skipUrlEncoding": false }, { - "$id": "153", + "$id": "219", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "96" }, "location": "Body", "isApiVersion": false, @@ -1423,7 +1980,7 @@ ], "responses": [ { - "$id": "154", + "$id": "220", "statusCodes": [ 204 ], @@ -1445,25 +2002,12 @@ }, "parameters": [ { - "$id": "155", + "$id": "221", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "156", - "kind": "constant", - "name": "PatchNonNullRequestContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "157", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1476,11 +2020,11 @@ "skipUrlEncoding": false }, { - "$id": "158", + "$id": "222", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "96" }, "location": "Body", "isApiVersion": false, @@ -1494,7 +2038,7 @@ } ], "response": { - "$id": "159" + "$id": "223" }, "isOverride": false, "generateConvenient": true, @@ -1502,39 +2046,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes.patchNonNull" }, { - "$id": "160", + "$id": "224", "kind": "basic", "name": "patchNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "161", + "$id": "225", "name": "patchNull", "resourceName": "Bytes", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "162", + "$id": "226", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "163", - "kind": "constant", - "name": "PatchNonNullRequestContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "164", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1547,11 +2078,11 @@ "skipUrlEncoding": false }, { - "$id": "165", + "$id": "227", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "96" }, "location": "Body", "isApiVersion": false, @@ -1566,7 +2097,7 @@ ], "responses": [ { - "$id": "166", + "$id": "228", "statusCodes": [ 204 ], @@ -1588,25 +2119,12 @@ }, "parameters": [ { - "$id": "167", + "$id": "229", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "168", - "kind": "constant", - "name": "PatchNonNullRequestContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "169", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1619,11 +2137,11 @@ "skipUrlEncoding": false }, { - "$id": "170", + "$id": "230", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "96" }, "location": "Body", "isApiVersion": false, @@ -1637,7 +2155,7 @@ } ], "response": { - "$id": "171" + "$id": "231" }, "isOverride": false, "generateConvenient": true, @@ -1647,12 +2165,12 @@ ], "parameters": [ { - "$id": "172", + "$id": "232", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "173", + "$id": "233", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1666,9 +2184,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "174", + "$id": "234", "type": { - "$id": "175", + "$id": "235", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1681,48 +2199,35 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes", "apiVersions": [], "parent": { - "$ref": "81" + "$ref": "165" } }, { - "$id": "176", + "$id": "236", "kind": "client", "name": "Datetime", "namespace": "_Type.Property.Nullable", "methods": [ { - "$id": "177", + "$id": "237", "kind": "basic", "name": "getNonNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "178", + "$id": "238", "name": "getNonNull", "resourceName": "Datetime", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "179", + "$id": "239", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "180", - "kind": "constant", - "name": "getNonNullContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "181", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1737,12 +2242,12 @@ ], "responses": [ { - "$id": "182", + "$id": "240", "statusCodes": [ 200 ], "bodyType": { - "$ref": "22" + "$ref": "106" }, "headers": [], "isErrorResponse": false, @@ -1762,11 +2267,11 @@ }, "parameters": [ { - "$id": "183", + "$id": "241", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "180" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1780,9 +2285,9 @@ } ], "response": { - "$id": "184", + "$id": "242", "type": { - "$ref": "22" + "$ref": "106" } }, "isOverride": false, @@ -1791,38 +2296,25 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime.getNonNull" }, { - "$id": "185", + "$id": "243", "kind": "basic", "name": "getNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "186", + "$id": "244", "name": "getNull", "resourceName": "Datetime", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "187", + "$id": "245", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "188", - "kind": "constant", - "name": "getNullContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "189", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -1837,12 +2329,12 @@ ], "responses": [ { - "$id": "190", + "$id": "246", "statusCodes": [ 200 ], "bodyType": { - "$ref": "22" + "$ref": "106" }, "headers": [], "isErrorResponse": false, @@ -1862,11 +2354,11 @@ }, "parameters": [ { - "$id": "191", + "$id": "247", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "188" + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -1880,9 +2372,9 @@ } ], "response": { - "$id": "192", + "$id": "248", "type": { - "$ref": "22" + "$ref": "106" } }, "isOverride": false, @@ -1891,39 +2383,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime.getNull" }, { - "$id": "193", + "$id": "249", "kind": "basic", "name": "patchNonNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "194", + "$id": "250", "name": "patchNonNull", "resourceName": "Datetime", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "195", + "$id": "251", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "196", - "kind": "constant", - "name": "PatchNonNullRequestContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "197", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -1936,11 +2415,11 @@ "skipUrlEncoding": false }, { - "$id": "198", + "$id": "252", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "106" }, "location": "Body", "isApiVersion": false, @@ -1955,7 +2434,7 @@ ], "responses": [ { - "$id": "199", + "$id": "253", "statusCodes": [ 204 ], @@ -1977,25 +2456,12 @@ }, "parameters": [ { - "$id": "200", + "$id": "254", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "201", - "kind": "constant", - "name": "PatchNonNullRequestContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "202", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2008,11 +2474,11 @@ "skipUrlEncoding": false }, { - "$id": "203", + "$id": "255", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "106" }, "location": "Body", "isApiVersion": false, @@ -2026,7 +2492,7 @@ } ], "response": { - "$id": "204" + "$id": "256" }, "isOverride": false, "generateConvenient": true, @@ -2034,39 +2500,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime.patchNonNull" }, { - "$id": "205", + "$id": "257", "kind": "basic", "name": "patchNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "206", + "$id": "258", "name": "patchNull", "resourceName": "Datetime", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "207", + "$id": "259", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "208", - "kind": "constant", - "name": "PatchNonNullRequestContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "209", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2079,11 +2532,11 @@ "skipUrlEncoding": false }, { - "$id": "210", + "$id": "260", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "106" }, "location": "Body", "isApiVersion": false, @@ -2098,7 +2551,7 @@ ], "responses": [ { - "$id": "211", + "$id": "261", "statusCodes": [ 204 ], @@ -2120,25 +2573,12 @@ }, "parameters": [ { - "$id": "212", + "$id": "262", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "213", - "kind": "constant", - "name": "PatchNonNullRequestContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "214", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2151,11 +2591,11 @@ "skipUrlEncoding": false }, { - "$id": "215", + "$id": "263", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "106" }, "location": "Body", "isApiVersion": false, @@ -2169,7 +2609,7 @@ } ], "response": { - "$id": "216" + "$id": "264" }, "isOverride": false, "generateConvenient": true, @@ -2179,12 +2619,12 @@ ], "parameters": [ { - "$id": "217", + "$id": "265", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "218", + "$id": "266", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2198,9 +2638,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "219", + "$id": "267", "type": { - "$id": "220", + "$id": "268", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2213,48 +2653,35 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime", "apiVersions": [], "parent": { - "$ref": "81" + "$ref": "165" } }, { - "$id": "221", + "$id": "269", "kind": "client", "name": "Duration", "namespace": "_Type.Property.Nullable", "methods": [ { - "$id": "222", + "$id": "270", "kind": "basic", "name": "getNonNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "223", + "$id": "271", "name": "getNonNull", "resourceName": "Duration", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "224", + "$id": "272", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "225", - "kind": "constant", - "name": "getNonNullContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "226", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2269,12 +2696,12 @@ ], "responses": [ { - "$id": "227", + "$id": "273", "statusCodes": [ 200 ], "bodyType": { - "$ref": "33" + "$ref": "117" }, "headers": [], "isErrorResponse": false, @@ -2294,11 +2721,11 @@ }, "parameters": [ { - "$id": "228", + "$id": "274", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "225" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2312,9 +2739,9 @@ } ], "response": { - "$id": "229", + "$id": "275", "type": { - "$ref": "33" + "$ref": "117" } }, "isOverride": false, @@ -2323,38 +2750,25 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Duration.getNonNull" }, { - "$id": "230", + "$id": "276", "kind": "basic", "name": "getNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "231", + "$id": "277", "name": "getNull", "resourceName": "Duration", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "232", + "$id": "278", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "233", - "kind": "constant", - "name": "getNullContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "234", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2369,12 +2783,12 @@ ], "responses": [ { - "$id": "235", + "$id": "279", "statusCodes": [ 200 ], "bodyType": { - "$ref": "33" + "$ref": "117" }, "headers": [], "isErrorResponse": false, @@ -2394,11 +2808,11 @@ }, "parameters": [ { - "$id": "236", + "$id": "280", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "233" + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2412,9 +2826,9 @@ } ], "response": { - "$id": "237", + "$id": "281", "type": { - "$ref": "33" + "$ref": "117" } }, "isOverride": false, @@ -2423,39 +2837,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Duration.getNull" }, { - "$id": "238", + "$id": "282", "kind": "basic", "name": "patchNonNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "239", + "$id": "283", "name": "patchNonNull", "resourceName": "Duration", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "240", + "$id": "284", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "241", - "kind": "constant", - "name": "PatchNonNullRequestContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "242", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -2468,11 +2869,11 @@ "skipUrlEncoding": false }, { - "$id": "243", + "$id": "285", "name": "body", "nameInRequest": "body", "type": { - "$ref": "33" + "$ref": "117" }, "location": "Body", "isApiVersion": false, @@ -2487,7 +2888,7 @@ ], "responses": [ { - "$id": "244", + "$id": "286", "statusCodes": [ 204 ], @@ -2509,25 +2910,12 @@ }, "parameters": [ { - "$id": "245", + "$id": "287", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "246", - "kind": "constant", - "name": "PatchNonNullRequestContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "247", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -2540,11 +2928,11 @@ "skipUrlEncoding": false }, { - "$id": "248", + "$id": "288", "name": "body", "nameInRequest": "body", "type": { - "$ref": "33" + "$ref": "117" }, "location": "Body", "isApiVersion": false, @@ -2558,7 +2946,7 @@ } ], "response": { - "$id": "249" + "$id": "289" }, "isOverride": false, "generateConvenient": true, @@ -2566,39 +2954,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Duration.patchNonNull" }, { - "$id": "250", + "$id": "290", "kind": "basic", "name": "patchNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "251", + "$id": "291", "name": "patchNull", "resourceName": "Duration", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "252", + "$id": "292", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "253", - "kind": "constant", - "name": "PatchNonNullRequestContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "254", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -2611,11 +2986,11 @@ "skipUrlEncoding": false }, { - "$id": "255", + "$id": "293", "name": "body", "nameInRequest": "body", "type": { - "$ref": "33" + "$ref": "117" }, "location": "Body", "isApiVersion": false, @@ -2630,7 +3005,7 @@ ], "responses": [ { - "$id": "256", + "$id": "294", "statusCodes": [ 204 ], @@ -2652,25 +3027,12 @@ }, "parameters": [ { - "$id": "257", + "$id": "295", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "258", - "kind": "constant", - "name": "PatchNonNullRequestContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "259", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -2683,11 +3045,11 @@ "skipUrlEncoding": false }, { - "$id": "260", + "$id": "296", "name": "body", "nameInRequest": "body", "type": { - "$ref": "33" + "$ref": "117" }, "location": "Body", "isApiVersion": false, @@ -2701,7 +3063,7 @@ } ], "response": { - "$id": "261" + "$id": "297" }, "isOverride": false, "generateConvenient": true, @@ -2711,12 +3073,12 @@ ], "parameters": [ { - "$id": "262", + "$id": "298", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "263", + "$id": "299", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2730,9 +3092,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "264", + "$id": "300", "type": { - "$id": "265", + "$id": "301", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2745,48 +3107,35 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Duration", "apiVersions": [], "parent": { - "$ref": "81" + "$ref": "165" } }, { - "$id": "266", + "$id": "302", "kind": "client", "name": "CollectionsByte", "namespace": "_Type.Property.Nullable", "methods": [ { - "$id": "267", + "$id": "303", "kind": "basic", "name": "getNonNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "268", + "$id": "304", "name": "getNonNull", "resourceName": "CollectionsByte", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "269", + "$id": "305", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "270", - "kind": "constant", - "name": "getNonNullContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "271", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -2801,12 +3150,12 @@ ], "responses": [ { - "$id": "272", + "$id": "306", "statusCodes": [ 200 ], "bodyType": { - "$ref": "44" + "$ref": "128" }, "headers": [], "isErrorResponse": false, @@ -2826,11 +3175,11 @@ }, "parameters": [ { - "$id": "273", + "$id": "307", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "270" + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -2844,9 +3193,9 @@ } ], "response": { - "$id": "274", + "$id": "308", "type": { - "$ref": "44" + "$ref": "128" } }, "isOverride": false, @@ -2855,38 +3204,25 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte.getNonNull" }, { - "$id": "275", + "$id": "309", "kind": "basic", "name": "getNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "276", + "$id": "310", "name": "getNull", "resourceName": "CollectionsByte", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "277", + "$id": "311", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "278", - "kind": "constant", - "name": "getNullContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "279", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -2901,12 +3237,12 @@ ], "responses": [ { - "$id": "280", + "$id": "312", "statusCodes": [ 200 ], "bodyType": { - "$ref": "44" + "$ref": "128" }, "headers": [], "isErrorResponse": false, @@ -2926,11 +3262,11 @@ }, "parameters": [ { - "$id": "281", + "$id": "313", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "278" + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -2944,9 +3280,9 @@ } ], "response": { - "$id": "282", + "$id": "314", "type": { - "$ref": "44" + "$ref": "128" } }, "isOverride": false, @@ -2955,39 +3291,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte.getNull" }, { - "$id": "283", + "$id": "315", "kind": "basic", "name": "patchNonNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "284", + "$id": "316", "name": "patchNonNull", "resourceName": "CollectionsByte", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "285", + "$id": "317", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "286", - "kind": "constant", - "name": "PatchNonNullRequestContentType16", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "287", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -3000,11 +3323,11 @@ "skipUrlEncoding": false }, { - "$id": "288", + "$id": "318", "name": "body", "nameInRequest": "body", "type": { - "$ref": "44" + "$ref": "128" }, "location": "Body", "isApiVersion": false, @@ -3019,7 +3342,7 @@ ], "responses": [ { - "$id": "289", + "$id": "319", "statusCodes": [ 204 ], @@ -3041,25 +3364,12 @@ }, "parameters": [ { - "$id": "290", + "$id": "320", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "291", - "kind": "constant", - "name": "PatchNonNullRequestContentType17", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "292", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -3072,11 +3382,11 @@ "skipUrlEncoding": false }, { - "$id": "293", + "$id": "321", "name": "body", "nameInRequest": "body", "type": { - "$ref": "44" + "$ref": "128" }, "location": "Body", "isApiVersion": false, @@ -3090,7 +3400,7 @@ } ], "response": { - "$id": "294" + "$id": "322" }, "isOverride": false, "generateConvenient": true, @@ -3098,39 +3408,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte.patchNonNull" }, { - "$id": "295", + "$id": "323", "kind": "basic", "name": "patchNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "296", + "$id": "324", "name": "patchNull", "resourceName": "CollectionsByte", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "297", + "$id": "325", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "298", - "kind": "constant", - "name": "PatchNonNullRequestContentType18", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "299", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -3143,11 +3440,11 @@ "skipUrlEncoding": false }, { - "$id": "300", + "$id": "326", "name": "body", "nameInRequest": "body", "type": { - "$ref": "44" + "$ref": "128" }, "location": "Body", "isApiVersion": false, @@ -3162,7 +3459,7 @@ ], "responses": [ { - "$id": "301", + "$id": "327", "statusCodes": [ 204 ], @@ -3184,25 +3481,12 @@ }, "parameters": [ { - "$id": "302", + "$id": "328", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "303", - "kind": "constant", - "name": "PatchNonNullRequestContentType19", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "304", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -3215,11 +3499,11 @@ "skipUrlEncoding": false }, { - "$id": "305", + "$id": "329", "name": "body", "nameInRequest": "body", "type": { - "$ref": "44" + "$ref": "128" }, "location": "Body", "isApiVersion": false, @@ -3233,7 +3517,7 @@ } ], "response": { - "$id": "306" + "$id": "330" }, "isOverride": false, "generateConvenient": true, @@ -3243,12 +3527,12 @@ ], "parameters": [ { - "$id": "307", + "$id": "331", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "308", + "$id": "332", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3262,9 +3546,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "309", + "$id": "333", "type": { - "$id": "310", + "$id": "334", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3277,48 +3561,35 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte", "apiVersions": [], "parent": { - "$ref": "81" + "$ref": "165" } }, { - "$id": "311", + "$id": "335", "kind": "client", "name": "CollectionsModel", "namespace": "_Type.Property.Nullable", "methods": [ { - "$id": "312", + "$id": "336", "kind": "basic", "name": "getNonNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "313", + "$id": "337", "name": "getNonNull", "resourceName": "CollectionsModel", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "314", + "$id": "338", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "315", - "kind": "constant", - "name": "getNonNullContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "316", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -3333,12 +3604,12 @@ ], "responses": [ { - "$id": "317", + "$id": "339", "statusCodes": [ 200 ], "bodyType": { - "$ref": "55" + "$ref": "139" }, "headers": [], "isErrorResponse": false, @@ -3358,11 +3629,11 @@ }, "parameters": [ { - "$id": "318", + "$id": "340", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "315" + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -3376,9 +3647,9 @@ } ], "response": { - "$id": "319", + "$id": "341", "type": { - "$ref": "55" + "$ref": "139" } }, "isOverride": false, @@ -3387,38 +3658,25 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel.getNonNull" }, { - "$id": "320", + "$id": "342", "kind": "basic", "name": "getNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "321", + "$id": "343", "name": "getNull", "resourceName": "CollectionsModel", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "322", + "$id": "344", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "323", - "kind": "constant", - "name": "getNullContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "324", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -3433,12 +3691,12 @@ ], "responses": [ { - "$id": "325", + "$id": "345", "statusCodes": [ 200 ], "bodyType": { - "$ref": "55" + "$ref": "139" }, "headers": [], "isErrorResponse": false, @@ -3458,11 +3716,11 @@ }, "parameters": [ { - "$id": "326", + "$id": "346", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "323" + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -3476,9 +3734,9 @@ } ], "response": { - "$id": "327", + "$id": "347", "type": { - "$ref": "55" + "$ref": "139" } }, "isOverride": false, @@ -3487,39 +3745,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel.getNull" }, { - "$id": "328", + "$id": "348", "kind": "basic", "name": "patchNonNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "329", + "$id": "349", "name": "patchNonNull", "resourceName": "CollectionsModel", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "330", + "$id": "350", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "331", - "kind": "constant", - "name": "PatchNonNullRequestContentType20", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "332", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -3532,11 +3777,11 @@ "skipUrlEncoding": false }, { - "$id": "333", + "$id": "351", "name": "body", "nameInRequest": "body", "type": { - "$ref": "55" + "$ref": "139" }, "location": "Body", "isApiVersion": false, @@ -3551,7 +3796,7 @@ ], "responses": [ { - "$id": "334", + "$id": "352", "statusCodes": [ 204 ], @@ -3573,25 +3818,12 @@ }, "parameters": [ { - "$id": "335", + "$id": "353", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "336", - "kind": "constant", - "name": "PatchNonNullRequestContentType21", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "337", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -3604,11 +3836,11 @@ "skipUrlEncoding": false }, { - "$id": "338", + "$id": "354", "name": "body", "nameInRequest": "body", "type": { - "$ref": "55" + "$ref": "139" }, "location": "Body", "isApiVersion": false, @@ -3622,7 +3854,7 @@ } ], "response": { - "$id": "339" + "$id": "355" }, "isOverride": false, "generateConvenient": true, @@ -3630,39 +3862,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel.patchNonNull" }, { - "$id": "340", + "$id": "356", "kind": "basic", "name": "patchNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "341", + "$id": "357", "name": "patchNull", "resourceName": "CollectionsModel", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "342", + "$id": "358", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "343", - "kind": "constant", - "name": "PatchNonNullRequestContentType22", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "344", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -3675,11 +3894,11 @@ "skipUrlEncoding": false }, { - "$id": "345", + "$id": "359", "name": "body", "nameInRequest": "body", "type": { - "$ref": "55" + "$ref": "139" }, "location": "Body", "isApiVersion": false, @@ -3694,7 +3913,7 @@ ], "responses": [ { - "$id": "346", + "$id": "360", "statusCodes": [ 204 ], @@ -3716,25 +3935,12 @@ }, "parameters": [ { - "$id": "347", + "$id": "361", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "348", - "kind": "constant", - "name": "PatchNonNullRequestContentType23", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "349", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -3747,11 +3953,11 @@ "skipUrlEncoding": false }, { - "$id": "350", + "$id": "362", "name": "body", "nameInRequest": "body", "type": { - "$ref": "55" + "$ref": "139" }, "location": "Body", "isApiVersion": false, @@ -3765,7 +3971,7 @@ } ], "response": { - "$id": "351" + "$id": "363" }, "isOverride": false, "generateConvenient": true, @@ -3775,12 +3981,12 @@ ], "parameters": [ { - "$id": "352", + "$id": "364", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "353", + "$id": "365", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3794,9 +4000,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "354", + "$id": "366", "type": { - "$id": "355", + "$id": "367", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3809,48 +4015,35 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel", "apiVersions": [], "parent": { - "$ref": "81" + "$ref": "165" } }, { - "$id": "356", + "$id": "368", "kind": "client", "name": "CollectionsString", "namespace": "_Type.Property.Nullable", "methods": [ { - "$id": "357", + "$id": "369", "kind": "basic", "name": "getNonNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "358", + "$id": "370", "name": "getNonNull", "resourceName": "CollectionsString", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "359", + "$id": "371", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "360", - "kind": "constant", - "name": "getNonNullContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "361", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3865,12 +4058,12 @@ ], "responses": [ { - "$id": "362", + "$id": "372", "statusCodes": [ 200 ], "bodyType": { - "$ref": "70" + "$ref": "154" }, "headers": [], "isErrorResponse": false, @@ -3890,11 +4083,11 @@ }, "parameters": [ { - "$id": "363", + "$id": "373", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "360" + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3908,9 +4101,9 @@ } ], "response": { - "$id": "364", + "$id": "374", "type": { - "$ref": "70" + "$ref": "154" } }, "isOverride": false, @@ -3919,38 +4112,25 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString.getNonNull" }, { - "$id": "365", + "$id": "375", "kind": "basic", "name": "getNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "366", + "$id": "376", "name": "getNull", "resourceName": "CollectionsString", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "367", + "$id": "377", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "368", - "kind": "constant", - "name": "getNullContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "369", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -3965,12 +4145,12 @@ ], "responses": [ { - "$id": "370", + "$id": "378", "statusCodes": [ 200 ], "bodyType": { - "$ref": "70" + "$ref": "154" }, "headers": [], "isErrorResponse": false, @@ -3990,11 +4170,11 @@ }, "parameters": [ { - "$id": "371", + "$id": "379", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "368" + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -4008,9 +4188,9 @@ } ], "response": { - "$id": "372", + "$id": "380", "type": { - "$ref": "70" + "$ref": "154" } }, "isOverride": false, @@ -4019,39 +4199,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString.getNull" }, { - "$id": "373", + "$id": "381", "kind": "basic", "name": "patchNonNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "374", + "$id": "382", "name": "patchNonNull", "resourceName": "CollectionsString", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "375", + "$id": "383", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "376", - "kind": "constant", - "name": "PatchNonNullRequestContentType24", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "377", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -4064,11 +4231,11 @@ "skipUrlEncoding": false }, { - "$id": "378", + "$id": "384", "name": "body", "nameInRequest": "body", "type": { - "$ref": "70" + "$ref": "154" }, "location": "Body", "isApiVersion": false, @@ -4083,7 +4250,7 @@ ], "responses": [ { - "$id": "379", + "$id": "385", "statusCodes": [ 204 ], @@ -4105,25 +4272,12 @@ }, "parameters": [ { - "$id": "380", + "$id": "386", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "381", - "kind": "constant", - "name": "PatchNonNullRequestContentType25", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "382", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -4136,11 +4290,11 @@ "skipUrlEncoding": false }, { - "$id": "383", + "$id": "387", "name": "body", "nameInRequest": "body", "type": { - "$ref": "70" + "$ref": "154" }, "location": "Body", "isApiVersion": false, @@ -4154,7 +4308,7 @@ } ], "response": { - "$id": "384" + "$id": "388" }, "isOverride": false, "generateConvenient": true, @@ -4162,39 +4316,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString.patchNonNull" }, { - "$id": "385", + "$id": "389", "kind": "basic", "name": "patchNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "386", + "$id": "390", "name": "patchNull", "resourceName": "CollectionsString", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "387", + "$id": "391", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "388", - "kind": "constant", - "name": "PatchNonNullRequestContentType26", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "389", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -4207,11 +4348,11 @@ "skipUrlEncoding": false }, { - "$id": "390", + "$id": "392", "name": "body", "nameInRequest": "body", "type": { - "$ref": "70" + "$ref": "154" }, "location": "Body", "isApiVersion": false, @@ -4226,7 +4367,7 @@ ], "responses": [ { - "$id": "391", + "$id": "393", "statusCodes": [ 204 ], @@ -4248,25 +4389,12 @@ }, "parameters": [ { - "$id": "392", + "$id": "394", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "393", - "kind": "constant", - "name": "PatchNonNullRequestContentType27", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "394", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -4283,7 +4411,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "70" + "$ref": "154" }, "location": "Body", "isApiVersion": false, @@ -4341,7 +4469,7 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString", "apiVersions": [], "parent": { - "$ref": "81" + "$ref": "165" } } ] diff --git a/test/CadlRanchProjects/type/property/optionality/tspCodeModel.json b/test/CadlRanchProjects/type/property/optionality/tspCodeModel.json index 405d453aaf4..ddb782525eb 100644 --- a/test/CadlRanchProjects/type/property/optionality/tspCodeModel.json +++ b/test/CadlRanchProjects/type/property/optionality/tspCodeModel.json @@ -262,9 +262,1087 @@ "decorators": [] } ], + "constants": [ + { + "$id": "29", + "kind": "constant", + "name": "StringLiteralPropertyProperty", + "namespace": "_Type.Property.Optionality", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "20" + }, + "value": "hello", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "IntLiteralPropertyProperty", + "namespace": "_Type.Property.Optionality", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "23" + }, + "value": 1, + "decorators": [] + }, + { + "$id": "31", + "kind": "constant", + "name": "FloatLiteralPropertyProperty", + "namespace": "_Type.Property.Optionality", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "26" + }, + "value": 1.25, + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "BooleanLiteralPropertyProperty", + "namespace": "_Type.Property.Optionality", + "usage": "Input,Output,Json", + "valueType": { + "$id": "33", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "getAllContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "getDefaultContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "putAllContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "putDefaultContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "getAllContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "getDefaultContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "putAllContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "putDefaultContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "getAllContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "getDefaultContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "putAllContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "putDefaultContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "getAllContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "getDefaultContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "putAllContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "putDefaultContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "getAllContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "getDefaultContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "70", + "kind": "constant", + "name": "putAllContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "72", + "kind": "constant", + "name": "putDefaultContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "74", + "kind": "constant", + "name": "getAllContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "76", + "kind": "constant", + "name": "getDefaultContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "78", + "kind": "constant", + "name": "putAllContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "80", + "kind": "constant", + "name": "putDefaultContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "82", + "kind": "constant", + "name": "getAllContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "84", + "kind": "constant", + "name": "getDefaultContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "86", + "kind": "constant", + "name": "putAllContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "88", + "kind": "constant", + "name": "putDefaultContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "90", + "kind": "constant", + "name": "getAllContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "91", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "92", + "kind": "constant", + "name": "getDefaultContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "94", + "kind": "constant", + "name": "putAllContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "96", + "kind": "constant", + "name": "putDefaultContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "98", + "kind": "constant", + "name": "getAllContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "100", + "kind": "constant", + "name": "getDefaultContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "102", + "kind": "constant", + "name": "putAllContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "104", + "kind": "constant", + "name": "putDefaultContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "106", + "kind": "constant", + "name": "getAllContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "107", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "108", + "kind": "constant", + "name": "getDefaultContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "109", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "110", + "kind": "constant", + "name": "putAllContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "112", + "kind": "constant", + "name": "putDefaultContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "114", + "kind": "constant", + "name": "getAllContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "116", + "kind": "constant", + "name": "getDefaultContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "118", + "kind": "constant", + "name": "putAllContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "119", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "120", + "kind": "constant", + "name": "putDefaultContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "121", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "122", + "kind": "constant", + "name": "getAllContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "124", + "kind": "constant", + "name": "getDefaultContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "126", + "kind": "constant", + "name": "putAllContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "128", + "kind": "constant", + "name": "putDefaultContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "130", + "kind": "constant", + "name": "getAllContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "132", + "kind": "constant", + "name": "getDefaultContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "134", + "kind": "constant", + "name": "putAllContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "136", + "kind": "constant", + "name": "putDefaultContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "138", + "kind": "constant", + "name": "getAllContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "140", + "kind": "constant", + "name": "getDefaultContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "142", + "kind": "constant", + "name": "putAllContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "143", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "144", + "kind": "constant", + "name": "putDefaultContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "145", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "146", + "kind": "constant", + "name": "getAllContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "147", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "148", + "kind": "constant", + "name": "getDefaultContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "149", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "150", + "kind": "constant", + "name": "putAllContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "151", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "152", + "kind": "constant", + "name": "putDefaultContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "153", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "154", + "kind": "constant", + "name": "getAllContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "155", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "156", + "kind": "constant", + "name": "getRequiredOnlyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "157", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "158", + "kind": "constant", + "name": "putAllContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "160", + "kind": "constant", + "name": "putRequiredOnlyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [ { - "$id": "29", + "$id": "162", "kind": "model", "name": "StringProperty", "namespace": "_Type.Property.Optionality", @@ -274,13 +1352,13 @@ "decorators": [], "properties": [ { - "$id": "30", + "$id": "163", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "31", + "$id": "164", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -293,9 +1371,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.StringProperty.property", "serializationOptions": { - "$id": "32", + "$id": "165", "json": { - "$id": "33", + "$id": "166", "name": "property" } } @@ -303,7 +1381,7 @@ ] }, { - "$id": "34", + "$id": "167", "kind": "model", "name": "BytesProperty", "namespace": "_Type.Property.Optionality", @@ -313,13 +1391,13 @@ "decorators": [], "properties": [ { - "$id": "35", + "$id": "168", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "36", + "$id": "169", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -333,9 +1411,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.BytesProperty.property", "serializationOptions": { - "$id": "37", + "$id": "170", "json": { - "$id": "38", + "$id": "171", "name": "property" } } @@ -343,7 +1421,7 @@ ] }, { - "$id": "39", + "$id": "172", "kind": "model", "name": "DatetimeProperty", "namespace": "_Type.Property.Optionality", @@ -353,18 +1431,18 @@ "decorators": [], "properties": [ { - "$id": "40", + "$id": "173", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "41", + "$id": "174", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "42", + "$id": "175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -380,9 +1458,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.DatetimeProperty.property", "serializationOptions": { - "$id": "43", + "$id": "176", "json": { - "$id": "44", + "$id": "177", "name": "property" } } @@ -390,7 +1468,7 @@ ] }, { - "$id": "45", + "$id": "178", "kind": "model", "name": "DurationProperty", "namespace": "_Type.Property.Optionality", @@ -400,18 +1478,18 @@ "decorators": [], "properties": [ { - "$id": "46", + "$id": "179", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "47", + "$id": "180", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "48", + "$id": "181", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -427,9 +1505,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.DurationProperty.property", "serializationOptions": { - "$id": "49", + "$id": "182", "json": { - "$id": "50", + "$id": "183", "name": "property" } } @@ -437,7 +1515,7 @@ ] }, { - "$id": "51", + "$id": "184", "kind": "model", "name": "PlainDateProperty", "namespace": "_Type.Property.Optionality", @@ -447,13 +1525,13 @@ "decorators": [], "properties": [ { - "$id": "52", + "$id": "185", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "53", + "$id": "186", "kind": "plainDate", "name": "plainDate", "crossLanguageDefinitionId": "TypeSpec.plainDate", @@ -466,9 +1544,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.PlainDateProperty.property", "serializationOptions": { - "$id": "54", + "$id": "187", "json": { - "$id": "55", + "$id": "188", "name": "property" } } @@ -476,7 +1554,7 @@ ] }, { - "$id": "56", + "$id": "189", "kind": "model", "name": "PlainTimeProperty", "namespace": "_Type.Property.Optionality", @@ -486,13 +1564,13 @@ "decorators": [], "properties": [ { - "$id": "57", + "$id": "190", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "58", + "$id": "191", "kind": "plainTime", "name": "plainTime", "crossLanguageDefinitionId": "TypeSpec.plainTime", @@ -505,9 +1583,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.PlainTimeProperty.property", "serializationOptions": { - "$id": "59", + "$id": "192", "json": { - "$id": "60", + "$id": "193", "name": "property" } } @@ -515,7 +1593,7 @@ ] }, { - "$id": "61", + "$id": "194", "kind": "model", "name": "CollectionsByteProperty", "namespace": "_Type.Property.Optionality", @@ -525,17 +1603,17 @@ "decorators": [], "properties": [ { - "$id": "62", + "$id": "195", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "63", + "$id": "196", "kind": "array", "name": "Array", "valueType": { - "$id": "64", + "$id": "197", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -552,9 +1630,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByteProperty.property", "serializationOptions": { - "$id": "65", + "$id": "198", "json": { - "$id": "66", + "$id": "199", "name": "property" } } @@ -562,7 +1640,7 @@ ] }, { - "$id": "67", + "$id": "200", "kind": "model", "name": "CollectionsModelProperty", "namespace": "_Type.Property.Optionality", @@ -572,17 +1650,17 @@ "decorators": [], "properties": [ { - "$id": "68", + "$id": "201", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "69", + "$id": "202", "kind": "array", "name": "ArrayStringProperty", "valueType": { - "$ref": "29" + "$ref": "162" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -594,9 +1672,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModelProperty.property", "serializationOptions": { - "$id": "70", + "$id": "203", "json": { - "$id": "71", + "$id": "204", "name": "property" } } @@ -604,7 +1682,7 @@ ] }, { - "$id": "72", + "$id": "205", "kind": "model", "name": "StringLiteralProperty", "namespace": "_Type.Property.Optionality", @@ -614,22 +1692,13 @@ "decorators": [], "properties": [ { - "$id": "73", + "$id": "206", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "74", - "kind": "constant", - "name": "StringLiteralPropertyProperty", - "namespace": "_Type.Property.Optionality", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "20" - }, - "value": "hello", - "decorators": [] + "$ref": "29" }, "optional": true, "readOnly": false, @@ -638,9 +1707,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteralProperty.property", "serializationOptions": { - "$id": "75", + "$id": "207", "json": { - "$id": "76", + "$id": "208", "name": "property" } } @@ -648,7 +1717,7 @@ ] }, { - "$id": "77", + "$id": "209", "kind": "model", "name": "IntLiteralProperty", "namespace": "_Type.Property.Optionality", @@ -658,22 +1727,13 @@ "decorators": [], "properties": [ { - "$id": "78", + "$id": "210", "kind": "property", "name": "property", "serializedName": "property", - "doc": "Property", - "type": { - "$id": "79", - "kind": "constant", - "name": "IntLiteralPropertyProperty", - "namespace": "_Type.Property.Optionality", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "23" - }, - "value": 1, - "decorators": [] + "doc": "Property", + "type": { + "$ref": "30" }, "optional": true, "readOnly": false, @@ -682,9 +1742,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteralProperty.property", "serializationOptions": { - "$id": "80", + "$id": "211", "json": { - "$id": "81", + "$id": "212", "name": "property" } } @@ -692,7 +1752,7 @@ ] }, { - "$id": "82", + "$id": "213", "kind": "model", "name": "FloatLiteralProperty", "namespace": "_Type.Property.Optionality", @@ -702,22 +1762,13 @@ "decorators": [], "properties": [ { - "$id": "83", + "$id": "214", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "84", - "kind": "constant", - "name": "FloatLiteralPropertyProperty", - "namespace": "_Type.Property.Optionality", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "26" - }, - "value": 1.25, - "decorators": [] + "$ref": "31" }, "optional": true, "readOnly": false, @@ -726,9 +1777,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteralProperty.property", "serializationOptions": { - "$id": "85", + "$id": "215", "json": { - "$id": "86", + "$id": "216", "name": "property" } } @@ -736,7 +1787,7 @@ ] }, { - "$id": "87", + "$id": "217", "kind": "model", "name": "BooleanLiteralProperty", "namespace": "_Type.Property.Optionality", @@ -746,26 +1797,13 @@ "decorators": [], "properties": [ { - "$id": "88", + "$id": "218", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "89", - "kind": "constant", - "name": "BooleanLiteralPropertyProperty", - "namespace": "_Type.Property.Optionality", - "usage": "Input,Output,Json", - "valueType": { - "$id": "90", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "32" }, "optional": true, "readOnly": false, @@ -774,9 +1812,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteralProperty.property", "serializationOptions": { - "$id": "91", + "$id": "219", "json": { - "$id": "92", + "$id": "220", "name": "property" } } @@ -784,7 +1822,7 @@ ] }, { - "$id": "93", + "$id": "221", "kind": "model", "name": "UnionStringLiteralProperty", "namespace": "_Type.Property.Optionality", @@ -794,7 +1832,7 @@ "decorators": [], "properties": [ { - "$id": "94", + "$id": "222", "kind": "property", "name": "property", "serializedName": "property", @@ -809,9 +1847,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteralProperty.property", "serializationOptions": { - "$id": "95", + "$id": "223", "json": { - "$id": "96", + "$id": "224", "name": "property" } } @@ -819,7 +1857,7 @@ ] }, { - "$id": "97", + "$id": "225", "kind": "model", "name": "UnionIntLiteralProperty", "namespace": "_Type.Property.Optionality", @@ -829,7 +1867,7 @@ "decorators": [], "properties": [ { - "$id": "98", + "$id": "226", "kind": "property", "name": "property", "serializedName": "property", @@ -844,9 +1882,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteralProperty.property", "serializationOptions": { - "$id": "99", + "$id": "227", "json": { - "$id": "100", + "$id": "228", "name": "property" } } @@ -854,7 +1892,7 @@ ] }, { - "$id": "101", + "$id": "229", "kind": "model", "name": "UnionFloatLiteralProperty", "namespace": "_Type.Property.Optionality", @@ -864,7 +1902,7 @@ "decorators": [], "properties": [ { - "$id": "102", + "$id": "230", "kind": "property", "name": "property", "serializedName": "property", @@ -879,9 +1917,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteralProperty.property", "serializationOptions": { - "$id": "103", + "$id": "231", "json": { - "$id": "104", + "$id": "232", "name": "property" } } @@ -889,7 +1927,7 @@ ] }, { - "$id": "105", + "$id": "233", "kind": "model", "name": "RequiredAndOptionalProperty", "namespace": "_Type.Property.Optionality", @@ -899,13 +1937,13 @@ "decorators": [], "properties": [ { - "$id": "106", + "$id": "234", "kind": "property", "name": "optionalProperty", "serializedName": "optionalProperty", "doc": "optional string property", "type": { - "$id": "107", + "$id": "235", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -918,21 +1956,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptionalProperty.optionalProperty", "serializationOptions": { - "$id": "108", + "$id": "236", "json": { - "$id": "109", + "$id": "237", "name": "optionalProperty" } } }, { - "$id": "110", + "$id": "238", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "required int property", "type": { - "$id": "111", + "$id": "239", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -945,9 +1983,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptionalProperty.requiredProperty", "serializationOptions": { - "$id": "112", + "$id": "240", "json": { - "$id": "113", + "$id": "241", "name": "requiredProperty" } } @@ -957,7 +1995,7 @@ ], "clients": [ { - "$id": "114", + "$id": "242", "kind": "client", "name": "OptionalClient", "namespace": "_Type.Property.Optionality", @@ -965,12 +2003,12 @@ "methods": [], "parameters": [ { - "$id": "115", + "$id": "243", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "116", + "$id": "244", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -984,9 +2022,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "117", + "$id": "245", "type": { - "$id": "118", + "$id": "246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1000,44 +2038,31 @@ "apiVersions": [], "children": [ { - "$id": "119", + "$id": "247", "kind": "client", "name": "String", "namespace": "_Type.Property.Optionality", "methods": [ { - "$id": "120", + "$id": "248", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "121", + "$id": "249", "name": "getAll", "resourceName": "String", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "122", + "$id": "250", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "123", - "kind": "constant", - "name": "getAllContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "124", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -1052,12 +2077,12 @@ ], "responses": [ { - "$id": "125", + "$id": "251", "statusCodes": [ 200 ], "bodyType": { - "$ref": "29" + "$ref": "162" }, "headers": [], "isErrorResponse": false, @@ -1077,11 +2102,11 @@ }, "parameters": [ { - "$id": "126", + "$id": "252", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "123" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -1095,9 +2120,9 @@ } ], "response": { - "$id": "127", + "$id": "253", "type": { - "$ref": "29" + "$ref": "162" } }, "isOverride": false, @@ -1106,38 +2131,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.String.getAll" }, { - "$id": "128", + "$id": "254", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "129", + "$id": "255", "name": "getDefault", "resourceName": "String", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "130", + "$id": "256", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "131", - "kind": "constant", - "name": "getDefaultContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "132", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -1152,12 +2164,12 @@ ], "responses": [ { - "$id": "133", + "$id": "257", "statusCodes": [ 200 ], "bodyType": { - "$ref": "29" + "$ref": "162" }, "headers": [], "isErrorResponse": false, @@ -1177,11 +2189,11 @@ }, "parameters": [ { - "$id": "134", + "$id": "258", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "131" + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -1195,9 +2207,9 @@ } ], "response": { - "$id": "135", + "$id": "259", "type": { - "$ref": "29" + "$ref": "162" } }, "isOverride": false, @@ -1206,39 +2218,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.String.getDefault" }, { - "$id": "136", + "$id": "260", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "137", + "$id": "261", "name": "putAll", "resourceName": "String", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "138", + "$id": "262", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "139", - "kind": "constant", - "name": "putAllContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "140", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -1251,11 +2250,11 @@ "skipUrlEncoding": false }, { - "$id": "141", + "$id": "263", "name": "body", "nameInRequest": "body", "type": { - "$ref": "29" + "$ref": "162" }, "location": "Body", "isApiVersion": false, @@ -1270,7 +2269,7 @@ ], "responses": [ { - "$id": "142", + "$id": "264", "statusCodes": [ 204 ], @@ -1292,11 +2291,11 @@ }, "parameters": [ { - "$id": "143", + "$id": "265", "name": "body", "nameInRequest": "body", "type": { - "$ref": "29" + "$ref": "162" }, "location": "Body", "isApiVersion": false, @@ -1309,12 +2308,12 @@ "skipUrlEncoding": false }, { - "$id": "144", + "$id": "266", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "139" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -1328,7 +2327,7 @@ } ], "response": { - "$id": "145" + "$id": "267" }, "isOverride": false, "generateConvenient": true, @@ -1336,39 +2335,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.String.putAll" }, { - "$id": "146", + "$id": "268", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "147", + "$id": "269", "name": "putDefault", "resourceName": "String", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "148", + "$id": "270", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "149", - "kind": "constant", - "name": "putDefaultContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "150", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -1381,11 +2367,11 @@ "skipUrlEncoding": false }, { - "$id": "151", + "$id": "271", "name": "body", "nameInRequest": "body", "type": { - "$ref": "29" + "$ref": "162" }, "location": "Body", "isApiVersion": false, @@ -1400,7 +2386,7 @@ ], "responses": [ { - "$id": "152", + "$id": "272", "statusCodes": [ 204 ], @@ -1422,11 +2408,11 @@ }, "parameters": [ { - "$id": "153", + "$id": "273", "name": "body", "nameInRequest": "body", "type": { - "$ref": "29" + "$ref": "162" }, "location": "Body", "isApiVersion": false, @@ -1439,12 +2425,12 @@ "skipUrlEncoding": false }, { - "$id": "154", + "$id": "274", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "149" + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -1458,7 +2444,7 @@ } ], "response": { - "$id": "155" + "$id": "275" }, "isOverride": false, "generateConvenient": true, @@ -1468,12 +2454,12 @@ ], "parameters": [ { - "$id": "156", + "$id": "276", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "157", + "$id": "277", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1487,9 +2473,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "158", + "$id": "278", "type": { - "$id": "159", + "$id": "279", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1502,48 +2488,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.String", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "160", + "$id": "280", "kind": "client", "name": "Bytes", "namespace": "_Type.Property.Optionality", "methods": [ { - "$id": "161", + "$id": "281", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "162", + "$id": "282", "name": "getAll", "resourceName": "Bytes", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "163", + "$id": "283", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "164", - "kind": "constant", - "name": "getAllContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "165", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -1558,12 +2531,12 @@ ], "responses": [ { - "$id": "166", + "$id": "284", "statusCodes": [ 200 ], "bodyType": { - "$ref": "34" + "$ref": "167" }, "headers": [], "isErrorResponse": false, @@ -1583,11 +2556,11 @@ }, "parameters": [ { - "$id": "167", + "$id": "285", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "164" + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -1601,9 +2574,9 @@ } ], "response": { - "$id": "168", + "$id": "286", "type": { - "$ref": "34" + "$ref": "167" } }, "isOverride": false, @@ -1612,38 +2585,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Bytes.getAll" }, { - "$id": "169", + "$id": "287", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "170", + "$id": "288", "name": "getDefault", "resourceName": "Bytes", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "171", + "$id": "289", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "172", - "kind": "constant", - "name": "getDefaultContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "173", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -1658,12 +2618,12 @@ ], "responses": [ { - "$id": "174", + "$id": "290", "statusCodes": [ 200 ], "bodyType": { - "$ref": "34" + "$ref": "167" }, "headers": [], "isErrorResponse": false, @@ -1683,11 +2643,11 @@ }, "parameters": [ { - "$id": "175", + "$id": "291", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "172" + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -1701,9 +2661,9 @@ } ], "response": { - "$id": "176", + "$id": "292", "type": { - "$ref": "34" + "$ref": "167" } }, "isOverride": false, @@ -1712,39 +2672,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Bytes.getDefault" }, { - "$id": "177", + "$id": "293", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "178", + "$id": "294", "name": "putAll", "resourceName": "Bytes", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "179", + "$id": "295", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "180", - "kind": "constant", - "name": "putAllContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "181", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -1757,11 +2704,11 @@ "skipUrlEncoding": false }, { - "$id": "182", + "$id": "296", "name": "body", "nameInRequest": "body", "type": { - "$ref": "34" + "$ref": "167" }, "location": "Body", "isApiVersion": false, @@ -1776,7 +2723,7 @@ ], "responses": [ { - "$id": "183", + "$id": "297", "statusCodes": [ 204 ], @@ -1798,11 +2745,11 @@ }, "parameters": [ { - "$id": "184", + "$id": "298", "name": "body", "nameInRequest": "body", "type": { - "$ref": "34" + "$ref": "167" }, "location": "Body", "isApiVersion": false, @@ -1815,12 +2762,12 @@ "skipUrlEncoding": false }, { - "$id": "185", + "$id": "299", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "180" + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -1834,7 +2781,7 @@ } ], "response": { - "$id": "186" + "$id": "300" }, "isOverride": false, "generateConvenient": true, @@ -1842,39 +2789,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Bytes.putAll" }, { - "$id": "187", + "$id": "301", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "188", + "$id": "302", "name": "putDefault", "resourceName": "Bytes", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "189", + "$id": "303", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "190", - "kind": "constant", - "name": "putDefaultContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "191", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -1887,11 +2821,11 @@ "skipUrlEncoding": false }, { - "$id": "192", + "$id": "304", "name": "body", "nameInRequest": "body", "type": { - "$ref": "34" + "$ref": "167" }, "location": "Body", "isApiVersion": false, @@ -1906,7 +2840,7 @@ ], "responses": [ { - "$id": "193", + "$id": "305", "statusCodes": [ 204 ], @@ -1928,11 +2862,11 @@ }, "parameters": [ { - "$id": "194", + "$id": "306", "name": "body", "nameInRequest": "body", "type": { - "$ref": "34" + "$ref": "167" }, "location": "Body", "isApiVersion": false, @@ -1945,12 +2879,12 @@ "skipUrlEncoding": false }, { - "$id": "195", + "$id": "307", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "190" + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -1964,7 +2898,7 @@ } ], "response": { - "$id": "196" + "$id": "308" }, "isOverride": false, "generateConvenient": true, @@ -1974,12 +2908,12 @@ ], "parameters": [ { - "$id": "197", + "$id": "309", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "198", + "$id": "310", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1993,9 +2927,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "199", + "$id": "311", "type": { - "$id": "200", + "$id": "312", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2008,48 +2942,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Bytes", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "201", + "$id": "313", "kind": "client", "name": "Datetime", "namespace": "_Type.Property.Optionality", "methods": [ { - "$id": "202", + "$id": "314", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "203", + "$id": "315", "name": "getAll", "resourceName": "Datetime", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "204", + "$id": "316", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "205", - "kind": "constant", - "name": "getAllContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "206", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -2064,12 +2985,12 @@ ], "responses": [ { - "$id": "207", + "$id": "317", "statusCodes": [ 200 ], "bodyType": { - "$ref": "39" + "$ref": "172" }, "headers": [], "isErrorResponse": false, @@ -2089,11 +3010,11 @@ }, "parameters": [ { - "$id": "208", + "$id": "318", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "205" + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -2107,9 +3028,9 @@ } ], "response": { - "$id": "209", + "$id": "319", "type": { - "$ref": "39" + "$ref": "172" } }, "isOverride": false, @@ -2118,38 +3039,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Datetime.getAll" }, { - "$id": "210", + "$id": "320", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "211", + "$id": "321", "name": "getDefault", "resourceName": "Datetime", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "212", + "$id": "322", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "213", - "kind": "constant", - "name": "getDefaultContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "214", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -2164,12 +3072,12 @@ ], "responses": [ { - "$id": "215", + "$id": "323", "statusCodes": [ 200 ], "bodyType": { - "$ref": "39" + "$ref": "172" }, "headers": [], "isErrorResponse": false, @@ -2189,11 +3097,11 @@ }, "parameters": [ { - "$id": "216", + "$id": "324", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "213" + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -2207,9 +3115,9 @@ } ], "response": { - "$id": "217", + "$id": "325", "type": { - "$ref": "39" + "$ref": "172" } }, "isOverride": false, @@ -2218,39 +3126,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Datetime.getDefault" }, { - "$id": "218", + "$id": "326", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "219", + "$id": "327", "name": "putAll", "resourceName": "Datetime", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "220", + "$id": "328", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "221", - "kind": "constant", - "name": "putAllContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "222", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -2263,11 +3158,11 @@ "skipUrlEncoding": false }, { - "$id": "223", + "$id": "329", "name": "body", "nameInRequest": "body", "type": { - "$ref": "39" + "$ref": "172" }, "location": "Body", "isApiVersion": false, @@ -2282,7 +3177,7 @@ ], "responses": [ { - "$id": "224", + "$id": "330", "statusCodes": [ 204 ], @@ -2304,11 +3199,11 @@ }, "parameters": [ { - "$id": "225", + "$id": "331", "name": "body", "nameInRequest": "body", "type": { - "$ref": "39" + "$ref": "172" }, "location": "Body", "isApiVersion": false, @@ -2321,12 +3216,12 @@ "skipUrlEncoding": false }, { - "$id": "226", + "$id": "332", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "221" + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -2340,7 +3235,7 @@ } ], "response": { - "$id": "227" + "$id": "333" }, "isOverride": false, "generateConvenient": true, @@ -2348,39 +3243,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Datetime.putAll" }, { - "$id": "228", + "$id": "334", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "229", + "$id": "335", "name": "putDefault", "resourceName": "Datetime", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "230", + "$id": "336", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "231", - "kind": "constant", - "name": "putDefaultContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "232", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -2393,11 +3275,11 @@ "skipUrlEncoding": false }, { - "$id": "233", + "$id": "337", "name": "body", "nameInRequest": "body", "type": { - "$ref": "39" + "$ref": "172" }, "location": "Body", "isApiVersion": false, @@ -2412,7 +3294,7 @@ ], "responses": [ { - "$id": "234", + "$id": "338", "statusCodes": [ 204 ], @@ -2434,11 +3316,11 @@ }, "parameters": [ { - "$id": "235", + "$id": "339", "name": "body", "nameInRequest": "body", "type": { - "$ref": "39" + "$ref": "172" }, "location": "Body", "isApiVersion": false, @@ -2451,12 +3333,12 @@ "skipUrlEncoding": false }, { - "$id": "236", + "$id": "340", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "231" + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -2470,7 +3352,7 @@ } ], "response": { - "$id": "237" + "$id": "341" }, "isOverride": false, "generateConvenient": true, @@ -2480,12 +3362,12 @@ ], "parameters": [ { - "$id": "238", + "$id": "342", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "239", + "$id": "343", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2499,9 +3381,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "240", + "$id": "344", "type": { - "$id": "241", + "$id": "345", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2514,48 +3396,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Datetime", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "242", + "$id": "346", "kind": "client", "name": "Duration", "namespace": "_Type.Property.Optionality", "methods": [ { - "$id": "243", + "$id": "347", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "244", + "$id": "348", "name": "getAll", "resourceName": "Duration", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "245", + "$id": "349", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "246", - "kind": "constant", - "name": "getAllContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "247", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -2570,12 +3439,12 @@ ], "responses": [ { - "$id": "248", + "$id": "350", "statusCodes": [ 200 ], "bodyType": { - "$ref": "45" + "$ref": "178" }, "headers": [], "isErrorResponse": false, @@ -2595,11 +3464,11 @@ }, "parameters": [ { - "$id": "249", + "$id": "351", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "246" + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -2613,9 +3482,9 @@ } ], "response": { - "$id": "250", + "$id": "352", "type": { - "$ref": "45" + "$ref": "178" } }, "isOverride": false, @@ -2624,38 +3493,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Duration.getAll" }, { - "$id": "251", + "$id": "353", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "252", + "$id": "354", "name": "getDefault", "resourceName": "Duration", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "253", + "$id": "355", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "254", - "kind": "constant", - "name": "getDefaultContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "255", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -2670,12 +3526,12 @@ ], "responses": [ { - "$id": "256", + "$id": "356", "statusCodes": [ 200 ], "bodyType": { - "$ref": "45" + "$ref": "178" }, "headers": [], "isErrorResponse": false, @@ -2695,11 +3551,11 @@ }, "parameters": [ { - "$id": "257", + "$id": "357", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "254" + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -2713,9 +3569,9 @@ } ], "response": { - "$id": "258", + "$id": "358", "type": { - "$ref": "45" + "$ref": "178" } }, "isOverride": false, @@ -2724,39 +3580,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Duration.getDefault" }, { - "$id": "259", + "$id": "359", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "260", + "$id": "360", "name": "putAll", "resourceName": "Duration", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "261", + "$id": "361", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "262", - "kind": "constant", - "name": "putAllContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "263", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -2769,11 +3612,11 @@ "skipUrlEncoding": false }, { - "$id": "264", + "$id": "362", "name": "body", "nameInRequest": "body", "type": { - "$ref": "45" + "$ref": "178" }, "location": "Body", "isApiVersion": false, @@ -2788,7 +3631,7 @@ ], "responses": [ { - "$id": "265", + "$id": "363", "statusCodes": [ 204 ], @@ -2810,11 +3653,11 @@ }, "parameters": [ { - "$id": "266", + "$id": "364", "name": "body", "nameInRequest": "body", "type": { - "$ref": "45" + "$ref": "178" }, "location": "Body", "isApiVersion": false, @@ -2827,12 +3670,12 @@ "skipUrlEncoding": false }, { - "$id": "267", + "$id": "365", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "262" + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -2846,7 +3689,7 @@ } ], "response": { - "$id": "268" + "$id": "366" }, "isOverride": false, "generateConvenient": true, @@ -2854,39 +3697,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Duration.putAll" }, { - "$id": "269", + "$id": "367", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "270", + "$id": "368", "name": "putDefault", "resourceName": "Duration", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "271", + "$id": "369", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "272", - "kind": "constant", - "name": "putDefaultContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "273", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -2899,11 +3729,11 @@ "skipUrlEncoding": false }, { - "$id": "274", + "$id": "370", "name": "body", "nameInRequest": "body", "type": { - "$ref": "45" + "$ref": "178" }, "location": "Body", "isApiVersion": false, @@ -2918,7 +3748,7 @@ ], "responses": [ { - "$id": "275", + "$id": "371", "statusCodes": [ 204 ], @@ -2940,11 +3770,11 @@ }, "parameters": [ { - "$id": "276", + "$id": "372", "name": "body", "nameInRequest": "body", "type": { - "$ref": "45" + "$ref": "178" }, "location": "Body", "isApiVersion": false, @@ -2957,12 +3787,12 @@ "skipUrlEncoding": false }, { - "$id": "277", + "$id": "373", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "272" + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -2976,7 +3806,7 @@ } ], "response": { - "$id": "278" + "$id": "374" }, "isOverride": false, "generateConvenient": true, @@ -2986,12 +3816,12 @@ ], "parameters": [ { - "$id": "279", + "$id": "375", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "280", + "$id": "376", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3005,9 +3835,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "281", + "$id": "377", "type": { - "$id": "282", + "$id": "378", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3020,48 +3850,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Duration", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "283", + "$id": "379", "kind": "client", "name": "PlainDate", "namespace": "_Type.Property.Optionality", "methods": [ { - "$id": "284", + "$id": "380", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "285", + "$id": "381", "name": "getAll", "resourceName": "PlainDate", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "286", + "$id": "382", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "287", - "kind": "constant", - "name": "getAllContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "288", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -3076,12 +3893,12 @@ ], "responses": [ { - "$id": "289", + "$id": "383", "statusCodes": [ 200 ], "bodyType": { - "$ref": "51" + "$ref": "184" }, "headers": [], "isErrorResponse": false, @@ -3101,11 +3918,11 @@ }, "parameters": [ { - "$id": "290", + "$id": "384", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "287" + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -3119,9 +3936,9 @@ } ], "response": { - "$id": "291", + "$id": "385", "type": { - "$ref": "51" + "$ref": "184" } }, "isOverride": false, @@ -3130,38 +3947,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate.getAll" }, { - "$id": "292", + "$id": "386", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "293", + "$id": "387", "name": "getDefault", "resourceName": "PlainDate", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "294", + "$id": "388", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "295", - "kind": "constant", - "name": "getDefaultContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "296", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -3176,12 +3980,12 @@ ], "responses": [ { - "$id": "297", + "$id": "389", "statusCodes": [ 200 ], "bodyType": { - "$ref": "51" + "$ref": "184" }, "headers": [], "isErrorResponse": false, @@ -3201,11 +4005,11 @@ }, "parameters": [ { - "$id": "298", + "$id": "390", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "295" + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -3219,9 +4023,9 @@ } ], "response": { - "$id": "299", + "$id": "391", "type": { - "$ref": "51" + "$ref": "184" } }, "isOverride": false, @@ -3230,39 +4034,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate.getDefault" }, { - "$id": "300", + "$id": "392", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "301", + "$id": "393", "name": "putAll", "resourceName": "PlainDate", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "302", + "$id": "394", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "303", - "kind": "constant", - "name": "putAllContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "304", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -3275,11 +4066,11 @@ "skipUrlEncoding": false }, { - "$id": "305", + "$id": "395", "name": "body", "nameInRequest": "body", "type": { - "$ref": "51" + "$ref": "184" }, "location": "Body", "isApiVersion": false, @@ -3294,7 +4085,7 @@ ], "responses": [ { - "$id": "306", + "$id": "396", "statusCodes": [ 204 ], @@ -3316,11 +4107,11 @@ }, "parameters": [ { - "$id": "307", + "$id": "397", "name": "body", "nameInRequest": "body", "type": { - "$ref": "51" + "$ref": "184" }, "location": "Body", "isApiVersion": false, @@ -3333,12 +4124,12 @@ "skipUrlEncoding": false }, { - "$id": "308", + "$id": "398", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "303" + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -3352,7 +4143,7 @@ } ], "response": { - "$id": "309" + "$id": "399" }, "isOverride": false, "generateConvenient": true, @@ -3360,39 +4151,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate.putAll" }, { - "$id": "310", + "$id": "400", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "311", + "$id": "401", "name": "putDefault", "resourceName": "PlainDate", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "312", + "$id": "402", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "313", - "kind": "constant", - "name": "putDefaultContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "314", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -3405,11 +4183,11 @@ "skipUrlEncoding": false }, { - "$id": "315", + "$id": "403", "name": "body", "nameInRequest": "body", "type": { - "$ref": "51" + "$ref": "184" }, "location": "Body", "isApiVersion": false, @@ -3424,7 +4202,7 @@ ], "responses": [ { - "$id": "316", + "$id": "404", "statusCodes": [ 204 ], @@ -3446,11 +4224,11 @@ }, "parameters": [ { - "$id": "317", + "$id": "405", "name": "body", "nameInRequest": "body", "type": { - "$ref": "51" + "$ref": "184" }, "location": "Body", "isApiVersion": false, @@ -3463,12 +4241,12 @@ "skipUrlEncoding": false }, { - "$id": "318", + "$id": "406", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "313" + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -3482,7 +4260,7 @@ } ], "response": { - "$id": "319" + "$id": "407" }, "isOverride": false, "generateConvenient": true, @@ -3492,12 +4270,12 @@ ], "parameters": [ { - "$id": "320", + "$id": "408", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "321", + "$id": "409", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3511,9 +4289,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "322", + "$id": "410", "type": { - "$id": "323", + "$id": "411", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3526,48 +4304,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "324", + "$id": "412", "kind": "client", "name": "PlainTime", "namespace": "_Type.Property.Optionality", "methods": [ { - "$id": "325", + "$id": "413", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "326", + "$id": "414", "name": "getAll", "resourceName": "PlainTime", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "327", + "$id": "415", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "328", - "kind": "constant", - "name": "getAllContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "329", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3582,12 +4347,12 @@ ], "responses": [ { - "$id": "330", + "$id": "416", "statusCodes": [ 200 ], "bodyType": { - "$ref": "56" + "$ref": "189" }, "headers": [], "isErrorResponse": false, @@ -3607,11 +4372,11 @@ }, "parameters": [ { - "$id": "331", + "$id": "417", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "328" + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3625,9 +4390,9 @@ } ], "response": { - "$id": "332", + "$id": "418", "type": { - "$ref": "56" + "$ref": "189" } }, "isOverride": false, @@ -3636,38 +4401,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime.getAll" }, { - "$id": "333", + "$id": "419", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "334", + "$id": "420", "name": "getDefault", "resourceName": "PlainTime", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "335", + "$id": "421", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "336", - "kind": "constant", - "name": "getDefaultContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "337", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -3682,12 +4434,12 @@ ], "responses": [ { - "$id": "338", + "$id": "422", "statusCodes": [ 200 ], "bodyType": { - "$ref": "56" + "$ref": "189" }, "headers": [], "isErrorResponse": false, @@ -3707,11 +4459,11 @@ }, "parameters": [ { - "$id": "339", + "$id": "423", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "336" + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -3725,9 +4477,9 @@ } ], "response": { - "$id": "340", + "$id": "424", "type": { - "$ref": "56" + "$ref": "189" } }, "isOverride": false, @@ -3736,39 +4488,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime.getDefault" }, { - "$id": "341", + "$id": "425", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "342", + "$id": "426", "name": "putAll", "resourceName": "PlainTime", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "343", + "$id": "427", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "344", - "kind": "constant", - "name": "putAllContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "345", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -3781,11 +4520,11 @@ "skipUrlEncoding": false }, { - "$id": "346", + "$id": "428", "name": "body", "nameInRequest": "body", "type": { - "$ref": "56" + "$ref": "189" }, "location": "Body", "isApiVersion": false, @@ -3800,7 +4539,7 @@ ], "responses": [ { - "$id": "347", + "$id": "429", "statusCodes": [ 204 ], @@ -3822,11 +4561,11 @@ }, "parameters": [ { - "$id": "348", + "$id": "430", "name": "body", "nameInRequest": "body", "type": { - "$ref": "56" + "$ref": "189" }, "location": "Body", "isApiVersion": false, @@ -3839,12 +4578,12 @@ "skipUrlEncoding": false }, { - "$id": "349", + "$id": "431", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "344" + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -3858,7 +4597,7 @@ } ], "response": { - "$id": "350" + "$id": "432" }, "isOverride": false, "generateConvenient": true, @@ -3866,39 +4605,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime.putAll" }, { - "$id": "351", + "$id": "433", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "352", + "$id": "434", "name": "putDefault", "resourceName": "PlainTime", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "353", + "$id": "435", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "354", - "kind": "constant", - "name": "putDefaultContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "355", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -3911,11 +4637,11 @@ "skipUrlEncoding": false }, { - "$id": "356", + "$id": "436", "name": "body", "nameInRequest": "body", "type": { - "$ref": "56" + "$ref": "189" }, "location": "Body", "isApiVersion": false, @@ -3930,7 +4656,7 @@ ], "responses": [ { - "$id": "357", + "$id": "437", "statusCodes": [ 204 ], @@ -3952,11 +4678,11 @@ }, "parameters": [ { - "$id": "358", + "$id": "438", "name": "body", "nameInRequest": "body", "type": { - "$ref": "56" + "$ref": "189" }, "location": "Body", "isApiVersion": false, @@ -3969,12 +4695,12 @@ "skipUrlEncoding": false }, { - "$id": "359", + "$id": "439", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "354" + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -3988,7 +4714,7 @@ } ], "response": { - "$id": "360" + "$id": "440" }, "isOverride": false, "generateConvenient": true, @@ -3998,12 +4724,12 @@ ], "parameters": [ { - "$id": "361", + "$id": "441", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "362", + "$id": "442", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4017,9 +4743,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "363", + "$id": "443", "type": { - "$id": "364", + "$id": "444", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4032,48 +4758,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "365", + "$id": "445", "kind": "client", "name": "CollectionsByte", "namespace": "_Type.Property.Optionality", "methods": [ { - "$id": "366", + "$id": "446", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "367", + "$id": "447", "name": "getAll", "resourceName": "CollectionsByte", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "368", + "$id": "448", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "369", - "kind": "constant", - "name": "getAllContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "370", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -4088,12 +4801,12 @@ ], "responses": [ { - "$id": "371", + "$id": "449", "statusCodes": [ 200 ], "bodyType": { - "$ref": "61" + "$ref": "194" }, "headers": [], "isErrorResponse": false, @@ -4113,11 +4826,11 @@ }, "parameters": [ { - "$id": "372", + "$id": "450", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "369" + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -4131,9 +4844,9 @@ } ], "response": { - "$id": "373", + "$id": "451", "type": { - "$ref": "61" + "$ref": "194" } }, "isOverride": false, @@ -4142,38 +4855,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte.getAll" }, { - "$id": "374", + "$id": "452", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "375", + "$id": "453", "name": "getDefault", "resourceName": "CollectionsByte", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "376", + "$id": "454", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "377", - "kind": "constant", - "name": "getDefaultContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "378", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -4188,12 +4888,12 @@ ], "responses": [ { - "$id": "379", + "$id": "455", "statusCodes": [ 200 ], "bodyType": { - "$ref": "61" + "$ref": "194" }, "headers": [], "isErrorResponse": false, @@ -4213,11 +4913,11 @@ }, "parameters": [ { - "$id": "380", + "$id": "456", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "377" + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -4231,9 +4931,9 @@ } ], "response": { - "$id": "381", + "$id": "457", "type": { - "$ref": "61" + "$ref": "194" } }, "isOverride": false, @@ -4242,39 +4942,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte.getDefault" }, { - "$id": "382", + "$id": "458", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "383", + "$id": "459", "name": "putAll", "resourceName": "CollectionsByte", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "384", + "$id": "460", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "385", - "kind": "constant", - "name": "putAllContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "386", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -4287,11 +4974,11 @@ "skipUrlEncoding": false }, { - "$id": "387", + "$id": "461", "name": "body", "nameInRequest": "body", "type": { - "$ref": "61" + "$ref": "194" }, "location": "Body", "isApiVersion": false, @@ -4306,7 +4993,7 @@ ], "responses": [ { - "$id": "388", + "$id": "462", "statusCodes": [ 204 ], @@ -4328,11 +5015,11 @@ }, "parameters": [ { - "$id": "389", + "$id": "463", "name": "body", "nameInRequest": "body", "type": { - "$ref": "61" + "$ref": "194" }, "location": "Body", "isApiVersion": false, @@ -4345,12 +5032,12 @@ "skipUrlEncoding": false }, { - "$id": "390", + "$id": "464", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "385" + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -4364,7 +5051,7 @@ } ], "response": { - "$id": "391" + "$id": "465" }, "isOverride": false, "generateConvenient": true, @@ -4372,39 +5059,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte.putAll" }, { - "$id": "392", + "$id": "466", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "393", + "$id": "467", "name": "putDefault", "resourceName": "CollectionsByte", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "394", + "$id": "468", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "395", - "kind": "constant", - "name": "putDefaultContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "396", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -4417,11 +5091,11 @@ "skipUrlEncoding": false }, { - "$id": "397", + "$id": "469", "name": "body", "nameInRequest": "body", "type": { - "$ref": "61" + "$ref": "194" }, "location": "Body", "isApiVersion": false, @@ -4436,7 +5110,7 @@ ], "responses": [ { - "$id": "398", + "$id": "470", "statusCodes": [ 204 ], @@ -4458,11 +5132,11 @@ }, "parameters": [ { - "$id": "399", + "$id": "471", "name": "body", "nameInRequest": "body", "type": { - "$ref": "61" + "$ref": "194" }, "location": "Body", "isApiVersion": false, @@ -4475,12 +5149,12 @@ "skipUrlEncoding": false }, { - "$id": "400", + "$id": "472", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "395" + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -4494,7 +5168,7 @@ } ], "response": { - "$id": "401" + "$id": "473" }, "isOverride": false, "generateConvenient": true, @@ -4504,12 +5178,12 @@ ], "parameters": [ { - "$id": "402", + "$id": "474", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "403", + "$id": "475", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4523,9 +5197,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "404", + "$id": "476", "type": { - "$id": "405", + "$id": "477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4538,48 +5212,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "406", + "$id": "478", "kind": "client", "name": "CollectionsModel", "namespace": "_Type.Property.Optionality", "methods": [ { - "$id": "407", + "$id": "479", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "408", + "$id": "480", "name": "getAll", "resourceName": "CollectionsModel", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "409", + "$id": "481", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "410", - "kind": "constant", - "name": "getAllContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "411", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -4594,12 +5255,12 @@ ], "responses": [ { - "$id": "412", + "$id": "482", "statusCodes": [ 200 ], "bodyType": { - "$ref": "67" + "$ref": "200" }, "headers": [], "isErrorResponse": false, @@ -4619,11 +5280,11 @@ }, "parameters": [ { - "$id": "413", + "$id": "483", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "410" + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -4637,9 +5298,9 @@ } ], "response": { - "$id": "414", + "$id": "484", "type": { - "$ref": "67" + "$ref": "200" } }, "isOverride": false, @@ -4648,38 +5309,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel.getAll" }, { - "$id": "415", + "$id": "485", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "416", + "$id": "486", "name": "getDefault", "resourceName": "CollectionsModel", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "417", + "$id": "487", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "418", - "kind": "constant", - "name": "getDefaultContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "419", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -4694,12 +5342,12 @@ ], "responses": [ { - "$id": "420", + "$id": "488", "statusCodes": [ 200 ], "bodyType": { - "$ref": "67" + "$ref": "200" }, "headers": [], "isErrorResponse": false, @@ -4719,11 +5367,11 @@ }, "parameters": [ { - "$id": "421", + "$id": "489", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "418" + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -4737,9 +5385,9 @@ } ], "response": { - "$id": "422", + "$id": "490", "type": { - "$ref": "67" + "$ref": "200" } }, "isOverride": false, @@ -4748,39 +5396,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel.getDefault" }, { - "$id": "423", + "$id": "491", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "424", + "$id": "492", "name": "putAll", "resourceName": "CollectionsModel", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "425", + "$id": "493", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "426", - "kind": "constant", - "name": "putAllContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "427", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -4793,11 +5428,11 @@ "skipUrlEncoding": false }, { - "$id": "428", + "$id": "494", "name": "body", "nameInRequest": "body", "type": { - "$ref": "67" + "$ref": "200" }, "location": "Body", "isApiVersion": false, @@ -4812,7 +5447,7 @@ ], "responses": [ { - "$id": "429", + "$id": "495", "statusCodes": [ 204 ], @@ -4834,11 +5469,11 @@ }, "parameters": [ { - "$id": "430", + "$id": "496", "name": "body", "nameInRequest": "body", "type": { - "$ref": "67" + "$ref": "200" }, "location": "Body", "isApiVersion": false, @@ -4851,12 +5486,12 @@ "skipUrlEncoding": false }, { - "$id": "431", + "$id": "497", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "426" + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -4870,7 +5505,7 @@ } ], "response": { - "$id": "432" + "$id": "498" }, "isOverride": false, "generateConvenient": true, @@ -4878,39 +5513,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel.putAll" }, { - "$id": "433", + "$id": "499", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "434", + "$id": "500", "name": "putDefault", "resourceName": "CollectionsModel", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "435", + "$id": "501", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "436", - "kind": "constant", - "name": "putDefaultContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "437", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -4923,11 +5545,11 @@ "skipUrlEncoding": false }, { - "$id": "438", + "$id": "502", "name": "body", "nameInRequest": "body", "type": { - "$ref": "67" + "$ref": "200" }, "location": "Body", "isApiVersion": false, @@ -4942,7 +5564,7 @@ ], "responses": [ { - "$id": "439", + "$id": "503", "statusCodes": [ 204 ], @@ -4964,11 +5586,11 @@ }, "parameters": [ { - "$id": "440", + "$id": "504", "name": "body", "nameInRequest": "body", "type": { - "$ref": "67" + "$ref": "200" }, "location": "Body", "isApiVersion": false, @@ -4981,12 +5603,12 @@ "skipUrlEncoding": false }, { - "$id": "441", + "$id": "505", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "436" + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -5000,7 +5622,7 @@ } ], "response": { - "$id": "442" + "$id": "506" }, "isOverride": false, "generateConvenient": true, @@ -5010,12 +5632,12 @@ ], "parameters": [ { - "$id": "443", + "$id": "507", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "444", + "$id": "508", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5029,9 +5651,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "445", + "$id": "509", "type": { - "$id": "446", + "$id": "510", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5044,48 +5666,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "447", + "$id": "511", "kind": "client", "name": "StringLiteral", "namespace": "_Type.Property.Optionality", "methods": [ { - "$id": "448", + "$id": "512", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "449", + "$id": "513", "name": "getAll", "resourceName": "StringLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "450", + "$id": "514", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "451", - "kind": "constant", - "name": "getAllContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "452", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -5100,12 +5709,12 @@ ], "responses": [ { - "$id": "453", + "$id": "515", "statusCodes": [ 200 ], "bodyType": { - "$ref": "72" + "$ref": "205" }, "headers": [], "isErrorResponse": false, @@ -5125,11 +5734,11 @@ }, "parameters": [ { - "$id": "454", + "$id": "516", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "451" + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -5143,9 +5752,9 @@ } ], "response": { - "$id": "455", + "$id": "517", "type": { - "$ref": "72" + "$ref": "205" } }, "isOverride": false, @@ -5154,38 +5763,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral.getAll" }, { - "$id": "456", + "$id": "518", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "457", + "$id": "519", "name": "getDefault", "resourceName": "StringLiteral", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "458", + "$id": "520", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "459", - "kind": "constant", - "name": "getDefaultContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "460", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -5200,12 +5796,12 @@ ], "responses": [ { - "$id": "461", + "$id": "521", "statusCodes": [ 200 ], "bodyType": { - "$ref": "72" + "$ref": "205" }, "headers": [], "isErrorResponse": false, @@ -5225,11 +5821,11 @@ }, "parameters": [ { - "$id": "462", + "$id": "522", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "459" + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -5243,9 +5839,9 @@ } ], "response": { - "$id": "463", + "$id": "523", "type": { - "$ref": "72" + "$ref": "205" } }, "isOverride": false, @@ -5254,39 +5850,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral.getDefault" }, { - "$id": "464", + "$id": "524", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "465", + "$id": "525", "name": "putAll", "resourceName": "StringLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "466", + "$id": "526", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "467", - "kind": "constant", - "name": "putAllContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "468", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -5299,11 +5882,11 @@ "skipUrlEncoding": false }, { - "$id": "469", + "$id": "527", "name": "body", "nameInRequest": "body", "type": { - "$ref": "72" + "$ref": "205" }, "location": "Body", "isApiVersion": false, @@ -5318,7 +5901,7 @@ ], "responses": [ { - "$id": "470", + "$id": "528", "statusCodes": [ 204 ], @@ -5340,11 +5923,11 @@ }, "parameters": [ { - "$id": "471", + "$id": "529", "name": "body", "nameInRequest": "body", "type": { - "$ref": "72" + "$ref": "205" }, "location": "Body", "isApiVersion": false, @@ -5357,12 +5940,12 @@ "skipUrlEncoding": false }, { - "$id": "472", + "$id": "530", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "467" + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -5376,7 +5959,7 @@ } ], "response": { - "$id": "473" + "$id": "531" }, "isOverride": false, "generateConvenient": true, @@ -5384,39 +5967,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral.putAll" }, { - "$id": "474", + "$id": "532", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "475", + "$id": "533", "name": "putDefault", "resourceName": "StringLiteral", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "476", + "$id": "534", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "477", - "kind": "constant", - "name": "putDefaultContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "478", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -5429,11 +5999,11 @@ "skipUrlEncoding": false }, { - "$id": "479", + "$id": "535", "name": "body", "nameInRequest": "body", "type": { - "$ref": "72" + "$ref": "205" }, "location": "Body", "isApiVersion": false, @@ -5448,7 +6018,7 @@ ], "responses": [ { - "$id": "480", + "$id": "536", "statusCodes": [ 204 ], @@ -5470,11 +6040,11 @@ }, "parameters": [ { - "$id": "481", + "$id": "537", "name": "body", "nameInRequest": "body", "type": { - "$ref": "72" + "$ref": "205" }, "location": "Body", "isApiVersion": false, @@ -5487,12 +6057,12 @@ "skipUrlEncoding": false }, { - "$id": "482", + "$id": "538", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "477" + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -5506,7 +6076,7 @@ } ], "response": { - "$id": "483" + "$id": "539" }, "isOverride": false, "generateConvenient": true, @@ -5516,12 +6086,12 @@ ], "parameters": [ { - "$id": "484", + "$id": "540", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "485", + "$id": "541", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5535,9 +6105,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "486", + "$id": "542", "type": { - "$id": "487", + "$id": "543", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5550,48 +6120,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "488", + "$id": "544", "kind": "client", "name": "IntLiteral", "namespace": "_Type.Property.Optionality", "methods": [ { - "$id": "489", + "$id": "545", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "490", + "$id": "546", "name": "getAll", "resourceName": "IntLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "491", + "$id": "547", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "492", - "kind": "constant", - "name": "getAllContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "493", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -5606,12 +6163,12 @@ ], "responses": [ { - "$id": "494", + "$id": "548", "statusCodes": [ 200 ], "bodyType": { - "$ref": "77" + "$ref": "209" }, "headers": [], "isErrorResponse": false, @@ -5631,11 +6188,11 @@ }, "parameters": [ { - "$id": "495", + "$id": "549", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "492" + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -5649,9 +6206,9 @@ } ], "response": { - "$id": "496", + "$id": "550", "type": { - "$ref": "77" + "$ref": "209" } }, "isOverride": false, @@ -5660,38 +6217,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral.getAll" }, { - "$id": "497", + "$id": "551", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "498", + "$id": "552", "name": "getDefault", "resourceName": "IntLiteral", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "499", + "$id": "553", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "500", - "kind": "constant", - "name": "getDefaultContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "501", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -5706,12 +6250,12 @@ ], "responses": [ { - "$id": "502", + "$id": "554", "statusCodes": [ 200 ], "bodyType": { - "$ref": "77" + "$ref": "209" }, "headers": [], "isErrorResponse": false, @@ -5731,11 +6275,11 @@ }, "parameters": [ { - "$id": "503", + "$id": "555", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "500" + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -5749,9 +6293,9 @@ } ], "response": { - "$id": "504", + "$id": "556", "type": { - "$ref": "77" + "$ref": "209" } }, "isOverride": false, @@ -5760,39 +6304,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral.getDefault" }, { - "$id": "505", + "$id": "557", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "506", + "$id": "558", "name": "putAll", "resourceName": "IntLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "507", + "$id": "559", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "508", - "kind": "constant", - "name": "putAllContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "509", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -5805,11 +6336,11 @@ "skipUrlEncoding": false }, { - "$id": "510", + "$id": "560", "name": "body", "nameInRequest": "body", "type": { - "$ref": "77" + "$ref": "209" }, "location": "Body", "isApiVersion": false, @@ -5824,7 +6355,7 @@ ], "responses": [ { - "$id": "511", + "$id": "561", "statusCodes": [ 204 ], @@ -5846,11 +6377,11 @@ }, "parameters": [ { - "$id": "512", + "$id": "562", "name": "body", "nameInRequest": "body", "type": { - "$ref": "77" + "$ref": "209" }, "location": "Body", "isApiVersion": false, @@ -5863,12 +6394,12 @@ "skipUrlEncoding": false }, { - "$id": "513", + "$id": "563", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "508" + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -5882,7 +6413,7 @@ } ], "response": { - "$id": "514" + "$id": "564" }, "isOverride": false, "generateConvenient": true, @@ -5890,39 +6421,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral.putAll" }, { - "$id": "515", + "$id": "565", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "516", + "$id": "566", "name": "putDefault", "resourceName": "IntLiteral", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "517", + "$id": "567", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "518", - "kind": "constant", - "name": "putDefaultContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "519", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -5935,11 +6453,11 @@ "skipUrlEncoding": false }, { - "$id": "520", + "$id": "568", "name": "body", "nameInRequest": "body", "type": { - "$ref": "77" + "$ref": "209" }, "location": "Body", "isApiVersion": false, @@ -5954,7 +6472,7 @@ ], "responses": [ { - "$id": "521", + "$id": "569", "statusCodes": [ 204 ], @@ -5976,11 +6494,11 @@ }, "parameters": [ { - "$id": "522", + "$id": "570", "name": "body", "nameInRequest": "body", "type": { - "$ref": "77" + "$ref": "209" }, "location": "Body", "isApiVersion": false, @@ -5993,12 +6511,12 @@ "skipUrlEncoding": false }, { - "$id": "523", + "$id": "571", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "518" + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -6012,7 +6530,7 @@ } ], "response": { - "$id": "524" + "$id": "572" }, "isOverride": false, "generateConvenient": true, @@ -6022,12 +6540,12 @@ ], "parameters": [ { - "$id": "525", + "$id": "573", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "526", + "$id": "574", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6041,9 +6559,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "527", + "$id": "575", "type": { - "$id": "528", + "$id": "576", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6056,48 +6574,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "529", + "$id": "577", "kind": "client", "name": "FloatLiteral", "namespace": "_Type.Property.Optionality", "methods": [ { - "$id": "530", + "$id": "578", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "531", + "$id": "579", "name": "getAll", "resourceName": "FloatLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "532", + "$id": "580", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "533", - "kind": "constant", - "name": "getAllContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "534", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -6112,12 +6617,12 @@ ], "responses": [ { - "$id": "535", + "$id": "581", "statusCodes": [ 200 ], "bodyType": { - "$ref": "82" + "$ref": "213" }, "headers": [], "isErrorResponse": false, @@ -6137,11 +6642,11 @@ }, "parameters": [ { - "$id": "536", + "$id": "582", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "533" + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -6155,9 +6660,9 @@ } ], "response": { - "$id": "537", + "$id": "583", "type": { - "$ref": "82" + "$ref": "213" } }, "isOverride": false, @@ -6166,38 +6671,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral.getAll" }, { - "$id": "538", + "$id": "584", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "539", + "$id": "585", "name": "getDefault", "resourceName": "FloatLiteral", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "540", + "$id": "586", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "541", - "kind": "constant", - "name": "getDefaultContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "542", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -6212,12 +6704,12 @@ ], "responses": [ { - "$id": "543", + "$id": "587", "statusCodes": [ 200 ], "bodyType": { - "$ref": "82" + "$ref": "213" }, "headers": [], "isErrorResponse": false, @@ -6237,11 +6729,11 @@ }, "parameters": [ { - "$id": "544", + "$id": "588", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "541" + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -6255,9 +6747,9 @@ } ], "response": { - "$id": "545", + "$id": "589", "type": { - "$ref": "82" + "$ref": "213" } }, "isOverride": false, @@ -6266,39 +6758,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral.getDefault" }, { - "$id": "546", + "$id": "590", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "547", + "$id": "591", "name": "putAll", "resourceName": "FloatLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "548", + "$id": "592", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "549", - "kind": "constant", - "name": "putAllContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "550", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -6311,11 +6790,11 @@ "skipUrlEncoding": false }, { - "$id": "551", + "$id": "593", "name": "body", "nameInRequest": "body", "type": { - "$ref": "82" + "$ref": "213" }, "location": "Body", "isApiVersion": false, @@ -6330,7 +6809,7 @@ ], "responses": [ { - "$id": "552", + "$id": "594", "statusCodes": [ 204 ], @@ -6352,11 +6831,11 @@ }, "parameters": [ { - "$id": "553", + "$id": "595", "name": "body", "nameInRequest": "body", "type": { - "$ref": "82" + "$ref": "213" }, "location": "Body", "isApiVersion": false, @@ -6369,12 +6848,12 @@ "skipUrlEncoding": false }, { - "$id": "554", + "$id": "596", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "549" + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -6388,7 +6867,7 @@ } ], "response": { - "$id": "555" + "$id": "597" }, "isOverride": false, "generateConvenient": true, @@ -6396,39 +6875,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral.putAll" }, { - "$id": "556", + "$id": "598", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "557", + "$id": "599", "name": "putDefault", "resourceName": "FloatLiteral", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "558", + "$id": "600", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "559", - "kind": "constant", - "name": "putDefaultContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "560", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -6441,11 +6907,11 @@ "skipUrlEncoding": false }, { - "$id": "561", + "$id": "601", "name": "body", "nameInRequest": "body", "type": { - "$ref": "82" + "$ref": "213" }, "location": "Body", "isApiVersion": false, @@ -6460,7 +6926,7 @@ ], "responses": [ { - "$id": "562", + "$id": "602", "statusCodes": [ 204 ], @@ -6482,11 +6948,11 @@ }, "parameters": [ { - "$id": "563", + "$id": "603", "name": "body", "nameInRequest": "body", "type": { - "$ref": "82" + "$ref": "213" }, "location": "Body", "isApiVersion": false, @@ -6499,12 +6965,12 @@ "skipUrlEncoding": false }, { - "$id": "564", + "$id": "604", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "559" + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -6518,7 +6984,7 @@ } ], "response": { - "$id": "565" + "$id": "605" }, "isOverride": false, "generateConvenient": true, @@ -6528,12 +6994,12 @@ ], "parameters": [ { - "$id": "566", + "$id": "606", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "567", + "$id": "607", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6547,9 +7013,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "568", + "$id": "608", "type": { - "$id": "569", + "$id": "609", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6562,48 +7028,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "570", + "$id": "610", "kind": "client", "name": "BooleanLiteral", "namespace": "_Type.Property.Optionality", "methods": [ { - "$id": "571", + "$id": "611", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "572", + "$id": "612", "name": "getAll", "resourceName": "BooleanLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "573", + "$id": "613", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "574", - "kind": "constant", - "name": "getAllContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "575", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -6618,12 +7071,12 @@ ], "responses": [ { - "$id": "576", + "$id": "614", "statusCodes": [ 200 ], "bodyType": { - "$ref": "87" + "$ref": "217" }, "headers": [], "isErrorResponse": false, @@ -6643,11 +7096,11 @@ }, "parameters": [ { - "$id": "577", + "$id": "615", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "574" + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -6661,9 +7114,9 @@ } ], "response": { - "$id": "578", + "$id": "616", "type": { - "$ref": "87" + "$ref": "217" } }, "isOverride": false, @@ -6672,38 +7125,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral.getAll" }, { - "$id": "579", + "$id": "617", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "580", + "$id": "618", "name": "getDefault", "resourceName": "BooleanLiteral", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "581", + "$id": "619", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "582", - "kind": "constant", - "name": "getDefaultContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "583", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -6718,12 +7158,12 @@ ], "responses": [ { - "$id": "584", + "$id": "620", "statusCodes": [ 200 ], "bodyType": { - "$ref": "87" + "$ref": "217" }, "headers": [], "isErrorResponse": false, @@ -6743,11 +7183,11 @@ }, "parameters": [ { - "$id": "585", + "$id": "621", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "582" + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -6761,9 +7201,9 @@ } ], "response": { - "$id": "586", + "$id": "622", "type": { - "$ref": "87" + "$ref": "217" } }, "isOverride": false, @@ -6772,39 +7212,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral.getDefault" }, { - "$id": "587", + "$id": "623", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "588", + "$id": "624", "name": "putAll", "resourceName": "BooleanLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "589", + "$id": "625", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "590", - "kind": "constant", - "name": "putAllContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "591", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -6817,11 +7244,11 @@ "skipUrlEncoding": false }, { - "$id": "592", + "$id": "626", "name": "body", "nameInRequest": "body", "type": { - "$ref": "87" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -6836,7 +7263,7 @@ ], "responses": [ { - "$id": "593", + "$id": "627", "statusCodes": [ 204 ], @@ -6858,11 +7285,11 @@ }, "parameters": [ { - "$id": "594", + "$id": "628", "name": "body", "nameInRequest": "body", "type": { - "$ref": "87" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -6875,12 +7302,12 @@ "skipUrlEncoding": false }, { - "$id": "595", + "$id": "629", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "590" + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -6894,7 +7321,7 @@ } ], "response": { - "$id": "596" + "$id": "630" }, "isOverride": false, "generateConvenient": true, @@ -6902,39 +7329,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral.putAll" }, { - "$id": "597", + "$id": "631", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "598", + "$id": "632", "name": "putDefault", "resourceName": "BooleanLiteral", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "599", + "$id": "633", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "600", - "kind": "constant", - "name": "putDefaultContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "601", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -6947,11 +7361,11 @@ "skipUrlEncoding": false }, { - "$id": "602", + "$id": "634", "name": "body", "nameInRequest": "body", "type": { - "$ref": "87" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -6966,7 +7380,7 @@ ], "responses": [ { - "$id": "603", + "$id": "635", "statusCodes": [ 204 ], @@ -6988,11 +7402,11 @@ }, "parameters": [ { - "$id": "604", + "$id": "636", "name": "body", "nameInRequest": "body", "type": { - "$ref": "87" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -7005,12 +7419,12 @@ "skipUrlEncoding": false }, { - "$id": "605", + "$id": "637", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "600" + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -7024,7 +7438,7 @@ } ], "response": { - "$id": "606" + "$id": "638" }, "isOverride": false, "generateConvenient": true, @@ -7034,12 +7448,12 @@ ], "parameters": [ { - "$id": "607", + "$id": "639", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "608", + "$id": "640", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7053,9 +7467,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "609", + "$id": "641", "type": { - "$id": "610", + "$id": "642", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7068,48 +7482,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "611", + "$id": "643", "kind": "client", "name": "UnionStringLiteral", "namespace": "_Type.Property.Optionality", "methods": [ { - "$id": "612", + "$id": "644", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "613", + "$id": "645", "name": "getAll", "resourceName": "UnionStringLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "614", + "$id": "646", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "615", - "kind": "constant", - "name": "getAllContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "616", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -7124,12 +7525,12 @@ ], "responses": [ { - "$id": "617", + "$id": "647", "statusCodes": [ 200 ], "bodyType": { - "$ref": "93" + "$ref": "221" }, "headers": [], "isErrorResponse": false, @@ -7149,11 +7550,11 @@ }, "parameters": [ { - "$id": "618", + "$id": "648", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "615" + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -7167,9 +7568,9 @@ } ], "response": { - "$id": "619", + "$id": "649", "type": { - "$ref": "93" + "$ref": "221" } }, "isOverride": false, @@ -7178,38 +7579,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral.getAll" }, { - "$id": "620", + "$id": "650", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "621", + "$id": "651", "name": "getDefault", "resourceName": "UnionStringLiteral", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "622", + "$id": "652", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "623", - "kind": "constant", - "name": "getDefaultContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "624", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -7224,12 +7612,12 @@ ], "responses": [ { - "$id": "625", + "$id": "653", "statusCodes": [ 200 ], "bodyType": { - "$ref": "93" + "$ref": "221" }, "headers": [], "isErrorResponse": false, @@ -7249,11 +7637,11 @@ }, "parameters": [ { - "$id": "626", + "$id": "654", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "623" + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -7267,9 +7655,9 @@ } ], "response": { - "$id": "627", + "$id": "655", "type": { - "$ref": "93" + "$ref": "221" } }, "isOverride": false, @@ -7278,39 +7666,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral.getDefault" }, { - "$id": "628", + "$id": "656", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "629", + "$id": "657", "name": "putAll", "resourceName": "UnionStringLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "630", + "$id": "658", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "631", - "kind": "constant", - "name": "putAllContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "632", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -7323,11 +7698,11 @@ "skipUrlEncoding": false }, { - "$id": "633", + "$id": "659", "name": "body", "nameInRequest": "body", "type": { - "$ref": "93" + "$ref": "221" }, "location": "Body", "isApiVersion": false, @@ -7342,7 +7717,7 @@ ], "responses": [ { - "$id": "634", + "$id": "660", "statusCodes": [ 204 ], @@ -7364,11 +7739,11 @@ }, "parameters": [ { - "$id": "635", + "$id": "661", "name": "body", "nameInRequest": "body", "type": { - "$ref": "93" + "$ref": "221" }, "location": "Body", "isApiVersion": false, @@ -7381,12 +7756,12 @@ "skipUrlEncoding": false }, { - "$id": "636", + "$id": "662", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "631" + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -7400,7 +7775,7 @@ } ], "response": { - "$id": "637" + "$id": "663" }, "isOverride": false, "generateConvenient": true, @@ -7408,39 +7783,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral.putAll" }, { - "$id": "638", + "$id": "664", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "639", + "$id": "665", "name": "putDefault", "resourceName": "UnionStringLiteral", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "640", + "$id": "666", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "641", - "kind": "constant", - "name": "putDefaultContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "642", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -7453,11 +7815,11 @@ "skipUrlEncoding": false }, { - "$id": "643", + "$id": "667", "name": "body", "nameInRequest": "body", "type": { - "$ref": "93" + "$ref": "221" }, "location": "Body", "isApiVersion": false, @@ -7472,7 +7834,7 @@ ], "responses": [ { - "$id": "644", + "$id": "668", "statusCodes": [ 204 ], @@ -7494,11 +7856,11 @@ }, "parameters": [ { - "$id": "645", + "$id": "669", "name": "body", "nameInRequest": "body", "type": { - "$ref": "93" + "$ref": "221" }, "location": "Body", "isApiVersion": false, @@ -7511,12 +7873,12 @@ "skipUrlEncoding": false }, { - "$id": "646", + "$id": "670", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "641" + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -7530,7 +7892,7 @@ } ], "response": { - "$id": "647" + "$id": "671" }, "isOverride": false, "generateConvenient": true, @@ -7540,12 +7902,12 @@ ], "parameters": [ { - "$id": "648", + "$id": "672", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "649", + "$id": "673", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7559,9 +7921,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "650", + "$id": "674", "type": { - "$id": "651", + "$id": "675", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7574,48 +7936,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "652", + "$id": "676", "kind": "client", "name": "UnionIntLiteral", "namespace": "_Type.Property.Optionality", "methods": [ { - "$id": "653", + "$id": "677", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "654", + "$id": "678", "name": "getAll", "resourceName": "UnionIntLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "655", + "$id": "679", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "656", - "kind": "constant", - "name": "getAllContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "657", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -7630,12 +7979,12 @@ ], "responses": [ { - "$id": "658", + "$id": "680", "statusCodes": [ 200 ], "bodyType": { - "$ref": "97" + "$ref": "225" }, "headers": [], "isErrorResponse": false, @@ -7655,11 +8004,11 @@ }, "parameters": [ { - "$id": "659", + "$id": "681", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "656" + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -7673,9 +8022,9 @@ } ], "response": { - "$id": "660", + "$id": "682", "type": { - "$ref": "97" + "$ref": "225" } }, "isOverride": false, @@ -7684,38 +8033,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral.getAll" }, { - "$id": "661", + "$id": "683", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "662", + "$id": "684", "name": "getDefault", "resourceName": "UnionIntLiteral", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "663", + "$id": "685", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "664", - "kind": "constant", - "name": "getDefaultContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "665", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -7730,12 +8066,12 @@ ], "responses": [ { - "$id": "666", + "$id": "686", "statusCodes": [ 200 ], "bodyType": { - "$ref": "97" + "$ref": "225" }, "headers": [], "isErrorResponse": false, @@ -7755,11 +8091,11 @@ }, "parameters": [ { - "$id": "667", + "$id": "687", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "664" + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -7773,9 +8109,9 @@ } ], "response": { - "$id": "668", + "$id": "688", "type": { - "$ref": "97" + "$ref": "225" } }, "isOverride": false, @@ -7784,39 +8120,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral.getDefault" }, { - "$id": "669", + "$id": "689", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "670", + "$id": "690", "name": "putAll", "resourceName": "UnionIntLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "671", + "$id": "691", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "672", - "kind": "constant", - "name": "putAllContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "673", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "142" }, "location": "Header", "isApiVersion": false, @@ -7829,11 +8152,11 @@ "skipUrlEncoding": false }, { - "$id": "674", + "$id": "692", "name": "body", "nameInRequest": "body", "type": { - "$ref": "97" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -7848,7 +8171,7 @@ ], "responses": [ { - "$id": "675", + "$id": "693", "statusCodes": [ 204 ], @@ -7870,11 +8193,11 @@ }, "parameters": [ { - "$id": "676", + "$id": "694", "name": "body", "nameInRequest": "body", "type": { - "$ref": "97" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -7887,12 +8210,12 @@ "skipUrlEncoding": false }, { - "$id": "677", + "$id": "695", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "672" + "$ref": "142" }, "location": "Header", "isApiVersion": false, @@ -7906,7 +8229,7 @@ } ], "response": { - "$id": "678" + "$id": "696" }, "isOverride": false, "generateConvenient": true, @@ -7914,39 +8237,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral.putAll" }, { - "$id": "679", + "$id": "697", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "680", + "$id": "698", "name": "putDefault", "resourceName": "UnionIntLiteral", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "681", + "$id": "699", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "682", - "kind": "constant", - "name": "putDefaultContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "683", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "144" }, "location": "Header", "isApiVersion": false, @@ -7959,11 +8269,11 @@ "skipUrlEncoding": false }, { - "$id": "684", + "$id": "700", "name": "body", "nameInRequest": "body", "type": { - "$ref": "97" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -7978,7 +8288,7 @@ ], "responses": [ { - "$id": "685", + "$id": "701", "statusCodes": [ 204 ], @@ -8000,11 +8310,11 @@ }, "parameters": [ { - "$id": "686", + "$id": "702", "name": "body", "nameInRequest": "body", "type": { - "$ref": "97" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -8017,12 +8327,12 @@ "skipUrlEncoding": false }, { - "$id": "687", + "$id": "703", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "682" + "$ref": "144" }, "location": "Header", "isApiVersion": false, @@ -8036,7 +8346,7 @@ } ], "response": { - "$id": "688" + "$id": "704" }, "isOverride": false, "generateConvenient": true, @@ -8046,12 +8356,12 @@ ], "parameters": [ { - "$id": "689", + "$id": "705", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "690", + "$id": "706", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8065,9 +8375,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "691", + "$id": "707", "type": { - "$id": "692", + "$id": "708", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8080,48 +8390,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "693", + "$id": "709", "kind": "client", "name": "UnionFloatLiteral", "namespace": "_Type.Property.Optionality", "methods": [ { - "$id": "694", + "$id": "710", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "695", + "$id": "711", "name": "getAll", "resourceName": "UnionFloatLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "696", + "$id": "712", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "697", - "kind": "constant", - "name": "getAllContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "698", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "146" }, "location": "Header", "isApiVersion": false, @@ -8136,12 +8433,12 @@ ], "responses": [ { - "$id": "699", + "$id": "713", "statusCodes": [ 200 ], "bodyType": { - "$ref": "101" + "$ref": "229" }, "headers": [], "isErrorResponse": false, @@ -8161,11 +8458,11 @@ }, "parameters": [ { - "$id": "700", + "$id": "714", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "697" + "$ref": "146" }, "location": "Header", "isApiVersion": false, @@ -8179,9 +8476,9 @@ } ], "response": { - "$id": "701", + "$id": "715", "type": { - "$ref": "101" + "$ref": "229" } }, "isOverride": false, @@ -8190,38 +8487,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral.getAll" }, { - "$id": "702", + "$id": "716", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "703", + "$id": "717", "name": "getDefault", "resourceName": "UnionFloatLiteral", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "704", + "$id": "718", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "705", - "kind": "constant", - "name": "getDefaultContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "706", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "148" }, "location": "Header", "isApiVersion": false, @@ -8236,12 +8520,12 @@ ], "responses": [ { - "$id": "707", + "$id": "719", "statusCodes": [ 200 ], "bodyType": { - "$ref": "101" + "$ref": "229" }, "headers": [], "isErrorResponse": false, @@ -8261,11 +8545,11 @@ }, "parameters": [ { - "$id": "708", + "$id": "720", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "705" + "$ref": "148" }, "location": "Header", "isApiVersion": false, @@ -8279,9 +8563,9 @@ } ], "response": { - "$id": "709", + "$id": "721", "type": { - "$ref": "101" + "$ref": "229" } }, "isOverride": false, @@ -8290,39 +8574,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral.getDefault" }, { - "$id": "710", + "$id": "722", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "711", + "$id": "723", "name": "putAll", "resourceName": "UnionFloatLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "712", + "$id": "724", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "713", - "kind": "constant", - "name": "putAllContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "714", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "150" }, "location": "Header", "isApiVersion": false, @@ -8335,11 +8606,11 @@ "skipUrlEncoding": false }, { - "$id": "715", + "$id": "725", "name": "body", "nameInRequest": "body", "type": { - "$ref": "101" + "$ref": "229" }, "location": "Body", "isApiVersion": false, @@ -8354,7 +8625,7 @@ ], "responses": [ { - "$id": "716", + "$id": "726", "statusCodes": [ 204 ], @@ -8376,11 +8647,11 @@ }, "parameters": [ { - "$id": "717", + "$id": "727", "name": "body", "nameInRequest": "body", "type": { - "$ref": "101" + "$ref": "229" }, "location": "Body", "isApiVersion": false, @@ -8393,12 +8664,12 @@ "skipUrlEncoding": false }, { - "$id": "718", + "$id": "728", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "713" + "$ref": "150" }, "location": "Header", "isApiVersion": false, @@ -8412,7 +8683,7 @@ } ], "response": { - "$id": "719" + "$id": "729" }, "isOverride": false, "generateConvenient": true, @@ -8420,39 +8691,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral.putAll" }, { - "$id": "720", + "$id": "730", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "721", + "$id": "731", "name": "putDefault", "resourceName": "UnionFloatLiteral", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "722", + "$id": "732", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "723", - "kind": "constant", - "name": "putDefaultContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "724", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "152" }, "location": "Header", "isApiVersion": false, @@ -8465,11 +8723,11 @@ "skipUrlEncoding": false }, { - "$id": "725", + "$id": "733", "name": "body", "nameInRequest": "body", "type": { - "$ref": "101" + "$ref": "229" }, "location": "Body", "isApiVersion": false, @@ -8484,7 +8742,7 @@ ], "responses": [ { - "$id": "726", + "$id": "734", "statusCodes": [ 204 ], @@ -8506,11 +8764,11 @@ }, "parameters": [ { - "$id": "727", + "$id": "735", "name": "body", "nameInRequest": "body", "type": { - "$ref": "101" + "$ref": "229" }, "location": "Body", "isApiVersion": false, @@ -8523,12 +8781,12 @@ "skipUrlEncoding": false }, { - "$id": "728", + "$id": "736", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "723" + "$ref": "152" }, "location": "Header", "isApiVersion": false, @@ -8542,7 +8800,7 @@ } ], "response": { - "$id": "729" + "$id": "737" }, "isOverride": false, "generateConvenient": true, @@ -8552,12 +8810,12 @@ ], "parameters": [ { - "$id": "730", + "$id": "738", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "731", + "$id": "739", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8571,9 +8829,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "732", + "$id": "740", "type": { - "$id": "733", + "$id": "741", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8586,49 +8844,36 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "734", + "$id": "742", "kind": "client", "name": "RequiredAndOptional", "namespace": "_Type.Property.Optionality", "doc": "Test optional and required properties", "methods": [ { - "$id": "735", + "$id": "743", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "736", + "$id": "744", "name": "getAll", "resourceName": "RequiredAndOptional", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "737", + "$id": "745", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "738", - "kind": "constant", - "name": "getAllContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "739", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "154" }, "location": "Header", "isApiVersion": false, @@ -8643,12 +8888,12 @@ ], "responses": [ { - "$id": "740", + "$id": "746", "statusCodes": [ 200 ], "bodyType": { - "$ref": "105" + "$ref": "233" }, "headers": [], "isErrorResponse": false, @@ -8668,11 +8913,11 @@ }, "parameters": [ { - "$id": "741", + "$id": "747", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "738" + "$ref": "154" }, "location": "Header", "isApiVersion": false, @@ -8686,9 +8931,9 @@ } ], "response": { - "$id": "742", + "$id": "748", "type": { - "$ref": "105" + "$ref": "233" } }, "isOverride": false, @@ -8697,38 +8942,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional.getAll" }, { - "$id": "743", + "$id": "749", "kind": "basic", "name": "getRequiredOnly", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return only the required properties", "operation": { - "$id": "744", + "$id": "750", "name": "getRequiredOnly", "resourceName": "RequiredAndOptional", "doc": "Get models that will return only the required properties", "accessibility": "public", "parameters": [ { - "$id": "745", + "$id": "751", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "746", - "kind": "constant", - "name": "getRequiredOnlyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "747", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -8743,12 +8975,12 @@ ], "responses": [ { - "$id": "748", + "$id": "752", "statusCodes": [ 200 ], "bodyType": { - "$ref": "105" + "$ref": "233" }, "headers": [], "isErrorResponse": false, @@ -8768,11 +9000,11 @@ }, "parameters": [ { - "$id": "749", + "$id": "753", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "746" + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -8786,9 +9018,9 @@ } ], "response": { - "$id": "750", + "$id": "754", "type": { - "$ref": "105" + "$ref": "233" } }, "isOverride": false, @@ -8797,39 +9029,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional.getRequiredOnly" }, { - "$id": "751", + "$id": "755", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "752", + "$id": "756", "name": "putAll", "resourceName": "RequiredAndOptional", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "753", + "$id": "757", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "754", - "kind": "constant", - "name": "putAllContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "755", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -8842,11 +9061,11 @@ "skipUrlEncoding": false }, { - "$id": "756", + "$id": "758", "name": "body", "nameInRequest": "body", "type": { - "$ref": "105" + "$ref": "233" }, "location": "Body", "isApiVersion": false, @@ -8861,7 +9080,7 @@ ], "responses": [ { - "$id": "757", + "$id": "759", "statusCodes": [ 204 ], @@ -8883,11 +9102,11 @@ }, "parameters": [ { - "$id": "758", + "$id": "760", "name": "body", "nameInRequest": "body", "type": { - "$ref": "105" + "$ref": "233" }, "location": "Body", "isApiVersion": false, @@ -8900,12 +9119,12 @@ "skipUrlEncoding": false }, { - "$id": "759", + "$id": "761", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "754" + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -8919,7 +9138,7 @@ } ], "response": { - "$id": "760" + "$id": "762" }, "isOverride": false, "generateConvenient": true, @@ -8927,39 +9146,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional.putAll" }, { - "$id": "761", + "$id": "763", "kind": "basic", "name": "putRequiredOnly", "accessibility": "public", "apiVersions": [], "doc": "Put a body with only required properties.", "operation": { - "$id": "762", + "$id": "764", "name": "putRequiredOnly", "resourceName": "RequiredAndOptional", "doc": "Put a body with only required properties.", "accessibility": "public", "parameters": [ { - "$id": "763", + "$id": "765", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "764", - "kind": "constant", - "name": "putRequiredOnlyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "765", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -8976,7 +9182,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "105" + "$ref": "233" }, "location": "Body", "isApiVersion": false, @@ -9017,7 +9223,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "105" + "$ref": "233" }, "location": "Body", "isApiVersion": false, @@ -9035,7 +9241,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "764" + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -9093,7 +9299,7 @@ "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } } ] diff --git a/test/CadlRanchProjects/type/property/value-types/tspCodeModel.json b/test/CadlRanchProjects/type/property/value-types/tspCodeModel.json index 6247f7c19d7..2936f985823 100644 --- a/test/CadlRanchProjects/type/property/value-types/tspCodeModel.json +++ b/test/CadlRanchProjects/type/property/value-types/tspCodeModel.json @@ -413,9 +413,991 @@ "decorators": [] } ], + "constants": [ + { + "$id": "45", + "kind": "constant", + "name": "StringLiteralPropertyProperty", + "namespace": "_Type.Property.ValueTypes", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "36" + }, + "value": "hello", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "IntLiteralPropertyProperty", + "namespace": "_Type.Property.ValueTypes", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "39" + }, + "value": 42, + "decorators": [] + }, + { + "$id": "47", + "kind": "constant", + "name": "FloatLiteralPropertyProperty", + "namespace": "_Type.Property.ValueTypes", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "42" + }, + "value": 43.125, + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "BooleanLiteralPropertyProperty", + "namespace": "_Type.Property.ValueTypes", + "usage": "Input,Output,Json", + "valueType": { + "$id": "49", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "putContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "putContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "getContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "putContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "getContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "putContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "getContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "putContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "70", + "kind": "constant", + "name": "getContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "72", + "kind": "constant", + "name": "putContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "74", + "kind": "constant", + "name": "getContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "76", + "kind": "constant", + "name": "putContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "78", + "kind": "constant", + "name": "getContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "80", + "kind": "constant", + "name": "putContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "82", + "kind": "constant", + "name": "getContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "84", + "kind": "constant", + "name": "putContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "86", + "kind": "constant", + "name": "getContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "88", + "kind": "constant", + "name": "putContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "90", + "kind": "constant", + "name": "getContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "91", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "92", + "kind": "constant", + "name": "putContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "94", + "kind": "constant", + "name": "getContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "96", + "kind": "constant", + "name": "putContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "98", + "kind": "constant", + "name": "getContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "100", + "kind": "constant", + "name": "putContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "102", + "kind": "constant", + "name": "getContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "104", + "kind": "constant", + "name": "putContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "106", + "kind": "constant", + "name": "getContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "107", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "108", + "kind": "constant", + "name": "putContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "109", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "110", + "kind": "constant", + "name": "getContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "112", + "kind": "constant", + "name": "putContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "114", + "kind": "constant", + "name": "getContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "116", + "kind": "constant", + "name": "putContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "118", + "kind": "constant", + "name": "getContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "119", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "120", + "kind": "constant", + "name": "putContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "121", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "122", + "kind": "constant", + "name": "getContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "124", + "kind": "constant", + "name": "putContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "126", + "kind": "constant", + "name": "getContentType19", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "128", + "kind": "constant", + "name": "putContentType19", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "130", + "kind": "constant", + "name": "getContentType20", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "132", + "kind": "constant", + "name": "putContentType20", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "134", + "kind": "constant", + "name": "getContentType21", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "136", + "kind": "constant", + "name": "putContentType21", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "138", + "kind": "constant", + "name": "getContentType22", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "140", + "kind": "constant", + "name": "putContentType22", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "142", + "kind": "constant", + "name": "getContentType23", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "143", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "144", + "kind": "constant", + "name": "putContentType23", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "145", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "146", + "kind": "constant", + "name": "getContentType24", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "147", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "148", + "kind": "constant", + "name": "putContentType24", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "149", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "150", + "kind": "constant", + "name": "getContentType25", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "151", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "152", + "kind": "constant", + "name": "putContentType25", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "153", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "154", + "kind": "constant", + "name": "getContentType26", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "155", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "156", + "kind": "constant", + "name": "putContentType26", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "157", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "158", + "kind": "constant", + "name": "getContentType27", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "160", + "kind": "constant", + "name": "putContentType27", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "162", + "kind": "constant", + "name": "getContentType28", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "163", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "164", + "kind": "constant", + "name": "putContentType28", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "165", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [ { - "$id": "45", + "$id": "166", "kind": "model", "name": "BooleanProperty", "namespace": "_Type.Property.ValueTypes", @@ -425,13 +1407,13 @@ "decorators": [], "properties": [ { - "$id": "46", + "$id": "167", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "47", + "$id": "168", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -444,9 +1426,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.BooleanProperty.property", "serializationOptions": { - "$id": "48", + "$id": "169", "json": { - "$id": "49", + "$id": "170", "name": "property" } } @@ -454,7 +1436,7 @@ ] }, { - "$id": "50", + "$id": "171", "kind": "model", "name": "StringProperty", "namespace": "_Type.Property.ValueTypes", @@ -464,13 +1446,13 @@ "decorators": [], "properties": [ { - "$id": "51", + "$id": "172", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "52", + "$id": "173", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -483,9 +1465,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.StringProperty.property", "serializationOptions": { - "$id": "53", + "$id": "174", "json": { - "$id": "54", + "$id": "175", "name": "property" } } @@ -493,7 +1475,7 @@ ] }, { - "$id": "55", + "$id": "176", "kind": "model", "name": "BytesProperty", "namespace": "_Type.Property.ValueTypes", @@ -503,13 +1485,13 @@ "decorators": [], "properties": [ { - "$id": "56", + "$id": "177", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "57", + "$id": "178", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -523,9 +1505,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.BytesProperty.property", "serializationOptions": { - "$id": "58", + "$id": "179", "json": { - "$id": "59", + "$id": "180", "name": "property" } } @@ -533,7 +1515,7 @@ ] }, { - "$id": "60", + "$id": "181", "kind": "model", "name": "IntProperty", "namespace": "_Type.Property.ValueTypes", @@ -543,13 +1525,13 @@ "decorators": [], "properties": [ { - "$id": "61", + "$id": "182", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "62", + "$id": "183", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -562,9 +1544,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.IntProperty.property", "serializationOptions": { - "$id": "63", + "$id": "184", "json": { - "$id": "64", + "$id": "185", "name": "property" } } @@ -572,7 +1554,7 @@ ] }, { - "$id": "65", + "$id": "186", "kind": "model", "name": "FloatProperty", "namespace": "_Type.Property.ValueTypes", @@ -582,13 +1564,13 @@ "decorators": [], "properties": [ { - "$id": "66", + "$id": "187", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "67", + "$id": "188", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -601,9 +1583,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.FloatProperty.property", "serializationOptions": { - "$id": "68", + "$id": "189", "json": { - "$id": "69", + "$id": "190", "name": "property" } } @@ -611,7 +1593,7 @@ ] }, { - "$id": "70", + "$id": "191", "kind": "model", "name": "DecimalProperty", "namespace": "_Type.Property.ValueTypes", @@ -621,13 +1603,13 @@ "decorators": [], "properties": [ { - "$id": "71", + "$id": "192", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "72", + "$id": "193", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -640,9 +1622,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.DecimalProperty.property", "serializationOptions": { - "$id": "73", + "$id": "194", "json": { - "$id": "74", + "$id": "195", "name": "property" } } @@ -650,7 +1632,7 @@ ] }, { - "$id": "75", + "$id": "196", "kind": "model", "name": "Decimal128Property", "namespace": "_Type.Property.ValueTypes", @@ -660,13 +1642,13 @@ "decorators": [], "properties": [ { - "$id": "76", + "$id": "197", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "77", + "$id": "198", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -679,9 +1661,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal128Property.property", "serializationOptions": { - "$id": "78", + "$id": "199", "json": { - "$id": "79", + "$id": "200", "name": "property" } } @@ -689,7 +1671,7 @@ ] }, { - "$id": "80", + "$id": "201", "kind": "model", "name": "DatetimeProperty", "namespace": "_Type.Property.ValueTypes", @@ -699,18 +1681,18 @@ "decorators": [], "properties": [ { - "$id": "81", + "$id": "202", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "82", + "$id": "203", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "83", + "$id": "204", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -726,9 +1708,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.DatetimeProperty.property", "serializationOptions": { - "$id": "84", + "$id": "205", "json": { - "$id": "85", + "$id": "206", "name": "property" } } @@ -736,7 +1718,7 @@ ] }, { - "$id": "86", + "$id": "207", "kind": "model", "name": "DurationProperty", "namespace": "_Type.Property.ValueTypes", @@ -746,18 +1728,18 @@ "decorators": [], "properties": [ { - "$id": "87", + "$id": "208", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "88", + "$id": "209", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "89", + "$id": "210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -773,9 +1755,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.DurationProperty.property", "serializationOptions": { - "$id": "90", + "$id": "211", "json": { - "$id": "91", + "$id": "212", "name": "property" } } @@ -783,7 +1765,7 @@ ] }, { - "$id": "92", + "$id": "213", "kind": "model", "name": "EnumProperty", "namespace": "_Type.Property.ValueTypes", @@ -793,7 +1775,7 @@ "decorators": [], "properties": [ { - "$id": "93", + "$id": "214", "kind": "property", "name": "property", "serializedName": "property", @@ -808,9 +1790,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.EnumProperty.property", "serializationOptions": { - "$id": "94", + "$id": "215", "json": { - "$id": "95", + "$id": "216", "name": "property" } } @@ -818,7 +1800,7 @@ ] }, { - "$id": "96", + "$id": "217", "kind": "model", "name": "ExtensibleEnumProperty", "namespace": "_Type.Property.ValueTypes", @@ -828,7 +1810,7 @@ "decorators": [], "properties": [ { - "$id": "97", + "$id": "218", "kind": "property", "name": "property", "serializedName": "property", @@ -843,9 +1825,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.ExtensibleEnumProperty.property", "serializationOptions": { - "$id": "98", + "$id": "219", "json": { - "$id": "99", + "$id": "220", "name": "property" } } @@ -853,7 +1835,7 @@ ] }, { - "$id": "100", + "$id": "221", "kind": "model", "name": "ModelProperty", "namespace": "_Type.Property.ValueTypes", @@ -863,13 +1845,13 @@ "decorators": [], "properties": [ { - "$id": "101", + "$id": "222", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "102", + "$id": "223", "kind": "model", "name": "InnerModel", "namespace": "_Type.Property.ValueTypes", @@ -879,13 +1861,13 @@ "decorators": [], "properties": [ { - "$id": "103", + "$id": "224", "kind": "property", "name": "property", "serializedName": "property", "doc": "Required string property", "type": { - "$id": "104", + "$id": "225", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -898,9 +1880,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.InnerModel.property", "serializationOptions": { - "$id": "105", + "$id": "226", "json": { - "$id": "106", + "$id": "227", "name": "property" } } @@ -914,9 +1896,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.ModelProperty.property", "serializationOptions": { - "$id": "107", + "$id": "228", "json": { - "$id": "108", + "$id": "229", "name": "property" } } @@ -924,10 +1906,10 @@ ] }, { - "$ref": "102" + "$ref": "223" }, { - "$id": "109", + "$id": "230", "kind": "model", "name": "CollectionsStringProperty", "namespace": "_Type.Property.ValueTypes", @@ -937,17 +1919,17 @@ "decorators": [], "properties": [ { - "$id": "110", + "$id": "231", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "111", + "$id": "232", "kind": "array", "name": "Array", "valueType": { - "$id": "112", + "$id": "233", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -963,9 +1945,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsStringProperty.property", "serializationOptions": { - "$id": "113", + "$id": "234", "json": { - "$id": "114", + "$id": "235", "name": "property" } } @@ -973,7 +1955,7 @@ ] }, { - "$id": "115", + "$id": "236", "kind": "model", "name": "CollectionsIntProperty", "namespace": "_Type.Property.ValueTypes", @@ -983,17 +1965,17 @@ "decorators": [], "properties": [ { - "$id": "116", + "$id": "237", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "117", + "$id": "238", "kind": "array", "name": "Array1", "valueType": { - "$id": "118", + "$id": "239", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1009,9 +1991,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsIntProperty.property", "serializationOptions": { - "$id": "119", + "$id": "240", "json": { - "$id": "120", + "$id": "241", "name": "property" } } @@ -1019,7 +2001,7 @@ ] }, { - "$id": "121", + "$id": "242", "kind": "model", "name": "CollectionsModelProperty", "namespace": "_Type.Property.ValueTypes", @@ -1029,17 +2011,17 @@ "decorators": [], "properties": [ { - "$id": "122", + "$id": "243", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "123", + "$id": "244", "kind": "array", "name": "ArrayInnerModel", "valueType": { - "$ref": "102" + "$ref": "223" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1051,9 +2033,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsModelProperty.property", "serializationOptions": { - "$id": "124", + "$id": "245", "json": { - "$id": "125", + "$id": "246", "name": "property" } } @@ -1061,7 +2043,7 @@ ] }, { - "$id": "126", + "$id": "247", "kind": "model", "name": "DictionaryStringProperty", "namespace": "_Type.Property.ValueTypes", @@ -1071,23 +2053,23 @@ "decorators": [], "properties": [ { - "$id": "127", + "$id": "248", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "128", + "$id": "249", "kind": "dict", "keyType": { - "$id": "129", + "$id": "250", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "130", + "$id": "251", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1102,9 +2084,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.DictionaryStringProperty.property", "serializationOptions": { - "$id": "131", + "$id": "252", "json": { - "$id": "132", + "$id": "253", "name": "property" } } @@ -1112,7 +2094,7 @@ ] }, { - "$id": "133", + "$id": "254", "kind": "model", "name": "NeverProperty", "namespace": "_Type.Property.ValueTypes", @@ -1123,7 +2105,7 @@ "properties": [] }, { - "$id": "134", + "$id": "255", "kind": "model", "name": "UnknownStringProperty", "namespace": "_Type.Property.ValueTypes", @@ -1133,13 +2115,13 @@ "decorators": [], "properties": [ { - "$id": "135", + "$id": "256", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "136", + "$id": "257", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1152,9 +2134,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownStringProperty.property", "serializationOptions": { - "$id": "137", + "$id": "258", "json": { - "$id": "138", + "$id": "259", "name": "property" } } @@ -1162,7 +2144,7 @@ ] }, { - "$id": "139", + "$id": "260", "kind": "model", "name": "UnknownIntProperty", "namespace": "_Type.Property.ValueTypes", @@ -1172,13 +2154,13 @@ "decorators": [], "properties": [ { - "$id": "140", + "$id": "261", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "141", + "$id": "262", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1191,9 +2173,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownIntProperty.property", "serializationOptions": { - "$id": "142", + "$id": "263", "json": { - "$id": "143", + "$id": "264", "name": "property" } } @@ -1201,7 +2183,7 @@ ] }, { - "$id": "144", + "$id": "265", "kind": "model", "name": "UnknownDictProperty", "namespace": "_Type.Property.ValueTypes", @@ -1211,13 +2193,13 @@ "decorators": [], "properties": [ { - "$id": "145", + "$id": "266", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "146", + "$id": "267", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1230,9 +2212,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownDictProperty.property", "serializationOptions": { - "$id": "147", + "$id": "268", "json": { - "$id": "148", + "$id": "269", "name": "property" } } @@ -1240,7 +2222,7 @@ ] }, { - "$id": "149", + "$id": "270", "kind": "model", "name": "UnknownArrayProperty", "namespace": "_Type.Property.ValueTypes", @@ -1250,13 +2232,13 @@ "decorators": [], "properties": [ { - "$id": "150", + "$id": "271", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "151", + "$id": "272", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1269,9 +2251,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownArrayProperty.property", "serializationOptions": { - "$id": "152", + "$id": "273", "json": { - "$id": "153", + "$id": "274", "name": "property" } } @@ -1279,7 +2261,7 @@ ] }, { - "$id": "154", + "$id": "275", "kind": "model", "name": "StringLiteralProperty", "namespace": "_Type.Property.ValueTypes", @@ -1289,22 +2271,13 @@ "decorators": [], "properties": [ { - "$id": "155", + "$id": "276", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "156", - "kind": "constant", - "name": "StringLiteralPropertyProperty", - "namespace": "_Type.Property.ValueTypes", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "36" - }, - "value": "hello", - "decorators": [] + "$ref": "45" }, "optional": false, "readOnly": false, @@ -1313,9 +2286,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.StringLiteralProperty.property", "serializationOptions": { - "$id": "157", + "$id": "277", "json": { - "$id": "158", + "$id": "278", "name": "property" } } @@ -1323,7 +2296,7 @@ ] }, { - "$id": "159", + "$id": "279", "kind": "model", "name": "IntLiteralProperty", "namespace": "_Type.Property.ValueTypes", @@ -1333,22 +2306,13 @@ "decorators": [], "properties": [ { - "$id": "160", + "$id": "280", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "161", - "kind": "constant", - "name": "IntLiteralPropertyProperty", - "namespace": "_Type.Property.ValueTypes", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "39" - }, - "value": 42, - "decorators": [] + "$ref": "46" }, "optional": false, "readOnly": false, @@ -1357,9 +2321,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.IntLiteralProperty.property", "serializationOptions": { - "$id": "162", + "$id": "281", "json": { - "$id": "163", + "$id": "282", "name": "property" } } @@ -1367,7 +2331,7 @@ ] }, { - "$id": "164", + "$id": "283", "kind": "model", "name": "FloatLiteralProperty", "namespace": "_Type.Property.ValueTypes", @@ -1377,22 +2341,13 @@ "decorators": [], "properties": [ { - "$id": "165", + "$id": "284", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "166", - "kind": "constant", - "name": "FloatLiteralPropertyProperty", - "namespace": "_Type.Property.ValueTypes", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "42" - }, - "value": 43.125, - "decorators": [] + "$ref": "47" }, "optional": false, "readOnly": false, @@ -1401,9 +2356,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.FloatLiteralProperty.property", "serializationOptions": { - "$id": "167", + "$id": "285", "json": { - "$id": "168", + "$id": "286", "name": "property" } } @@ -1411,7 +2366,7 @@ ] }, { - "$id": "169", + "$id": "287", "kind": "model", "name": "BooleanLiteralProperty", "namespace": "_Type.Property.ValueTypes", @@ -1421,26 +2376,13 @@ "decorators": [], "properties": [ { - "$id": "170", + "$id": "288", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", - "type": { - "$id": "171", - "kind": "constant", - "name": "BooleanLiteralPropertyProperty", - "namespace": "_Type.Property.ValueTypes", - "usage": "Input,Output,Json", - "valueType": { - "$id": "172", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "type": { + "$ref": "48" }, "optional": false, "readOnly": false, @@ -1449,9 +2391,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.BooleanLiteralProperty.property", "serializationOptions": { - "$id": "173", + "$id": "289", "json": { - "$id": "174", + "$id": "290", "name": "property" } } @@ -1459,7 +2401,7 @@ ] }, { - "$id": "175", + "$id": "291", "kind": "model", "name": "UnionStringLiteralProperty", "namespace": "_Type.Property.ValueTypes", @@ -1469,7 +2411,7 @@ "decorators": [], "properties": [ { - "$id": "176", + "$id": "292", "kind": "property", "name": "property", "serializedName": "property", @@ -1484,9 +2426,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionStringLiteralProperty.property", "serializationOptions": { - "$id": "177", + "$id": "293", "json": { - "$id": "178", + "$id": "294", "name": "property" } } @@ -1494,7 +2436,7 @@ ] }, { - "$id": "179", + "$id": "295", "kind": "model", "name": "UnionIntLiteralProperty", "namespace": "_Type.Property.ValueTypes", @@ -1504,7 +2446,7 @@ "decorators": [], "properties": [ { - "$id": "180", + "$id": "296", "kind": "property", "name": "property", "serializedName": "property", @@ -1519,9 +2461,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionIntLiteralProperty.property", "serializationOptions": { - "$id": "181", + "$id": "297", "json": { - "$id": "182", + "$id": "298", "name": "property" } } @@ -1529,7 +2471,7 @@ ] }, { - "$id": "183", + "$id": "299", "kind": "model", "name": "UnionFloatLiteralProperty", "namespace": "_Type.Property.ValueTypes", @@ -1539,7 +2481,7 @@ "decorators": [], "properties": [ { - "$id": "184", + "$id": "300", "kind": "property", "name": "property", "serializedName": "property", @@ -1554,9 +2496,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionFloatLiteralProperty.property", "serializationOptions": { - "$id": "185", + "$id": "301", "json": { - "$id": "186", + "$id": "302", "name": "property" } } @@ -1564,7 +2506,7 @@ ] }, { - "$id": "187", + "$id": "303", "kind": "model", "name": "UnionEnumValueProperty", "namespace": "_Type.Property.ValueTypes", @@ -1574,18 +2516,18 @@ "decorators": [], "properties": [ { - "$id": "188", + "$id": "304", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "189", + "$id": "305", "kind": "enumvalue", "name": "EnumValue2", "value": "value2", "valueType": { - "$id": "190", + "$id": "306", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1603,9 +2545,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionEnumValueProperty.property", "serializationOptions": { - "$id": "191", + "$id": "307", "json": { - "$id": "192", + "$id": "308", "name": "property" } } @@ -1615,7 +2557,7 @@ ], "clients": [ { - "$id": "193", + "$id": "309", "kind": "client", "name": "ValueTypesClient", "namespace": "_Type.Property.ValueTypes", @@ -1623,12 +2565,12 @@ "methods": [], "parameters": [ { - "$id": "194", + "$id": "310", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "195", + "$id": "311", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1642,9 +2584,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "196", + "$id": "312", "type": { - "$id": "197", + "$id": "313", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1658,44 +2600,31 @@ "apiVersions": [], "children": [ { - "$id": "198", + "$id": "314", "kind": "client", "name": "Boolean", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "199", + "$id": "315", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "200", + "$id": "316", "name": "get", "resourceName": "Boolean", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "201", + "$id": "317", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "202", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "203", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -1710,12 +2639,12 @@ ], "responses": [ { - "$id": "204", + "$id": "318", "statusCodes": [ 200 ], "bodyType": { - "$ref": "45" + "$ref": "166" }, "headers": [], "isErrorResponse": false, @@ -1735,11 +2664,11 @@ }, "parameters": [ { - "$id": "205", + "$id": "319", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "202" + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -1753,9 +2682,9 @@ } ], "response": { - "$id": "206", + "$id": "320", "type": { - "$ref": "45" + "$ref": "166" } }, "isOverride": false, @@ -1764,39 +2693,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Boolean.get" }, { - "$id": "207", + "$id": "321", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "208", + "$id": "322", "name": "put", "resourceName": "Boolean", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "209", + "$id": "323", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "210", - "kind": "constant", - "name": "putContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "211", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -1809,12 +2725,12 @@ "skipUrlEncoding": false }, { - "$id": "212", + "$id": "324", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "45" + "$ref": "166" }, "location": "Body", "isApiVersion": false, @@ -1829,7 +2745,7 @@ ], "responses": [ { - "$id": "213", + "$id": "325", "statusCodes": [ 204 ], @@ -1851,12 +2767,12 @@ }, "parameters": [ { - "$id": "214", + "$id": "326", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "45" + "$ref": "166" }, "location": "Body", "isApiVersion": false, @@ -1869,12 +2785,12 @@ "skipUrlEncoding": false }, { - "$id": "215", + "$id": "327", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "210" + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -1888,7 +2804,7 @@ } ], "response": { - "$id": "216" + "$id": "328" }, "isOverride": false, "generateConvenient": true, @@ -1898,12 +2814,12 @@ ], "parameters": [ { - "$id": "217", + "$id": "329", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "218", + "$id": "330", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1917,9 +2833,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "219", + "$id": "331", "type": { - "$id": "220", + "$id": "332", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1932,48 +2848,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Boolean", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "221", + "$id": "333", "kind": "client", "name": "String", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "222", + "$id": "334", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "223", + "$id": "335", "name": "get", "resourceName": "String", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "224", + "$id": "336", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "225", - "kind": "constant", - "name": "getContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "226", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -1988,12 +2891,12 @@ ], "responses": [ { - "$id": "227", + "$id": "337", "statusCodes": [ 200 ], "bodyType": { - "$ref": "50" + "$ref": "171" }, "headers": [], "isErrorResponse": false, @@ -2013,11 +2916,11 @@ }, "parameters": [ { - "$id": "228", + "$id": "338", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "225" + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -2031,9 +2934,9 @@ } ], "response": { - "$id": "229", + "$id": "339", "type": { - "$ref": "50" + "$ref": "171" } }, "isOverride": false, @@ -2042,39 +2945,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.String.get" }, { - "$id": "230", + "$id": "340", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "231", + "$id": "341", "name": "put", "resourceName": "String", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "232", + "$id": "342", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "233", - "kind": "constant", - "name": "putContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "234", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -2087,12 +2977,12 @@ "skipUrlEncoding": false }, { - "$id": "235", + "$id": "343", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "50" + "$ref": "171" }, "location": "Body", "isApiVersion": false, @@ -2107,7 +2997,7 @@ ], "responses": [ { - "$id": "236", + "$id": "344", "statusCodes": [ 204 ], @@ -2129,12 +3019,12 @@ }, "parameters": [ { - "$id": "237", + "$id": "345", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "50" + "$ref": "171" }, "location": "Body", "isApiVersion": false, @@ -2147,12 +3037,12 @@ "skipUrlEncoding": false }, { - "$id": "238", + "$id": "346", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "233" + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -2166,7 +3056,7 @@ } ], "response": { - "$id": "239" + "$id": "347" }, "isOverride": false, "generateConvenient": true, @@ -2176,12 +3066,12 @@ ], "parameters": [ { - "$id": "240", + "$id": "348", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "241", + "$id": "349", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2195,9 +3085,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "242", + "$id": "350", "type": { - "$id": "243", + "$id": "351", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2210,48 +3100,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.String", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "244", + "$id": "352", "kind": "client", "name": "Bytes", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "245", + "$id": "353", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "246", + "$id": "354", "name": "get", "resourceName": "Bytes", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "247", + "$id": "355", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "248", - "kind": "constant", - "name": "getContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "249", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -2266,12 +3143,12 @@ ], "responses": [ { - "$id": "250", + "$id": "356", "statusCodes": [ 200 ], "bodyType": { - "$ref": "55" + "$ref": "176" }, "headers": [], "isErrorResponse": false, @@ -2291,11 +3168,11 @@ }, "parameters": [ { - "$id": "251", + "$id": "357", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "248" + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -2309,9 +3186,9 @@ } ], "response": { - "$id": "252", + "$id": "358", "type": { - "$ref": "55" + "$ref": "176" } }, "isOverride": false, @@ -2320,39 +3197,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Bytes.get" }, { - "$id": "253", + "$id": "359", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "254", + "$id": "360", "name": "put", "resourceName": "Bytes", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "255", + "$id": "361", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "256", - "kind": "constant", - "name": "putContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "257", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -2365,12 +3229,12 @@ "skipUrlEncoding": false }, { - "$id": "258", + "$id": "362", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "55" + "$ref": "176" }, "location": "Body", "isApiVersion": false, @@ -2385,7 +3249,7 @@ ], "responses": [ { - "$id": "259", + "$id": "363", "statusCodes": [ 204 ], @@ -2407,12 +3271,12 @@ }, "parameters": [ { - "$id": "260", + "$id": "364", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "55" + "$ref": "176" }, "location": "Body", "isApiVersion": false, @@ -2425,12 +3289,12 @@ "skipUrlEncoding": false }, { - "$id": "261", + "$id": "365", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "256" + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -2444,7 +3308,7 @@ } ], "response": { - "$id": "262" + "$id": "366" }, "isOverride": false, "generateConvenient": true, @@ -2454,12 +3318,12 @@ ], "parameters": [ { - "$id": "263", + "$id": "367", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "264", + "$id": "368", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2473,9 +3337,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "265", + "$id": "369", "type": { - "$id": "266", + "$id": "370", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2488,48 +3352,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Bytes", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "267", + "$id": "371", "kind": "client", "name": "Int", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "268", + "$id": "372", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "269", + "$id": "373", "name": "get", "resourceName": "Int", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "270", + "$id": "374", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "271", - "kind": "constant", - "name": "getContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "272", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -2544,12 +3395,12 @@ ], "responses": [ { - "$id": "273", + "$id": "375", "statusCodes": [ 200 ], "bodyType": { - "$ref": "60" + "$ref": "181" }, "headers": [], "isErrorResponse": false, @@ -2569,11 +3420,11 @@ }, "parameters": [ { - "$id": "274", + "$id": "376", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "271" + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -2587,9 +3438,9 @@ } ], "response": { - "$id": "275", + "$id": "377", "type": { - "$ref": "60" + "$ref": "181" } }, "isOverride": false, @@ -2598,39 +3449,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Int.get" }, { - "$id": "276", + "$id": "378", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "277", + "$id": "379", "name": "put", "resourceName": "Int", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "278", + "$id": "380", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "279", - "kind": "constant", - "name": "putContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "280", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -2643,12 +3481,12 @@ "skipUrlEncoding": false }, { - "$id": "281", + "$id": "381", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "60" + "$ref": "181" }, "location": "Body", "isApiVersion": false, @@ -2663,7 +3501,7 @@ ], "responses": [ { - "$id": "282", + "$id": "382", "statusCodes": [ 204 ], @@ -2685,12 +3523,12 @@ }, "parameters": [ { - "$id": "283", + "$id": "383", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "60" + "$ref": "181" }, "location": "Body", "isApiVersion": false, @@ -2703,12 +3541,12 @@ "skipUrlEncoding": false }, { - "$id": "284", + "$id": "384", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "279" + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -2722,7 +3560,7 @@ } ], "response": { - "$id": "285" + "$id": "385" }, "isOverride": false, "generateConvenient": true, @@ -2732,12 +3570,12 @@ ], "parameters": [ { - "$id": "286", + "$id": "386", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "287", + "$id": "387", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2751,9 +3589,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "288", + "$id": "388", "type": { - "$id": "289", + "$id": "389", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2766,48 +3604,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Int", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "290", + "$id": "390", "kind": "client", "name": "Float", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "291", + "$id": "391", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "292", + "$id": "392", "name": "get", "resourceName": "Float", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "293", + "$id": "393", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "294", - "kind": "constant", - "name": "getContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "295", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -2822,12 +3647,12 @@ ], "responses": [ { - "$id": "296", + "$id": "394", "statusCodes": [ 200 ], "bodyType": { - "$ref": "65" + "$ref": "186" }, "headers": [], "isErrorResponse": false, @@ -2847,11 +3672,11 @@ }, "parameters": [ { - "$id": "297", + "$id": "395", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "294" + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -2865,9 +3690,9 @@ } ], "response": { - "$id": "298", + "$id": "396", "type": { - "$ref": "65" + "$ref": "186" } }, "isOverride": false, @@ -2876,39 +3701,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Float.get" }, { - "$id": "299", + "$id": "397", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "300", + "$id": "398", "name": "put", "resourceName": "Float", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "301", + "$id": "399", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "302", - "kind": "constant", - "name": "putContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "303", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -2921,12 +3733,12 @@ "skipUrlEncoding": false }, { - "$id": "304", + "$id": "400", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "65" + "$ref": "186" }, "location": "Body", "isApiVersion": false, @@ -2941,7 +3753,7 @@ ], "responses": [ { - "$id": "305", + "$id": "401", "statusCodes": [ 204 ], @@ -2963,12 +3775,12 @@ }, "parameters": [ { - "$id": "306", + "$id": "402", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "65" + "$ref": "186" }, "location": "Body", "isApiVersion": false, @@ -2981,12 +3793,12 @@ "skipUrlEncoding": false }, { - "$id": "307", + "$id": "403", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "302" + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -3000,7 +3812,7 @@ } ], "response": { - "$id": "308" + "$id": "404" }, "isOverride": false, "generateConvenient": true, @@ -3010,12 +3822,12 @@ ], "parameters": [ { - "$id": "309", + "$id": "405", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "310", + "$id": "406", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3029,9 +3841,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "311", + "$id": "407", "type": { - "$id": "312", + "$id": "408", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3044,48 +3856,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Float", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "313", + "$id": "409", "kind": "client", "name": "Decimal", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "314", + "$id": "410", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "315", + "$id": "411", "name": "get", "resourceName": "Decimal", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "316", + "$id": "412", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "317", - "kind": "constant", - "name": "getContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "318", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -3100,12 +3899,12 @@ ], "responses": [ { - "$id": "319", + "$id": "413", "statusCodes": [ 200 ], "bodyType": { - "$ref": "70" + "$ref": "191" }, "headers": [], "isErrorResponse": false, @@ -3125,11 +3924,11 @@ }, "parameters": [ { - "$id": "320", + "$id": "414", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "317" + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -3143,9 +3942,9 @@ } ], "response": { - "$id": "321", + "$id": "415", "type": { - "$ref": "70" + "$ref": "191" } }, "isOverride": false, @@ -3154,39 +3953,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal.get" }, { - "$id": "322", + "$id": "416", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "323", + "$id": "417", "name": "put", "resourceName": "Decimal", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "324", + "$id": "418", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "325", - "kind": "constant", - "name": "putContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "326", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -3199,12 +3985,12 @@ "skipUrlEncoding": false }, { - "$id": "327", + "$id": "419", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "70" + "$ref": "191" }, "location": "Body", "isApiVersion": false, @@ -3219,7 +4005,7 @@ ], "responses": [ { - "$id": "328", + "$id": "420", "statusCodes": [ 204 ], @@ -3241,12 +4027,12 @@ }, "parameters": [ { - "$id": "329", + "$id": "421", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "70" + "$ref": "191" }, "location": "Body", "isApiVersion": false, @@ -3259,12 +4045,12 @@ "skipUrlEncoding": false }, { - "$id": "330", + "$id": "422", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "325" + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -3278,7 +4064,7 @@ } ], "response": { - "$id": "331" + "$id": "423" }, "isOverride": false, "generateConvenient": true, @@ -3288,12 +4074,12 @@ ], "parameters": [ { - "$id": "332", + "$id": "424", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "333", + "$id": "425", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3307,9 +4093,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "334", + "$id": "426", "type": { - "$id": "335", + "$id": "427", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3322,48 +4108,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "336", + "$id": "428", "kind": "client", "name": "Decimal128", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "337", + "$id": "429", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "338", + "$id": "430", "name": "get", "resourceName": "Decimal128", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "339", + "$id": "431", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "340", - "kind": "constant", - "name": "getContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "341", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3378,12 +4151,12 @@ ], "responses": [ { - "$id": "342", + "$id": "432", "statusCodes": [ 200 ], "bodyType": { - "$ref": "75" + "$ref": "196" }, "headers": [], "isErrorResponse": false, @@ -3403,11 +4176,11 @@ }, "parameters": [ { - "$id": "343", + "$id": "433", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "340" + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3421,9 +4194,9 @@ } ], "response": { - "$id": "344", + "$id": "434", "type": { - "$ref": "75" + "$ref": "196" } }, "isOverride": false, @@ -3432,39 +4205,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal128.get" }, { - "$id": "345", + "$id": "435", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "346", + "$id": "436", "name": "put", "resourceName": "Decimal128", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "347", + "$id": "437", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "348", - "kind": "constant", - "name": "putContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "349", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -3477,12 +4237,12 @@ "skipUrlEncoding": false }, { - "$id": "350", + "$id": "438", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "75" + "$ref": "196" }, "location": "Body", "isApiVersion": false, @@ -3497,7 +4257,7 @@ ], "responses": [ { - "$id": "351", + "$id": "439", "statusCodes": [ 204 ], @@ -3519,12 +4279,12 @@ }, "parameters": [ { - "$id": "352", + "$id": "440", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "75" + "$ref": "196" }, "location": "Body", "isApiVersion": false, @@ -3537,12 +4297,12 @@ "skipUrlEncoding": false }, { - "$id": "353", + "$id": "441", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "348" + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -3556,7 +4316,7 @@ } ], "response": { - "$id": "354" + "$id": "442" }, "isOverride": false, "generateConvenient": true, @@ -3566,12 +4326,12 @@ ], "parameters": [ { - "$id": "355", + "$id": "443", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "356", + "$id": "444", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3585,9 +4345,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "357", + "$id": "445", "type": { - "$id": "358", + "$id": "446", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3600,48 +4360,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal128", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "359", + "$id": "447", "kind": "client", "name": "Datetime", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "360", + "$id": "448", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "361", + "$id": "449", "name": "get", "resourceName": "Datetime", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "362", + "$id": "450", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "363", - "kind": "constant", - "name": "getContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "364", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -3656,12 +4403,12 @@ ], "responses": [ { - "$id": "365", + "$id": "451", "statusCodes": [ 200 ], "bodyType": { - "$ref": "80" + "$ref": "201" }, "headers": [], "isErrorResponse": false, @@ -3681,11 +4428,11 @@ }, "parameters": [ { - "$id": "366", + "$id": "452", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "363" + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -3699,9 +4446,9 @@ } ], "response": { - "$id": "367", + "$id": "453", "type": { - "$ref": "80" + "$ref": "201" } }, "isOverride": false, @@ -3710,39 +4457,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Datetime.get" }, { - "$id": "368", + "$id": "454", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "369", + "$id": "455", "name": "put", "resourceName": "Datetime", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "370", + "$id": "456", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "371", - "kind": "constant", - "name": "putContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "372", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -3755,12 +4489,12 @@ "skipUrlEncoding": false }, { - "$id": "373", + "$id": "457", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "80" + "$ref": "201" }, "location": "Body", "isApiVersion": false, @@ -3775,7 +4509,7 @@ ], "responses": [ { - "$id": "374", + "$id": "458", "statusCodes": [ 204 ], @@ -3797,12 +4531,12 @@ }, "parameters": [ { - "$id": "375", + "$id": "459", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "80" + "$ref": "201" }, "location": "Body", "isApiVersion": false, @@ -3815,12 +4549,12 @@ "skipUrlEncoding": false }, { - "$id": "376", + "$id": "460", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "371" + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -3834,7 +4568,7 @@ } ], "response": { - "$id": "377" + "$id": "461" }, "isOverride": false, "generateConvenient": true, @@ -3844,12 +4578,12 @@ ], "parameters": [ { - "$id": "378", + "$id": "462", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "379", + "$id": "463", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3863,9 +4597,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "380", + "$id": "464", "type": { - "$id": "381", + "$id": "465", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3878,48 +4612,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Datetime", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "382", + "$id": "466", "kind": "client", "name": "Duration", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "383", + "$id": "467", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "384", + "$id": "468", "name": "get", "resourceName": "Duration", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "385", + "$id": "469", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "386", - "kind": "constant", - "name": "getContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "387", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -3934,12 +4655,12 @@ ], "responses": [ { - "$id": "388", + "$id": "470", "statusCodes": [ 200 ], "bodyType": { - "$ref": "86" + "$ref": "207" }, "headers": [], "isErrorResponse": false, @@ -3959,11 +4680,11 @@ }, "parameters": [ { - "$id": "389", + "$id": "471", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "386" + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -3977,9 +4698,9 @@ } ], "response": { - "$id": "390", + "$id": "472", "type": { - "$ref": "86" + "$ref": "207" } }, "isOverride": false, @@ -3988,39 +4709,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Duration.get" }, { - "$id": "391", + "$id": "473", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "392", + "$id": "474", "name": "put", "resourceName": "Duration", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "393", + "$id": "475", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "394", - "kind": "constant", - "name": "putContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "395", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -4033,12 +4741,12 @@ "skipUrlEncoding": false }, { - "$id": "396", + "$id": "476", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "86" + "$ref": "207" }, "location": "Body", "isApiVersion": false, @@ -4053,7 +4761,7 @@ ], "responses": [ { - "$id": "397", + "$id": "477", "statusCodes": [ 204 ], @@ -4075,12 +4783,12 @@ }, "parameters": [ { - "$id": "398", + "$id": "478", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "86" + "$ref": "207" }, "location": "Body", "isApiVersion": false, @@ -4093,12 +4801,12 @@ "skipUrlEncoding": false }, { - "$id": "399", + "$id": "479", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "394" + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -4112,7 +4820,7 @@ } ], "response": { - "$id": "400" + "$id": "480" }, "isOverride": false, "generateConvenient": true, @@ -4122,12 +4830,12 @@ ], "parameters": [ { - "$id": "401", + "$id": "481", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "402", + "$id": "482", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4141,9 +4849,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "403", + "$id": "483", "type": { - "$id": "404", + "$id": "484", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4156,48 +4864,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Duration", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "405", + "$id": "485", "kind": "client", "name": "Enum", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "406", + "$id": "486", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "407", + "$id": "487", "name": "get", "resourceName": "Enum", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "408", + "$id": "488", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "409", - "kind": "constant", - "name": "getContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "410", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -4212,12 +4907,12 @@ ], "responses": [ { - "$id": "411", + "$id": "489", "statusCodes": [ 200 ], "bodyType": { - "$ref": "92" + "$ref": "213" }, "headers": [], "isErrorResponse": false, @@ -4237,11 +4932,11 @@ }, "parameters": [ { - "$id": "412", + "$id": "490", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "409" + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -4255,9 +4950,9 @@ } ], "response": { - "$id": "413", + "$id": "491", "type": { - "$ref": "92" + "$ref": "213" } }, "isOverride": false, @@ -4266,39 +4961,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Enum.get" }, { - "$id": "414", + "$id": "492", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "415", + "$id": "493", "name": "put", "resourceName": "Enum", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "416", + "$id": "494", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "417", - "kind": "constant", - "name": "putContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "418", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -4311,12 +4993,12 @@ "skipUrlEncoding": false }, { - "$id": "419", + "$id": "495", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "92" + "$ref": "213" }, "location": "Body", "isApiVersion": false, @@ -4331,7 +5013,7 @@ ], "responses": [ { - "$id": "420", + "$id": "496", "statusCodes": [ 204 ], @@ -4353,12 +5035,12 @@ }, "parameters": [ { - "$id": "421", + "$id": "497", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "92" + "$ref": "213" }, "location": "Body", "isApiVersion": false, @@ -4371,12 +5053,12 @@ "skipUrlEncoding": false }, { - "$id": "422", + "$id": "498", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "417" + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -4390,7 +5072,7 @@ } ], "response": { - "$id": "423" + "$id": "499" }, "isOverride": false, "generateConvenient": true, @@ -4400,12 +5082,12 @@ ], "parameters": [ { - "$id": "424", + "$id": "500", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "425", + "$id": "501", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4419,9 +5101,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "426", + "$id": "502", "type": { - "$id": "427", + "$id": "503", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4434,48 +5116,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Enum", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "428", + "$id": "504", "kind": "client", "name": "ExtensibleEnum", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "429", + "$id": "505", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "430", + "$id": "506", "name": "get", "resourceName": "ExtensibleEnum", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "431", + "$id": "507", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "432", - "kind": "constant", - "name": "getContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "433", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -4490,12 +5159,12 @@ ], "responses": [ { - "$id": "434", + "$id": "508", "statusCodes": [ 200 ], "bodyType": { - "$ref": "96" + "$ref": "217" }, "headers": [], "isErrorResponse": false, @@ -4515,11 +5184,11 @@ }, "parameters": [ { - "$id": "435", + "$id": "509", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "432" + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -4533,9 +5202,9 @@ } ], "response": { - "$id": "436", + "$id": "510", "type": { - "$ref": "96" + "$ref": "217" } }, "isOverride": false, @@ -4544,39 +5213,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.ExtensibleEnum.get" }, { - "$id": "437", + "$id": "511", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "438", + "$id": "512", "name": "put", "resourceName": "ExtensibleEnum", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "439", + "$id": "513", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "440", - "kind": "constant", - "name": "putContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "441", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -4589,12 +5245,12 @@ "skipUrlEncoding": false }, { - "$id": "442", + "$id": "514", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "96" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -4609,7 +5265,7 @@ ], "responses": [ { - "$id": "443", + "$id": "515", "statusCodes": [ 204 ], @@ -4631,12 +5287,12 @@ }, "parameters": [ { - "$id": "444", + "$id": "516", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "96" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -4649,12 +5305,12 @@ "skipUrlEncoding": false }, { - "$id": "445", + "$id": "517", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "440" + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -4668,7 +5324,7 @@ } ], "response": { - "$id": "446" + "$id": "518" }, "isOverride": false, "generateConvenient": true, @@ -4678,12 +5334,12 @@ ], "parameters": [ { - "$id": "447", + "$id": "519", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "448", + "$id": "520", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4697,9 +5353,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "449", + "$id": "521", "type": { - "$id": "450", + "$id": "522", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4712,48 +5368,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.ExtensibleEnum", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "451", + "$id": "523", "kind": "client", "name": "Model", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "452", + "$id": "524", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "453", + "$id": "525", "name": "get", "resourceName": "Model", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "454", + "$id": "526", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "455", - "kind": "constant", - "name": "getContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "456", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -4768,12 +5411,12 @@ ], "responses": [ { - "$id": "457", + "$id": "527", "statusCodes": [ 200 ], "bodyType": { - "$ref": "100" + "$ref": "221" }, "headers": [], "isErrorResponse": false, @@ -4793,11 +5436,11 @@ }, "parameters": [ { - "$id": "458", + "$id": "528", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "455" + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -4811,9 +5454,9 @@ } ], "response": { - "$id": "459", + "$id": "529", "type": { - "$ref": "100" + "$ref": "221" } }, "isOverride": false, @@ -4822,39 +5465,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Model.get" }, { - "$id": "460", + "$id": "530", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "461", + "$id": "531", "name": "put", "resourceName": "Model", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "462", + "$id": "532", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "463", - "kind": "constant", - "name": "putContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "464", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -4867,12 +5497,12 @@ "skipUrlEncoding": false }, { - "$id": "465", + "$id": "533", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "100" + "$ref": "221" }, "location": "Body", "isApiVersion": false, @@ -4887,7 +5517,7 @@ ], "responses": [ { - "$id": "466", + "$id": "534", "statusCodes": [ 204 ], @@ -4909,12 +5539,12 @@ }, "parameters": [ { - "$id": "467", + "$id": "535", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "100" + "$ref": "221" }, "location": "Body", "isApiVersion": false, @@ -4927,12 +5557,12 @@ "skipUrlEncoding": false }, { - "$id": "468", + "$id": "536", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "463" + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -4946,7 +5576,7 @@ } ], "response": { - "$id": "469" + "$id": "537" }, "isOverride": false, "generateConvenient": true, @@ -4956,12 +5586,12 @@ ], "parameters": [ { - "$id": "470", + "$id": "538", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "471", + "$id": "539", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4975,9 +5605,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "472", + "$id": "540", "type": { - "$id": "473", + "$id": "541", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4990,48 +5620,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Model", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "474", + "$id": "542", "kind": "client", "name": "CollectionsString", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "475", + "$id": "543", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "476", + "$id": "544", "name": "get", "resourceName": "CollectionsString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "477", + "$id": "545", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "478", - "kind": "constant", - "name": "getContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "479", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -5046,12 +5663,12 @@ ], "responses": [ { - "$id": "480", + "$id": "546", "statusCodes": [ 200 ], "bodyType": { - "$ref": "109" + "$ref": "230" }, "headers": [], "isErrorResponse": false, @@ -5071,11 +5688,11 @@ }, "parameters": [ { - "$id": "481", + "$id": "547", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "478" + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -5089,9 +5706,9 @@ } ], "response": { - "$id": "482", + "$id": "548", "type": { - "$ref": "109" + "$ref": "230" } }, "isOverride": false, @@ -5100,39 +5717,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsString.get" }, { - "$id": "483", + "$id": "549", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "484", + "$id": "550", "name": "put", "resourceName": "CollectionsString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "485", + "$id": "551", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "486", - "kind": "constant", - "name": "putContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "487", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -5145,12 +5749,12 @@ "skipUrlEncoding": false }, { - "$id": "488", + "$id": "552", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "109" + "$ref": "230" }, "location": "Body", "isApiVersion": false, @@ -5165,7 +5769,7 @@ ], "responses": [ { - "$id": "489", + "$id": "553", "statusCodes": [ 204 ], @@ -5187,12 +5791,12 @@ }, "parameters": [ { - "$id": "490", + "$id": "554", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "109" + "$ref": "230" }, "location": "Body", "isApiVersion": false, @@ -5205,12 +5809,12 @@ "skipUrlEncoding": false }, { - "$id": "491", + "$id": "555", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "486" + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -5224,7 +5828,7 @@ } ], "response": { - "$id": "492" + "$id": "556" }, "isOverride": false, "generateConvenient": true, @@ -5234,12 +5838,12 @@ ], "parameters": [ { - "$id": "493", + "$id": "557", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "494", + "$id": "558", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5253,9 +5857,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "495", + "$id": "559", "type": { - "$id": "496", + "$id": "560", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5268,48 +5872,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsString", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "497", + "$id": "561", "kind": "client", "name": "CollectionsInt", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "498", + "$id": "562", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "499", + "$id": "563", "name": "get", "resourceName": "CollectionsInt", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "500", + "$id": "564", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "501", - "kind": "constant", - "name": "getContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "502", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -5324,12 +5915,12 @@ ], "responses": [ { - "$id": "503", + "$id": "565", "statusCodes": [ 200 ], "bodyType": { - "$ref": "115" + "$ref": "236" }, "headers": [], "isErrorResponse": false, @@ -5349,11 +5940,11 @@ }, "parameters": [ { - "$id": "504", + "$id": "566", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "501" + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -5367,9 +5958,9 @@ } ], "response": { - "$id": "505", + "$id": "567", "type": { - "$ref": "115" + "$ref": "236" } }, "isOverride": false, @@ -5378,39 +5969,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsInt.get" }, { - "$id": "506", + "$id": "568", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "507", + "$id": "569", "name": "put", "resourceName": "CollectionsInt", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "508", + "$id": "570", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "509", - "kind": "constant", - "name": "putContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "510", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -5423,12 +6001,12 @@ "skipUrlEncoding": false }, { - "$id": "511", + "$id": "571", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "115" + "$ref": "236" }, "location": "Body", "isApiVersion": false, @@ -5443,7 +6021,7 @@ ], "responses": [ { - "$id": "512", + "$id": "572", "statusCodes": [ 204 ], @@ -5465,12 +6043,12 @@ }, "parameters": [ { - "$id": "513", + "$id": "573", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "115" + "$ref": "236" }, "location": "Body", "isApiVersion": false, @@ -5483,12 +6061,12 @@ "skipUrlEncoding": false }, { - "$id": "514", + "$id": "574", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "509" + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -5502,7 +6080,7 @@ } ], "response": { - "$id": "515" + "$id": "575" }, "isOverride": false, "generateConvenient": true, @@ -5512,12 +6090,12 @@ ], "parameters": [ { - "$id": "516", + "$id": "576", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "517", + "$id": "577", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5531,9 +6109,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "518", + "$id": "578", "type": { - "$id": "519", + "$id": "579", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5546,48 +6124,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsInt", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "520", + "$id": "580", "kind": "client", "name": "CollectionsModel", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "521", + "$id": "581", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "522", + "$id": "582", "name": "get", "resourceName": "CollectionsModel", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "523", + "$id": "583", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "524", - "kind": "constant", - "name": "getContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "525", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -5602,12 +6167,12 @@ ], "responses": [ { - "$id": "526", + "$id": "584", "statusCodes": [ 200 ], "bodyType": { - "$ref": "121" + "$ref": "242" }, "headers": [], "isErrorResponse": false, @@ -5627,11 +6192,11 @@ }, "parameters": [ { - "$id": "527", + "$id": "585", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "524" + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -5645,9 +6210,9 @@ } ], "response": { - "$id": "528", + "$id": "586", "type": { - "$ref": "121" + "$ref": "242" } }, "isOverride": false, @@ -5656,39 +6221,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsModel.get" }, { - "$id": "529", + "$id": "587", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "530", + "$id": "588", "name": "put", "resourceName": "CollectionsModel", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "531", + "$id": "589", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "532", - "kind": "constant", - "name": "putContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "533", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -5701,12 +6253,12 @@ "skipUrlEncoding": false }, { - "$id": "534", + "$id": "590", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "121" + "$ref": "242" }, "location": "Body", "isApiVersion": false, @@ -5721,7 +6273,7 @@ ], "responses": [ { - "$id": "535", + "$id": "591", "statusCodes": [ 204 ], @@ -5743,12 +6295,12 @@ }, "parameters": [ { - "$id": "536", + "$id": "592", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "121" + "$ref": "242" }, "location": "Body", "isApiVersion": false, @@ -5761,12 +6313,12 @@ "skipUrlEncoding": false }, { - "$id": "537", + "$id": "593", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "532" + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -5780,7 +6332,7 @@ } ], "response": { - "$id": "538" + "$id": "594" }, "isOverride": false, "generateConvenient": true, @@ -5790,12 +6342,12 @@ ], "parameters": [ { - "$id": "539", + "$id": "595", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "540", + "$id": "596", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5809,9 +6361,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "541", + "$id": "597", "type": { - "$id": "542", + "$id": "598", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5824,48 +6376,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsModel", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "543", + "$id": "599", "kind": "client", "name": "DictionaryString", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "544", + "$id": "600", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "545", + "$id": "601", "name": "get", "resourceName": "DictionaryString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "546", + "$id": "602", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "547", - "kind": "constant", - "name": "getContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "548", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -5880,12 +6419,12 @@ ], "responses": [ { - "$id": "549", + "$id": "603", "statusCodes": [ 200 ], "bodyType": { - "$ref": "126" + "$ref": "247" }, "headers": [], "isErrorResponse": false, @@ -5905,11 +6444,11 @@ }, "parameters": [ { - "$id": "550", + "$id": "604", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "547" + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -5923,9 +6462,9 @@ } ], "response": { - "$id": "551", + "$id": "605", "type": { - "$ref": "126" + "$ref": "247" } }, "isOverride": false, @@ -5934,39 +6473,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.DictionaryString.get" }, { - "$id": "552", + "$id": "606", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "553", + "$id": "607", "name": "put", "resourceName": "DictionaryString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "554", + "$id": "608", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "555", - "kind": "constant", - "name": "putContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "556", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -5979,12 +6505,12 @@ "skipUrlEncoding": false }, { - "$id": "557", + "$id": "609", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "126" + "$ref": "247" }, "location": "Body", "isApiVersion": false, @@ -5999,7 +6525,7 @@ ], "responses": [ { - "$id": "558", + "$id": "610", "statusCodes": [ 204 ], @@ -6021,12 +6547,12 @@ }, "parameters": [ { - "$id": "559", + "$id": "611", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "126" + "$ref": "247" }, "location": "Body", "isApiVersion": false, @@ -6039,12 +6565,12 @@ "skipUrlEncoding": false }, { - "$id": "560", + "$id": "612", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "555" + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -6058,7 +6584,7 @@ } ], "response": { - "$id": "561" + "$id": "613" }, "isOverride": false, "generateConvenient": true, @@ -6068,12 +6594,12 @@ ], "parameters": [ { - "$id": "562", + "$id": "614", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "563", + "$id": "615", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6087,9 +6613,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "564", + "$id": "616", "type": { - "$id": "565", + "$id": "617", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6102,48 +6628,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.DictionaryString", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "566", + "$id": "618", "kind": "client", "name": "Never", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "567", + "$id": "619", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "568", + "$id": "620", "name": "get", "resourceName": "Never", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "569", + "$id": "621", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "570", - "kind": "constant", - "name": "getContentType16", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "571", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -6158,12 +6671,12 @@ ], "responses": [ { - "$id": "572", + "$id": "622", "statusCodes": [ 200 ], "bodyType": { - "$ref": "133" + "$ref": "254" }, "headers": [], "isErrorResponse": false, @@ -6183,11 +6696,11 @@ }, "parameters": [ { - "$id": "573", + "$id": "623", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "570" + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -6201,9 +6714,9 @@ } ], "response": { - "$id": "574", + "$id": "624", "type": { - "$ref": "133" + "$ref": "254" } }, "isOverride": false, @@ -6212,39 +6725,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Never.get" }, { - "$id": "575", + "$id": "625", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "576", + "$id": "626", "name": "put", "resourceName": "Never", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "577", + "$id": "627", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "578", - "kind": "constant", - "name": "putContentType16", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "579", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -6257,12 +6757,12 @@ "skipUrlEncoding": false }, { - "$id": "580", + "$id": "628", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "133" + "$ref": "254" }, "location": "Body", "isApiVersion": false, @@ -6277,7 +6777,7 @@ ], "responses": [ { - "$id": "581", + "$id": "629", "statusCodes": [ 204 ], @@ -6299,12 +6799,12 @@ }, "parameters": [ { - "$id": "582", + "$id": "630", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "133" + "$ref": "254" }, "location": "Body", "isApiVersion": false, @@ -6317,12 +6817,12 @@ "skipUrlEncoding": false }, { - "$id": "583", + "$id": "631", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "578" + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -6336,7 +6836,7 @@ } ], "response": { - "$id": "584" + "$id": "632" }, "isOverride": false, "generateConvenient": true, @@ -6346,12 +6846,12 @@ ], "parameters": [ { - "$id": "585", + "$id": "633", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "586", + "$id": "634", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6365,9 +6865,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "587", + "$id": "635", "type": { - "$id": "588", + "$id": "636", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6380,48 +6880,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Never", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "589", + "$id": "637", "kind": "client", "name": "UnknownString", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "590", + "$id": "638", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "591", + "$id": "639", "name": "get", "resourceName": "UnknownString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "592", + "$id": "640", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "593", - "kind": "constant", - "name": "getContentType17", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "594", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -6436,12 +6923,12 @@ ], "responses": [ { - "$id": "595", + "$id": "641", "statusCodes": [ 200 ], "bodyType": { - "$ref": "134" + "$ref": "255" }, "headers": [], "isErrorResponse": false, @@ -6461,11 +6948,11 @@ }, "parameters": [ { - "$id": "596", + "$id": "642", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "593" + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -6479,9 +6966,9 @@ } ], "response": { - "$id": "597", + "$id": "643", "type": { - "$ref": "134" + "$ref": "255" } }, "isOverride": false, @@ -6490,39 +6977,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownString.get" }, { - "$id": "598", + "$id": "644", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "599", + "$id": "645", "name": "put", "resourceName": "UnknownString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "600", + "$id": "646", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "601", - "kind": "constant", - "name": "putContentType17", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "602", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -6535,12 +7009,12 @@ "skipUrlEncoding": false }, { - "$id": "603", + "$id": "647", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "134" + "$ref": "255" }, "location": "Body", "isApiVersion": false, @@ -6555,7 +7029,7 @@ ], "responses": [ { - "$id": "604", + "$id": "648", "statusCodes": [ 204 ], @@ -6577,12 +7051,12 @@ }, "parameters": [ { - "$id": "605", + "$id": "649", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "134" + "$ref": "255" }, "location": "Body", "isApiVersion": false, @@ -6595,12 +7069,12 @@ "skipUrlEncoding": false }, { - "$id": "606", + "$id": "650", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "601" + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -6614,7 +7088,7 @@ } ], "response": { - "$id": "607" + "$id": "651" }, "isOverride": false, "generateConvenient": true, @@ -6624,12 +7098,12 @@ ], "parameters": [ { - "$id": "608", + "$id": "652", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "609", + "$id": "653", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6643,9 +7117,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "610", + "$id": "654", "type": { - "$id": "611", + "$id": "655", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6658,48 +7132,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownString", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "612", + "$id": "656", "kind": "client", "name": "UnknownInt", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "613", + "$id": "657", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "614", + "$id": "658", "name": "get", "resourceName": "UnknownInt", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "615", + "$id": "659", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "616", - "kind": "constant", - "name": "getContentType18", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "617", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -6714,12 +7175,12 @@ ], "responses": [ { - "$id": "618", + "$id": "660", "statusCodes": [ 200 ], "bodyType": { - "$ref": "139" + "$ref": "260" }, "headers": [], "isErrorResponse": false, @@ -6739,11 +7200,11 @@ }, "parameters": [ { - "$id": "619", + "$id": "661", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "616" + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -6757,9 +7218,9 @@ } ], "response": { - "$id": "620", + "$id": "662", "type": { - "$ref": "139" + "$ref": "260" } }, "isOverride": false, @@ -6768,39 +7229,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownInt.get" }, { - "$id": "621", + "$id": "663", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "622", + "$id": "664", "name": "put", "resourceName": "UnknownInt", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "623", + "$id": "665", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "624", - "kind": "constant", - "name": "putContentType18", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "625", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -6813,12 +7261,12 @@ "skipUrlEncoding": false }, { - "$id": "626", + "$id": "666", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "139" + "$ref": "260" }, "location": "Body", "isApiVersion": false, @@ -6833,7 +7281,7 @@ ], "responses": [ { - "$id": "627", + "$id": "667", "statusCodes": [ 204 ], @@ -6855,12 +7303,12 @@ }, "parameters": [ { - "$id": "628", + "$id": "668", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "139" + "$ref": "260" }, "location": "Body", "isApiVersion": false, @@ -6873,12 +7321,12 @@ "skipUrlEncoding": false }, { - "$id": "629", + "$id": "669", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "624" + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -6892,7 +7340,7 @@ } ], "response": { - "$id": "630" + "$id": "670" }, "isOverride": false, "generateConvenient": true, @@ -6902,12 +7350,12 @@ ], "parameters": [ { - "$id": "631", + "$id": "671", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "632", + "$id": "672", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6921,9 +7369,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "633", + "$id": "673", "type": { - "$id": "634", + "$id": "674", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6936,48 +7384,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownInt", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "635", + "$id": "675", "kind": "client", "name": "UnknownDict", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "636", + "$id": "676", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "637", + "$id": "677", "name": "get", "resourceName": "UnknownDict", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "638", + "$id": "678", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "639", - "kind": "constant", - "name": "getContentType19", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "640", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -6992,12 +7427,12 @@ ], "responses": [ { - "$id": "641", + "$id": "679", "statusCodes": [ 200 ], "bodyType": { - "$ref": "144" + "$ref": "265" }, "headers": [], "isErrorResponse": false, @@ -7017,11 +7452,11 @@ }, "parameters": [ { - "$id": "642", + "$id": "680", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "639" + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -7035,9 +7470,9 @@ } ], "response": { - "$id": "643", + "$id": "681", "type": { - "$ref": "144" + "$ref": "265" } }, "isOverride": false, @@ -7046,39 +7481,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownDict.get" }, { - "$id": "644", + "$id": "682", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "645", + "$id": "683", "name": "put", "resourceName": "UnknownDict", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "646", + "$id": "684", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "647", - "kind": "constant", - "name": "putContentType19", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "648", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -7091,12 +7513,12 @@ "skipUrlEncoding": false }, { - "$id": "649", + "$id": "685", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "144" + "$ref": "265" }, "location": "Body", "isApiVersion": false, @@ -7111,7 +7533,7 @@ ], "responses": [ { - "$id": "650", + "$id": "686", "statusCodes": [ 204 ], @@ -7133,12 +7555,12 @@ }, "parameters": [ { - "$id": "651", + "$id": "687", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "144" + "$ref": "265" }, "location": "Body", "isApiVersion": false, @@ -7151,12 +7573,12 @@ "skipUrlEncoding": false }, { - "$id": "652", + "$id": "688", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "647" + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -7170,7 +7592,7 @@ } ], "response": { - "$id": "653" + "$id": "689" }, "isOverride": false, "generateConvenient": true, @@ -7180,12 +7602,12 @@ ], "parameters": [ { - "$id": "654", + "$id": "690", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "655", + "$id": "691", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7199,9 +7621,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "656", + "$id": "692", "type": { - "$id": "657", + "$id": "693", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7214,48 +7636,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownDict", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "658", + "$id": "694", "kind": "client", "name": "UnknownArray", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "659", + "$id": "695", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "660", + "$id": "696", "name": "get", "resourceName": "UnknownArray", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "661", + "$id": "697", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "662", - "kind": "constant", - "name": "getContentType20", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "663", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -7270,12 +7679,12 @@ ], "responses": [ { - "$id": "664", + "$id": "698", "statusCodes": [ 200 ], "bodyType": { - "$ref": "149" + "$ref": "270" }, "headers": [], "isErrorResponse": false, @@ -7295,11 +7704,11 @@ }, "parameters": [ { - "$id": "665", + "$id": "699", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "662" + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -7313,9 +7722,9 @@ } ], "response": { - "$id": "666", + "$id": "700", "type": { - "$ref": "149" + "$ref": "270" } }, "isOverride": false, @@ -7324,39 +7733,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownArray.get" }, { - "$id": "667", + "$id": "701", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "668", + "$id": "702", "name": "put", "resourceName": "UnknownArray", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "669", + "$id": "703", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "670", - "kind": "constant", - "name": "putContentType20", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "671", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -7369,12 +7765,12 @@ "skipUrlEncoding": false }, { - "$id": "672", + "$id": "704", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "149" + "$ref": "270" }, "location": "Body", "isApiVersion": false, @@ -7389,7 +7785,7 @@ ], "responses": [ { - "$id": "673", + "$id": "705", "statusCodes": [ 204 ], @@ -7411,12 +7807,12 @@ }, "parameters": [ { - "$id": "674", + "$id": "706", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "149" + "$ref": "270" }, "location": "Body", "isApiVersion": false, @@ -7429,12 +7825,12 @@ "skipUrlEncoding": false }, { - "$id": "675", + "$id": "707", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "670" + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -7448,7 +7844,7 @@ } ], "response": { - "$id": "676" + "$id": "708" }, "isOverride": false, "generateConvenient": true, @@ -7458,12 +7854,12 @@ ], "parameters": [ { - "$id": "677", + "$id": "709", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "678", + "$id": "710", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7477,9 +7873,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "679", + "$id": "711", "type": { - "$id": "680", + "$id": "712", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7492,48 +7888,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownArray", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "681", + "$id": "713", "kind": "client", "name": "StringLiteral", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "682", + "$id": "714", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "683", + "$id": "715", "name": "get", "resourceName": "StringLiteral", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "684", + "$id": "716", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "685", - "kind": "constant", - "name": "getContentType21", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "686", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -7548,12 +7931,12 @@ ], "responses": [ { - "$id": "687", + "$id": "717", "statusCodes": [ 200 ], "bodyType": { - "$ref": "154" + "$ref": "275" }, "headers": [], "isErrorResponse": false, @@ -7573,11 +7956,11 @@ }, "parameters": [ { - "$id": "688", + "$id": "718", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "685" + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -7591,9 +7974,9 @@ } ], "response": { - "$id": "689", + "$id": "719", "type": { - "$ref": "154" + "$ref": "275" } }, "isOverride": false, @@ -7602,39 +7985,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.StringLiteral.get" }, { - "$id": "690", + "$id": "720", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "691", + "$id": "721", "name": "put", "resourceName": "StringLiteral", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "692", + "$id": "722", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "693", - "kind": "constant", - "name": "putContentType21", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "694", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -7647,12 +8017,12 @@ "skipUrlEncoding": false }, { - "$id": "695", + "$id": "723", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "154" + "$ref": "275" }, "location": "Body", "isApiVersion": false, @@ -7667,7 +8037,7 @@ ], "responses": [ { - "$id": "696", + "$id": "724", "statusCodes": [ 204 ], @@ -7689,12 +8059,12 @@ }, "parameters": [ { - "$id": "697", + "$id": "725", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "154" + "$ref": "275" }, "location": "Body", "isApiVersion": false, @@ -7707,12 +8077,12 @@ "skipUrlEncoding": false }, { - "$id": "698", + "$id": "726", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "693" + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -7726,7 +8096,7 @@ } ], "response": { - "$id": "699" + "$id": "727" }, "isOverride": false, "generateConvenient": true, @@ -7736,12 +8106,12 @@ ], "parameters": [ { - "$id": "700", + "$id": "728", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "701", + "$id": "729", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7755,9 +8125,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "702", + "$id": "730", "type": { - "$id": "703", + "$id": "731", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7770,48 +8140,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.StringLiteral", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "704", + "$id": "732", "kind": "client", "name": "IntLiteral", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "705", + "$id": "733", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "706", + "$id": "734", "name": "get", "resourceName": "IntLiteral", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "707", + "$id": "735", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "708", - "kind": "constant", - "name": "getContentType22", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "709", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -7826,12 +8183,12 @@ ], "responses": [ { - "$id": "710", + "$id": "736", "statusCodes": [ 200 ], "bodyType": { - "$ref": "159" + "$ref": "279" }, "headers": [], "isErrorResponse": false, @@ -7851,11 +8208,11 @@ }, "parameters": [ { - "$id": "711", + "$id": "737", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "708" + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -7869,9 +8226,9 @@ } ], "response": { - "$id": "712", + "$id": "738", "type": { - "$ref": "159" + "$ref": "279" } }, "isOverride": false, @@ -7880,39 +8237,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.IntLiteral.get" }, { - "$id": "713", + "$id": "739", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "714", + "$id": "740", "name": "put", "resourceName": "IntLiteral", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "715", + "$id": "741", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "716", - "kind": "constant", - "name": "putContentType22", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "717", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -7925,12 +8269,12 @@ "skipUrlEncoding": false }, { - "$id": "718", + "$id": "742", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "159" + "$ref": "279" }, "location": "Body", "isApiVersion": false, @@ -7945,7 +8289,7 @@ ], "responses": [ { - "$id": "719", + "$id": "743", "statusCodes": [ 204 ], @@ -7967,12 +8311,12 @@ }, "parameters": [ { - "$id": "720", + "$id": "744", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "159" + "$ref": "279" }, "location": "Body", "isApiVersion": false, @@ -7985,12 +8329,12 @@ "skipUrlEncoding": false }, { - "$id": "721", + "$id": "745", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "716" + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -8004,7 +8348,7 @@ } ], "response": { - "$id": "722" + "$id": "746" }, "isOverride": false, "generateConvenient": true, @@ -8014,12 +8358,12 @@ ], "parameters": [ { - "$id": "723", + "$id": "747", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "724", + "$id": "748", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8033,9 +8377,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "725", + "$id": "749", "type": { - "$id": "726", + "$id": "750", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8048,48 +8392,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.IntLiteral", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "727", + "$id": "751", "kind": "client", "name": "FloatLiteral", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "728", + "$id": "752", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "729", + "$id": "753", "name": "get", "resourceName": "FloatLiteral", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "730", + "$id": "754", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "731", - "kind": "constant", - "name": "getContentType23", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "732", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "142" }, "location": "Header", "isApiVersion": false, @@ -8104,12 +8435,12 @@ ], "responses": [ { - "$id": "733", + "$id": "755", "statusCodes": [ 200 ], "bodyType": { - "$ref": "164" + "$ref": "283" }, "headers": [], "isErrorResponse": false, @@ -8129,11 +8460,11 @@ }, "parameters": [ { - "$id": "734", + "$id": "756", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "731" + "$ref": "142" }, "location": "Header", "isApiVersion": false, @@ -8147,9 +8478,9 @@ } ], "response": { - "$id": "735", + "$id": "757", "type": { - "$ref": "164" + "$ref": "283" } }, "isOverride": false, @@ -8158,39 +8489,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.FloatLiteral.get" }, { - "$id": "736", + "$id": "758", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "737", + "$id": "759", "name": "put", "resourceName": "FloatLiteral", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "738", + "$id": "760", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "739", - "kind": "constant", - "name": "putContentType23", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "740", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "144" }, "location": "Header", "isApiVersion": false, @@ -8203,12 +8521,12 @@ "skipUrlEncoding": false }, { - "$id": "741", + "$id": "761", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "164" + "$ref": "283" }, "location": "Body", "isApiVersion": false, @@ -8223,7 +8541,7 @@ ], "responses": [ { - "$id": "742", + "$id": "762", "statusCodes": [ 204 ], @@ -8245,12 +8563,12 @@ }, "parameters": [ { - "$id": "743", + "$id": "763", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "164" + "$ref": "283" }, "location": "Body", "isApiVersion": false, @@ -8263,12 +8581,12 @@ "skipUrlEncoding": false }, { - "$id": "744", + "$id": "764", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "739" + "$ref": "144" }, "location": "Header", "isApiVersion": false, @@ -8282,7 +8600,7 @@ } ], "response": { - "$id": "745" + "$id": "765" }, "isOverride": false, "generateConvenient": true, @@ -8292,12 +8610,12 @@ ], "parameters": [ { - "$id": "746", + "$id": "766", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "747", + "$id": "767", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8311,9 +8629,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "748", + "$id": "768", "type": { - "$id": "749", + "$id": "769", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8326,48 +8644,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.FloatLiteral", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "750", + "$id": "770", "kind": "client", "name": "BooleanLiteral", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "751", + "$id": "771", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "752", + "$id": "772", "name": "get", "resourceName": "BooleanLiteral", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "753", + "$id": "773", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "754", - "kind": "constant", - "name": "getContentType24", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "755", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "146" }, "location": "Header", "isApiVersion": false, @@ -8382,12 +8687,12 @@ ], "responses": [ { - "$id": "756", + "$id": "774", "statusCodes": [ 200 ], "bodyType": { - "$ref": "169" + "$ref": "287" }, "headers": [], "isErrorResponse": false, @@ -8407,11 +8712,11 @@ }, "parameters": [ { - "$id": "757", + "$id": "775", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "754" + "$ref": "146" }, "location": "Header", "isApiVersion": false, @@ -8425,9 +8730,9 @@ } ], "response": { - "$id": "758", + "$id": "776", "type": { - "$ref": "169" + "$ref": "287" } }, "isOverride": false, @@ -8436,39 +8741,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.BooleanLiteral.get" }, { - "$id": "759", + "$id": "777", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "760", + "$id": "778", "name": "put", "resourceName": "BooleanLiteral", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "761", + "$id": "779", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "762", - "kind": "constant", - "name": "putContentType24", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "763", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "148" }, "location": "Header", "isApiVersion": false, @@ -8481,12 +8773,12 @@ "skipUrlEncoding": false }, { - "$id": "764", + "$id": "780", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "169" + "$ref": "287" }, "location": "Body", "isApiVersion": false, @@ -8501,7 +8793,7 @@ ], "responses": [ { - "$id": "765", + "$id": "781", "statusCodes": [ 204 ], @@ -8523,12 +8815,12 @@ }, "parameters": [ { - "$id": "766", + "$id": "782", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "169" + "$ref": "287" }, "location": "Body", "isApiVersion": false, @@ -8541,12 +8833,12 @@ "skipUrlEncoding": false }, { - "$id": "767", + "$id": "783", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "762" + "$ref": "148" }, "location": "Header", "isApiVersion": false, @@ -8560,7 +8852,7 @@ } ], "response": { - "$id": "768" + "$id": "784" }, "isOverride": false, "generateConvenient": true, @@ -8570,12 +8862,12 @@ ], "parameters": [ { - "$id": "769", + "$id": "785", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "770", + "$id": "786", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8589,9 +8881,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "771", + "$id": "787", "type": { - "$id": "772", + "$id": "788", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8604,48 +8896,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.BooleanLiteral", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "773", + "$id": "789", "kind": "client", "name": "UnionStringLiteral", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "774", + "$id": "790", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "775", + "$id": "791", "name": "get", "resourceName": "UnionStringLiteral", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "776", + "$id": "792", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "777", - "kind": "constant", - "name": "getContentType25", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "778", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "150" }, "location": "Header", "isApiVersion": false, @@ -8660,12 +8939,12 @@ ], "responses": [ { - "$id": "779", + "$id": "793", "statusCodes": [ 200 ], "bodyType": { - "$ref": "175" + "$ref": "291" }, "headers": [], "isErrorResponse": false, @@ -8685,11 +8964,11 @@ }, "parameters": [ { - "$id": "780", + "$id": "794", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "777" + "$ref": "150" }, "location": "Header", "isApiVersion": false, @@ -8703,9 +8982,9 @@ } ], "response": { - "$id": "781", + "$id": "795", "type": { - "$ref": "175" + "$ref": "291" } }, "isOverride": false, @@ -8714,39 +8993,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionStringLiteral.get" }, { - "$id": "782", + "$id": "796", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "783", + "$id": "797", "name": "put", "resourceName": "UnionStringLiteral", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "784", + "$id": "798", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "785", - "kind": "constant", - "name": "putContentType25", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "786", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "152" }, "location": "Header", "isApiVersion": false, @@ -8759,12 +9025,12 @@ "skipUrlEncoding": false }, { - "$id": "787", + "$id": "799", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "175" + "$ref": "291" }, "location": "Body", "isApiVersion": false, @@ -8779,7 +9045,7 @@ ], "responses": [ { - "$id": "788", + "$id": "800", "statusCodes": [ 204 ], @@ -8801,12 +9067,12 @@ }, "parameters": [ { - "$id": "789", + "$id": "801", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "175" + "$ref": "291" }, "location": "Body", "isApiVersion": false, @@ -8819,12 +9085,12 @@ "skipUrlEncoding": false }, { - "$id": "790", + "$id": "802", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "785" + "$ref": "152" }, "location": "Header", "isApiVersion": false, @@ -8838,7 +9104,7 @@ } ], "response": { - "$id": "791" + "$id": "803" }, "isOverride": false, "generateConvenient": true, @@ -8848,12 +9114,12 @@ ], "parameters": [ { - "$id": "792", + "$id": "804", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "793", + "$id": "805", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8867,9 +9133,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "794", + "$id": "806", "type": { - "$id": "795", + "$id": "807", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8882,48 +9148,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionStringLiteral", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "796", + "$id": "808", "kind": "client", "name": "UnionIntLiteral", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "797", + "$id": "809", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "798", + "$id": "810", "name": "get", "resourceName": "UnionIntLiteral", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "799", + "$id": "811", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "800", - "kind": "constant", - "name": "getContentType26", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "801", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "154" }, "location": "Header", "isApiVersion": false, @@ -8938,12 +9191,12 @@ ], "responses": [ { - "$id": "802", + "$id": "812", "statusCodes": [ 200 ], "bodyType": { - "$ref": "179" + "$ref": "295" }, "headers": [], "isErrorResponse": false, @@ -8963,11 +9216,11 @@ }, "parameters": [ { - "$id": "803", + "$id": "813", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "800" + "$ref": "154" }, "location": "Header", "isApiVersion": false, @@ -8981,9 +9234,9 @@ } ], "response": { - "$id": "804", + "$id": "814", "type": { - "$ref": "179" + "$ref": "295" } }, "isOverride": false, @@ -8992,39 +9245,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionIntLiteral.get" }, { - "$id": "805", + "$id": "815", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "806", + "$id": "816", "name": "put", "resourceName": "UnionIntLiteral", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "807", + "$id": "817", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "808", - "kind": "constant", - "name": "putContentType26", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "809", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -9037,12 +9277,12 @@ "skipUrlEncoding": false }, { - "$id": "810", + "$id": "818", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "179" + "$ref": "295" }, "location": "Body", "isApiVersion": false, @@ -9057,7 +9297,7 @@ ], "responses": [ { - "$id": "811", + "$id": "819", "statusCodes": [ 204 ], @@ -9079,12 +9319,12 @@ }, "parameters": [ { - "$id": "812", + "$id": "820", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "179" + "$ref": "295" }, "location": "Body", "isApiVersion": false, @@ -9097,12 +9337,12 @@ "skipUrlEncoding": false }, { - "$id": "813", + "$id": "821", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "808" + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -9116,7 +9356,7 @@ } ], "response": { - "$id": "814" + "$id": "822" }, "isOverride": false, "generateConvenient": true, @@ -9126,12 +9366,12 @@ ], "parameters": [ { - "$id": "815", + "$id": "823", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "816", + "$id": "824", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9145,9 +9385,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "817", + "$id": "825", "type": { - "$id": "818", + "$id": "826", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9160,48 +9400,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionIntLiteral", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "819", + "$id": "827", "kind": "client", "name": "UnionFloatLiteral", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "820", + "$id": "828", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "821", + "$id": "829", "name": "get", "resourceName": "UnionFloatLiteral", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "822", + "$id": "830", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "823", - "kind": "constant", - "name": "getContentType27", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "824", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -9216,12 +9443,12 @@ ], "responses": [ { - "$id": "825", + "$id": "831", "statusCodes": [ 200 ], "bodyType": { - "$ref": "183" + "$ref": "299" }, "headers": [], "isErrorResponse": false, @@ -9241,11 +9468,11 @@ }, "parameters": [ { - "$id": "826", + "$id": "832", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "823" + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -9259,9 +9486,9 @@ } ], "response": { - "$id": "827", + "$id": "833", "type": { - "$ref": "183" + "$ref": "299" } }, "isOverride": false, @@ -9270,39 +9497,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionFloatLiteral.get" }, { - "$id": "828", + "$id": "834", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "829", + "$id": "835", "name": "put", "resourceName": "UnionFloatLiteral", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "830", + "$id": "836", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "831", - "kind": "constant", - "name": "putContentType27", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "832", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -9315,12 +9529,12 @@ "skipUrlEncoding": false }, { - "$id": "833", + "$id": "837", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "183" + "$ref": "299" }, "location": "Body", "isApiVersion": false, @@ -9335,7 +9549,7 @@ ], "responses": [ { - "$id": "834", + "$id": "838", "statusCodes": [ 204 ], @@ -9357,12 +9571,12 @@ }, "parameters": [ { - "$id": "835", + "$id": "839", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "183" + "$ref": "299" }, "location": "Body", "isApiVersion": false, @@ -9375,12 +9589,12 @@ "skipUrlEncoding": false }, { - "$id": "836", + "$id": "840", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "831" + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -9394,7 +9608,7 @@ } ], "response": { - "$id": "837" + "$id": "841" }, "isOverride": false, "generateConvenient": true, @@ -9404,12 +9618,12 @@ ], "parameters": [ { - "$id": "838", + "$id": "842", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "839", + "$id": "843", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9423,9 +9637,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "840", + "$id": "844", "type": { - "$id": "841", + "$id": "845", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9438,48 +9652,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionFloatLiteral", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "842", + "$id": "846", "kind": "client", "name": "UnionEnumValue", "namespace": "_Type.Property.ValueTypes", "methods": [ { - "$id": "843", + "$id": "847", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "844", + "$id": "848", "name": "get", "resourceName": "UnionEnumValue", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "845", + "$id": "849", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "846", - "kind": "constant", - "name": "getContentType28", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "847", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "162" }, "location": "Header", "isApiVersion": false, @@ -9494,12 +9695,12 @@ ], "responses": [ { - "$id": "848", + "$id": "850", "statusCodes": [ 200 ], "bodyType": { - "$ref": "187" + "$ref": "303" }, "headers": [], "isErrorResponse": false, @@ -9519,11 +9720,11 @@ }, "parameters": [ { - "$id": "849", + "$id": "851", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "846" + "$ref": "162" }, "location": "Header", "isApiVersion": false, @@ -9537,9 +9738,9 @@ } ], "response": { - "$id": "850", + "$id": "852", "type": { - "$ref": "187" + "$ref": "303" } }, "isOverride": false, @@ -9548,39 +9749,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionEnumValue.get" }, { - "$id": "851", + "$id": "853", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "852", + "$id": "854", "name": "put", "resourceName": "UnionEnumValue", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "853", + "$id": "855", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "854", - "kind": "constant", - "name": "putContentType28", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "855", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "164" }, "location": "Header", "isApiVersion": false, @@ -9598,7 +9786,7 @@ "nameInRequest": "body", "doc": "body", "type": { - "$ref": "187" + "$ref": "303" }, "location": "Body", "isApiVersion": false, @@ -9640,7 +9828,7 @@ "nameInRequest": "body", "doc": "body", "type": { - "$ref": "187" + "$ref": "303" }, "location": "Body", "isApiVersion": false, @@ -9658,7 +9846,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "854" + "$ref": "164" }, "location": "Header", "isApiVersion": false, @@ -9716,7 +9904,7 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionEnumValue", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } } ] diff --git a/test/CadlRanchProjects/type/scalar/tspCodeModel.json b/test/CadlRanchProjects/type/scalar/tspCodeModel.json index 0ebc4c00ebf..c976532abfe 100644 --- a/test/CadlRanchProjects/type/scalar/tspCodeModel.json +++ b/test/CadlRanchProjects/type/scalar/tspCodeModel.json @@ -3,22 +3,440 @@ "name": "Type.Scalar", "apiVersions": [], "enums": [], + "constants": [ + { + "$id": "2", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "GetResponseContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "GetResponseContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "GetResponseContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "GetResponseContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "GetResponseContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "GetResponseContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "getContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "GetResponseContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "GetResponseContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "GetResponseContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "responseBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "GetResponseContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "GetResponseContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "GetResponseContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "responseBodyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "GetResponseContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "GetResponseContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "GetResponseContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "prepareVerifyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "GetResponseContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "GetResponseContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "prepareVerifyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "GetResponseContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "GetResponseContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [], "clients": [ { - "$id": "2", + "$id": "54", "kind": "client", "name": "ScalarClient", "namespace": "_Type.Scalar", "methods": [], "parameters": [ { - "$id": "3", + "$id": "55", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "4", + "$id": "56", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -32,9 +450,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "5", + "$id": "57", "type": { - "$id": "6", + "$id": "58", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -48,44 +466,31 @@ "apiVersions": [], "children": [ { - "$id": "7", + "$id": "59", "kind": "client", "name": "String", "namespace": "_Type.Scalar", "methods": [ { - "$id": "8", + "$id": "60", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "get string value", "operation": { - "$id": "9", + "$id": "61", "name": "get", "resourceName": "String", "doc": "get string value", "accessibility": "public", "parameters": [ { - "$id": "10", + "$id": "62", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "11", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "12", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -100,12 +505,12 @@ ], "responses": [ { - "$id": "13", + "$id": "63", "statusCodes": [ 200 ], "bodyType": { - "$id": "14", + "$id": "64", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113,24 +518,11 @@ }, "headers": [ { - "$id": "15", + "$id": "65", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "16", - "kind": "constant", - "name": "GetResponseContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "17", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" } } ], @@ -151,11 +543,11 @@ }, "parameters": [ { - "$id": "18", + "$id": "66", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "11" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -169,9 +561,9 @@ } ], "response": { - "$id": "19", + "$id": "67", "type": { - "$ref": "14" + "$ref": "64" } }, "isOverride": false, @@ -180,38 +572,25 @@ "crossLanguageDefinitionId": "Type.Scalar.String.get" }, { - "$id": "20", + "$id": "68", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "put string value", "operation": { - "$id": "21", + "$id": "69", "name": "put", "resourceName": "String", "doc": "put string value", "accessibility": "public", "parameters": [ { - "$id": "22", + "$id": "70", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "23", - "kind": "constant", - "name": "GetResponseContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "24", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -224,12 +603,12 @@ "skipUrlEncoding": false }, { - "$id": "25", + "$id": "71", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$id": "26", + "$id": "72", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -248,7 +627,7 @@ ], "responses": [ { - "$id": "27", + "$id": "73", "statusCodes": [ 204 ], @@ -270,24 +649,11 @@ }, "parameters": [ { - "$id": "28", + "$id": "74", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "29", - "kind": "constant", - "name": "GetResponseContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "30", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -300,12 +666,12 @@ "skipUrlEncoding": false }, { - "$id": "31", + "$id": "75", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$id": "32", + "$id": "76", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -323,7 +689,7 @@ } ], "response": { - "$id": "33" + "$id": "77" }, "isOverride": false, "generateConvenient": true, @@ -333,12 +699,12 @@ ], "parameters": [ { - "$id": "34", + "$id": "78", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "35", + "$id": "79", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -352,9 +718,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "36", + "$id": "80", "type": { - "$id": "37", + "$id": "81", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -367,48 +733,35 @@ "crossLanguageDefinitionId": "Type.Scalar.String", "apiVersions": [], "parent": { - "$ref": "2" + "$ref": "54" } }, { - "$id": "38", + "$id": "82", "kind": "client", "name": "Boolean", "namespace": "_Type.Scalar", "methods": [ { - "$id": "39", + "$id": "83", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "get boolean value", "operation": { - "$id": "40", + "$id": "84", "name": "get", "resourceName": "Boolean", "doc": "get boolean value", "accessibility": "public", "parameters": [ { - "$id": "41", + "$id": "85", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "42", - "kind": "constant", - "name": "getContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "43", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -423,12 +776,12 @@ ], "responses": [ { - "$id": "44", + "$id": "86", "statusCodes": [ 200 ], "bodyType": { - "$id": "45", + "$id": "87", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -436,24 +789,11 @@ }, "headers": [ { - "$id": "46", + "$id": "88", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "47", - "kind": "constant", - "name": "GetResponseContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "48", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" } } ], @@ -474,11 +814,11 @@ }, "parameters": [ { - "$id": "49", + "$id": "89", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "42" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -492,9 +832,9 @@ } ], "response": { - "$id": "50", + "$id": "90", "type": { - "$ref": "45" + "$ref": "87" } }, "isOverride": false, @@ -503,38 +843,25 @@ "crossLanguageDefinitionId": "Type.Scalar.Boolean.get" }, { - "$id": "51", + "$id": "91", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "put boolean value", "operation": { - "$id": "52", + "$id": "92", "name": "put", "resourceName": "Boolean", "doc": "put boolean value", "accessibility": "public", "parameters": [ { - "$id": "53", + "$id": "93", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "54", - "kind": "constant", - "name": "GetResponseContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "55", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -547,12 +874,12 @@ "skipUrlEncoding": false }, { - "$id": "56", + "$id": "94", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$id": "57", + "$id": "95", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -571,7 +898,7 @@ ], "responses": [ { - "$id": "58", + "$id": "96", "statusCodes": [ 204 ], @@ -593,24 +920,11 @@ }, "parameters": [ { - "$id": "59", + "$id": "97", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "60", - "kind": "constant", - "name": "GetResponseContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "61", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -623,12 +937,12 @@ "skipUrlEncoding": false }, { - "$id": "62", + "$id": "98", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$id": "63", + "$id": "99", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -646,7 +960,7 @@ } ], "response": { - "$id": "64" + "$id": "100" }, "isOverride": false, "generateConvenient": true, @@ -656,12 +970,12 @@ ], "parameters": [ { - "$id": "65", + "$id": "101", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "66", + "$id": "102", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -675,9 +989,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "67", + "$id": "103", "type": { - "$id": "68", + "$id": "104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -690,48 +1004,35 @@ "crossLanguageDefinitionId": "Type.Scalar.Boolean", "apiVersions": [], "parent": { - "$ref": "2" + "$ref": "54" } }, { - "$id": "69", + "$id": "105", "kind": "client", "name": "Unknown", "namespace": "_Type.Scalar", "methods": [ { - "$id": "70", + "$id": "106", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "get unknown value", "operation": { - "$id": "71", + "$id": "107", "name": "get", "resourceName": "Unknown", "doc": "get unknown value", "accessibility": "public", "parameters": [ { - "$id": "72", + "$id": "108", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "73", - "kind": "constant", - "name": "getContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "74", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -746,12 +1047,12 @@ ], "responses": [ { - "$id": "75", + "$id": "109", "statusCodes": [ 200 ], "bodyType": { - "$id": "76", + "$id": "110", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -759,24 +1060,11 @@ }, "headers": [ { - "$id": "77", + "$id": "111", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "78", - "kind": "constant", - "name": "GetResponseContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "79", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" } } ], @@ -797,11 +1085,11 @@ }, "parameters": [ { - "$id": "80", + "$id": "112", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "73" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -815,9 +1103,9 @@ } ], "response": { - "$id": "81", + "$id": "113", "type": { - "$ref": "76" + "$ref": "110" } }, "isOverride": false, @@ -826,38 +1114,25 @@ "crossLanguageDefinitionId": "Type.Scalar.Unknown.get" }, { - "$id": "82", + "$id": "114", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "put unknown value", "operation": { - "$id": "83", + "$id": "115", "name": "put", "resourceName": "Unknown", "doc": "put unknown value", "accessibility": "public", "parameters": [ { - "$id": "84", + "$id": "116", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "85", - "kind": "constant", - "name": "GetResponseContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "86", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -870,12 +1145,12 @@ "skipUrlEncoding": false }, { - "$id": "87", + "$id": "117", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$id": "88", + "$id": "118", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -894,7 +1169,7 @@ ], "responses": [ { - "$id": "89", + "$id": "119", "statusCodes": [ 204 ], @@ -916,24 +1191,11 @@ }, "parameters": [ { - "$id": "90", + "$id": "120", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "91", - "kind": "constant", - "name": "GetResponseContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "92", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -946,12 +1208,12 @@ "skipUrlEncoding": false }, { - "$id": "93", + "$id": "121", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$id": "94", + "$id": "122", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -969,7 +1231,7 @@ } ], "response": { - "$id": "95" + "$id": "123" }, "isOverride": false, "generateConvenient": true, @@ -979,12 +1241,12 @@ ], "parameters": [ { - "$id": "96", + "$id": "124", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "97", + "$id": "125", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -998,9 +1260,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "98", + "$id": "126", "type": { - "$id": "99", + "$id": "127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1013,47 +1275,34 @@ "crossLanguageDefinitionId": "Type.Scalar.Unknown", "apiVersions": [], "parent": { - "$ref": "2" + "$ref": "54" } }, { - "$id": "100", + "$id": "128", "kind": "client", "name": "DecimalType", "namespace": "_Type.Scalar", "doc": "Decimal type", "methods": [ { - "$id": "101", + "$id": "129", "kind": "basic", "name": "responseBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "102", + "$id": "130", "name": "responseBody", "resourceName": "DecimalType", "accessibility": "public", "parameters": [ { - "$id": "103", + "$id": "131", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "104", - "kind": "constant", - "name": "responseBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "105", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1068,12 +1317,12 @@ ], "responses": [ { - "$id": "106", + "$id": "132", "statusCodes": [ 200 ], "bodyType": { - "$id": "107", + "$id": "133", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1081,24 +1330,11 @@ }, "headers": [ { - "$id": "108", + "$id": "134", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "109", - "kind": "constant", - "name": "GetResponseContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "110", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" } } ], @@ -1119,11 +1355,11 @@ }, "parameters": [ { - "$id": "111", + "$id": "135", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "104" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1137,9 +1373,9 @@ } ], "response": { - "$id": "112", + "$id": "136", "type": { - "$ref": "107" + "$ref": "133" } }, "isOverride": false, @@ -1148,36 +1384,23 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalType.responseBody" }, { - "$id": "113", + "$id": "137", "kind": "basic", "name": "requestBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "114", + "$id": "138", "name": "requestBody", "resourceName": "DecimalType", "accessibility": "public", "parameters": [ { - "$id": "115", + "$id": "139", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "116", - "kind": "constant", - "name": "GetResponseContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "117", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -1190,11 +1413,11 @@ "skipUrlEncoding": false }, { - "$id": "118", + "$id": "140", "name": "body", "nameInRequest": "body", "type": { - "$id": "119", + "$id": "141", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1213,7 +1436,7 @@ ], "responses": [ { - "$id": "120", + "$id": "142", "statusCodes": [ 204 ], @@ -1235,24 +1458,11 @@ }, "parameters": [ { - "$id": "121", + "$id": "143", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "122", - "kind": "constant", - "name": "GetResponseContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "123", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -1265,11 +1475,11 @@ "skipUrlEncoding": false }, { - "$id": "124", + "$id": "144", "name": "body", "nameInRequest": "body", "type": { - "$id": "125", + "$id": "145", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1287,7 +1497,7 @@ } ], "response": { - "$id": "126" + "$id": "146" }, "isOverride": false, "generateConvenient": true, @@ -1295,23 +1505,23 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalType.requestBody" }, { - "$id": "127", + "$id": "147", "kind": "basic", "name": "requestParameter", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "128", + "$id": "148", "name": "requestParameter", "resourceName": "DecimalType", "accessibility": "public", "parameters": [ { - "$id": "129", + "$id": "149", "name": "value", "nameInRequest": "value", "type": { - "$id": "130", + "$id": "150", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1330,7 +1540,7 @@ ], "responses": [ { - "$id": "131", + "$id": "151", "statusCodes": [ 204 ], @@ -1349,11 +1559,11 @@ }, "parameters": [ { - "$id": "132", + "$id": "152", "name": "value", "nameInRequest": "value", "type": { - "$id": "133", + "$id": "153", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1371,7 +1581,7 @@ } ], "response": { - "$id": "134" + "$id": "154" }, "isOverride": false, "generateConvenient": true, @@ -1381,12 +1591,12 @@ ], "parameters": [ { - "$id": "135", + "$id": "155", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "136", + "$id": "156", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1400,9 +1610,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "137", + "$id": "157", "type": { - "$id": "138", + "$id": "158", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1415,47 +1625,34 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalType", "apiVersions": [], "parent": { - "$ref": "2" + "$ref": "54" } }, { - "$id": "139", + "$id": "159", "kind": "client", "name": "Decimal128Type", "namespace": "_Type.Scalar", "doc": "Decimal128 type", "methods": [ { - "$id": "140", + "$id": "160", "kind": "basic", "name": "responseBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "141", + "$id": "161", "name": "responseBody", "resourceName": "Decimal128Type", "accessibility": "public", "parameters": [ { - "$id": "142", + "$id": "162", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "143", - "kind": "constant", - "name": "responseBodyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "144", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -1470,12 +1667,12 @@ ], "responses": [ { - "$id": "145", + "$id": "163", "statusCodes": [ 200 ], "bodyType": { - "$id": "146", + "$id": "164", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -1483,24 +1680,11 @@ }, "headers": [ { - "$id": "147", + "$id": "165", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "148", - "kind": "constant", - "name": "GetResponseContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "149", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "36" } } ], @@ -1521,11 +1705,11 @@ }, "parameters": [ { - "$id": "150", + "$id": "166", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "143" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -1539,9 +1723,9 @@ } ], "response": { - "$id": "151", + "$id": "167", "type": { - "$ref": "146" + "$ref": "164" } }, "isOverride": false, @@ -1550,36 +1734,23 @@ "crossLanguageDefinitionId": "Type.Scalar.Decimal128Type.responseBody" }, { - "$id": "152", + "$id": "168", "kind": "basic", "name": "requestBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "153", + "$id": "169", "name": "requestBody", "resourceName": "Decimal128Type", "accessibility": "public", "parameters": [ { - "$id": "154", + "$id": "170", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "155", - "kind": "constant", - "name": "GetResponseContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "156", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -1592,11 +1763,11 @@ "skipUrlEncoding": false }, { - "$id": "157", + "$id": "171", "name": "body", "nameInRequest": "body", "type": { - "$id": "158", + "$id": "172", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -1615,7 +1786,7 @@ ], "responses": [ { - "$id": "159", + "$id": "173", "statusCodes": [ 204 ], @@ -1637,24 +1808,11 @@ }, "parameters": [ { - "$id": "160", + "$id": "174", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "161", - "kind": "constant", - "name": "GetResponseContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "162", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -1667,11 +1825,11 @@ "skipUrlEncoding": false }, { - "$id": "163", + "$id": "175", "name": "body", "nameInRequest": "body", "type": { - "$id": "164", + "$id": "176", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -1689,7 +1847,7 @@ } ], "response": { - "$id": "165" + "$id": "177" }, "isOverride": false, "generateConvenient": true, @@ -1697,23 +1855,23 @@ "crossLanguageDefinitionId": "Type.Scalar.Decimal128Type.requestBody" }, { - "$id": "166", + "$id": "178", "kind": "basic", "name": "requestParameter", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "167", + "$id": "179", "name": "requestParameter", "resourceName": "Decimal128Type", "accessibility": "public", "parameters": [ { - "$id": "168", + "$id": "180", "name": "value", "nameInRequest": "value", "type": { - "$id": "169", + "$id": "181", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -1732,7 +1890,7 @@ ], "responses": [ { - "$id": "170", + "$id": "182", "statusCodes": [ 204 ], @@ -1751,11 +1909,11 @@ }, "parameters": [ { - "$id": "171", + "$id": "183", "name": "value", "nameInRequest": "value", "type": { - "$id": "172", + "$id": "184", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -1773,7 +1931,7 @@ } ], "response": { - "$id": "173" + "$id": "185" }, "isOverride": false, "generateConvenient": true, @@ -1783,12 +1941,12 @@ ], "parameters": [ { - "$id": "174", + "$id": "186", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "175", + "$id": "187", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1802,9 +1960,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "176", + "$id": "188", "type": { - "$id": "177", + "$id": "189", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1817,47 +1975,34 @@ "crossLanguageDefinitionId": "Type.Scalar.Decimal128Type", "apiVersions": [], "parent": { - "$ref": "2" + "$ref": "54" } }, { - "$id": "178", + "$id": "190", "kind": "client", "name": "DecimalVerify", "namespace": "_Type.Scalar", "doc": "Decimal type verification", "methods": [ { - "$id": "179", + "$id": "191", "kind": "basic", "name": "prepareVerify", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "180", + "$id": "192", "name": "prepareVerify", "resourceName": "DecimalVerify", "accessibility": "public", "parameters": [ { - "$id": "181", + "$id": "193", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "182", - "kind": "constant", - "name": "prepareVerifyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "183", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -1872,16 +2017,16 @@ ], "responses": [ { - "$id": "184", + "$id": "194", "statusCodes": [ 200 ], "bodyType": { - "$id": "185", + "$id": "195", "kind": "array", "name": "Array", "valueType": { - "$id": "186", + "$id": "196", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1908,11 +2053,11 @@ }, "parameters": [ { - "$id": "187", + "$id": "197", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "182" + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -1926,9 +2071,9 @@ } ], "response": { - "$id": "188", + "$id": "198", "type": { - "$ref": "185" + "$ref": "195" } }, "isOverride": false, @@ -1937,36 +2082,23 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalVerify.prepareVerify" }, { - "$id": "189", + "$id": "199", "kind": "basic", "name": "verify", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "190", + "$id": "200", "name": "verify", "resourceName": "DecimalVerify", "accessibility": "public", "parameters": [ { - "$id": "191", + "$id": "201", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "192", - "kind": "constant", - "name": "GetResponseContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "193", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -1979,11 +2111,11 @@ "skipUrlEncoding": false }, { - "$id": "194", + "$id": "202", "name": "body", "nameInRequest": "body", "type": { - "$id": "195", + "$id": "203", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -2002,7 +2134,7 @@ ], "responses": [ { - "$id": "196", + "$id": "204", "statusCodes": [ 204 ], @@ -2024,24 +2156,11 @@ }, "parameters": [ { - "$id": "197", + "$id": "205", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "198", - "kind": "constant", - "name": "GetResponseContentType16", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "199", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -2054,11 +2173,11 @@ "skipUrlEncoding": false }, { - "$id": "200", + "$id": "206", "name": "body", "nameInRequest": "body", "type": { - "$id": "201", + "$id": "207", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -2076,7 +2195,7 @@ } ], "response": { - "$id": "202" + "$id": "208" }, "isOverride": false, "generateConvenient": true, @@ -2086,12 +2205,12 @@ ], "parameters": [ { - "$id": "203", + "$id": "209", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "204", + "$id": "210", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2105,9 +2224,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "205", + "$id": "211", "type": { - "$id": "206", + "$id": "212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2120,47 +2239,34 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalVerify", "apiVersions": [], "parent": { - "$ref": "2" + "$ref": "54" } }, { - "$id": "207", + "$id": "213", "kind": "client", "name": "Decimal128Verify", "namespace": "_Type.Scalar", "doc": "Decimal128 type verification", "methods": [ { - "$id": "208", + "$id": "214", "kind": "basic", "name": "prepareVerify", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "209", + "$id": "215", "name": "prepareVerify", "resourceName": "Decimal128Verify", "accessibility": "public", "parameters": [ { - "$id": "210", + "$id": "216", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "211", - "kind": "constant", - "name": "prepareVerifyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "212", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -2175,12 +2281,12 @@ ], "responses": [ { - "$id": "213", + "$id": "217", "statusCodes": [ 200 ], "bodyType": { - "$ref": "185" + "$ref": "195" }, "headers": [], "isErrorResponse": false, @@ -2200,11 +2306,11 @@ }, "parameters": [ { - "$id": "214", + "$id": "218", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "211" + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -2218,9 +2324,9 @@ } ], "response": { - "$id": "215", + "$id": "219", "type": { - "$ref": "185" + "$ref": "195" } }, "isOverride": false, @@ -2229,36 +2335,23 @@ "crossLanguageDefinitionId": "Type.Scalar.Decimal128Verify.prepareVerify" }, { - "$id": "216", + "$id": "220", "kind": "basic", "name": "verify", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "217", + "$id": "221", "name": "verify", "resourceName": "Decimal128Verify", "accessibility": "public", "parameters": [ { - "$id": "218", + "$id": "222", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "219", - "kind": "constant", - "name": "GetResponseContentType17", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "220", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -2271,11 +2364,11 @@ "skipUrlEncoding": false }, { - "$id": "221", + "$id": "223", "name": "body", "nameInRequest": "body", "type": { - "$id": "222", + "$id": "224", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -2294,7 +2387,7 @@ ], "responses": [ { - "$id": "223", + "$id": "225", "statusCodes": [ 204 ], @@ -2316,24 +2409,11 @@ }, "parameters": [ { - "$id": "224", + "$id": "226", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "225", - "kind": "constant", - "name": "GetResponseContentType18", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "226", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -2412,7 +2492,7 @@ "crossLanguageDefinitionId": "Type.Scalar.Decimal128Verify", "apiVersions": [], "parent": { - "$ref": "2" + "$ref": "54" } } ] diff --git a/test/CadlRanchProjects/type/union/tspCodeModel.json b/test/CadlRanchProjects/type/union/tspCodeModel.json index 5e09a3242d6..578153ca888 100644 --- a/test/CadlRanchProjects/type/union/tspCodeModel.json +++ b/test/CadlRanchProjects/type/union/tspCodeModel.json @@ -467,9 +467,411 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "54", + "kind": "constant", + "name": "MixedLiteralsCasesStringLiteral1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "a", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "MixedLiteralsCasesStringLiteral2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 2, + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "MixedLiteralsCasesStringLiteral3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "value": 3.3, + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "MixedLiteralsCasesStringLiteral4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "MixedLiteralsCasesStringLiteral11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "a", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "sendContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "70", + "kind": "constant", + "name": "sendContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "72", + "kind": "constant", + "name": "getContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "74", + "kind": "constant", + "name": "sendContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "76", + "kind": "constant", + "name": "getContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "78", + "kind": "constant", + "name": "sendContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "80", + "kind": "constant", + "name": "getContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "82", + "kind": "constant", + "name": "sendContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "84", + "kind": "constant", + "name": "getContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "86", + "kind": "constant", + "name": "sendContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "88", + "kind": "constant", + "name": "getContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "90", + "kind": "constant", + "name": "sendContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "91", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "92", + "kind": "constant", + "name": "getContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "94", + "kind": "constant", + "name": "sendContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "96", + "kind": "constant", + "name": "getContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "98", + "kind": "constant", + "name": "sendContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "100", + "kind": "constant", + "name": "getContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "102", + "kind": "constant", + "name": "sendContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "104", "kind": "model", "name": "GetResponse", "namespace": "_Type.Union", @@ -478,7 +880,7 @@ "decorators": [], "properties": [ { - "$id": "55", + "$id": "105", "kind": "property", "name": "prop", "serializedName": "prop", @@ -492,9 +894,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "56", + "$id": "106", "json": { - "$id": "57", + "$id": "107", "name": "prop" } } @@ -502,7 +904,7 @@ ] }, { - "$id": "58", + "$id": "108", "kind": "model", "name": "SendRequest", "namespace": "_Type.Union", @@ -511,7 +913,7 @@ "decorators": [], "properties": [ { - "$id": "59", + "$id": "109", "kind": "property", "name": "prop", "serializedName": "prop", @@ -525,9 +927,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.StringsOnly.send.prop", "serializationOptions": { - "$id": "60", + "$id": "110", "json": { - "$id": "61", + "$id": "111", "name": "prop" } } @@ -535,7 +937,7 @@ ] }, { - "$id": "62", + "$id": "112", "kind": "model", "name": "GetResponse1", "namespace": "_Type.Union", @@ -544,7 +946,7 @@ "decorators": [], "properties": [ { - "$id": "63", + "$id": "113", "kind": "property", "name": "prop", "serializedName": "prop", @@ -558,9 +960,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "64", + "$id": "114", "json": { - "$id": "65", + "$id": "115", "name": "prop" } } @@ -568,7 +970,7 @@ ] }, { - "$id": "66", + "$id": "116", "kind": "model", "name": "SendRequest1", "namespace": "_Type.Union", @@ -577,7 +979,7 @@ "decorators": [], "properties": [ { - "$id": "67", + "$id": "117", "kind": "property", "name": "prop", "serializedName": "prop", @@ -591,9 +993,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.StringExtensible.send.prop", "serializationOptions": { - "$id": "68", + "$id": "118", "json": { - "$id": "69", + "$id": "119", "name": "prop" } } @@ -601,7 +1003,7 @@ ] }, { - "$id": "70", + "$id": "120", "kind": "model", "name": "GetResponse2", "namespace": "_Type.Union", @@ -610,7 +1012,7 @@ "decorators": [], "properties": [ { - "$id": "71", + "$id": "121", "kind": "property", "name": "prop", "serializedName": "prop", @@ -624,9 +1026,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "72", + "$id": "122", "json": { - "$id": "73", + "$id": "123", "name": "prop" } } @@ -634,7 +1036,7 @@ ] }, { - "$id": "74", + "$id": "124", "kind": "model", "name": "SendRequest2", "namespace": "_Type.Union", @@ -643,7 +1045,7 @@ "decorators": [], "properties": [ { - "$id": "75", + "$id": "125", "kind": "property", "name": "prop", "serializedName": "prop", @@ -657,9 +1059,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.StringExtensibleNamed.send.prop", "serializationOptions": { - "$id": "76", + "$id": "126", "json": { - "$id": "77", + "$id": "127", "name": "prop" } } @@ -667,7 +1069,7 @@ ] }, { - "$id": "78", + "$id": "128", "kind": "model", "name": "GetResponse3", "namespace": "_Type.Union", @@ -676,7 +1078,7 @@ "decorators": [], "properties": [ { - "$id": "79", + "$id": "129", "kind": "property", "name": "prop", "serializedName": "prop", @@ -690,9 +1092,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "80", + "$id": "130", "json": { - "$id": "81", + "$id": "131", "name": "prop" } } @@ -700,7 +1102,7 @@ ] }, { - "$id": "82", + "$id": "132", "kind": "model", "name": "SendRequest3", "namespace": "_Type.Union", @@ -709,7 +1111,7 @@ "decorators": [], "properties": [ { - "$id": "83", + "$id": "133", "kind": "property", "name": "prop", "serializedName": "prop", @@ -723,9 +1125,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.IntsOnly.send.prop", "serializationOptions": { - "$id": "84", + "$id": "134", "json": { - "$id": "85", + "$id": "135", "name": "prop" } } @@ -733,7 +1135,7 @@ ] }, { - "$id": "86", + "$id": "136", "kind": "model", "name": "GetResponse4", "namespace": "_Type.Union", @@ -742,7 +1144,7 @@ "decorators": [], "properties": [ { - "$id": "87", + "$id": "137", "kind": "property", "name": "prop", "serializedName": "prop", @@ -756,9 +1158,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "88", + "$id": "138", "json": { - "$id": "89", + "$id": "139", "name": "prop" } } @@ -766,7 +1168,7 @@ ] }, { - "$id": "90", + "$id": "140", "kind": "model", "name": "SendRequest4", "namespace": "_Type.Union", @@ -775,7 +1177,7 @@ "decorators": [], "properties": [ { - "$id": "91", + "$id": "141", "kind": "property", "name": "prop", "serializedName": "prop", @@ -789,9 +1191,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.FloatsOnly.send.prop", "serializationOptions": { - "$id": "92", + "$id": "142", "json": { - "$id": "93", + "$id": "143", "name": "prop" } } @@ -799,7 +1201,7 @@ ] }, { - "$id": "94", + "$id": "144", "kind": "model", "name": "GetResponse5", "namespace": "_Type.Union", @@ -808,17 +1210,17 @@ "decorators": [], "properties": [ { - "$id": "95", + "$id": "145", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "96", + "$id": "146", "kind": "union", "name": "GetResponseProp4", "variantTypes": [ { - "$id": "97", + "$id": "147", "kind": "model", "name": "Cat", "namespace": "_Type.Union", @@ -827,12 +1229,12 @@ "decorators": [], "properties": [ { - "$id": "98", + "$id": "148", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "99", + "$id": "149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -845,9 +1247,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.Cat.name", "serializationOptions": { - "$id": "100", + "$id": "150", "json": { - "$id": "101", + "$id": "151", "name": "name" } } @@ -855,7 +1257,7 @@ ] }, { - "$id": "102", + "$id": "152", "kind": "model", "name": "Dog", "namespace": "_Type.Union", @@ -864,12 +1266,12 @@ "decorators": [], "properties": [ { - "$id": "103", + "$id": "153", "kind": "property", "name": "bark", "serializedName": "bark", "type": { - "$id": "104", + "$id": "154", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -882,9 +1284,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.Dog.bark", "serializationOptions": { - "$id": "105", + "$id": "155", "json": { - "$id": "106", + "$id": "156", "name": "bark" } } @@ -902,9 +1304,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "107", + "$id": "157", "json": { - "$id": "108", + "$id": "158", "name": "prop" } } @@ -912,13 +1314,13 @@ ] }, { - "$ref": "97" + "$ref": "147" }, { - "$ref": "102" + "$ref": "152" }, { - "$id": "109", + "$id": "159", "kind": "model", "name": "SendRequest5", "namespace": "_Type.Union", @@ -927,12 +1329,12 @@ "decorators": [], "properties": [ { - "$id": "110", + "$id": "160", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$ref": "96" + "$ref": "146" }, "optional": false, "readOnly": false, @@ -941,9 +1343,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.ModelsOnly.send.prop", "serializationOptions": { - "$id": "111", + "$id": "161", "json": { - "$id": "112", + "$id": "162", "name": "prop" } } @@ -951,7 +1353,7 @@ ] }, { - "$id": "113", + "$id": "163", "kind": "model", "name": "GetResponse6", "namespace": "_Type.Union", @@ -960,12 +1362,12 @@ "decorators": [], "properties": [ { - "$id": "114", + "$id": "164", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "115", + "$id": "165", "kind": "model", "name": "EnumsOnlyCases", "namespace": "_Type.Union", @@ -974,7 +1376,7 @@ "decorators": [], "properties": [ { - "$id": "116", + "$id": "166", "kind": "property", "name": "lr", "serializedName": "lr", @@ -989,15 +1391,15 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.EnumsOnlyCases.lr", "serializationOptions": { - "$id": "117", + "$id": "167", "json": { - "$id": "118", + "$id": "168", "name": "lr" } } }, { - "$id": "119", + "$id": "169", "kind": "property", "name": "ud", "serializedName": "ud", @@ -1012,9 +1414,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.EnumsOnlyCases.ud", "serializationOptions": { - "$id": "120", + "$id": "170", "json": { - "$id": "121", + "$id": "171", "name": "ud" } } @@ -1028,9 +1430,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "122", + "$id": "172", "json": { - "$id": "123", + "$id": "173", "name": "prop" } } @@ -1038,10 +1440,10 @@ ] }, { - "$ref": "115" + "$ref": "165" }, { - "$id": "124", + "$id": "174", "kind": "model", "name": "SendRequest6", "namespace": "_Type.Union", @@ -1050,12 +1452,12 @@ "decorators": [], "properties": [ { - "$id": "125", + "$id": "175", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$ref": "115" + "$ref": "165" }, "optional": false, "readOnly": false, @@ -1064,9 +1466,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.EnumsOnly.send.prop", "serializationOptions": { - "$id": "126", + "$id": "176", "json": { - "$id": "127", + "$id": "177", "name": "prop" } } @@ -1074,7 +1476,7 @@ ] }, { - "$id": "128", + "$id": "178", "kind": "model", "name": "GetResponse7", "namespace": "_Type.Union", @@ -1083,12 +1485,12 @@ "decorators": [], "properties": [ { - "$id": "129", + "$id": "179", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "130", + "$id": "180", "kind": "model", "name": "StringAndArrayCases", "namespace": "_Type.Union", @@ -1097,29 +1499,29 @@ "decorators": [], "properties": [ { - "$id": "131", + "$id": "181", "kind": "property", "name": "string", "serializedName": "string", "doc": "This should be receive/send the string variant", "type": { - "$id": "132", + "$id": "182", "kind": "union", "name": "StringAndArrayCasesString", "variantTypes": [ { - "$id": "133", + "$id": "183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "134", + "$id": "184", "kind": "array", "name": "Array", "valueType": { - "$id": "135", + "$id": "185", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1139,33 +1541,33 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.StringAndArrayCases.string", "serializationOptions": { - "$id": "136", + "$id": "186", "json": { - "$id": "137", + "$id": "187", "name": "string" } } }, { - "$id": "138", + "$id": "188", "kind": "property", "name": "array", "serializedName": "array", "doc": "This should be receive/send the array variant", "type": { - "$id": "139", + "$id": "189", "kind": "union", "name": "StringAndArrayCasesArray", "variantTypes": [ { - "$id": "140", + "$id": "190", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$ref": "134" + "$ref": "184" } ], "namespace": "", @@ -1178,9 +1580,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.StringAndArrayCases.array", "serializationOptions": { - "$id": "141", + "$id": "191", "json": { - "$id": "142", + "$id": "192", "name": "array" } } @@ -1194,9 +1596,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "143", + "$id": "193", "json": { - "$id": "144", + "$id": "194", "name": "prop" } } @@ -1204,10 +1606,10 @@ ] }, { - "$ref": "130" + "$ref": "180" }, { - "$id": "145", + "$id": "195", "kind": "model", "name": "SendRequest7", "namespace": "_Type.Union", @@ -1216,12 +1618,12 @@ "decorators": [], "properties": [ { - "$id": "146", + "$id": "196", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$ref": "130" + "$ref": "180" }, "optional": false, "readOnly": false, @@ -1230,9 +1632,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.StringAndArray.send.prop", "serializationOptions": { - "$id": "147", + "$id": "197", "json": { - "$id": "148", + "$id": "198", "name": "prop" } } @@ -1240,7 +1642,7 @@ ] }, { - "$id": "149", + "$id": "199", "kind": "model", "name": "GetResponse8", "namespace": "_Type.Union", @@ -1249,12 +1651,12 @@ "decorators": [], "properties": [ { - "$id": "150", + "$id": "200", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "151", + "$id": "201", "kind": "model", "name": "MixedLiteralsCases", "namespace": "_Type.Union", @@ -1263,79 +1665,27 @@ "decorators": [], "properties": [ { - "$id": "152", + "$id": "202", "kind": "property", "name": "stringLiteral", "serializedName": "stringLiteral", "doc": "This should be receive/send the \"a\" variant", "type": { - "$id": "153", + "$id": "203", "kind": "union", "name": "MixedLiteralsCasesStringLiteral", "variantTypes": [ { - "$id": "154", - "kind": "constant", - "name": "MixedLiteralsCasesStringLiteral1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "155", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "a", - "decorators": [] + "$ref": "54" }, { - "$id": "156", - "kind": "constant", - "name": "MixedLiteralsCasesStringLiteral2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "157", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "value": 2, - "decorators": [] + "$ref": "56" }, { - "$id": "158", - "kind": "constant", - "name": "MixedLiteralsCasesStringLiteral3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "159", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] - }, - "value": 3.3, - "decorators": [] + "$ref": "58" }, { - "$id": "160", - "kind": "constant", - "name": "MixedLiteralsCasesStringLiteral4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "161", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "60" } ], "namespace": "", @@ -1348,21 +1698,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedLiteralsCases.stringLiteral", "serializationOptions": { - "$id": "162", + "$id": "204", "json": { - "$id": "163", + "$id": "205", "name": "stringLiteral" } } }, { - "$id": "164", + "$id": "206", "kind": "property", "name": "intLiteral", "serializedName": "intLiteral", "doc": "This should be receive/send the 2 variant", "type": { - "$ref": "153" + "$ref": "203" }, "optional": false, "readOnly": false, @@ -1371,21 +1721,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedLiteralsCases.intLiteral", "serializationOptions": { - "$id": "165", + "$id": "207", "json": { - "$id": "166", + "$id": "208", "name": "intLiteral" } } }, { - "$id": "167", + "$id": "209", "kind": "property", "name": "floatLiteral", "serializedName": "floatLiteral", "doc": "This should be receive/send the 3.3 variant", "type": { - "$ref": "153" + "$ref": "203" }, "optional": false, "readOnly": false, @@ -1394,21 +1744,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedLiteralsCases.floatLiteral", "serializationOptions": { - "$id": "168", + "$id": "210", "json": { - "$id": "169", + "$id": "211", "name": "floatLiteral" } } }, { - "$id": "170", + "$id": "212", "kind": "property", "name": "booleanLiteral", "serializedName": "booleanLiteral", "doc": "This should be receive/send the true variant", "type": { - "$ref": "153" + "$ref": "203" }, "optional": false, "readOnly": false, @@ -1417,9 +1767,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedLiteralsCases.booleanLiteral", "serializationOptions": { - "$id": "171", + "$id": "213", "json": { - "$id": "172", + "$id": "214", "name": "booleanLiteral" } } @@ -1433,9 +1783,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "173", + "$id": "215", "json": { - "$id": "174", + "$id": "216", "name": "prop" } } @@ -1443,10 +1793,10 @@ ] }, { - "$ref": "151" + "$ref": "201" }, { - "$id": "175", + "$id": "217", "kind": "model", "name": "SendRequest8", "namespace": "_Type.Union", @@ -1455,12 +1805,12 @@ "decorators": [], "properties": [ { - "$id": "176", + "$id": "218", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$ref": "151" + "$ref": "201" }, "optional": false, "readOnly": false, @@ -1469,9 +1819,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedLiterals.send.prop", "serializationOptions": { - "$id": "177", + "$id": "219", "json": { - "$id": "178", + "$id": "220", "name": "prop" } } @@ -1479,7 +1829,7 @@ ] }, { - "$id": "179", + "$id": "221", "kind": "model", "name": "GetResponse9", "namespace": "_Type.Union", @@ -1488,12 +1838,12 @@ "decorators": [], "properties": [ { - "$id": "180", + "$id": "222", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "181", + "$id": "223", "kind": "model", "name": "MixedTypesCases", "namespace": "_Type.Union", @@ -1502,44 +1852,31 @@ "decorators": [], "properties": [ { - "$id": "182", + "$id": "224", "kind": "property", "name": "model", "serializedName": "model", "doc": "This should be receive/send the Cat variant", "type": { - "$id": "183", + "$id": "225", "kind": "union", "name": "MixedTypesCasesModel", "variantTypes": [ { - "$ref": "97" + "$ref": "147" }, { - "$id": "184", - "kind": "constant", - "name": "MixedLiteralsCasesStringLiteral11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "185", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "a", - "decorators": [] + "$ref": "62" }, { - "$id": "186", + "$id": "226", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, { - "$id": "187", + "$id": "227", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1556,21 +1893,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedTypesCases.model", "serializationOptions": { - "$id": "188", + "$id": "228", "json": { - "$id": "189", + "$id": "229", "name": "model" } } }, { - "$id": "190", + "$id": "230", "kind": "property", "name": "literal", "serializedName": "literal", "doc": "This should be receive/send the \"a\" variant", "type": { - "$ref": "183" + "$ref": "225" }, "optional": false, "readOnly": false, @@ -1579,21 +1916,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedTypesCases.literal", "serializationOptions": { - "$id": "191", + "$id": "231", "json": { - "$id": "192", + "$id": "232", "name": "literal" } } }, { - "$id": "193", + "$id": "233", "kind": "property", "name": "int", "serializedName": "int", "doc": "This should be receive/send the int variant", "type": { - "$ref": "183" + "$ref": "225" }, "optional": false, "readOnly": false, @@ -1602,21 +1939,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedTypesCases.int", "serializationOptions": { - "$id": "194", + "$id": "234", "json": { - "$id": "195", + "$id": "235", "name": "int" } } }, { - "$id": "196", + "$id": "236", "kind": "property", "name": "boolean", "serializedName": "boolean", "doc": "This should be receive/send the boolean variant", "type": { - "$ref": "183" + "$ref": "225" }, "optional": false, "readOnly": false, @@ -1625,25 +1962,25 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedTypesCases.boolean", "serializationOptions": { - "$id": "197", + "$id": "237", "json": { - "$id": "198", + "$id": "238", "name": "boolean" } } }, { - "$id": "199", + "$id": "239", "kind": "property", "name": "array", "serializedName": "array", "doc": "This should be receive/send 4 element with Cat, \"a\", int, and boolean", "type": { - "$id": "200", + "$id": "240", "kind": "array", "name": "Array1", "valueType": { - "$ref": "183" + "$ref": "225" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1655,9 +1992,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedTypesCases.array", "serializationOptions": { - "$id": "201", + "$id": "241", "json": { - "$id": "202", + "$id": "242", "name": "array" } } @@ -1671,9 +2008,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "203", + "$id": "243", "json": { - "$id": "204", + "$id": "244", "name": "prop" } } @@ -1681,10 +2018,10 @@ ] }, { - "$ref": "181" + "$ref": "223" }, { - "$id": "205", + "$id": "245", "kind": "model", "name": "SendRequest9", "namespace": "_Type.Union", @@ -1693,12 +2030,12 @@ "decorators": [], "properties": [ { - "$id": "206", + "$id": "246", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$ref": "181" + "$ref": "223" }, "optional": false, "readOnly": false, @@ -1707,9 +2044,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedTypes.send.prop", "serializationOptions": { - "$id": "207", + "$id": "247", "json": { - "$id": "208", + "$id": "248", "name": "prop" } } @@ -1719,7 +2056,7 @@ ], "clients": [ { - "$id": "209", + "$id": "249", "kind": "client", "name": "UnionClient", "namespace": "_Type.Union", @@ -1727,12 +2064,12 @@ "methods": [], "parameters": [ { - "$id": "210", + "$id": "250", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "211", + "$id": "251", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1746,9 +2083,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "212", + "$id": "252", "type": { - "$id": "213", + "$id": "253", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1762,43 +2099,30 @@ "apiVersions": [], "children": [ { - "$id": "214", + "$id": "254", "kind": "client", "name": "StringsOnly", "namespace": "_Type.Union", "doc": "Describe union of string \"a\" | \"b\" | \"c\"", "methods": [ { - "$id": "215", + "$id": "255", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "216", + "$id": "256", "name": "get", "resourceName": "StringsOnly", "accessibility": "public", "parameters": [ { - "$id": "217", + "$id": "257", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "218", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "219", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -1813,12 +2137,12 @@ ], "responses": [ { - "$id": "220", + "$id": "258", "statusCodes": [ 200 ], "bodyType": { - "$ref": "54" + "$ref": "104" }, "headers": [], "isErrorResponse": false, @@ -1838,11 +2162,11 @@ }, "parameters": [ { - "$id": "221", + "$id": "259", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "218" + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -1856,9 +2180,9 @@ } ], "response": { - "$id": "222", + "$id": "260", "type": { - "$ref": "54" + "$ref": "104" } }, "isOverride": false, @@ -1867,37 +2191,24 @@ "crossLanguageDefinitionId": "Type.Union.StringsOnly.get" }, { - "$id": "223", + "$id": "261", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "224", + "$id": "262", "name": "send", "resourceName": "StringsOnly", "accessibility": "public", "parameters": [ { - "$id": "225", + "$id": "263", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "226", - "kind": "constant", - "name": "sendContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "227", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -1910,11 +2221,11 @@ "skipUrlEncoding": false }, { - "$id": "228", + "$id": "264", "name": "sendRequest", "nameInRequest": "sendRequest", "type": { - "$ref": "58" + "$ref": "108" }, "location": "Body", "isApiVersion": false, @@ -1929,7 +2240,7 @@ ], "responses": [ { - "$id": "229", + "$id": "265", "statusCodes": [ 204 ], @@ -1951,7 +2262,7 @@ }, "parameters": [ { - "$id": "230", + "$id": "266", "name": "prop", "nameInRequest": "prop", "type": { @@ -1968,12 +2279,12 @@ "skipUrlEncoding": false }, { - "$id": "231", + "$id": "267", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "226" + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -1987,7 +2298,7 @@ } ], "response": { - "$id": "232" + "$id": "268" }, "isOverride": false, "generateConvenient": true, @@ -1997,12 +2308,12 @@ ], "parameters": [ { - "$id": "233", + "$id": "269", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "234", + "$id": "270", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2016,9 +2327,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "235", + "$id": "271", "type": { - "$id": "236", + "$id": "272", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2031,47 +2342,34 @@ "crossLanguageDefinitionId": "Type.Union.StringsOnly", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "237", + "$id": "273", "kind": "client", "name": "StringExtensible", "namespace": "_Type.Union", "doc": "Describe union of string string | \"b\" | \"c\"", "methods": [ { - "$id": "238", + "$id": "274", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "239", + "$id": "275", "name": "get", "resourceName": "StringExtensible", "accessibility": "public", "parameters": [ { - "$id": "240", + "$id": "276", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "241", - "kind": "constant", - "name": "getContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "242", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -2086,12 +2384,12 @@ ], "responses": [ { - "$id": "243", + "$id": "277", "statusCodes": [ 200 ], "bodyType": { - "$ref": "62" + "$ref": "112" }, "headers": [], "isErrorResponse": false, @@ -2111,11 +2409,11 @@ }, "parameters": [ { - "$id": "244", + "$id": "278", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "241" + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -2129,9 +2427,9 @@ } ], "response": { - "$id": "245", + "$id": "279", "type": { - "$ref": "62" + "$ref": "112" } }, "isOverride": false, @@ -2140,37 +2438,24 @@ "crossLanguageDefinitionId": "Type.Union.StringExtensible.get" }, { - "$id": "246", + "$id": "280", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "247", + "$id": "281", "name": "send", "resourceName": "StringExtensible", "accessibility": "public", "parameters": [ { - "$id": "248", + "$id": "282", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "249", - "kind": "constant", - "name": "sendContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "250", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -2183,11 +2468,11 @@ "skipUrlEncoding": false }, { - "$id": "251", + "$id": "283", "name": "sendRequest1", "nameInRequest": "sendRequest1", "type": { - "$ref": "66" + "$ref": "116" }, "location": "Body", "isApiVersion": false, @@ -2202,7 +2487,7 @@ ], "responses": [ { - "$id": "252", + "$id": "284", "statusCodes": [ 204 ], @@ -2224,7 +2509,7 @@ }, "parameters": [ { - "$id": "253", + "$id": "285", "name": "prop", "nameInRequest": "prop", "type": { @@ -2241,12 +2526,12 @@ "skipUrlEncoding": false }, { - "$id": "254", + "$id": "286", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "249" + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -2260,7 +2545,7 @@ } ], "response": { - "$id": "255" + "$id": "287" }, "isOverride": false, "generateConvenient": true, @@ -2270,12 +2555,12 @@ ], "parameters": [ { - "$id": "256", + "$id": "288", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "257", + "$id": "289", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2289,9 +2574,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "258", + "$id": "290", "type": { - "$id": "259", + "$id": "291", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2304,47 +2589,34 @@ "crossLanguageDefinitionId": "Type.Union.StringExtensible", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "260", + "$id": "292", "kind": "client", "name": "StringExtensibleNamed", "namespace": "_Type.Union", "doc": "Describe union of string string | \"b\" | \"c\" but where the union is named and some of the variants are named", "methods": [ { - "$id": "261", + "$id": "293", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "262", + "$id": "294", "name": "get", "resourceName": "StringExtensibleNamed", "accessibility": "public", "parameters": [ { - "$id": "263", + "$id": "295", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "264", - "kind": "constant", - "name": "getContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "265", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -2359,12 +2631,12 @@ ], "responses": [ { - "$id": "266", + "$id": "296", "statusCodes": [ 200 ], "bodyType": { - "$ref": "70" + "$ref": "120" }, "headers": [], "isErrorResponse": false, @@ -2384,11 +2656,11 @@ }, "parameters": [ { - "$id": "267", + "$id": "297", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "264" + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -2402,9 +2674,9 @@ } ], "response": { - "$id": "268", + "$id": "298", "type": { - "$ref": "70" + "$ref": "120" } }, "isOverride": false, @@ -2413,37 +2685,24 @@ "crossLanguageDefinitionId": "Type.Union.StringExtensibleNamed.get" }, { - "$id": "269", + "$id": "299", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "270", + "$id": "300", "name": "send", "resourceName": "StringExtensibleNamed", "accessibility": "public", "parameters": [ { - "$id": "271", + "$id": "301", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "272", - "kind": "constant", - "name": "sendContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "273", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -2456,11 +2715,11 @@ "skipUrlEncoding": false }, { - "$id": "274", + "$id": "302", "name": "sendRequest2", "nameInRequest": "sendRequest2", "type": { - "$ref": "74" + "$ref": "124" }, "location": "Body", "isApiVersion": false, @@ -2475,7 +2734,7 @@ ], "responses": [ { - "$id": "275", + "$id": "303", "statusCodes": [ 204 ], @@ -2497,7 +2756,7 @@ }, "parameters": [ { - "$id": "276", + "$id": "304", "name": "prop", "nameInRequest": "prop", "type": { @@ -2514,12 +2773,12 @@ "skipUrlEncoding": false }, { - "$id": "277", + "$id": "305", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "272" + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -2533,7 +2792,7 @@ } ], "response": { - "$id": "278" + "$id": "306" }, "isOverride": false, "generateConvenient": true, @@ -2543,12 +2802,12 @@ ], "parameters": [ { - "$id": "279", + "$id": "307", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "280", + "$id": "308", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2562,9 +2821,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "281", + "$id": "309", "type": { - "$id": "282", + "$id": "310", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2577,47 +2836,34 @@ "crossLanguageDefinitionId": "Type.Union.StringExtensibleNamed", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "283", + "$id": "311", "kind": "client", "name": "IntsOnly", "namespace": "_Type.Union", "doc": "Describe union of integer 1 | 2 | 3", "methods": [ { - "$id": "284", + "$id": "312", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "285", + "$id": "313", "name": "get", "resourceName": "IntsOnly", "accessibility": "public", "parameters": [ { - "$id": "286", + "$id": "314", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "287", - "kind": "constant", - "name": "getContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "288", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -2632,12 +2878,12 @@ ], "responses": [ { - "$id": "289", + "$id": "315", "statusCodes": [ 200 ], "bodyType": { - "$ref": "78" + "$ref": "128" }, "headers": [], "isErrorResponse": false, @@ -2657,11 +2903,11 @@ }, "parameters": [ { - "$id": "290", + "$id": "316", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "287" + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -2675,9 +2921,9 @@ } ], "response": { - "$id": "291", + "$id": "317", "type": { - "$ref": "78" + "$ref": "128" } }, "isOverride": false, @@ -2686,37 +2932,24 @@ "crossLanguageDefinitionId": "Type.Union.IntsOnly.get" }, { - "$id": "292", + "$id": "318", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "293", + "$id": "319", "name": "send", "resourceName": "IntsOnly", "accessibility": "public", "parameters": [ { - "$id": "294", + "$id": "320", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "295", - "kind": "constant", - "name": "sendContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "296", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -2729,11 +2962,11 @@ "skipUrlEncoding": false }, { - "$id": "297", + "$id": "321", "name": "sendRequest3", "nameInRequest": "sendRequest3", "type": { - "$ref": "82" + "$ref": "132" }, "location": "Body", "isApiVersion": false, @@ -2748,7 +2981,7 @@ ], "responses": [ { - "$id": "298", + "$id": "322", "statusCodes": [ 204 ], @@ -2770,7 +3003,7 @@ }, "parameters": [ { - "$id": "299", + "$id": "323", "name": "prop", "nameInRequest": "prop", "type": { @@ -2787,12 +3020,12 @@ "skipUrlEncoding": false }, { - "$id": "300", + "$id": "324", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "295" + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -2806,7 +3039,7 @@ } ], "response": { - "$id": "301" + "$id": "325" }, "isOverride": false, "generateConvenient": true, @@ -2816,12 +3049,12 @@ ], "parameters": [ { - "$id": "302", + "$id": "326", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "303", + "$id": "327", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2835,9 +3068,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "304", + "$id": "328", "type": { - "$id": "305", + "$id": "329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2850,47 +3083,34 @@ "crossLanguageDefinitionId": "Type.Union.IntsOnly", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "306", + "$id": "330", "kind": "client", "name": "FloatsOnly", "namespace": "_Type.Union", "doc": "Describe union of floats 1.1 | 2.2 | 3.3", "methods": [ { - "$id": "307", + "$id": "331", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "308", + "$id": "332", "name": "get", "resourceName": "FloatsOnly", "accessibility": "public", "parameters": [ { - "$id": "309", + "$id": "333", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "310", - "kind": "constant", - "name": "getContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "311", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -2905,12 +3125,12 @@ ], "responses": [ { - "$id": "312", + "$id": "334", "statusCodes": [ 200 ], "bodyType": { - "$ref": "86" + "$ref": "136" }, "headers": [], "isErrorResponse": false, @@ -2930,11 +3150,11 @@ }, "parameters": [ { - "$id": "313", + "$id": "335", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "310" + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -2948,9 +3168,9 @@ } ], "response": { - "$id": "314", + "$id": "336", "type": { - "$ref": "86" + "$ref": "136" } }, "isOverride": false, @@ -2959,37 +3179,24 @@ "crossLanguageDefinitionId": "Type.Union.FloatsOnly.get" }, { - "$id": "315", + "$id": "337", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "316", + "$id": "338", "name": "send", "resourceName": "FloatsOnly", "accessibility": "public", "parameters": [ { - "$id": "317", + "$id": "339", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "318", - "kind": "constant", - "name": "sendContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "319", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -3002,11 +3209,11 @@ "skipUrlEncoding": false }, { - "$id": "320", + "$id": "340", "name": "sendRequest4", "nameInRequest": "sendRequest4", "type": { - "$ref": "90" + "$ref": "140" }, "location": "Body", "isApiVersion": false, @@ -3021,7 +3228,7 @@ ], "responses": [ { - "$id": "321", + "$id": "341", "statusCodes": [ 204 ], @@ -3043,7 +3250,7 @@ }, "parameters": [ { - "$id": "322", + "$id": "342", "name": "prop", "nameInRequest": "prop", "type": { @@ -3060,12 +3267,12 @@ "skipUrlEncoding": false }, { - "$id": "323", + "$id": "343", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "318" + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -3079,7 +3286,7 @@ } ], "response": { - "$id": "324" + "$id": "344" }, "isOverride": false, "generateConvenient": true, @@ -3089,12 +3296,12 @@ ], "parameters": [ { - "$id": "325", + "$id": "345", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "326", + "$id": "346", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3108,9 +3315,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "327", + "$id": "347", "type": { - "$id": "328", + "$id": "348", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3123,47 +3330,34 @@ "crossLanguageDefinitionId": "Type.Union.FloatsOnly", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "329", + "$id": "349", "kind": "client", "name": "ModelsOnly", "namespace": "_Type.Union", "doc": "Describe union of models", "methods": [ { - "$id": "330", + "$id": "350", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "331", + "$id": "351", "name": "get", "resourceName": "ModelsOnly", "accessibility": "public", "parameters": [ { - "$id": "332", + "$id": "352", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "333", - "kind": "constant", - "name": "getContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "334", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -3178,12 +3372,12 @@ ], "responses": [ { - "$id": "335", + "$id": "353", "statusCodes": [ 200 ], "bodyType": { - "$ref": "94" + "$ref": "144" }, "headers": [], "isErrorResponse": false, @@ -3203,11 +3397,11 @@ }, "parameters": [ { - "$id": "336", + "$id": "354", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "333" + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -3221,9 +3415,9 @@ } ], "response": { - "$id": "337", + "$id": "355", "type": { - "$ref": "94" + "$ref": "144" } }, "isOverride": false, @@ -3232,37 +3426,24 @@ "crossLanguageDefinitionId": "Type.Union.ModelsOnly.get" }, { - "$id": "338", + "$id": "356", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "339", + "$id": "357", "name": "send", "resourceName": "ModelsOnly", "accessibility": "public", "parameters": [ { - "$id": "340", + "$id": "358", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "341", - "kind": "constant", - "name": "sendContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "342", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -3275,11 +3456,11 @@ "skipUrlEncoding": false }, { - "$id": "343", + "$id": "359", "name": "sendRequest5", "nameInRequest": "sendRequest5", "type": { - "$ref": "109" + "$ref": "159" }, "location": "Body", "isApiVersion": false, @@ -3294,7 +3475,7 @@ ], "responses": [ { - "$id": "344", + "$id": "360", "statusCodes": [ 204 ], @@ -3316,11 +3497,11 @@ }, "parameters": [ { - "$id": "345", + "$id": "361", "name": "prop", "nameInRequest": "prop", "type": { - "$ref": "96" + "$ref": "146" }, "location": "Body", "isApiVersion": false, @@ -3333,12 +3514,12 @@ "skipUrlEncoding": false }, { - "$id": "346", + "$id": "362", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "341" + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -3352,7 +3533,7 @@ } ], "response": { - "$id": "347" + "$id": "363" }, "isOverride": false, "generateConvenient": true, @@ -3362,12 +3543,12 @@ ], "parameters": [ { - "$id": "348", + "$id": "364", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "349", + "$id": "365", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3381,9 +3562,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "350", + "$id": "366", "type": { - "$id": "351", + "$id": "367", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3396,47 +3577,34 @@ "crossLanguageDefinitionId": "Type.Union.ModelsOnly", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "352", + "$id": "368", "kind": "client", "name": "EnumsOnly", "namespace": "_Type.Union", "doc": "Describe union of 2 different enums", "methods": [ { - "$id": "353", + "$id": "369", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "354", + "$id": "370", "name": "get", "resourceName": "EnumsOnly", "accessibility": "public", "parameters": [ { - "$id": "355", + "$id": "371", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "356", - "kind": "constant", - "name": "getContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "357", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -3451,12 +3619,12 @@ ], "responses": [ { - "$id": "358", + "$id": "372", "statusCodes": [ 200 ], "bodyType": { - "$ref": "113" + "$ref": "163" }, "headers": [], "isErrorResponse": false, @@ -3476,11 +3644,11 @@ }, "parameters": [ { - "$id": "359", + "$id": "373", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "356" + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -3494,9 +3662,9 @@ } ], "response": { - "$id": "360", + "$id": "374", "type": { - "$ref": "113" + "$ref": "163" } }, "isOverride": false, @@ -3505,37 +3673,24 @@ "crossLanguageDefinitionId": "Type.Union.EnumsOnly.get" }, { - "$id": "361", + "$id": "375", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "362", + "$id": "376", "name": "send", "resourceName": "EnumsOnly", "accessibility": "public", "parameters": [ { - "$id": "363", + "$id": "377", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "364", - "kind": "constant", - "name": "sendContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "365", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -3548,11 +3703,11 @@ "skipUrlEncoding": false }, { - "$id": "366", + "$id": "378", "name": "sendRequest6", "nameInRequest": "sendRequest6", "type": { - "$ref": "124" + "$ref": "174" }, "location": "Body", "isApiVersion": false, @@ -3567,7 +3722,7 @@ ], "responses": [ { - "$id": "367", + "$id": "379", "statusCodes": [ 204 ], @@ -3589,11 +3744,11 @@ }, "parameters": [ { - "$id": "368", + "$id": "380", "name": "prop", "nameInRequest": "prop", "type": { - "$ref": "115" + "$ref": "165" }, "location": "Body", "isApiVersion": false, @@ -3606,12 +3761,12 @@ "skipUrlEncoding": false }, { - "$id": "369", + "$id": "381", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "364" + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -3625,7 +3780,7 @@ } ], "response": { - "$id": "370" + "$id": "382" }, "isOverride": false, "generateConvenient": true, @@ -3635,12 +3790,12 @@ ], "parameters": [ { - "$id": "371", + "$id": "383", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "372", + "$id": "384", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3654,9 +3809,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "373", + "$id": "385", "type": { - "$id": "374", + "$id": "386", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3669,47 +3824,34 @@ "crossLanguageDefinitionId": "Type.Union.EnumsOnly", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "375", + "$id": "387", "kind": "client", "name": "StringAndArray", "namespace": "_Type.Union", "doc": "Describe union of a string and an array of strings", "methods": [ { - "$id": "376", + "$id": "388", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "377", + "$id": "389", "name": "get", "resourceName": "StringAndArray", "accessibility": "public", "parameters": [ { - "$id": "378", + "$id": "390", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "379", - "kind": "constant", - "name": "getContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "380", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -3724,12 +3866,12 @@ ], "responses": [ { - "$id": "381", + "$id": "391", "statusCodes": [ 200 ], "bodyType": { - "$ref": "128" + "$ref": "178" }, "headers": [], "isErrorResponse": false, @@ -3749,11 +3891,11 @@ }, "parameters": [ { - "$id": "382", + "$id": "392", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "379" + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -3767,9 +3909,9 @@ } ], "response": { - "$id": "383", + "$id": "393", "type": { - "$ref": "128" + "$ref": "178" } }, "isOverride": false, @@ -3778,37 +3920,24 @@ "crossLanguageDefinitionId": "Type.Union.StringAndArray.get" }, { - "$id": "384", + "$id": "394", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "385", + "$id": "395", "name": "send", "resourceName": "StringAndArray", "accessibility": "public", "parameters": [ { - "$id": "386", + "$id": "396", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "387", - "kind": "constant", - "name": "sendContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "388", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -3821,11 +3950,11 @@ "skipUrlEncoding": false }, { - "$id": "389", + "$id": "397", "name": "sendRequest7", "nameInRequest": "sendRequest7", "type": { - "$ref": "145" + "$ref": "195" }, "location": "Body", "isApiVersion": false, @@ -3840,7 +3969,7 @@ ], "responses": [ { - "$id": "390", + "$id": "398", "statusCodes": [ 204 ], @@ -3862,11 +3991,11 @@ }, "parameters": [ { - "$id": "391", + "$id": "399", "name": "prop", "nameInRequest": "prop", "type": { - "$ref": "130" + "$ref": "180" }, "location": "Body", "isApiVersion": false, @@ -3879,12 +4008,12 @@ "skipUrlEncoding": false }, { - "$id": "392", + "$id": "400", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "387" + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -3898,7 +4027,7 @@ } ], "response": { - "$id": "393" + "$id": "401" }, "isOverride": false, "generateConvenient": true, @@ -3908,12 +4037,12 @@ ], "parameters": [ { - "$id": "394", + "$id": "402", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "395", + "$id": "403", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3927,9 +4056,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "396", + "$id": "404", "type": { - "$id": "397", + "$id": "405", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3942,47 +4071,34 @@ "crossLanguageDefinitionId": "Type.Union.StringAndArray", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "398", + "$id": "406", "kind": "client", "name": "MixedLiterals", "namespace": "_Type.Union", "doc": "Describe union of floats \"a\" | 2 | 3.3", "methods": [ { - "$id": "399", + "$id": "407", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "400", + "$id": "408", "name": "get", "resourceName": "MixedLiterals", "accessibility": "public", "parameters": [ { - "$id": "401", + "$id": "409", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "402", - "kind": "constant", - "name": "getContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "403", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -3997,12 +4113,12 @@ ], "responses": [ { - "$id": "404", + "$id": "410", "statusCodes": [ 200 ], "bodyType": { - "$ref": "149" + "$ref": "199" }, "headers": [], "isErrorResponse": false, @@ -4022,11 +4138,11 @@ }, "parameters": [ { - "$id": "405", + "$id": "411", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "402" + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -4040,9 +4156,9 @@ } ], "response": { - "$id": "406", + "$id": "412", "type": { - "$ref": "149" + "$ref": "199" } }, "isOverride": false, @@ -4051,37 +4167,24 @@ "crossLanguageDefinitionId": "Type.Union.MixedLiterals.get" }, { - "$id": "407", + "$id": "413", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "408", + "$id": "414", "name": "send", "resourceName": "MixedLiterals", "accessibility": "public", "parameters": [ { - "$id": "409", + "$id": "415", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "410", - "kind": "constant", - "name": "sendContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "411", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -4094,11 +4197,11 @@ "skipUrlEncoding": false }, { - "$id": "412", + "$id": "416", "name": "sendRequest8", "nameInRequest": "sendRequest8", "type": { - "$ref": "175" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -4113,7 +4216,7 @@ ], "responses": [ { - "$id": "413", + "$id": "417", "statusCodes": [ 204 ], @@ -4135,11 +4238,11 @@ }, "parameters": [ { - "$id": "414", + "$id": "418", "name": "prop", "nameInRequest": "prop", "type": { - "$ref": "151" + "$ref": "201" }, "location": "Body", "isApiVersion": false, @@ -4152,12 +4255,12 @@ "skipUrlEncoding": false }, { - "$id": "415", + "$id": "419", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "410" + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -4171,7 +4274,7 @@ } ], "response": { - "$id": "416" + "$id": "420" }, "isOverride": false, "generateConvenient": true, @@ -4181,12 +4284,12 @@ ], "parameters": [ { - "$id": "417", + "$id": "421", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "418", + "$id": "422", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4200,9 +4303,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "419", + "$id": "423", "type": { - "$id": "420", + "$id": "424", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4215,47 +4318,34 @@ "crossLanguageDefinitionId": "Type.Union.MixedLiterals", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "421", + "$id": "425", "kind": "client", "name": "MixedTypes", "namespace": "_Type.Union", "doc": "Describe union of floats \"a\" | 2 | 3.3", "methods": [ { - "$id": "422", + "$id": "426", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "423", + "$id": "427", "name": "get", "resourceName": "MixedTypes", "accessibility": "public", "parameters": [ { - "$id": "424", + "$id": "428", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "425", - "kind": "constant", - "name": "getContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "426", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -4270,12 +4360,12 @@ ], "responses": [ { - "$id": "427", + "$id": "429", "statusCodes": [ 200 ], "bodyType": { - "$ref": "179" + "$ref": "221" }, "headers": [], "isErrorResponse": false, @@ -4295,11 +4385,11 @@ }, "parameters": [ { - "$id": "428", + "$id": "430", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "425" + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -4313,9 +4403,9 @@ } ], "response": { - "$id": "429", + "$id": "431", "type": { - "$ref": "179" + "$ref": "221" } }, "isOverride": false, @@ -4324,37 +4414,24 @@ "crossLanguageDefinitionId": "Type.Union.MixedTypes.get" }, { - "$id": "430", + "$id": "432", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "431", + "$id": "433", "name": "send", "resourceName": "MixedTypes", "accessibility": "public", "parameters": [ { - "$id": "432", + "$id": "434", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "433", - "kind": "constant", - "name": "sendContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "434", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -4371,7 +4448,7 @@ "name": "sendRequest9", "nameInRequest": "sendRequest9", "type": { - "$ref": "205" + "$ref": "245" }, "location": "Body", "isApiVersion": false, @@ -4412,7 +4489,7 @@ "name": "prop", "nameInRequest": "prop", "type": { - "$ref": "181" + "$ref": "223" }, "location": "Body", "isApiVersion": false, @@ -4430,7 +4507,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "433" + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -4488,7 +4565,7 @@ "crossLanguageDefinitionId": "Type.Union.MixedTypes", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } } ] diff --git a/test/CadlRanchProjects/versioning/added/tspCodeModel.json b/test/CadlRanchProjects/versioning/added/tspCodeModel.json index 45f377be0f6..1c26a3f6c18 100644 --- a/test/CadlRanchProjects/versioning/added/tspCodeModel.json +++ b/test/CadlRanchProjects/versioning/added/tspCodeModel.json @@ -155,9 +155,107 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "18", + "kind": "constant", + "name": "v1ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "v1ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "v2ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "v2ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "v2InInterfaceContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "v2InInterfaceContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "30", "kind": "model", "name": "ModelV1", "namespace": "Versioning.Added", @@ -166,12 +264,12 @@ "decorators": [], "properties": [ { - "$id": "19", + "$id": "31", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "20", + "$id": "32", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -184,15 +282,15 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Added.ModelV1.prop", "serializationOptions": { - "$id": "21", + "$id": "33", "json": { - "$id": "22", + "$id": "34", "name": "prop" } } }, { - "$id": "23", + "$id": "35", "kind": "property", "name": "enumProp", "serializedName": "enumProp", @@ -206,37 +304,37 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Added.ModelV1.enumProp", "serializationOptions": { - "$id": "24", + "$id": "36", "json": { - "$id": "25", + "$id": "37", "name": "enumProp" } } }, { - "$id": "26", + "$id": "38", "kind": "property", "name": "unionProp", "serializedName": "unionProp", "type": { - "$id": "27", + "$id": "39", "kind": "union", "name": "UnionV1", "variantTypes": [ { - "$id": "28", + "$id": "40", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "29", + "$id": "41", "kind": "int32", "name": "V2Scalar", "crossLanguageDefinitionId": "Versioning.Added.V2Scalar", "baseType": { - "$id": "30", + "$id": "42", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -255,9 +353,9 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Added.ModelV1.unionProp", "serializationOptions": { - "$id": "31", + "$id": "43", "json": { - "$id": "32", + "$id": "44", "name": "unionProp" } } @@ -265,7 +363,7 @@ ] }, { - "$id": "33", + "$id": "45", "kind": "model", "name": "ModelV2", "namespace": "Versioning.Added", @@ -274,12 +372,12 @@ "decorators": [], "properties": [ { - "$id": "34", + "$id": "46", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "35", + "$id": "47", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -292,15 +390,15 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Added.ModelV2.prop", "serializationOptions": { - "$id": "36", + "$id": "48", "json": { - "$id": "37", + "$id": "49", "name": "prop" } } }, { - "$id": "38", + "$id": "50", "kind": "property", "name": "enumProp", "serializedName": "enumProp", @@ -314,32 +412,32 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Added.ModelV2.enumProp", "serializationOptions": { - "$id": "39", + "$id": "51", "json": { - "$id": "40", + "$id": "52", "name": "enumProp" } } }, { - "$id": "41", + "$id": "53", "kind": "property", "name": "unionProp", "serializedName": "unionProp", "type": { - "$id": "42", + "$id": "54", "kind": "union", "name": "UnionV2", "variantTypes": [ { - "$id": "43", + "$id": "55", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "44", + "$id": "56", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -356,9 +454,9 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Added.ModelV2.unionProp", "serializationOptions": { - "$id": "45", + "$id": "57", "json": { - "$id": "46", + "$id": "58", "name": "unionProp" } } @@ -368,14 +466,14 @@ ], "clients": [ { - "$id": "47", + "$id": "59", "kind": "client", "name": "AddedClient", "namespace": "Versioning.Added", "doc": "Test for the `@added` decorator.", "methods": [ { - "$id": "48", + "$id": "60", "kind": "basic", "name": "v1", "accessibility": "public", @@ -384,17 +482,17 @@ "v2" ], "operation": { - "$id": "49", + "$id": "61", "name": "v1", "resourceName": "Added", "accessibility": "public", "parameters": [ { - "$id": "50", + "$id": "62", "name": "headerV2", "nameInRequest": "header-v2", "type": { - "$id": "51", + "$id": "63", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -411,25 +509,12 @@ "skipUrlEncoding": false }, { - "$id": "52", + "$id": "64", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "53", - "kind": "constant", - "name": "v1ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "54", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -442,24 +527,11 @@ "skipUrlEncoding": false }, { - "$id": "55", + "$id": "65", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "56", - "kind": "constant", - "name": "v1ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "57", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -472,11 +544,11 @@ "skipUrlEncoding": false }, { - "$id": "58", + "$id": "66", "name": "body", "nameInRequest": "body", "type": { - "$ref": "18" + "$ref": "30" }, "location": "Body", "isApiVersion": false, @@ -491,12 +563,12 @@ ], "responses": [ { - "$id": "59", + "$id": "67", "statusCodes": [ 200 ], "bodyType": { - "$ref": "18" + "$ref": "30" }, "headers": [], "isErrorResponse": false, @@ -519,11 +591,11 @@ }, "parameters": [ { - "$id": "60", + "$id": "68", "name": "body", "nameInRequest": "body", "type": { - "$ref": "18" + "$ref": "30" }, "location": "Body", "isApiVersion": false, @@ -536,11 +608,11 @@ "skipUrlEncoding": false }, { - "$id": "61", + "$id": "69", "name": "headerV2", "nameInRequest": "header-v2", "type": { - "$id": "62", + "$id": "70", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -557,12 +629,12 @@ "skipUrlEncoding": false }, { - "$id": "63", + "$id": "71", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "53" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -575,11 +647,11 @@ "skipUrlEncoding": false }, { - "$id": "64", + "$id": "72", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "56" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -593,9 +665,9 @@ } ], "response": { - "$id": "65", + "$id": "73", "type": { - "$ref": "18" + "$ref": "30" } }, "isOverride": false, @@ -604,7 +676,7 @@ "crossLanguageDefinitionId": "Versioning.Added.v1" }, { - "$id": "66", + "$id": "74", "kind": "basic", "name": "v2", "accessibility": "public", @@ -612,31 +684,18 @@ "v2" ], "operation": { - "$id": "67", + "$id": "75", "name": "v2", "resourceName": "Added", "accessibility": "public", "parameters": [ { - "$id": "68", + "$id": "76", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "69", - "kind": "constant", - "name": "v2ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "70", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -649,24 +708,11 @@ "skipUrlEncoding": false }, { - "$id": "71", + "$id": "77", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "72", - "kind": "constant", - "name": "v2ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "73", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -679,11 +725,11 @@ "skipUrlEncoding": false }, { - "$id": "74", + "$id": "78", "name": "body", "nameInRequest": "body", "type": { - "$ref": "33" + "$ref": "45" }, "location": "Body", "isApiVersion": false, @@ -698,12 +744,12 @@ ], "responses": [ { - "$id": "75", + "$id": "79", "statusCodes": [ 200 ], "bodyType": { - "$ref": "33" + "$ref": "45" }, "headers": [], "isErrorResponse": false, @@ -726,11 +772,11 @@ }, "parameters": [ { - "$id": "76", + "$id": "80", "name": "body", "nameInRequest": "body", "type": { - "$ref": "33" + "$ref": "45" }, "location": "Body", "isApiVersion": false, @@ -743,12 +789,12 @@ "skipUrlEncoding": false }, { - "$id": "77", + "$id": "81", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "69" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -761,11 +807,11 @@ "skipUrlEncoding": false }, { - "$id": "78", + "$id": "82", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "72" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -779,9 +825,9 @@ } ], "response": { - "$id": "79", + "$id": "83", "type": { - "$ref": "33" + "$ref": "45" } }, "isOverride": false, @@ -792,12 +838,12 @@ ], "parameters": [ { - "$id": "80", + "$id": "84", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Need to be set as 'http://localhost:3000' in client.", "type": { - "$id": "81", + "$id": "85", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -812,7 +858,7 @@ "kind": "Client" }, { - "$id": "82", + "$id": "86", "name": "version", "nameInRequest": "version", "doc": "Need to be set as 'v1' or 'v2' in client.", @@ -831,10 +877,10 @@ ], "decorators": [ { - "$id": "83", + "$id": "87", "name": "TypeSpec.@service", "arguments": { - "$id": "84" + "$id": "88" } } ], @@ -845,13 +891,13 @@ ], "children": [ { - "$id": "85", + "$id": "89", "kind": "client", "name": "InterfaceV2", "namespace": "Versioning.Added", "methods": [ { - "$id": "86", + "$id": "90", "kind": "basic", "name": "v2InInterface", "accessibility": "public", @@ -859,31 +905,18 @@ "v2" ], "operation": { - "$id": "87", + "$id": "91", "name": "v2InInterface", "resourceName": "InterfaceV2", "accessibility": "public", "parameters": [ { - "$id": "88", + "$id": "92", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "89", - "kind": "constant", - "name": "v2InInterfaceContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "90", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -896,24 +929,11 @@ "skipUrlEncoding": false }, { - "$id": "91", + "$id": "93", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "92", - "kind": "constant", - "name": "v2InInterfaceContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "93", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -930,7 +950,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "33" + "$ref": "45" }, "location": "Body", "isApiVersion": false, @@ -950,7 +970,7 @@ 200 ], "bodyType": { - "$ref": "33" + "$ref": "45" }, "headers": [], "isErrorResponse": false, @@ -977,7 +997,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "33" + "$ref": "45" }, "location": "Body", "isApiVersion": false, @@ -995,7 +1015,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "89" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1012,7 +1032,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "92" + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -1028,7 +1048,7 @@ "response": { "$id": "99", "type": { - "$ref": "33" + "$ref": "45" } }, "isOverride": false, @@ -1082,7 +1102,7 @@ "v2" ], "parent": { - "$ref": "47" + "$ref": "59" } } ] diff --git a/test/CadlRanchProjects/versioning/madeOptional/tspCodeModel.json b/test/CadlRanchProjects/versioning/madeOptional/tspCodeModel.json index 566a0c77485..70746e37791 100644 --- a/test/CadlRanchProjects/versioning/madeOptional/tspCodeModel.json +++ b/test/CadlRanchProjects/versioning/madeOptional/tspCodeModel.json @@ -64,9 +64,43 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "8", + "kind": "constant", + "name": "testContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "testContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "12", "kind": "model", "name": "TestModel", "namespace": "Versioning.MadeOptional", @@ -75,12 +109,12 @@ "decorators": [], "properties": [ { - "$id": "9", + "$id": "13", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "10", + "$id": "14", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93,20 +127,20 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.MadeOptional.TestModel.prop", "serializationOptions": { - "$id": "11", + "$id": "15", "json": { - "$id": "12", + "$id": "16", "name": "prop" } } }, { - "$id": "13", + "$id": "17", "kind": "property", "name": "changedProp", "serializedName": "changedProp", "type": { - "$id": "14", + "$id": "18", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119,9 +153,9 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.MadeOptional.TestModel.changedProp", "serializationOptions": { - "$id": "15", + "$id": "19", "json": { - "$id": "16", + "$id": "20", "name": "changedProp" } } @@ -131,14 +165,14 @@ ], "clients": [ { - "$id": "17", + "$id": "21", "kind": "client", "name": "MadeOptionalClient", "namespace": "Versioning.MadeOptional", "doc": "Test for the `@madeOptional` decorator.", "methods": [ { - "$id": "18", + "$id": "22", "kind": "basic", "name": "test", "accessibility": "public", @@ -147,17 +181,17 @@ "v2" ], "operation": { - "$id": "19", + "$id": "23", "name": "test", "resourceName": "MadeOptional", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "24", "name": "param", "nameInRequest": "param", "type": { - "$id": "21", + "$id": "25", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -174,25 +208,12 @@ "skipUrlEncoding": false }, { - "$id": "22", + "$id": "26", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "23", - "kind": "constant", - "name": "testContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "24", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -205,24 +226,11 @@ "skipUrlEncoding": false }, { - "$id": "25", + "$id": "27", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "26", - "kind": "constant", - "name": "testContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "27", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -239,7 +247,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "12" }, "location": "Body", "isApiVersion": false, @@ -259,7 +267,7 @@ 200 ], "bodyType": { - "$ref": "8" + "$ref": "12" }, "headers": [], "isErrorResponse": false, @@ -286,7 +294,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "12" }, "location": "Body", "isApiVersion": false, @@ -325,7 +333,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "23" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -342,7 +350,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "26" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -358,7 +366,7 @@ "response": { "$id": "35", "type": { - "$ref": "8" + "$ref": "12" } }, "isOverride": false, diff --git a/test/CadlRanchProjects/versioning/removed-betaversion/tspCodeModel.json b/test/CadlRanchProjects/versioning/removed-betaversion/tspCodeModel.json index b4327870560..7a7697a0593 100644 --- a/test/CadlRanchProjects/versioning/removed-betaversion/tspCodeModel.json +++ b/test/CadlRanchProjects/versioning/removed-betaversion/tspCodeModel.json @@ -155,9 +155,139 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "18", + "kind": "constant", + "name": "v1ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "v1ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "v2ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "v2ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "modelV3ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "modelV3ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "v1InInterfaceContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "v1InInterfaceContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "34", "kind": "model", "name": "ModelV1", "namespace": "Versioning.Removed.BetaVersion", @@ -166,12 +296,12 @@ "decorators": [], "properties": [ { - "$id": "19", + "$id": "35", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "20", + "$id": "36", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -184,15 +314,15 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV1.prop", "serializationOptions": { - "$id": "21", + "$id": "37", "json": { - "$id": "22", + "$id": "38", "name": "prop" } } }, { - "$id": "23", + "$id": "39", "kind": "property", "name": "enumProp", "serializedName": "enumProp", @@ -206,32 +336,32 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV1.enumProp", "serializationOptions": { - "$id": "24", + "$id": "40", "json": { - "$id": "25", + "$id": "41", "name": "enumProp" } } }, { - "$id": "26", + "$id": "42", "kind": "property", "name": "unionProp", "serializedName": "unionProp", "type": { - "$id": "27", + "$id": "43", "kind": "union", "name": "UnionV1", "variantTypes": [ { - "$id": "28", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "29", + "$id": "45", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -248,9 +378,9 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV1.unionProp", "serializationOptions": { - "$id": "30", + "$id": "46", "json": { - "$id": "31", + "$id": "47", "name": "unionProp" } } @@ -258,7 +388,7 @@ ] }, { - "$id": "32", + "$id": "48", "kind": "model", "name": "ModelV2", "namespace": "Versioning.Removed.BetaVersion", @@ -267,12 +397,12 @@ "decorators": [], "properties": [ { - "$id": "33", + "$id": "49", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "34", + "$id": "50", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -285,20 +415,20 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV2.prop", "serializationOptions": { - "$id": "35", + "$id": "51", "json": { - "$id": "36", + "$id": "52", "name": "prop" } } }, { - "$id": "37", + "$id": "53", "kind": "property", "name": "removedProp", "serializedName": "removedProp", "type": { - "$id": "38", + "$id": "54", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -311,15 +441,15 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV2.removedProp", "serializationOptions": { - "$id": "39", + "$id": "55", "json": { - "$id": "40", + "$id": "56", "name": "removedProp" } } }, { - "$id": "41", + "$id": "57", "kind": "property", "name": "enumProp", "serializedName": "enumProp", @@ -333,44 +463,44 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV2.enumProp", "serializationOptions": { - "$id": "42", + "$id": "58", "json": { - "$id": "43", + "$id": "59", "name": "enumProp" } } }, { - "$id": "44", + "$id": "60", "kind": "property", "name": "unionProp", "serializedName": "unionProp", "type": { - "$id": "45", + "$id": "61", "kind": "union", "name": "UnionV2", "variantTypes": [ { - "$id": "46", + "$id": "62", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "47", + "$id": "63", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, { - "$id": "48", + "$id": "64", "kind": "int32", "name": "V1Scalar", "crossLanguageDefinitionId": "Versioning.Removed.V1Scalar", "baseType": { - "$id": "49", + "$id": "65", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -389,9 +519,9 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV2.unionProp", "serializationOptions": { - "$id": "50", + "$id": "66", "json": { - "$id": "51", + "$id": "67", "name": "unionProp" } } @@ -399,7 +529,7 @@ ] }, { - "$id": "52", + "$id": "68", "kind": "model", "name": "ModelV3", "namespace": "Versioning.Removed.BetaVersion", @@ -408,12 +538,12 @@ "decorators": [], "properties": [ { - "$id": "53", + "$id": "69", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "54", + "$id": "70", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -426,9 +556,9 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV3.id", "serializationOptions": { - "$id": "55", + "$id": "71", "json": { - "$id": "56", + "$id": "72", "name": "id" } } @@ -438,14 +568,14 @@ ], "clients": [ { - "$id": "57", + "$id": "73", "kind": "client", "name": "RemovedClient", "namespace": "Versioning.Removed.BetaVersion", "doc": "Test for the `@removed` decorator.", "methods": [ { - "$id": "58", + "$id": "74", "kind": "basic", "name": "v1", "accessibility": "public", @@ -455,32 +585,19 @@ ], "doc": "This operation should not be generated with latest version's signature.", "operation": { - "$id": "59", + "$id": "75", "name": "v1", "resourceName": "Removed", "doc": "This operation should not be generated with latest version's signature.", "accessibility": "public", "parameters": [ { - "$id": "60", + "$id": "76", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "61", - "kind": "constant", - "name": "v1ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "62", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -493,24 +610,11 @@ "skipUrlEncoding": false }, { - "$id": "63", + "$id": "77", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "64", - "kind": "constant", - "name": "v1ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "65", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -523,11 +627,11 @@ "skipUrlEncoding": false }, { - "$id": "66", + "$id": "78", "name": "body", "nameInRequest": "body", "type": { - "$ref": "18" + "$ref": "34" }, "location": "Body", "isApiVersion": false, @@ -542,12 +646,12 @@ ], "responses": [ { - "$id": "67", + "$id": "79", "statusCodes": [ 200 ], "bodyType": { - "$ref": "18" + "$ref": "34" }, "headers": [], "isErrorResponse": false, @@ -570,11 +674,11 @@ }, "parameters": [ { - "$id": "68", + "$id": "80", "name": "body", "nameInRequest": "body", "type": { - "$ref": "18" + "$ref": "34" }, "location": "Body", "isApiVersion": false, @@ -587,12 +691,12 @@ "skipUrlEncoding": false }, { - "$id": "69", + "$id": "81", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "61" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -605,11 +709,11 @@ "skipUrlEncoding": false }, { - "$id": "70", + "$id": "82", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "64" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -623,9 +727,9 @@ } ], "response": { - "$id": "71", + "$id": "83", "type": { - "$ref": "18" + "$ref": "34" } }, "isOverride": false, @@ -634,7 +738,7 @@ "crossLanguageDefinitionId": "Versioning.Removed.v1" }, { - "$id": "72", + "$id": "84", "kind": "basic", "name": "v2", "accessibility": "public", @@ -643,17 +747,17 @@ "v2preview" ], "operation": { - "$id": "73", + "$id": "85", "name": "v2", "resourceName": "Removed", "accessibility": "public", "parameters": [ { - "$id": "74", + "$id": "86", "name": "param", "nameInRequest": "param", "type": { - "$id": "75", + "$id": "87", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -670,25 +774,12 @@ "skipUrlEncoding": false }, { - "$id": "76", + "$id": "88", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "77", - "kind": "constant", - "name": "v2ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "78", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -701,24 +792,11 @@ "skipUrlEncoding": false }, { - "$id": "79", + "$id": "89", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "80", - "kind": "constant", - "name": "v2ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "81", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -731,11 +809,11 @@ "skipUrlEncoding": false }, { - "$id": "82", + "$id": "90", "name": "body", "nameInRequest": "body", "type": { - "$ref": "32" + "$ref": "48" }, "location": "Body", "isApiVersion": false, @@ -750,12 +828,12 @@ ], "responses": [ { - "$id": "83", + "$id": "91", "statusCodes": [ 200 ], "bodyType": { - "$ref": "32" + "$ref": "48" }, "headers": [], "isErrorResponse": false, @@ -778,11 +856,11 @@ }, "parameters": [ { - "$id": "84", + "$id": "92", "name": "body", "nameInRequest": "body", "type": { - "$ref": "32" + "$ref": "48" }, "location": "Body", "isApiVersion": false, @@ -795,11 +873,11 @@ "skipUrlEncoding": false }, { - "$id": "85", + "$id": "93", "name": "param", "nameInRequest": "param", "type": { - "$id": "86", + "$id": "94", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -816,12 +894,12 @@ "skipUrlEncoding": false }, { - "$id": "87", + "$id": "95", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "77" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -834,11 +912,11 @@ "skipUrlEncoding": false }, { - "$id": "88", + "$id": "96", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "80" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -852,9 +930,9 @@ } ], "response": { - "$id": "89", + "$id": "97", "type": { - "$ref": "32" + "$ref": "48" } }, "isOverride": false, @@ -863,7 +941,7 @@ "crossLanguageDefinitionId": "Versioning.Removed.v2" }, { - "$id": "90", + "$id": "98", "kind": "basic", "name": "modelV3", "accessibility": "public", @@ -873,32 +951,19 @@ ], "doc": "This operation will pass different paths and different request bodies based on different versions.", "operation": { - "$id": "91", + "$id": "99", "name": "modelV3", "resourceName": "Removed", "doc": "This operation will pass different paths and different request bodies based on different versions.", "accessibility": "public", "parameters": [ { - "$id": "92", + "$id": "100", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "93", - "kind": "constant", - "name": "modelV3ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "94", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -911,24 +976,11 @@ "skipUrlEncoding": false }, { - "$id": "95", + "$id": "101", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "96", - "kind": "constant", - "name": "modelV3ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "97", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -941,11 +993,11 @@ "skipUrlEncoding": false }, { - "$id": "98", + "$id": "102", "name": "body", "nameInRequest": "body", "type": { - "$ref": "52" + "$ref": "68" }, "location": "Body", "isApiVersion": false, @@ -960,12 +1012,12 @@ ], "responses": [ { - "$id": "99", + "$id": "103", "statusCodes": [ 200 ], "bodyType": { - "$ref": "52" + "$ref": "68" }, "headers": [], "isErrorResponse": false, @@ -988,11 +1040,11 @@ }, "parameters": [ { - "$id": "100", + "$id": "104", "name": "body", "nameInRequest": "body", "type": { - "$ref": "52" + "$ref": "68" }, "location": "Body", "isApiVersion": false, @@ -1005,12 +1057,12 @@ "skipUrlEncoding": false }, { - "$id": "101", + "$id": "105", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "93" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1023,11 +1075,11 @@ "skipUrlEncoding": false }, { - "$id": "102", + "$id": "106", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "96" + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -1041,9 +1093,9 @@ } ], "response": { - "$id": "103", + "$id": "107", "type": { - "$ref": "52" + "$ref": "68" } }, "isOverride": false, @@ -1054,12 +1106,12 @@ ], "parameters": [ { - "$id": "104", + "$id": "108", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Need to be set as 'http://localhost:3000' in client.", "type": { - "$id": "105", + "$id": "109", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1074,7 +1126,7 @@ "kind": "Client" }, { - "$id": "106", + "$id": "110", "name": "version", "nameInRequest": "version", "doc": "Need to be set as 'v1', 'v2preview' or 'v2' in client.", @@ -1093,10 +1145,10 @@ ], "decorators": [ { - "$id": "107", + "$id": "111", "name": "TypeSpec.@service", "arguments": { - "$id": "108" + "$id": "112" } } ], @@ -1107,14 +1159,14 @@ ], "children": [ { - "$id": "109", + "$id": "113", "kind": "client", "name": "InterfaceV1", "namespace": "Versioning.Removed.BetaVersion", "doc": "This operation group should not be generated with latest version.", "methods": [ { - "$id": "110", + "$id": "114", "kind": "basic", "name": "v1InInterface", "accessibility": "public", @@ -1123,31 +1175,18 @@ "v2preview" ], "operation": { - "$id": "111", + "$id": "115", "name": "v1InInterface", "resourceName": "InterfaceV1", "accessibility": "public", "parameters": [ { - "$id": "112", + "$id": "116", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "113", - "kind": "constant", - "name": "v1InInterfaceContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "114", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -1160,24 +1199,11 @@ "skipUrlEncoding": false }, { - "$id": "115", + "$id": "117", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "116", - "kind": "constant", - "name": "v1InInterfaceContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "117", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -1194,7 +1220,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "18" + "$ref": "34" }, "location": "Body", "isApiVersion": false, @@ -1214,7 +1240,7 @@ 200 ], "bodyType": { - "$ref": "18" + "$ref": "34" }, "headers": [], "isErrorResponse": false, @@ -1241,7 +1267,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "18" + "$ref": "34" }, "location": "Body", "isApiVersion": false, @@ -1259,7 +1285,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "113" + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -1276,7 +1302,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "116" + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -1292,7 +1318,7 @@ "response": { "$id": "123", "type": { - "$ref": "18" + "$ref": "34" } }, "isOverride": false, @@ -1347,7 +1373,7 @@ "v2preview" ], "parent": { - "$ref": "57" + "$ref": "73" } } ] diff --git a/test/CadlRanchProjects/versioning/removed-oldversion/tspCodeModel.json b/test/CadlRanchProjects/versioning/removed-oldversion/tspCodeModel.json index fc125ee5b78..9554683345b 100644 --- a/test/CadlRanchProjects/versioning/removed-oldversion/tspCodeModel.json +++ b/test/CadlRanchProjects/versioning/removed-oldversion/tspCodeModel.json @@ -190,9 +190,139 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "22", + "kind": "constant", + "name": "v1ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "v1ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "v2ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "v2ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "modelV3ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "modelV3ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "v1InInterfaceContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "v1InInterfaceContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "38", "kind": "model", "name": "ModelV1", "namespace": "Versioning.Removed.OldVersion", @@ -201,12 +331,12 @@ "decorators": [], "properties": [ { - "$id": "23", + "$id": "39", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "24", + "$id": "40", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -219,15 +349,15 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV1.prop", "serializationOptions": { - "$id": "25", + "$id": "41", "json": { - "$id": "26", + "$id": "42", "name": "prop" } } }, { - "$id": "27", + "$id": "43", "kind": "property", "name": "enumProp", "serializedName": "enumProp", @@ -241,32 +371,32 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV1.enumProp", "serializationOptions": { - "$id": "28", + "$id": "44", "json": { - "$id": "29", + "$id": "45", "name": "enumProp" } } }, { - "$id": "30", + "$id": "46", "kind": "property", "name": "unionProp", "serializedName": "unionProp", "type": { - "$id": "31", + "$id": "47", "kind": "union", "name": "UnionV1", "variantTypes": [ { - "$id": "32", + "$id": "48", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "33", + "$id": "49", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -283,9 +413,9 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV1.unionProp", "serializationOptions": { - "$id": "34", + "$id": "50", "json": { - "$id": "35", + "$id": "51", "name": "unionProp" } } @@ -293,7 +423,7 @@ ] }, { - "$id": "36", + "$id": "52", "kind": "model", "name": "ModelV2", "namespace": "Versioning.Removed.OldVersion", @@ -302,12 +432,12 @@ "decorators": [], "properties": [ { - "$id": "37", + "$id": "53", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "38", + "$id": "54", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -320,20 +450,20 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV2.prop", "serializationOptions": { - "$id": "39", + "$id": "55", "json": { - "$id": "40", + "$id": "56", "name": "prop" } } }, { - "$id": "41", + "$id": "57", "kind": "property", "name": "removedProp", "serializedName": "removedProp", "type": { - "$id": "42", + "$id": "58", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -346,15 +476,15 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV2.removedProp", "serializationOptions": { - "$id": "43", + "$id": "59", "json": { - "$id": "44", + "$id": "60", "name": "removedProp" } } }, { - "$id": "45", + "$id": "61", "kind": "property", "name": "enumProp", "serializedName": "enumProp", @@ -368,44 +498,44 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV2.enumProp", "serializationOptions": { - "$id": "46", + "$id": "62", "json": { - "$id": "47", + "$id": "63", "name": "enumProp" } } }, { - "$id": "48", + "$id": "64", "kind": "property", "name": "unionProp", "serializedName": "unionProp", "type": { - "$id": "49", + "$id": "65", "kind": "union", "name": "UnionV2", "variantTypes": [ { - "$id": "50", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "51", + "$id": "67", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, { - "$id": "52", + "$id": "68", "kind": "int32", "name": "V1Scalar", "crossLanguageDefinitionId": "Versioning.Removed.V1Scalar", "baseType": { - "$id": "53", + "$id": "69", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -424,9 +554,9 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV2.unionProp", "serializationOptions": { - "$id": "54", + "$id": "70", "json": { - "$id": "55", + "$id": "71", "name": "unionProp" } } @@ -434,7 +564,7 @@ ] }, { - "$id": "56", + "$id": "72", "kind": "model", "name": "ModelV3", "namespace": "Versioning.Removed.OldVersion", @@ -443,12 +573,12 @@ "decorators": [], "properties": [ { - "$id": "57", + "$id": "73", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "58", + "$id": "74", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -461,15 +591,15 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV3.id", "serializationOptions": { - "$id": "59", + "$id": "75", "json": { - "$id": "60", + "$id": "76", "name": "id" } } }, { - "$id": "61", + "$id": "77", "kind": "property", "name": "enumProp", "serializedName": "enumProp", @@ -483,9 +613,9 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV3.enumProp", "serializationOptions": { - "$id": "62", + "$id": "78", "json": { - "$id": "63", + "$id": "79", "name": "enumProp" } } @@ -495,14 +625,14 @@ ], "clients": [ { - "$id": "64", + "$id": "80", "kind": "client", "name": "RemovedClient", "namespace": "Versioning.Removed.OldVersion", "doc": "Test for the `@removed` decorator.", "methods": [ { - "$id": "65", + "$id": "81", "kind": "basic", "name": "v1", "accessibility": "public", @@ -511,32 +641,19 @@ ], "doc": "This operation should not be generated with latest version's signature.", "operation": { - "$id": "66", + "$id": "82", "name": "v1", "resourceName": "Removed", "doc": "This operation should not be generated with latest version's signature.", "accessibility": "public", "parameters": [ { - "$id": "67", + "$id": "83", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "68", - "kind": "constant", - "name": "v1ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "69", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -549,24 +666,11 @@ "skipUrlEncoding": false }, { - "$id": "70", + "$id": "84", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "71", - "kind": "constant", - "name": "v1ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "72", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -579,11 +683,11 @@ "skipUrlEncoding": false }, { - "$id": "73", + "$id": "85", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "38" }, "location": "Body", "isApiVersion": false, @@ -598,12 +702,12 @@ ], "responses": [ { - "$id": "74", + "$id": "86", "statusCodes": [ 200 ], "bodyType": { - "$ref": "22" + "$ref": "38" }, "headers": [], "isErrorResponse": false, @@ -626,11 +730,11 @@ }, "parameters": [ { - "$id": "75", + "$id": "87", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "38" }, "location": "Body", "isApiVersion": false, @@ -643,12 +747,12 @@ "skipUrlEncoding": false }, { - "$id": "76", + "$id": "88", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "68" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -661,11 +765,11 @@ "skipUrlEncoding": false }, { - "$id": "77", + "$id": "89", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "71" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -679,9 +783,9 @@ } ], "response": { - "$id": "78", + "$id": "90", "type": { - "$ref": "22" + "$ref": "38" } }, "isOverride": false, @@ -690,7 +794,7 @@ "crossLanguageDefinitionId": "Versioning.Removed.v1" }, { - "$id": "79", + "$id": "91", "kind": "basic", "name": "v2", "accessibility": "public", @@ -698,17 +802,17 @@ "v1" ], "operation": { - "$id": "80", + "$id": "92", "name": "v2", "resourceName": "Removed", "accessibility": "public", "parameters": [ { - "$id": "81", + "$id": "93", "name": "param", "nameInRequest": "param", "type": { - "$id": "82", + "$id": "94", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -725,25 +829,12 @@ "skipUrlEncoding": false }, { - "$id": "83", + "$id": "95", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "84", - "kind": "constant", - "name": "v2ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "85", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -756,24 +847,11 @@ "skipUrlEncoding": false }, { - "$id": "86", + "$id": "96", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "87", - "kind": "constant", - "name": "v2ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "88", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -786,11 +864,11 @@ "skipUrlEncoding": false }, { - "$id": "89", + "$id": "97", "name": "body", "nameInRequest": "body", "type": { - "$ref": "36" + "$ref": "52" }, "location": "Body", "isApiVersion": false, @@ -805,12 +883,12 @@ ], "responses": [ { - "$id": "90", + "$id": "98", "statusCodes": [ 200 ], "bodyType": { - "$ref": "36" + "$ref": "52" }, "headers": [], "isErrorResponse": false, @@ -833,11 +911,11 @@ }, "parameters": [ { - "$id": "91", + "$id": "99", "name": "body", "nameInRequest": "body", "type": { - "$ref": "36" + "$ref": "52" }, "location": "Body", "isApiVersion": false, @@ -850,11 +928,11 @@ "skipUrlEncoding": false }, { - "$id": "92", + "$id": "100", "name": "param", "nameInRequest": "param", "type": { - "$id": "93", + "$id": "101", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -871,12 +949,12 @@ "skipUrlEncoding": false }, { - "$id": "94", + "$id": "102", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "84" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -889,11 +967,11 @@ "skipUrlEncoding": false }, { - "$id": "95", + "$id": "103", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "87" + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -907,9 +985,9 @@ } ], "response": { - "$id": "96", + "$id": "104", "type": { - "$ref": "36" + "$ref": "52" } }, "isOverride": false, @@ -918,7 +996,7 @@ "crossLanguageDefinitionId": "Versioning.Removed.v2" }, { - "$id": "97", + "$id": "105", "kind": "basic", "name": "modelV3", "accessibility": "public", @@ -927,32 +1005,19 @@ ], "doc": "This operation will pass different paths and different request bodies based on different versions.", "operation": { - "$id": "98", + "$id": "106", "name": "modelV3", "resourceName": "Removed", "doc": "This operation will pass different paths and different request bodies based on different versions.", "accessibility": "public", "parameters": [ { - "$id": "99", + "$id": "107", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "100", - "kind": "constant", - "name": "modelV3ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "101", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -965,24 +1030,11 @@ "skipUrlEncoding": false }, { - "$id": "102", + "$id": "108", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "103", - "kind": "constant", - "name": "modelV3ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "104", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -995,11 +1047,11 @@ "skipUrlEncoding": false }, { - "$id": "105", + "$id": "109", "name": "body", "nameInRequest": "body", "type": { - "$ref": "56" + "$ref": "72" }, "location": "Body", "isApiVersion": false, @@ -1014,12 +1066,12 @@ ], "responses": [ { - "$id": "106", + "$id": "110", "statusCodes": [ 200 ], "bodyType": { - "$ref": "56" + "$ref": "72" }, "headers": [], "isErrorResponse": false, @@ -1042,11 +1094,11 @@ }, "parameters": [ { - "$id": "107", + "$id": "111", "name": "body", "nameInRequest": "body", "type": { - "$ref": "56" + "$ref": "72" }, "location": "Body", "isApiVersion": false, @@ -1059,12 +1111,12 @@ "skipUrlEncoding": false }, { - "$id": "108", + "$id": "112", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "100" + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -1077,11 +1129,11 @@ "skipUrlEncoding": false }, { - "$id": "109", + "$id": "113", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "103" + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -1095,9 +1147,9 @@ } ], "response": { - "$id": "110", + "$id": "114", "type": { - "$ref": "56" + "$ref": "72" } }, "isOverride": false, @@ -1108,12 +1160,12 @@ ], "parameters": [ { - "$id": "111", + "$id": "115", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Need to be set as 'http://localhost:3000' in client.", "type": { - "$id": "112", + "$id": "116", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1128,7 +1180,7 @@ "kind": "Client" }, { - "$id": "113", + "$id": "117", "name": "version", "nameInRequest": "version", "doc": "Need to be set as 'v1', 'v2preview' or 'v2' in client.", @@ -1147,10 +1199,10 @@ ], "decorators": [ { - "$id": "114", + "$id": "118", "name": "TypeSpec.@service", "arguments": { - "$id": "115" + "$id": "119" } } ], @@ -1160,14 +1212,14 @@ ], "children": [ { - "$id": "116", + "$id": "120", "kind": "client", "name": "InterfaceV1", "namespace": "Versioning.Removed.OldVersion", "doc": "This operation group should not be generated with latest version.", "methods": [ { - "$id": "117", + "$id": "121", "kind": "basic", "name": "v1InInterface", "accessibility": "public", @@ -1175,31 +1227,18 @@ "v1" ], "operation": { - "$id": "118", + "$id": "122", "name": "v1InInterface", "resourceName": "InterfaceV1", "accessibility": "public", "parameters": [ { - "$id": "119", + "$id": "123", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "120", - "kind": "constant", - "name": "v1InInterfaceContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "121", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -1212,24 +1251,11 @@ "skipUrlEncoding": false }, { - "$id": "122", + "$id": "124", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "123", - "kind": "constant", - "name": "v1InInterfaceContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "124", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -1246,7 +1272,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "38" }, "location": "Body", "isApiVersion": false, @@ -1266,7 +1292,7 @@ 200 ], "bodyType": { - "$ref": "22" + "$ref": "38" }, "headers": [], "isErrorResponse": false, @@ -1293,7 +1319,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "38" }, "location": "Body", "isApiVersion": false, @@ -1311,7 +1337,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "120" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -1328,7 +1354,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "123" + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -1344,7 +1370,7 @@ "response": { "$id": "130", "type": { - "$ref": "22" + "$ref": "38" } }, "isOverride": false, @@ -1398,7 +1424,7 @@ "v1" ], "parent": { - "$ref": "64" + "$ref": "80" } } ] diff --git a/test/CadlRanchProjects/versioning/removed/tspCodeModel.json b/test/CadlRanchProjects/versioning/removed/tspCodeModel.json index b3457e395b9..b3c3c2f366b 100644 --- a/test/CadlRanchProjects/versioning/removed/tspCodeModel.json +++ b/test/CadlRanchProjects/versioning/removed/tspCodeModel.json @@ -174,9 +174,75 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "20", + "kind": "constant", + "name": "v2ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "v2ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "modelV3ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "modelV3ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "28", "kind": "model", "name": "ModelV2", "namespace": "Versioning.Removed.LatestVersion", @@ -185,12 +251,12 @@ "decorators": [], "properties": [ { - "$id": "21", + "$id": "29", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "22", + "$id": "30", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -203,15 +269,15 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV2.prop", "serializationOptions": { - "$id": "23", + "$id": "31", "json": { - "$id": "24", + "$id": "32", "name": "prop" } } }, { - "$id": "25", + "$id": "33", "kind": "property", "name": "enumProp", "serializedName": "enumProp", @@ -225,32 +291,32 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV2.enumProp", "serializationOptions": { - "$id": "26", + "$id": "34", "json": { - "$id": "27", + "$id": "35", "name": "enumProp" } } }, { - "$id": "28", + "$id": "36", "kind": "property", "name": "unionProp", "serializedName": "unionProp", "type": { - "$id": "29", + "$id": "37", "kind": "union", "name": "UnionV2", "variantTypes": [ { - "$id": "30", + "$id": "38", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "31", + "$id": "39", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -267,9 +333,9 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV2.unionProp", "serializationOptions": { - "$id": "32", + "$id": "40", "json": { - "$id": "33", + "$id": "41", "name": "unionProp" } } @@ -277,7 +343,7 @@ ] }, { - "$id": "34", + "$id": "42", "kind": "model", "name": "ModelV3", "namespace": "Versioning.Removed.LatestVersion", @@ -286,12 +352,12 @@ "decorators": [], "properties": [ { - "$id": "35", + "$id": "43", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "36", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -304,15 +370,15 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV3.id", "serializationOptions": { - "$id": "37", + "$id": "45", "json": { - "$id": "38", + "$id": "46", "name": "id" } } }, { - "$id": "39", + "$id": "47", "kind": "property", "name": "enumProp", "serializedName": "enumProp", @@ -326,9 +392,9 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.Removed.ModelV3.enumProp", "serializationOptions": { - "$id": "40", + "$id": "48", "json": { - "$id": "41", + "$id": "49", "name": "enumProp" } } @@ -338,14 +404,14 @@ ], "clients": [ { - "$id": "42", + "$id": "50", "kind": "client", "name": "RemovedClient", "namespace": "Versioning.Removed.LatestVersion", "doc": "Test for the `@removed` decorator.", "methods": [ { - "$id": "43", + "$id": "51", "kind": "basic", "name": "v2", "accessibility": "public", @@ -355,31 +421,18 @@ "v2" ], "operation": { - "$id": "44", + "$id": "52", "name": "v2", "resourceName": "Removed", "accessibility": "public", "parameters": [ { - "$id": "45", + "$id": "53", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "46", - "kind": "constant", - "name": "v2ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "47", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -392,24 +445,11 @@ "skipUrlEncoding": false }, { - "$id": "48", + "$id": "54", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "49", - "kind": "constant", - "name": "v2ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "50", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -422,11 +462,11 @@ "skipUrlEncoding": false }, { - "$id": "51", + "$id": "55", "name": "body", "nameInRequest": "body", "type": { - "$ref": "20" + "$ref": "28" }, "location": "Body", "isApiVersion": false, @@ -441,12 +481,12 @@ ], "responses": [ { - "$id": "52", + "$id": "56", "statusCodes": [ 200 ], "bodyType": { - "$ref": "20" + "$ref": "28" }, "headers": [], "isErrorResponse": false, @@ -469,11 +509,11 @@ }, "parameters": [ { - "$id": "53", + "$id": "57", "name": "body", "nameInRequest": "body", "type": { - "$ref": "20" + "$ref": "28" }, "location": "Body", "isApiVersion": false, @@ -486,12 +526,12 @@ "skipUrlEncoding": false }, { - "$id": "54", + "$id": "58", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "46" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -504,11 +544,11 @@ "skipUrlEncoding": false }, { - "$id": "55", + "$id": "59", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "49" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -522,9 +562,9 @@ } ], "response": { - "$id": "56", + "$id": "60", "type": { - "$ref": "20" + "$ref": "28" } }, "isOverride": false, @@ -533,7 +573,7 @@ "crossLanguageDefinitionId": "Versioning.Removed.v2" }, { - "$id": "57", + "$id": "61", "kind": "basic", "name": "modelV3", "accessibility": "public", @@ -544,32 +584,19 @@ ], "doc": "This operation will pass different paths and different request bodies based on different versions.", "operation": { - "$id": "58", + "$id": "62", "name": "modelV3", "resourceName": "Removed", "doc": "This operation will pass different paths and different request bodies based on different versions.", "accessibility": "public", "parameters": [ { - "$id": "59", + "$id": "63", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "60", - "kind": "constant", - "name": "modelV3ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "61", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -582,24 +609,11 @@ "skipUrlEncoding": false }, { - "$id": "62", + "$id": "64", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "63", - "kind": "constant", - "name": "modelV3ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "64", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -616,7 +630,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "34" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -636,7 +650,7 @@ 200 ], "bodyType": { - "$ref": "34" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -663,7 +677,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "34" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -681,7 +695,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "60" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -698,7 +712,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "63" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -714,7 +728,7 @@ "response": { "$id": "70", "type": { - "$ref": "34" + "$ref": "42" } }, "isOverride": false, diff --git a/test/CadlRanchProjects/versioning/renamedFrom/tspCodeModel.json b/test/CadlRanchProjects/versioning/renamedFrom/tspCodeModel.json index 3b4011dcc87..af53e824e38 100644 --- a/test/CadlRanchProjects/versioning/renamedFrom/tspCodeModel.json +++ b/test/CadlRanchProjects/versioning/renamedFrom/tspCodeModel.json @@ -101,9 +101,75 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "12", + "kind": "constant", + "name": "newOpContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "newOpContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "newOpInNewInterfaceContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "newOpInNewInterfaceContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "20", "kind": "model", "name": "NewModel", "namespace": "Versioning.RenamedFrom", @@ -112,12 +178,12 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "21", "kind": "property", "name": "newProp", "serializedName": "newProp", "type": { - "$id": "14", + "$id": "22", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130,15 +196,15 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.RenamedFrom.NewModel.newProp", "serializationOptions": { - "$id": "15", + "$id": "23", "json": { - "$id": "16", + "$id": "24", "name": "newProp" } } }, { - "$id": "17", + "$id": "25", "kind": "property", "name": "enumProp", "serializedName": "enumProp", @@ -152,37 +218,37 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.RenamedFrom.NewModel.enumProp", "serializationOptions": { - "$id": "18", + "$id": "26", "json": { - "$id": "19", + "$id": "27", "name": "enumProp" } } }, { - "$id": "20", + "$id": "28", "kind": "property", "name": "unionProp", "serializedName": "unionProp", "type": { - "$id": "21", + "$id": "29", "kind": "union", "name": "NewUnion", "variantTypes": [ { - "$id": "22", + "$id": "30", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "23", + "$id": "31", "kind": "int32", "name": "NewScalar", "crossLanguageDefinitionId": "Versioning.RenamedFrom.NewScalar", "baseType": { - "$id": "24", + "$id": "32", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -201,9 +267,9 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.RenamedFrom.NewModel.unionProp", "serializationOptions": { - "$id": "25", + "$id": "33", "json": { - "$id": "26", + "$id": "34", "name": "unionProp" } } @@ -213,14 +279,14 @@ ], "clients": [ { - "$id": "27", + "$id": "35", "kind": "client", "name": "RenamedFromClient", "namespace": "Versioning.RenamedFrom", "doc": "Test for the `@renamedFrom` decorator.", "methods": [ { - "$id": "28", + "$id": "36", "kind": "basic", "name": "newOp", "accessibility": "public", @@ -229,17 +295,17 @@ "v2" ], "operation": { - "$id": "29", + "$id": "37", "name": "newOp", "resourceName": "RenamedFrom", "accessibility": "public", "parameters": [ { - "$id": "30", + "$id": "38", "name": "newQuery", "nameInRequest": "newQuery", "type": { - "$id": "31", + "$id": "39", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -256,25 +322,12 @@ "skipUrlEncoding": false }, { - "$id": "32", + "$id": "40", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "33", - "kind": "constant", - "name": "newOpContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "34", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -287,24 +340,11 @@ "skipUrlEncoding": false }, { - "$id": "35", + "$id": "41", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "36", - "kind": "constant", - "name": "newOpContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "37", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -317,11 +357,11 @@ "skipUrlEncoding": false }, { - "$id": "38", + "$id": "42", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -336,12 +376,12 @@ ], "responses": [ { - "$id": "39", + "$id": "43", "statusCodes": [ 200 ], "bodyType": { - "$ref": "12" + "$ref": "20" }, "headers": [], "isErrorResponse": false, @@ -364,11 +404,11 @@ }, "parameters": [ { - "$id": "40", + "$id": "44", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -381,11 +421,11 @@ "skipUrlEncoding": false }, { - "$id": "41", + "$id": "45", "name": "newQuery", "nameInRequest": "newQuery", "type": { - "$id": "42", + "$id": "46", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -402,12 +442,12 @@ "skipUrlEncoding": false }, { - "$id": "43", + "$id": "47", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "33" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -420,11 +460,11 @@ "skipUrlEncoding": false }, { - "$id": "44", + "$id": "48", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "36" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -438,9 +478,9 @@ } ], "response": { - "$id": "45", + "$id": "49", "type": { - "$ref": "12" + "$ref": "20" } }, "isOverride": false, @@ -451,12 +491,12 @@ ], "parameters": [ { - "$id": "46", + "$id": "50", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Need to be set as 'http://localhost:3000' in client.", "type": { - "$id": "47", + "$id": "51", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -471,7 +511,7 @@ "kind": "Client" }, { - "$id": "48", + "$id": "52", "name": "version", "nameInRequest": "version", "doc": "Need to be set as 'v1' or 'v2' in client.", @@ -490,10 +530,10 @@ ], "decorators": [ { - "$id": "49", + "$id": "53", "name": "TypeSpec.@service", "arguments": { - "$id": "50" + "$id": "54" } } ], @@ -504,13 +544,13 @@ ], "children": [ { - "$id": "51", + "$id": "55", "kind": "client", "name": "NewInterface", "namespace": "Versioning.RenamedFrom", "methods": [ { - "$id": "52", + "$id": "56", "kind": "basic", "name": "newOpInNewInterface", "accessibility": "public", @@ -519,31 +559,18 @@ "v2" ], "operation": { - "$id": "53", + "$id": "57", "name": "newOpInNewInterface", "resourceName": "NewInterface", "accessibility": "public", "parameters": [ { - "$id": "54", + "$id": "58", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "55", - "kind": "constant", - "name": "newOpInNewInterfaceContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "56", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -556,24 +583,11 @@ "skipUrlEncoding": false }, { - "$id": "57", + "$id": "59", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "58", - "kind": "constant", - "name": "newOpInNewInterfaceContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "59", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -590,7 +604,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -610,7 +624,7 @@ 200 ], "bodyType": { - "$ref": "12" + "$ref": "20" }, "headers": [], "isErrorResponse": false, @@ -637,7 +651,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -655,7 +669,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "55" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -672,7 +686,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "58" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -688,7 +702,7 @@ "response": { "$id": "65", "type": { - "$ref": "12" + "$ref": "20" } }, "isOverride": false, @@ -743,7 +757,7 @@ "v2" ], "parent": { - "$ref": "27" + "$ref": "35" } } ] diff --git a/test/CadlRanchProjects/versioning/returnTypeChangedFrom/tspCodeModel.json b/test/CadlRanchProjects/versioning/returnTypeChangedFrom/tspCodeModel.json index 44988b88ee5..9e33a322c2e 100644 --- a/test/CadlRanchProjects/versioning/returnTypeChangedFrom/tspCodeModel.json +++ b/test/CadlRanchProjects/versioning/returnTypeChangedFrom/tspCodeModel.json @@ -64,17 +64,83 @@ "decorators": [] } ], + "constants": [ + { + "$id": "8", + "kind": "constant", + "name": "TestRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "testContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "TestRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "TestRequestContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [], "clients": [ { - "$id": "8", + "$id": "16", "kind": "client", "name": "ReturnTypeChangedFromClient", "namespace": "Versioning.ReturnTypeChangedFrom", "doc": "Test for the `@returnTypeChangedFrom` decorator.", "methods": [ { - "$id": "9", + "$id": "17", "kind": "basic", "name": "test", "accessibility": "public", @@ -83,30 +149,17 @@ "v2" ], "operation": { - "$id": "10", + "$id": "18", "name": "test", "resourceName": "ReturnTypeChangedFrom", "accessibility": "public", "parameters": [ { - "$id": "11", + "$id": "19", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "12", - "kind": "constant", - "name": "TestRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "13", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -119,24 +172,11 @@ "skipUrlEncoding": false }, { - "$id": "14", + "$id": "20", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "15", - "kind": "constant", - "name": "testContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -149,11 +189,11 @@ "skipUrlEncoding": false }, { - "$id": "17", + "$id": "21", "name": "body", "nameInRequest": "body", "type": { - "$id": "18", + "$id": "22", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -172,12 +212,12 @@ ], "responses": [ { - "$id": "19", + "$id": "23", "statusCodes": [ 200 ], "bodyType": { - "$id": "20", + "$id": "24", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -185,24 +225,11 @@ }, "headers": [ { - "$id": "21", + "$id": "25", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "22", - "kind": "constant", - "name": "TestRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "23", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" } } ], @@ -226,24 +253,11 @@ }, "parameters": [ { - "$id": "24", + "$id": "26", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "25", - "kind": "constant", - "name": "TestRequestContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "26", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -281,7 +295,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "15" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -297,7 +311,7 @@ "response": { "$id": "30", "type": { - "$ref": "20" + "$ref": "24" } }, "isOverride": false, diff --git a/test/CadlRanchProjects/versioning/typeChangedFrom/tspCodeModel.json b/test/CadlRanchProjects/versioning/typeChangedFrom/tspCodeModel.json index 620c14a33ec..305bb5e49c5 100644 --- a/test/CadlRanchProjects/versioning/typeChangedFrom/tspCodeModel.json +++ b/test/CadlRanchProjects/versioning/typeChangedFrom/tspCodeModel.json @@ -64,9 +64,43 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "8", + "kind": "constant", + "name": "testContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "testContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "12", "kind": "model", "name": "TestModel", "namespace": "Versioning.TypeChangedFrom", @@ -75,12 +109,12 @@ "decorators": [], "properties": [ { - "$id": "9", + "$id": "13", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "10", + "$id": "14", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93,20 +127,20 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.TestModel.prop", "serializationOptions": { - "$id": "11", + "$id": "15", "json": { - "$id": "12", + "$id": "16", "name": "prop" } } }, { - "$id": "13", + "$id": "17", "kind": "property", "name": "changedProp", "serializedName": "changedProp", "type": { - "$id": "14", + "$id": "18", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119,9 +153,9 @@ "decorators": [], "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.TestModel.changedProp", "serializationOptions": { - "$id": "15", + "$id": "19", "json": { - "$id": "16", + "$id": "20", "name": "changedProp" } } @@ -131,14 +165,14 @@ ], "clients": [ { - "$id": "17", + "$id": "21", "kind": "client", "name": "TypeChangedFromClient", "namespace": "Versioning.TypeChangedFrom", "doc": "Test for the `@typeChangedFrom` decorator.", "methods": [ { - "$id": "18", + "$id": "22", "kind": "basic", "name": "test", "accessibility": "public", @@ -147,17 +181,17 @@ "v2" ], "operation": { - "$id": "19", + "$id": "23", "name": "test", "resourceName": "TypeChangedFrom", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "24", "name": "param", "nameInRequest": "param", "type": { - "$id": "21", + "$id": "25", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -174,25 +208,12 @@ "skipUrlEncoding": false }, { - "$id": "22", + "$id": "26", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "23", - "kind": "constant", - "name": "testContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "24", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -205,24 +226,11 @@ "skipUrlEncoding": false }, { - "$id": "25", + "$id": "27", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "26", - "kind": "constant", - "name": "testContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "27", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -239,7 +247,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "12" }, "location": "Body", "isApiVersion": false, @@ -259,7 +267,7 @@ 200 ], "bodyType": { - "$ref": "8" + "$ref": "12" }, "headers": [], "isErrorResponse": false, @@ -286,7 +294,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "12" }, "location": "Body", "isApiVersion": false, @@ -325,7 +333,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "23" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -342,7 +350,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "26" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -358,7 +366,7 @@ "response": { "$id": "35", "type": { - "$ref": "8" + "$ref": "12" } }, "isOverride": false, diff --git a/test/CadlRanchProjectsNonAzure/authentication/api-key/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/authentication/api-key/tspCodeModel.json index b21cb5eb2a1..a5ac81039aa 100644 --- a/test/CadlRanchProjectsNonAzure/authentication/api-key/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/authentication/api-key/tspCodeModel.json @@ -3,9 +3,27 @@ "name": "Authentication.ApiKey", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "invalidContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "4", "kind": "model", "name": "InvalidAuth", "namespace": "Scm.Authentication.ApiKey", @@ -14,12 +32,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "5", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$id": "4", + "$id": "6", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32,9 +50,9 @@ "decorators": [], "crossLanguageDefinitionId": "Authentication.ApiKey.InvalidAuth.error", "serializationOptions": { - "$id": "5", + "$id": "7", "json": { - "$id": "6", + "$id": "8", "name": "error" } } @@ -44,21 +62,21 @@ ], "clients": [ { - "$id": "7", + "$id": "9", "kind": "client", "name": "ApiKeyClient", "namespace": "Scm.Authentication.ApiKey", "doc": "Illustrates clients generated with ApiKey authentication.", "methods": [ { - "$id": "8", + "$id": "10", "kind": "basic", "name": "valid", "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated", "operation": { - "$id": "9", + "$id": "11", "name": "valid", "resourceName": "ApiKey", "doc": "Check whether client is authenticated", @@ -66,7 +84,7 @@ "parameters": [], "responses": [ { - "$id": "10", + "$id": "12", "statusCodes": [ 204 ], @@ -85,7 +103,7 @@ }, "parameters": [], "response": { - "$id": "11" + "$id": "13" }, "isOverride": false, "generateConvenient": true, @@ -93,38 +111,25 @@ "crossLanguageDefinitionId": "Authentication.ApiKey.valid" }, { - "$id": "12", + "$id": "14", "kind": "basic", "name": "invalid", "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated.", "operation": { - "$id": "13", + "$id": "15", "name": "invalid", "resourceName": "ApiKey", "doc": "Check whether client is authenticated.", "accessibility": "public", "parameters": [ { - "$id": "14", + "$id": "16", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "15", - "kind": "constant", - "name": "invalidContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -162,7 +167,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "15" + "$ref": "2" }, "location": "Header", "isApiVersion": false, diff --git a/test/CadlRanchProjectsNonAzure/authentication/http/custom/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/authentication/http/custom/tspCodeModel.json index 8822dc09990..86fcf1009f2 100644 --- a/test/CadlRanchProjectsNonAzure/authentication/http/custom/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/authentication/http/custom/tspCodeModel.json @@ -3,9 +3,27 @@ "name": "Authentication.Http.Custom", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "invalidContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "4", "kind": "model", "name": "InvalidAuth", "namespace": "Scm.Authentication.Http.Custom", @@ -14,12 +32,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "5", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$id": "4", + "$id": "6", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32,9 +50,9 @@ "decorators": [], "crossLanguageDefinitionId": "Authentication.Http.Custom.InvalidAuth.error", "serializationOptions": { - "$id": "5", + "$id": "7", "json": { - "$id": "6", + "$id": "8", "name": "error" } } @@ -44,21 +62,21 @@ ], "clients": [ { - "$id": "7", + "$id": "9", "kind": "client", "name": "CustomClient", "namespace": "Scm.Authentication.Http.Custom", "doc": "Illustrates clients generated with generic HTTP auth.", "methods": [ { - "$id": "8", + "$id": "10", "kind": "basic", "name": "valid", "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated", "operation": { - "$id": "9", + "$id": "11", "name": "valid", "resourceName": "Custom", "doc": "Check whether client is authenticated", @@ -66,7 +84,7 @@ "parameters": [], "responses": [ { - "$id": "10", + "$id": "12", "statusCodes": [ 204 ], @@ -85,7 +103,7 @@ }, "parameters": [], "response": { - "$id": "11" + "$id": "13" }, "isOverride": false, "generateConvenient": true, @@ -93,38 +111,25 @@ "crossLanguageDefinitionId": "Authentication.Http.Custom.valid" }, { - "$id": "12", + "$id": "14", "kind": "basic", "name": "invalid", "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated.", "operation": { - "$id": "13", + "$id": "15", "name": "invalid", "resourceName": "Custom", "doc": "Check whether client is authenticated.", "accessibility": "public", "parameters": [ { - "$id": "14", + "$id": "16", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "15", - "kind": "constant", - "name": "invalidContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -162,7 +167,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "15" + "$ref": "2" }, "location": "Header", "isApiVersion": false, diff --git a/test/CadlRanchProjectsNonAzure/client/naming/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/client/naming/tspCodeModel.json index 18dcec6a3da..965e64717e7 100644 --- a/test/CadlRanchProjectsNonAzure/client/naming/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/client/naming/tspCodeModel.json @@ -95,9 +95,155 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "12", + "kind": "constant", + "name": "clientContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "languageContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "compatibleWithEncodedNameContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "clientContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "languageContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "UnionEnumNameRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "UnionEnumNameRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "UnionEnumNameRequestContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "UnionEnumNameRequestContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "30", "kind": "model", "name": "ClientNameModel", "namespace": "Scm.Client.Naming", @@ -106,13 +252,13 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "31", "kind": "property", "name": "clientName", "serializedName": "defaultName", "doc": "Pass in true", "type": { - "$id": "14", + "$id": "32", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -125,9 +271,9 @@ "decorators": [], "crossLanguageDefinitionId": "Client.Naming.Property.ClientNameModel.defaultName", "serializationOptions": { - "$id": "15", + "$id": "33", "json": { - "$id": "16", + "$id": "34", "name": "defaultName" } } @@ -135,7 +281,7 @@ ] }, { - "$id": "17", + "$id": "35", "kind": "model", "name": "LanguageClientNameModel", "namespace": "Scm.Client.Naming", @@ -144,13 +290,13 @@ "decorators": [], "properties": [ { - "$id": "18", + "$id": "36", "kind": "property", "name": "CSName", "serializedName": "defaultName", "doc": "Pass in true", "type": { - "$id": "19", + "$id": "37", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -163,9 +309,9 @@ "decorators": [], "crossLanguageDefinitionId": "Client.Naming.Property.LanguageClientNameModel.defaultName", "serializationOptions": { - "$id": "20", + "$id": "38", "json": { - "$id": "21", + "$id": "39", "name": "defaultName" } } @@ -173,7 +319,7 @@ ] }, { - "$id": "22", + "$id": "40", "kind": "model", "name": "ClientNameAndJsonEncodedNameModel", "namespace": "Scm.Client.Naming", @@ -182,13 +328,13 @@ "decorators": [], "properties": [ { - "$id": "23", + "$id": "41", "kind": "property", "name": "clientName", "serializedName": "wireName", "doc": "Pass in true", "type": { - "$id": "24", + "$id": "42", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -201,9 +347,9 @@ "decorators": [], "crossLanguageDefinitionId": "Client.Naming.Property.ClientNameAndJsonEncodedNameModel.defaultName", "serializationOptions": { - "$id": "25", + "$id": "43", "json": { - "$id": "26", + "$id": "44", "name": "wireName" } } @@ -211,7 +357,7 @@ ] }, { - "$id": "27", + "$id": "45", "kind": "model", "name": "ClientModel", "namespace": "Scm.Client.Naming", @@ -220,13 +366,13 @@ "decorators": [], "properties": [ { - "$id": "28", + "$id": "46", "kind": "property", "name": "defaultName", "serializedName": "defaultName", "doc": "Pass in true", "type": { - "$id": "29", + "$id": "47", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -239,9 +385,9 @@ "decorators": [], "crossLanguageDefinitionId": "Client.Naming.Model.ModelWithClientClientName.defaultName", "serializationOptions": { - "$id": "30", + "$id": "48", "json": { - "$id": "31", + "$id": "49", "name": "defaultName" } } @@ -249,7 +395,7 @@ ] }, { - "$id": "32", + "$id": "50", "kind": "model", "name": "CSModel", "namespace": "Scm.Client.Naming", @@ -258,13 +404,13 @@ "decorators": [], "properties": [ { - "$id": "33", + "$id": "51", "kind": "property", "name": "defaultName", "serializedName": "defaultName", "doc": "Pass in true", "type": { - "$id": "34", + "$id": "52", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -277,9 +423,9 @@ "decorators": [], "crossLanguageDefinitionId": "Client.Naming.Model.ModelWithLanguageClientName.defaultName", "serializationOptions": { - "$id": "35", + "$id": "53", "json": { - "$id": "36", + "$id": "54", "name": "defaultName" } } @@ -289,27 +435,27 @@ ], "clients": [ { - "$id": "37", + "$id": "55", "kind": "client", "name": "NamingClient", "namespace": "Scm.Client.Naming", "doc": "Describe changing names of types in a client with `@clientName`", "methods": [ { - "$id": "38", + "$id": "56", "kind": "basic", "name": "clientName", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "39", + "$id": "57", "name": "clientName", "resourceName": "Naming", "accessibility": "public", "parameters": [], "responses": [ { - "$id": "40", + "$id": "58", "statusCodes": [ 204 ], @@ -328,7 +474,7 @@ }, "parameters": [], "response": { - "$id": "41" + "$id": "59" }, "isOverride": false, "generateConvenient": true, @@ -336,23 +482,23 @@ "crossLanguageDefinitionId": "Client.Naming.operation" }, { - "$id": "42", + "$id": "60", "kind": "basic", "name": "parameter", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "43", + "$id": "61", "name": "parameter", "resourceName": "Naming", "accessibility": "public", "parameters": [ { - "$id": "44", + "$id": "62", "name": "clientName", "nameInRequest": "defaultName", "type": { - "$id": "45", + "$id": "63", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -371,7 +517,7 @@ ], "responses": [ { - "$id": "46", + "$id": "64", "statusCodes": [ 204 ], @@ -390,11 +536,11 @@ }, "parameters": [ { - "$id": "47", + "$id": "65", "name": "clientName", "nameInRequest": "defaultName", "type": { - "$id": "48", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -412,7 +558,7 @@ } ], "response": { - "$id": "49" + "$id": "67" }, "isOverride": false, "generateConvenient": true, @@ -420,37 +566,24 @@ "crossLanguageDefinitionId": "Client.Naming.parameter" }, { - "$id": "50", + "$id": "68", "kind": "basic", "name": "client", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "51", + "$id": "69", "name": "client", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "52", + "$id": "70", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "53", - "kind": "constant", - "name": "clientContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "54", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -463,11 +596,11 @@ "skipUrlEncoding": false }, { - "$id": "55", + "$id": "71", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "30" }, "location": "Body", "isApiVersion": false, @@ -482,7 +615,7 @@ ], "responses": [ { - "$id": "56", + "$id": "72", "statusCodes": [ 204 ], @@ -504,11 +637,11 @@ }, "parameters": [ { - "$id": "57", + "$id": "73", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "30" }, "location": "Body", "isApiVersion": false, @@ -521,12 +654,12 @@ "skipUrlEncoding": false }, { - "$id": "58", + "$id": "74", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "53" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -540,7 +673,7 @@ } ], "response": { - "$id": "59" + "$id": "75" }, "isOverride": false, "generateConvenient": true, @@ -548,37 +681,24 @@ "crossLanguageDefinitionId": "Client.Naming.Property.client" }, { - "$id": "60", + "$id": "76", "kind": "basic", "name": "language", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "61", + "$id": "77", "name": "language", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "62", + "$id": "78", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "63", - "kind": "constant", - "name": "languageContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "64", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -591,11 +711,11 @@ "skipUrlEncoding": false }, { - "$id": "65", + "$id": "79", "name": "body", "nameInRequest": "body", "type": { - "$ref": "17" + "$ref": "35" }, "location": "Body", "isApiVersion": false, @@ -610,7 +730,7 @@ ], "responses": [ { - "$id": "66", + "$id": "80", "statusCodes": [ 204 ], @@ -632,11 +752,11 @@ }, "parameters": [ { - "$id": "67", + "$id": "81", "name": "body", "nameInRequest": "body", "type": { - "$ref": "17" + "$ref": "35" }, "location": "Body", "isApiVersion": false, @@ -649,12 +769,12 @@ "skipUrlEncoding": false }, { - "$id": "68", + "$id": "82", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "63" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -668,7 +788,7 @@ } ], "response": { - "$id": "69" + "$id": "83" }, "isOverride": false, "generateConvenient": true, @@ -676,37 +796,24 @@ "crossLanguageDefinitionId": "Client.Naming.Property.language" }, { - "$id": "70", + "$id": "84", "kind": "basic", "name": "compatibleWithEncodedName", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "71", + "$id": "85", "name": "compatibleWithEncodedName", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "72", + "$id": "86", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "73", - "kind": "constant", - "name": "compatibleWithEncodedNameContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "74", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -719,11 +826,11 @@ "skipUrlEncoding": false }, { - "$id": "75", + "$id": "87", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "40" }, "location": "Body", "isApiVersion": false, @@ -738,7 +845,7 @@ ], "responses": [ { - "$id": "76", + "$id": "88", "statusCodes": [ 204 ], @@ -760,11 +867,11 @@ }, "parameters": [ { - "$id": "77", + "$id": "89", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "40" }, "location": "Body", "isApiVersion": false, @@ -777,12 +884,12 @@ "skipUrlEncoding": false }, { - "$id": "78", + "$id": "90", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "73" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -796,7 +903,7 @@ } ], "response": { - "$id": "79" + "$id": "91" }, "isOverride": false, "generateConvenient": true, @@ -804,23 +911,23 @@ "crossLanguageDefinitionId": "Client.Naming.Property.compatibleWithEncodedName" }, { - "$id": "80", + "$id": "92", "kind": "basic", "name": "request", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "81", + "$id": "93", "name": "request", "resourceName": "Header", "accessibility": "public", "parameters": [ { - "$id": "82", + "$id": "94", "name": "clientName", "nameInRequest": "default-name", "type": { - "$id": "83", + "$id": "95", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -839,7 +946,7 @@ ], "responses": [ { - "$id": "84", + "$id": "96", "statusCodes": [ 204 ], @@ -858,11 +965,11 @@ }, "parameters": [ { - "$id": "85", + "$id": "97", "name": "clientName", "nameInRequest": "default-name", "type": { - "$id": "86", + "$id": "98", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -880,7 +987,7 @@ } ], "response": { - "$id": "87" + "$id": "99" }, "isOverride": false, "generateConvenient": true, @@ -888,30 +995,30 @@ "crossLanguageDefinitionId": "Client.Naming.Header.request" }, { - "$id": "88", + "$id": "100", "kind": "basic", "name": "response", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "89", + "$id": "101", "name": "response", "resourceName": "Header", "accessibility": "public", "parameters": [], "responses": [ { - "$id": "90", + "$id": "102", "statusCodes": [ 204 ], "headers": [ { - "$id": "91", + "$id": "103", "name": "default-name", "nameInResponse": "default-name", "type": { - "$id": "92", + "$id": "104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -933,7 +1040,7 @@ }, "parameters": [], "response": { - "$id": "93" + "$id": "105" }, "isOverride": false, "generateConvenient": true, @@ -943,12 +1050,12 @@ ], "parameters": [ { - "$id": "94", + "$id": "106", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "95", + "$id": "107", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -962,9 +1069,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "96", + "$id": "108", "type": { - "$id": "97", + "$id": "109", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -978,43 +1085,30 @@ "apiVersions": [], "children": [ { - "$id": "98", + "$id": "110", "kind": "client", "name": "ClientModel", "namespace": "Scm.Client.Naming", "methods": [ { - "$id": "99", + "$id": "111", "kind": "basic", "name": "client", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "100", + "$id": "112", "name": "client", "resourceName": "Model", "accessibility": "public", "parameters": [ { - "$id": "101", + "$id": "113", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "102", - "kind": "constant", - "name": "clientContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "103", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1027,11 +1121,11 @@ "skipUrlEncoding": false }, { - "$id": "104", + "$id": "114", "name": "body", "nameInRequest": "body", "type": { - "$ref": "27" + "$ref": "45" }, "location": "Body", "isApiVersion": false, @@ -1046,7 +1140,7 @@ ], "responses": [ { - "$id": "105", + "$id": "115", "statusCodes": [ 204 ], @@ -1068,11 +1162,11 @@ }, "parameters": [ { - "$id": "106", + "$id": "116", "name": "body", "nameInRequest": "body", "type": { - "$ref": "27" + "$ref": "45" }, "location": "Body", "isApiVersion": false, @@ -1085,12 +1179,12 @@ "skipUrlEncoding": false }, { - "$id": "107", + "$id": "117", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "102" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1104,7 +1198,7 @@ } ], "response": { - "$id": "108" + "$id": "118" }, "isOverride": false, "generateConvenient": true, @@ -1112,37 +1206,24 @@ "crossLanguageDefinitionId": "Client.Naming.Model.client" }, { - "$id": "109", + "$id": "119", "kind": "basic", "name": "language", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "110", + "$id": "120", "name": "language", "resourceName": "Model", "accessibility": "public", "parameters": [ { - "$id": "111", + "$id": "121", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "112", - "kind": "constant", - "name": "languageContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "113", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1155,11 +1236,11 @@ "skipUrlEncoding": false }, { - "$id": "114", + "$id": "122", "name": "body", "nameInRequest": "body", "type": { - "$ref": "32" + "$ref": "50" }, "location": "Body", "isApiVersion": false, @@ -1174,7 +1255,7 @@ ], "responses": [ { - "$id": "115", + "$id": "123", "statusCodes": [ 204 ], @@ -1196,11 +1277,11 @@ }, "parameters": [ { - "$id": "116", + "$id": "124", "name": "body", "nameInRequest": "body", "type": { - "$ref": "32" + "$ref": "50" }, "location": "Body", "isApiVersion": false, @@ -1213,12 +1294,12 @@ "skipUrlEncoding": false }, { - "$id": "117", + "$id": "125", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "112" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1232,7 +1313,7 @@ } ], "response": { - "$id": "118" + "$id": "126" }, "isOverride": false, "generateConvenient": true, @@ -1242,12 +1323,12 @@ ], "parameters": [ { - "$id": "119", + "$id": "127", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "120", + "$id": "128", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1261,9 +1342,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "121", + "$id": "129", "type": { - "$id": "122", + "$id": "130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1276,46 +1357,33 @@ "crossLanguageDefinitionId": "Client.Naming.Model", "apiVersions": [], "parent": { - "$ref": "37" + "$ref": "55" } }, { - "$id": "123", + "$id": "131", "kind": "client", "name": "UnionEnum", "namespace": "Scm.Client.Naming", "methods": [ { - "$id": "124", + "$id": "132", "kind": "basic", "name": "unionEnumName", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "125", + "$id": "133", "name": "unionEnumName", "resourceName": "UnionEnum", "accessibility": "public", "parameters": [ { - "$id": "126", + "$id": "134", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "127", - "kind": "constant", - "name": "UnionEnumNameRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "128", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1328,7 +1396,7 @@ "skipUrlEncoding": false }, { - "$id": "129", + "$id": "135", "name": "body", "nameInRequest": "body", "type": { @@ -1347,7 +1415,7 @@ ], "responses": [ { - "$id": "130", + "$id": "136", "statusCodes": [ 204 ], @@ -1369,24 +1437,11 @@ }, "parameters": [ { - "$id": "131", + "$id": "137", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "132", - "kind": "constant", - "name": "UnionEnumNameRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "133", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1399,7 +1454,7 @@ "skipUrlEncoding": false }, { - "$id": "134", + "$id": "138", "name": "body", "nameInRequest": "body", "type": { @@ -1417,7 +1472,7 @@ } ], "response": { - "$id": "135" + "$id": "139" }, "isOverride": false, "generateConvenient": true, @@ -1425,36 +1480,23 @@ "crossLanguageDefinitionId": "Client.Naming.UnionEnum.unionEnumName" }, { - "$id": "136", + "$id": "140", "kind": "basic", "name": "unionEnumMemberName", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "137", + "$id": "141", "name": "unionEnumMemberName", "resourceName": "UnionEnum", "accessibility": "public", "parameters": [ { - "$id": "138", + "$id": "142", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "139", - "kind": "constant", - "name": "UnionEnumNameRequestContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "140", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1467,7 +1509,7 @@ "skipUrlEncoding": false }, { - "$id": "141", + "$id": "143", "name": "body", "nameInRequest": "body", "type": { @@ -1486,7 +1528,7 @@ ], "responses": [ { - "$id": "142", + "$id": "144", "statusCodes": [ 204 ], @@ -1508,24 +1550,11 @@ }, "parameters": [ { - "$id": "143", + "$id": "145", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "144", - "kind": "constant", - "name": "UnionEnumNameRequestContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "145", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -1600,7 +1629,7 @@ "crossLanguageDefinitionId": "Client.Naming.UnionEnum", "apiVersions": [], "parent": { - "$ref": "37" + "$ref": "55" } } ] diff --git a/test/CadlRanchProjectsNonAzure/parameters/body-optionality/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/parameters/body-optionality/tspCodeModel.json index d7571c417a1..69b77776718 100644 --- a/test/CadlRanchProjectsNonAzure/parameters/body-optionality/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/parameters/body-optionality/tspCodeModel.json @@ -3,9 +3,75 @@ "name": "Parameters.BodyOptionality", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "requiredExplicitContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "requiredImplicitContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "setContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "omitContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "10", "kind": "model", "name": "BodyModel", "namespace": "Scm.Parameters.BodyOptionality", @@ -14,12 +80,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "11", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "4", + "$id": "12", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32,9 +98,9 @@ "decorators": [], "crossLanguageDefinitionId": "Parameters.BodyOptionality.BodyModel.name", "serializationOptions": { - "$id": "5", + "$id": "13", "json": { - "$id": "6", + "$id": "14", "name": "name" } } @@ -44,44 +110,31 @@ ], "clients": [ { - "$id": "7", + "$id": "15", "kind": "client", "name": "BodyOptionalityClient", "namespace": "Scm.Parameters.BodyOptionality", "doc": "Test describing optionality of the request body.", "methods": [ { - "$id": "8", + "$id": "16", "kind": "basic", "name": "requiredExplicit", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9", + "$id": "17", "name": "requiredExplicit", "resourceName": "BodyOptionality", "accessibility": "public", "parameters": [ { - "$id": "10", + "$id": "18", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "11", - "kind": "constant", - "name": "requiredExplicitContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "12", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -94,11 +147,11 @@ "skipUrlEncoding": false }, { - "$id": "13", + "$id": "19", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -113,7 +166,7 @@ ], "responses": [ { - "$id": "14", + "$id": "20", "statusCodes": [ 204 ], @@ -135,11 +188,11 @@ }, "parameters": [ { - "$id": "15", + "$id": "21", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -152,12 +205,12 @@ "skipUrlEncoding": false }, { - "$id": "16", + "$id": "22", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "11" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -171,7 +224,7 @@ } ], "response": { - "$id": "17" + "$id": "23" }, "isOverride": false, "generateConvenient": true, @@ -179,37 +232,24 @@ "crossLanguageDefinitionId": "Parameters.BodyOptionality.requiredExplicit" }, { - "$id": "18", + "$id": "24", "kind": "basic", "name": "requiredImplicit", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "19", + "$id": "25", "name": "requiredImplicit", "resourceName": "BodyOptionality", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "26", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "21", - "kind": "constant", - "name": "requiredImplicitContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -222,11 +262,11 @@ "skipUrlEncoding": false }, { - "$id": "23", + "$id": "27", "name": "bodyModel", "nameInRequest": "bodyModel", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -241,7 +281,7 @@ ], "responses": [ { - "$id": "24", + "$id": "28", "statusCodes": [ 204 ], @@ -263,11 +303,11 @@ }, "parameters": [ { - "$id": "25", + "$id": "29", "name": "name", "nameInRequest": "name", "type": { - "$id": "26", + "$id": "30", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -284,12 +324,12 @@ "skipUrlEncoding": false }, { - "$id": "27", + "$id": "31", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "21" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -303,7 +343,7 @@ } ], "response": { - "$id": "28" + "$id": "32" }, "isOverride": false, "generateConvenient": true, @@ -313,12 +353,12 @@ ], "parameters": [ { - "$id": "29", + "$id": "33", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "30", + "$id": "34", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -332,9 +372,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "31", + "$id": "35", "type": { - "$id": "32", + "$id": "36", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -348,43 +388,30 @@ "apiVersions": [], "children": [ { - "$id": "33", + "$id": "37", "kind": "client", "name": "OptionalExplicit", "namespace": "Scm.Parameters.BodyOptionality", "methods": [ { - "$id": "34", + "$id": "38", "kind": "basic", "name": "set", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "35", + "$id": "39", "name": "set", "resourceName": "OptionalExplicit", "accessibility": "public", "parameters": [ { - "$id": "36", + "$id": "40", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "37", - "kind": "constant", - "name": "setContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "38", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -397,11 +424,11 @@ "skipUrlEncoding": false }, { - "$id": "39", + "$id": "41", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -416,7 +443,7 @@ ], "responses": [ { - "$id": "40", + "$id": "42", "statusCodes": [ 204 ], @@ -438,11 +465,11 @@ }, "parameters": [ { - "$id": "41", + "$id": "43", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -455,12 +482,12 @@ "skipUrlEncoding": false }, { - "$id": "42", + "$id": "44", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "37" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -474,7 +501,7 @@ } ], "response": { - "$id": "43" + "$id": "45" }, "isOverride": false, "generateConvenient": true, @@ -482,37 +509,24 @@ "crossLanguageDefinitionId": "Parameters.BodyOptionality.OptionalExplicit.set" }, { - "$id": "44", + "$id": "46", "kind": "basic", "name": "omit", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "45", + "$id": "47", "name": "omit", "resourceName": "OptionalExplicit", "accessibility": "public", "parameters": [ { - "$id": "46", + "$id": "48", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "47", - "kind": "constant", - "name": "omitContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "48", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -529,7 +543,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -570,7 +584,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -588,7 +602,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "47" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -646,7 +660,7 @@ "crossLanguageDefinitionId": "Parameters.BodyOptionality.OptionalExplicit", "apiVersions": [], "parent": { - "$ref": "7" + "$ref": "15" } } ] diff --git a/test/CadlRanchProjectsNonAzure/parameters/spread/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/parameters/spread/tspCodeModel.json index 8e44a62e39f..152e6cf2147 100644 --- a/test/CadlRanchProjectsNonAzure/parameters/spread/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/parameters/spread/tspCodeModel.json @@ -3,9 +3,155 @@ "name": "Parameters.Spread", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "spreadAsRequestBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "spreadCompositeRequestOnlyWithBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "spreadCompositeRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "spreadCompositeRequestMixContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "spreadAsRequestBodyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "spreadParameterWithInnerModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "spreadAsRequestParameterContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "spreadWithMultipleParametersContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "spreadParameterWithInnerAliasContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "20", "kind": "model", "name": "BodyParameter", "namespace": "Scm.Parameters.Spread", @@ -15,12 +161,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "21", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "4", + "$id": "22", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33,9 +179,9 @@ "decorators": [], "crossLanguageDefinitionId": "Parameters.Spread.Model.BodyParameter.name", "serializationOptions": { - "$id": "5", + "$id": "23", "json": { - "$id": "6", + "$id": "24", "name": "name" } } @@ -43,7 +189,7 @@ ] }, { - "$id": "7", + "$id": "25", "kind": "model", "name": "SpreadCompositeRequestMixRequest", "namespace": "", @@ -52,12 +198,12 @@ "decorators": [], "properties": [ { - "$id": "8", + "$id": "26", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "9", + "$id": "27", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70,9 +216,9 @@ "decorators": [], "crossLanguageDefinitionId": "spreadCompositeRequestMix.Request.anonymous.prop", "serializationOptions": { - "$id": "10", + "$id": "28", "json": { - "$id": "11", + "$id": "29", "name": "prop" } } @@ -80,7 +226,7 @@ ] }, { - "$id": "12", + "$id": "30", "kind": "model", "name": "SpreadAsRequestBodyRequest", "namespace": "Scm.Parameters.Spread", @@ -89,12 +235,12 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "31", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "14", + "$id": "32", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107,9 +253,9 @@ "decorators": [], "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadAsRequestBody.name", "serializationOptions": { - "$id": "15", + "$id": "33", "json": { - "$id": "16", + "$id": "34", "name": "name" } } @@ -117,7 +263,7 @@ ] }, { - "$id": "17", + "$id": "35", "kind": "model", "name": "SpreadParameterWithInnerModelRequest", "namespace": "", @@ -126,12 +272,12 @@ "decorators": [], "properties": [ { - "$id": "18", + "$id": "36", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "19", + "$id": "37", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -144,9 +290,9 @@ "decorators": [], "crossLanguageDefinitionId": "spreadParameterWithInnerModel.Request.anonymous.name", "serializationOptions": { - "$id": "20", + "$id": "38", "json": { - "$id": "21", + "$id": "39", "name": "name" } } @@ -154,7 +300,7 @@ ] }, { - "$id": "22", + "$id": "40", "kind": "model", "name": "SpreadAsRequestParameterRequest", "namespace": "", @@ -163,12 +309,12 @@ "decorators": [], "properties": [ { - "$id": "23", + "$id": "41", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "24", + "$id": "42", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -181,9 +327,9 @@ "decorators": [], "crossLanguageDefinitionId": "spreadAsRequestParameter.Request.anonymous.name", "serializationOptions": { - "$id": "25", + "$id": "43", "json": { - "$id": "26", + "$id": "44", "name": "name" } } @@ -191,7 +337,7 @@ ] }, { - "$id": "27", + "$id": "45", "kind": "model", "name": "SpreadWithMultipleParametersRequest", "namespace": "", @@ -200,13 +346,13 @@ "decorators": [], "properties": [ { - "$id": "28", + "$id": "46", "kind": "property", "name": "requiredString", "serializedName": "requiredString", "doc": "required string", "type": { - "$id": "29", + "$id": "47", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -219,21 +365,21 @@ "decorators": [], "crossLanguageDefinitionId": "spreadWithMultipleParameters.Request.anonymous.requiredString", "serializationOptions": { - "$id": "30", + "$id": "48", "json": { - "$id": "31", + "$id": "49", "name": "requiredString" } } }, { - "$id": "32", + "$id": "50", "kind": "property", "name": "optionalInt", "serializedName": "optionalInt", "doc": "optional int", "type": { - "$id": "33", + "$id": "51", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -246,25 +392,25 @@ "decorators": [], "crossLanguageDefinitionId": "spreadWithMultipleParameters.Request.anonymous.optionalInt", "serializationOptions": { - "$id": "34", + "$id": "52", "json": { - "$id": "35", + "$id": "53", "name": "optionalInt" } } }, { - "$id": "36", + "$id": "54", "kind": "property", "name": "requiredIntList", "serializedName": "requiredIntList", "doc": "required int", "type": { - "$id": "37", + "$id": "55", "kind": "array", "name": "Array", "valueType": { - "$id": "38", + "$id": "56", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -280,25 +426,25 @@ "decorators": [], "crossLanguageDefinitionId": "spreadWithMultipleParameters.Request.anonymous.requiredIntList", "serializationOptions": { - "$id": "39", + "$id": "57", "json": { - "$id": "40", + "$id": "58", "name": "requiredIntList" } } }, { - "$id": "41", + "$id": "59", "kind": "property", "name": "optionalStringList", "serializedName": "optionalStringList", "doc": "optional string", "type": { - "$id": "42", + "$id": "60", "kind": "array", "name": "Array1", "valueType": { - "$id": "43", + "$id": "61", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -314,9 +460,9 @@ "decorators": [], "crossLanguageDefinitionId": "spreadWithMultipleParameters.Request.anonymous.optionalStringList", "serializationOptions": { - "$id": "44", + "$id": "62", "json": { - "$id": "45", + "$id": "63", "name": "optionalStringList" } } @@ -324,7 +470,7 @@ ] }, { - "$id": "46", + "$id": "64", "kind": "model", "name": "SpreadParameterWithInnerAliasRequest", "namespace": "", @@ -333,13 +479,13 @@ "decorators": [], "properties": [ { - "$id": "47", + "$id": "65", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the Thing", "type": { - "$id": "48", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -352,21 +498,21 @@ "decorators": [], "crossLanguageDefinitionId": "spreadParameterWithInnerAlias.Request.anonymous.name", "serializationOptions": { - "$id": "49", + "$id": "67", "json": { - "$id": "50", + "$id": "68", "name": "name" } } }, { - "$id": "51", + "$id": "69", "kind": "property", "name": "age", "serializedName": "age", "doc": "age of the Thing", "type": { - "$id": "52", + "$id": "70", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -379,9 +525,9 @@ "decorators": [], "crossLanguageDefinitionId": "spreadParameterWithInnerAlias.Request.anonymous.age", "serializationOptions": { - "$id": "53", + "$id": "71", "json": { - "$id": "54", + "$id": "72", "name": "age" } } @@ -391,7 +537,7 @@ ], "clients": [ { - "$id": "55", + "$id": "73", "kind": "client", "name": "SpreadClient", "namespace": "Scm.Parameters.Spread", @@ -399,12 +545,12 @@ "methods": [], "parameters": [ { - "$id": "56", + "$id": "74", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "57", + "$id": "75", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -418,9 +564,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "58", + "$id": "76", "type": { - "$id": "59", + "$id": "77", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -434,43 +580,30 @@ "apiVersions": [], "children": [ { - "$id": "60", + "$id": "78", "kind": "client", "name": "Model", "namespace": "Scm.Parameters.Spread", "methods": [ { - "$id": "61", + "$id": "79", "kind": "basic", "name": "spreadAsRequestBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "62", + "$id": "80", "name": "spreadAsRequestBody", "resourceName": "Model", "accessibility": "public", "parameters": [ { - "$id": "63", + "$id": "81", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "64", - "kind": "constant", - "name": "spreadAsRequestBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "65", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -483,11 +616,11 @@ "skipUrlEncoding": false }, { - "$id": "66", + "$id": "82", "name": "bodyParameter", "nameInRequest": "bodyParameter", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -502,7 +635,7 @@ ], "responses": [ { - "$id": "67", + "$id": "83", "statusCodes": [ 204 ], @@ -524,11 +657,11 @@ }, "parameters": [ { - "$id": "68", + "$id": "84", "name": "name", "nameInRequest": "name", "type": { - "$id": "69", + "$id": "85", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -545,12 +678,12 @@ "skipUrlEncoding": false }, { - "$id": "70", + "$id": "86", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "64" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -564,7 +697,7 @@ } ], "response": { - "$id": "71" + "$id": "87" }, "isOverride": false, "generateConvenient": true, @@ -572,37 +705,24 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadAsRequestBody" }, { - "$id": "72", + "$id": "88", "kind": "basic", "name": "spreadCompositeRequestOnlyWithBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "73", + "$id": "89", "name": "spreadCompositeRequestOnlyWithBody", "resourceName": "Model", "accessibility": "public", "parameters": [ { - "$id": "74", + "$id": "90", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "75", - "kind": "constant", - "name": "spreadCompositeRequestOnlyWithBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "76", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -615,11 +735,11 @@ "skipUrlEncoding": false }, { - "$id": "77", + "$id": "91", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -634,7 +754,7 @@ ], "responses": [ { - "$id": "78", + "$id": "92", "statusCodes": [ 204 ], @@ -656,11 +776,11 @@ }, "parameters": [ { - "$id": "79", + "$id": "93", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -673,12 +793,12 @@ "skipUrlEncoding": false }, { - "$id": "80", + "$id": "94", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "75" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -692,7 +812,7 @@ } ], "response": { - "$id": "81" + "$id": "95" }, "isOverride": false, "generateConvenient": true, @@ -700,23 +820,23 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequestOnlyWithBody" }, { - "$id": "82", + "$id": "96", "kind": "basic", "name": "spreadCompositeRequestWithoutBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "83", + "$id": "97", "name": "spreadCompositeRequestWithoutBody", "resourceName": "Model", "accessibility": "public", "parameters": [ { - "$id": "84", + "$id": "98", "name": "name", "nameInRequest": "name", "type": { - "$id": "85", + "$id": "99", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -733,11 +853,11 @@ "skipUrlEncoding": false }, { - "$id": "86", + "$id": "100", "name": "testHeader", "nameInRequest": "test-header", "type": { - "$id": "87", + "$id": "101", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -756,7 +876,7 @@ ], "responses": [ { - "$id": "88", + "$id": "102", "statusCodes": [ 204 ], @@ -775,11 +895,11 @@ }, "parameters": [ { - "$id": "89", + "$id": "103", "name": "name", "nameInRequest": "name", "type": { - "$id": "90", + "$id": "104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -796,11 +916,11 @@ "skipUrlEncoding": false }, { - "$id": "91", + "$id": "105", "name": "testHeader", "nameInRequest": "test-header", "type": { - "$id": "92", + "$id": "106", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -818,7 +938,7 @@ } ], "response": { - "$id": "93" + "$id": "107" }, "isOverride": false, "generateConvenient": true, @@ -826,23 +946,23 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequestWithoutBody" }, { - "$id": "94", + "$id": "108", "kind": "basic", "name": "spreadCompositeRequest", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "95", + "$id": "109", "name": "spreadCompositeRequest", "resourceName": "Model", "accessibility": "public", "parameters": [ { - "$id": "96", + "$id": "110", "name": "name", "nameInRequest": "name", "type": { - "$id": "97", + "$id": "111", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -859,11 +979,11 @@ "skipUrlEncoding": false }, { - "$id": "98", + "$id": "112", "name": "testHeader", "nameInRequest": "test-header", "type": { - "$id": "99", + "$id": "113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -880,25 +1000,12 @@ "skipUrlEncoding": false }, { - "$id": "100", + "$id": "114", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "101", - "kind": "constant", - "name": "spreadCompositeRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "102", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -911,11 +1018,11 @@ "skipUrlEncoding": false }, { - "$id": "103", + "$id": "115", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -930,7 +1037,7 @@ ], "responses": [ { - "$id": "104", + "$id": "116", "statusCodes": [ 204 ], @@ -952,11 +1059,11 @@ }, "parameters": [ { - "$id": "105", + "$id": "117", "name": "name", "nameInRequest": "name", "type": { - "$id": "106", + "$id": "118", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -973,11 +1080,11 @@ "skipUrlEncoding": false }, { - "$id": "107", + "$id": "119", "name": "testHeader", "nameInRequest": "test-header", "type": { - "$id": "108", + "$id": "120", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -994,11 +1101,11 @@ "skipUrlEncoding": false }, { - "$id": "109", + "$id": "121", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -1011,12 +1118,12 @@ "skipUrlEncoding": false }, { - "$id": "110", + "$id": "122", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "101" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -1030,7 +1137,7 @@ } ], "response": { - "$id": "111" + "$id": "123" }, "isOverride": false, "generateConvenient": true, @@ -1038,23 +1145,23 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequest" }, { - "$id": "112", + "$id": "124", "kind": "basic", "name": "spreadCompositeRequestMix", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "113", + "$id": "125", "name": "spreadCompositeRequestMix", "resourceName": "Model", "accessibility": "public", "parameters": [ { - "$id": "114", + "$id": "126", "name": "name", "nameInRequest": "name", "type": { - "$id": "115", + "$id": "127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1071,11 +1178,11 @@ "skipUrlEncoding": false }, { - "$id": "116", + "$id": "128", "name": "testHeader", "nameInRequest": "test-header", "type": { - "$id": "117", + "$id": "129", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1092,25 +1199,12 @@ "skipUrlEncoding": false }, { - "$id": "118", + "$id": "130", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "119", - "kind": "constant", - "name": "spreadCompositeRequestMixContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "120", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -1123,11 +1217,11 @@ "skipUrlEncoding": false }, { - "$id": "121", + "$id": "131", "name": "spreadCompositeRequestMixRequest", "nameInRequest": "spreadCompositeRequestMixRequest", "type": { - "$ref": "7" + "$ref": "25" }, "location": "Body", "isApiVersion": false, @@ -1142,7 +1236,7 @@ ], "responses": [ { - "$id": "122", + "$id": "132", "statusCodes": [ 204 ], @@ -1164,11 +1258,11 @@ }, "parameters": [ { - "$id": "123", + "$id": "133", "name": "name", "nameInRequest": "name", "type": { - "$id": "124", + "$id": "134", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1185,11 +1279,11 @@ "skipUrlEncoding": false }, { - "$id": "125", + "$id": "135", "name": "testHeader", "nameInRequest": "test-header", "type": { - "$id": "126", + "$id": "136", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1206,11 +1300,11 @@ "skipUrlEncoding": false }, { - "$id": "127", + "$id": "137", "name": "prop", "nameInRequest": "prop", "type": { - "$id": "128", + "$id": "138", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1227,12 +1321,12 @@ "skipUrlEncoding": false }, { - "$id": "129", + "$id": "139", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "119" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -1246,7 +1340,7 @@ } ], "response": { - "$id": "130" + "$id": "140" }, "isOverride": false, "generateConvenient": true, @@ -1256,12 +1350,12 @@ ], "parameters": [ { - "$id": "131", + "$id": "141", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "132", + "$id": "142", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1275,9 +1369,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "133", + "$id": "143", "type": { - "$id": "134", + "$id": "144", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1290,47 +1384,34 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model", "apiVersions": [], "parent": { - "$ref": "55" + "$ref": "73" } }, { - "$id": "135", + "$id": "145", "kind": "client", "name": "Alias", "namespace": "Scm.Parameters.Spread", "methods": [ { - "$id": "136", + "$id": "146", "kind": "basic", "name": "spreadAsRequestBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "137", + "$id": "147", "name": "spreadAsRequestBody", "resourceName": "Alias", "accessibility": "public", "parameters": [ { - "$id": "138", + "$id": "148", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "139", - "kind": "constant", - "name": "spreadAsRequestBodyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "140", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1343,11 +1424,11 @@ "skipUrlEncoding": false }, { - "$id": "141", + "$id": "149", "name": "spreadAsRequestBodyRequest", "nameInRequest": "spreadAsRequestBodyRequest", "type": { - "$ref": "12" + "$ref": "30" }, "location": "Body", "isApiVersion": false, @@ -1362,7 +1443,7 @@ ], "responses": [ { - "$id": "142", + "$id": "150", "statusCodes": [ 204 ], @@ -1384,11 +1465,11 @@ }, "parameters": [ { - "$id": "143", + "$id": "151", "name": "name", "nameInRequest": "name", "type": { - "$ref": "14" + "$ref": "32" }, "location": "Body", "isApiVersion": false, @@ -1401,12 +1482,12 @@ "skipUrlEncoding": false }, { - "$id": "144", + "$id": "152", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "139" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1420,7 +1501,7 @@ } ], "response": { - "$id": "145" + "$id": "153" }, "isOverride": false, "generateConvenient": true, @@ -1428,23 +1509,23 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadAsRequestBody" }, { - "$id": "146", + "$id": "154", "kind": "basic", "name": "spreadParameterWithInnerModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "147", + "$id": "155", "name": "spreadParameterWithInnerModel", "resourceName": "Alias", "accessibility": "public", "parameters": [ { - "$id": "148", + "$id": "156", "name": "id", "nameInRequest": "id", "type": { - "$id": "149", + "$id": "157", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1461,11 +1542,11 @@ "skipUrlEncoding": false }, { - "$id": "150", + "$id": "158", "name": "x-ms-test-header", "nameInRequest": "x-ms-test-header", "type": { - "$id": "151", + "$id": "159", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1482,25 +1563,12 @@ "skipUrlEncoding": false }, { - "$id": "152", + "$id": "160", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "153", - "kind": "constant", - "name": "spreadParameterWithInnerModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "154", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1513,11 +1581,11 @@ "skipUrlEncoding": false }, { - "$id": "155", + "$id": "161", "name": "spreadParameterWithInnerModelRequest", "nameInRequest": "spreadParameterWithInnerModelRequest", "type": { - "$ref": "17" + "$ref": "35" }, "location": "Body", "isApiVersion": false, @@ -1532,7 +1600,7 @@ ], "responses": [ { - "$id": "156", + "$id": "162", "statusCodes": [ 204 ], @@ -1554,11 +1622,11 @@ }, "parameters": [ { - "$id": "157", + "$id": "163", "name": "id", "nameInRequest": "id", "type": { - "$id": "158", + "$id": "164", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1575,11 +1643,11 @@ "skipUrlEncoding": false }, { - "$id": "159", + "$id": "165", "name": "name", "nameInRequest": "name", "type": { - "$id": "160", + "$id": "166", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1596,11 +1664,11 @@ "skipUrlEncoding": false }, { - "$id": "161", + "$id": "167", "name": "x-ms-test-header", "nameInRequest": "x-ms-test-header", "type": { - "$id": "162", + "$id": "168", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1617,12 +1685,12 @@ "skipUrlEncoding": false }, { - "$id": "163", + "$id": "169", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "153" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1636,7 +1704,7 @@ } ], "response": { - "$id": "164" + "$id": "170" }, "isOverride": false, "generateConvenient": true, @@ -1644,23 +1712,23 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadParameterWithInnerModel" }, { - "$id": "165", + "$id": "171", "kind": "basic", "name": "spreadAsRequestParameter", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "166", + "$id": "172", "name": "spreadAsRequestParameter", "resourceName": "Alias", "accessibility": "public", "parameters": [ { - "$id": "167", + "$id": "173", "name": "id", "nameInRequest": "id", "type": { - "$id": "168", + "$id": "174", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1677,11 +1745,11 @@ "skipUrlEncoding": false }, { - "$id": "169", + "$id": "175", "name": "x-ms-test-header", "nameInRequest": "x-ms-test-header", "type": { - "$id": "170", + "$id": "176", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1698,25 +1766,12 @@ "skipUrlEncoding": false }, { - "$id": "171", + "$id": "177", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "172", - "kind": "constant", - "name": "spreadAsRequestParameterContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "173", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1729,11 +1784,11 @@ "skipUrlEncoding": false }, { - "$id": "174", + "$id": "178", "name": "spreadAsRequestParameterRequest", "nameInRequest": "spreadAsRequestParameterRequest", "type": { - "$ref": "22" + "$ref": "40" }, "location": "Body", "isApiVersion": false, @@ -1748,7 +1803,7 @@ ], "responses": [ { - "$id": "175", + "$id": "179", "statusCodes": [ 204 ], @@ -1770,11 +1825,11 @@ }, "parameters": [ { - "$id": "176", + "$id": "180", "name": "id", "nameInRequest": "id", "type": { - "$id": "177", + "$id": "181", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1791,11 +1846,11 @@ "skipUrlEncoding": false }, { - "$id": "178", + "$id": "182", "name": "x-ms-test-header", "nameInRequest": "x-ms-test-header", "type": { - "$id": "179", + "$id": "183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1812,11 +1867,11 @@ "skipUrlEncoding": false }, { - "$id": "180", + "$id": "184", "name": "name", "nameInRequest": "name", "type": { - "$id": "181", + "$id": "185", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1833,12 +1888,12 @@ "skipUrlEncoding": false }, { - "$id": "182", + "$id": "186", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "172" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1852,7 +1907,7 @@ } ], "response": { - "$id": "183" + "$id": "187" }, "isOverride": false, "generateConvenient": true, @@ -1860,23 +1915,23 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadAsRequestParameter" }, { - "$id": "184", + "$id": "188", "kind": "basic", "name": "spreadWithMultipleParameters", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "185", + "$id": "189", "name": "spreadWithMultipleParameters", "resourceName": "Alias", "accessibility": "public", "parameters": [ { - "$id": "186", + "$id": "190", "name": "id", "nameInRequest": "id", "type": { - "$id": "187", + "$id": "191", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1893,11 +1948,11 @@ "skipUrlEncoding": false }, { - "$id": "188", + "$id": "192", "name": "x-ms-test-header", "nameInRequest": "x-ms-test-header", "type": { - "$id": "189", + "$id": "193", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1914,25 +1969,12 @@ "skipUrlEncoding": false }, { - "$id": "190", + "$id": "194", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "191", - "kind": "constant", - "name": "spreadWithMultipleParametersContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "192", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1945,11 +1987,11 @@ "skipUrlEncoding": false }, { - "$id": "193", + "$id": "195", "name": "spreadWithMultipleParametersRequest", "nameInRequest": "spreadWithMultipleParametersRequest", "type": { - "$ref": "27" + "$ref": "45" }, "location": "Body", "isApiVersion": false, @@ -1964,7 +2006,7 @@ ], "responses": [ { - "$id": "194", + "$id": "196", "statusCodes": [ 204 ], @@ -1986,11 +2028,11 @@ }, "parameters": [ { - "$id": "195", + "$id": "197", "name": "id", "nameInRequest": "id", "type": { - "$id": "196", + "$id": "198", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2007,11 +2049,11 @@ "skipUrlEncoding": false }, { - "$id": "197", + "$id": "199", "name": "x-ms-test-header", "nameInRequest": "x-ms-test-header", "type": { - "$id": "198", + "$id": "200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2028,12 +2070,12 @@ "skipUrlEncoding": false }, { - "$id": "199", + "$id": "201", "name": "requiredString", "nameInRequest": "requiredString", "doc": "required string", "type": { - "$id": "200", + "$id": "202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2050,12 +2092,12 @@ "skipUrlEncoding": false }, { - "$id": "201", + "$id": "203", "name": "optionalInt", "nameInRequest": "optionalInt", "doc": "optional int", "type": { - "$id": "202", + "$id": "204", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2072,12 +2114,12 @@ "skipUrlEncoding": false }, { - "$id": "203", + "$id": "205", "name": "requiredIntList", "nameInRequest": "requiredIntList", "doc": "required int", "type": { - "$ref": "37" + "$ref": "55" }, "location": "Body", "isApiVersion": false, @@ -2090,12 +2132,12 @@ "skipUrlEncoding": false }, { - "$id": "204", + "$id": "206", "name": "optionalStringList", "nameInRequest": "optionalStringList", "doc": "optional string", "type": { - "$ref": "42" + "$ref": "60" }, "location": "Body", "isApiVersion": false, @@ -2108,12 +2150,12 @@ "skipUrlEncoding": false }, { - "$id": "205", + "$id": "207", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "191" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -2127,7 +2169,7 @@ } ], "response": { - "$id": "206" + "$id": "208" }, "isOverride": false, "generateConvenient": true, @@ -2135,25 +2177,25 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadWithMultipleParameters" }, { - "$id": "207", + "$id": "209", "kind": "basic", "name": "spreadParameterWithInnerAlias", "accessibility": "public", "apiVersions": [], "doc": "spread an alias with contains another alias property as body.", "operation": { - "$id": "208", + "$id": "210", "name": "spreadParameterWithInnerAlias", "resourceName": "Alias", "doc": "spread an alias with contains another alias property as body.", "accessibility": "public", "parameters": [ { - "$id": "209", + "$id": "211", "name": "id", "nameInRequest": "id", "type": { - "$id": "210", + "$id": "212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2170,11 +2212,11 @@ "skipUrlEncoding": false }, { - "$id": "211", + "$id": "213", "name": "x-ms-test-header", "nameInRequest": "x-ms-test-header", "type": { - "$id": "212", + "$id": "214", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2191,25 +2233,12 @@ "skipUrlEncoding": false }, { - "$id": "213", + "$id": "215", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "214", - "kind": "constant", - "name": "spreadParameterWithInnerAliasContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "215", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -2226,7 +2255,7 @@ "name": "spreadParameterWithInnerAliasRequest", "nameInRequest": "spreadParameterWithInnerAliasRequest", "type": { - "$ref": "46" + "$ref": "64" }, "location": "Body", "isApiVersion": false, @@ -2354,7 +2383,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "214" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -2412,7 +2441,7 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias", "apiVersions": [], "parent": { - "$ref": "55" + "$ref": "73" } } ] diff --git a/test/CadlRanchProjectsNonAzure/payload/content-negotiation/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/payload/content-negotiation/tspCodeModel.json index 6178f9b6c70..8bdbe03c2e0 100644 --- a/test/CadlRanchProjectsNonAzure/payload/content-negotiation/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/payload/content-negotiation/tspCodeModel.json @@ -36,9 +36,215 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "5", + "kind": "constant", + "name": "PngImageAsJsonContentType", + "namespace": "Scm.Payload.ContentNegotiation", + "usage": "Output,Json", + "valueType": { + "$ref": "2" + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "PngImageContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "PngImageContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "PngImageContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "JpegImageContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/jpeg", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "JpegImageContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/jpeg", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "JpegImageContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/jpeg", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "PngImageContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "PngImageContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "PngImageContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "image/png", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "PngImageAsJsonContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "PngImageAsJsonContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "PngImageAsJsonContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "30", "kind": "model", "name": "PngImageAsJson", "namespace": "Scm.Payload.ContentNegotiation", @@ -47,21 +253,12 @@ "decorators": [], "properties": [ { - "$id": "6", + "$id": "31", "kind": "header", "name": "contentType", "serializedName": "content-type", "type": { - "$id": "7", - "kind": "constant", - "name": "PngImageAsJsonContentType", - "namespace": "Scm.Payload.ContentNegotiation", - "usage": "Output,Json", - "valueType": { - "$ref": "2" - }, - "value": "application/json", - "decorators": [] + "$ref": "5" }, "optional": false, "readOnly": false, @@ -70,12 +267,12 @@ "correspondingMethodParams": [] }, { - "$id": "8", + "$id": "32", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "9", + "$id": "33", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -89,9 +286,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.ContentNegotiation.DifferentBody.PngImageAsJson.content", "serializationOptions": { - "$id": "10", + "$id": "34", "json": { - "$id": "11", + "$id": "35", "name": "content" } } @@ -101,7 +298,7 @@ ], "clients": [ { - "$id": "12", + "$id": "36", "kind": "client", "name": "ContentNegotiationClient", "namespace": "Scm.Payload.ContentNegotiation", @@ -109,12 +306,12 @@ "methods": [], "parameters": [ { - "$id": "13", + "$id": "37", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "14", + "$id": "38", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -128,9 +325,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "15", + "$id": "39", "type": { - "$id": "16", + "$id": "40", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -144,42 +341,29 @@ "apiVersions": [], "children": [ { - "$id": "17", + "$id": "41", "kind": "client", "name": "SameBody", "namespace": "Scm.Payload.ContentNegotiation", "methods": [ { - "$id": "18", + "$id": "42", "kind": "basic", "name": "getAvatarAsPng", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "19", + "$id": "43", "name": "getAvatarAsPng", "resourceName": "SameBody", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "44", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "21", - "kind": "constant", - "name": "PngImageContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -194,12 +378,12 @@ ], "responses": [ { - "$id": "23", + "$id": "45", "statusCodes": [ 200 ], "bodyType": { - "$id": "24", + "$id": "46", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -207,24 +391,11 @@ }, "headers": [ { - "$id": "25", + "$id": "47", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "26", - "kind": "constant", - "name": "PngImageContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "27", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "8" } } ], @@ -245,24 +416,11 @@ }, "parameters": [ { - "$id": "28", + "$id": "48", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "29", - "kind": "constant", - "name": "PngImageContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "30", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -276,9 +434,9 @@ } ], "response": { - "$id": "31", + "$id": "49", "type": { - "$ref": "24" + "$ref": "46" } }, "isOverride": false, @@ -287,36 +445,23 @@ "crossLanguageDefinitionId": "Payload.ContentNegotiation.SameBody.getAvatarAsPng" }, { - "$id": "32", + "$id": "50", "kind": "basic", "name": "getAvatarAsJpeg", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "33", + "$id": "51", "name": "getAvatarAsJpeg", "resourceName": "SameBody", "accessibility": "public", "parameters": [ { - "$id": "34", + "$id": "52", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "35", - "kind": "constant", - "name": "JpegImageContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "36", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/jpeg", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -331,12 +476,12 @@ ], "responses": [ { - "$id": "37", + "$id": "53", "statusCodes": [ 200 ], "bodyType": { - "$id": "38", + "$id": "54", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -344,24 +489,11 @@ }, "headers": [ { - "$id": "39", + "$id": "55", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "40", - "kind": "constant", - "name": "JpegImageContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "41", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/jpeg", - "decorators": [] + "$ref": "14" } } ], @@ -382,24 +514,11 @@ }, "parameters": [ { - "$id": "42", + "$id": "56", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "43", - "kind": "constant", - "name": "JpegImageContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "44", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/jpeg", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -413,9 +532,9 @@ } ], "response": { - "$id": "45", + "$id": "57", "type": { - "$ref": "38" + "$ref": "54" } }, "isOverride": false, @@ -426,12 +545,12 @@ ], "parameters": [ { - "$id": "46", + "$id": "58", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "47", + "$id": "59", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -445,9 +564,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "48", + "$id": "60", "type": { - "$id": "49", + "$id": "61", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -460,46 +579,33 @@ "crossLanguageDefinitionId": "Payload.ContentNegotiation.SameBody", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "36" } }, { - "$id": "50", + "$id": "62", "kind": "client", "name": "DifferentBody", "namespace": "Scm.Payload.ContentNegotiation", "methods": [ { - "$id": "51", + "$id": "63", "kind": "basic", "name": "getAvatarAsPng", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "52", + "$id": "64", "name": "getAvatarAsPng", "resourceName": "DifferentBody", "accessibility": "public", "parameters": [ { - "$id": "53", + "$id": "65", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "54", - "kind": "constant", - "name": "PngImageContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "55", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -514,12 +620,12 @@ ], "responses": [ { - "$id": "56", + "$id": "66", "statusCodes": [ 200 ], "bodyType": { - "$id": "57", + "$id": "67", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -527,24 +633,11 @@ }, "headers": [ { - "$id": "58", + "$id": "68", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "59", - "kind": "constant", - "name": "PngImageContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "60", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "20" } } ], @@ -565,24 +658,11 @@ }, "parameters": [ { - "$id": "61", + "$id": "69", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "62", - "kind": "constant", - "name": "PngImageContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "63", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "image/png", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -596,9 +676,9 @@ } ], "response": { - "$id": "64", + "$id": "70", "type": { - "$ref": "57" + "$ref": "67" } }, "isOverride": false, @@ -607,36 +687,23 @@ "crossLanguageDefinitionId": "Payload.ContentNegotiation.DifferentBody.getAvatarAsPng" }, { - "$id": "65", + "$id": "71", "kind": "basic", "name": "getAvatarAsJson", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "66", + "$id": "72", "name": "getAvatarAsJson", "resourceName": "DifferentBody", "accessibility": "public", "parameters": [ { - "$id": "67", + "$id": "73", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "68", - "kind": "constant", - "name": "PngImageAsJsonContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "69", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -651,33 +718,20 @@ ], "responses": [ { - "$id": "70", + "$id": "74", "statusCodes": [ 200 ], "bodyType": { - "$ref": "5" + "$ref": "30" }, "headers": [ { - "$id": "71", + "$id": "75", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "72", - "kind": "constant", - "name": "PngImageAsJsonContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "73", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" } } ], @@ -698,24 +752,11 @@ }, "parameters": [ { - "$id": "74", + "$id": "76", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "75", - "kind": "constant", - "name": "PngImageAsJsonContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "76", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -731,7 +772,7 @@ "response": { "$id": "77", "type": { - "$ref": "5" + "$ref": "30" } }, "isOverride": false, @@ -776,7 +817,7 @@ "crossLanguageDefinitionId": "Payload.ContentNegotiation.DifferentBody", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "36" } } ] diff --git a/test/CadlRanchProjectsNonAzure/payload/multipart/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/payload/multipart/tspCodeModel.json index 46ae7016b2b..32a5d045b90 100644 --- a/test/CadlRanchProjectsNonAzure/payload/multipart/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/payload/multipart/tspCodeModel.json @@ -68,9 +68,419 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "8", + "kind": "constant", + "name": "FileSpecificContentTypeContentType", + "namespace": "Scm.Payload.Multipart", + "usage": "Input", + "valueType": { + "$ref": "2" + }, + "value": "image/jpg", + "decorators": [] + }, + { + "$id": "9", + "kind": "constant", + "name": "FloatRequestTemperatureContentType", + "namespace": "Scm.Payload.Multipart", + "usage": "Input", + "valueType": { + "$ref": "5" + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "BasicRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "BasicRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "BasicRequestContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "BasicRequestContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "BasicRequestContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "BasicRequestContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "BasicRequestContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "BasicRequestContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "BasicRequestContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "BasicRequestContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "BasicRequestContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "BasicRequestContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "BasicRequestContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "BasicRequestContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "BasicRequestContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "BasicRequestContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "BasicRequestContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "BasicRequestContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "BasicRequestContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "BasicRequestContentType19", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "BasicRequestContentType20", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "BasicRequestContentType21", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "BasicRequestContentType22", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "BasicRequestContentType23", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "multipart/form-data", + "decorators": [] + } + ], + "models": [ + { + "$id": "58", "kind": "model", "name": "MultiPartRequest", "namespace": "Scm.Payload.Multipart", @@ -79,12 +489,12 @@ "decorators": [], "properties": [ { - "$id": "9", + "$id": "59", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "10", + "$id": "60", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97,9 +507,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.MultiPartRequest.id", "serializationOptions": { - "$id": "11", + "$id": "61", "multipart": { - "$id": "12", + "$id": "62", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -110,12 +520,12 @@ } }, { - "$id": "13", + "$id": "63", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "14", + "$id": "64", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -129,9 +539,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.MultiPartRequest.profileImage", "serializationOptions": { - "$id": "15", + "$id": "65", "multipart": { - "$id": "16", + "$id": "66", "isFilePart": true, "isMulti": false, "defaultContentTypes": [ @@ -144,7 +554,7 @@ ] }, { - "$id": "17", + "$id": "67", "kind": "model", "name": "ComplexPartsRequest", "namespace": "Scm.Payload.Multipart", @@ -153,12 +563,12 @@ "decorators": [], "properties": [ { - "$id": "18", + "$id": "68", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "19", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -171,9 +581,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexPartsRequest.id", "serializationOptions": { - "$id": "20", + "$id": "70", "multipart": { - "$id": "21", + "$id": "71", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -184,12 +594,12 @@ } }, { - "$id": "22", + "$id": "72", "kind": "property", "name": "address", "serializedName": "address", "type": { - "$id": "23", + "$id": "73", "kind": "model", "name": "Address", "namespace": "Scm.Payload.Multipart", @@ -198,12 +608,12 @@ "decorators": [], "properties": [ { - "$id": "24", + "$id": "74", "kind": "property", "name": "city", "serializedName": "city", "type": { - "$id": "25", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -216,9 +626,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.Address.city", "serializationOptions": { - "$id": "26", + "$id": "76", "json": { - "$id": "27", + "$id": "77", "name": "city" } } @@ -232,9 +642,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexPartsRequest.address", "serializationOptions": { - "$id": "28", + "$id": "78", "multipart": { - "$id": "29", + "$id": "79", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -245,12 +655,12 @@ } }, { - "$id": "30", + "$id": "80", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "31", + "$id": "81", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -264,9 +674,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexPartsRequest.profileImage", "serializationOptions": { - "$id": "32", + "$id": "82", "multipart": { - "$id": "33", + "$id": "83", "isFilePart": true, "isMulti": false, "defaultContentTypes": [ @@ -277,16 +687,16 @@ } }, { - "$id": "34", + "$id": "84", "kind": "property", "name": "pictures", "serializedName": "pictures", "type": { - "$id": "35", + "$id": "85", "kind": "array", "name": "ArrayHttpPart", "valueType": { - "$id": "36", + "$id": "86", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -303,9 +713,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexPartsRequest.pictures", "serializationOptions": { - "$id": "37", + "$id": "87", "multipart": { - "$id": "38", + "$id": "88", "isFilePart": true, "isMulti": true, "defaultContentTypes": [ @@ -318,10 +728,10 @@ ] }, { - "$ref": "23" + "$ref": "73" }, { - "$id": "39", + "$id": "89", "kind": "model", "name": "JsonPartRequest", "namespace": "Scm.Payload.Multipart", @@ -330,12 +740,12 @@ "decorators": [], "properties": [ { - "$id": "40", + "$id": "90", "kind": "property", "name": "address", "serializedName": "address", "type": { - "$ref": "23" + "$ref": "73" }, "optional": false, "readOnly": false, @@ -344,9 +754,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.JsonPartRequest.address", "serializationOptions": { - "$id": "41", + "$id": "91", "multipart": { - "$id": "42", + "$id": "92", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -357,12 +767,12 @@ } }, { - "$id": "43", + "$id": "93", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "44", + "$id": "94", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -376,9 +786,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.JsonPartRequest.profileImage", "serializationOptions": { - "$id": "45", + "$id": "95", "multipart": { - "$id": "46", + "$id": "96", "isFilePart": true, "isMulti": false, "defaultContentTypes": [ @@ -391,7 +801,7 @@ ] }, { - "$id": "47", + "$id": "97", "kind": "model", "name": "BinaryArrayPartsRequest", "namespace": "Scm.Payload.Multipart", @@ -400,12 +810,12 @@ "decorators": [], "properties": [ { - "$id": "48", + "$id": "98", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "49", + "$id": "99", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -418,9 +828,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.BinaryArrayPartsRequest.id", "serializationOptions": { - "$id": "50", + "$id": "100", "multipart": { - "$id": "51", + "$id": "101", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -431,16 +841,16 @@ } }, { - "$id": "52", + "$id": "102", "kind": "property", "name": "pictures", "serializedName": "pictures", "type": { - "$id": "53", + "$id": "103", "kind": "array", "name": "ArrayHttpPart1", "valueType": { - "$id": "54", + "$id": "104", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -457,9 +867,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.BinaryArrayPartsRequest.pictures", "serializationOptions": { - "$id": "55", + "$id": "105", "multipart": { - "$id": "56", + "$id": "106", "isFilePart": true, "isMulti": true, "defaultContentTypes": [ @@ -472,7 +882,7 @@ ] }, { - "$id": "57", + "$id": "107", "kind": "model", "name": "MultiBinaryPartsRequest", "namespace": "Scm.Payload.Multipart", @@ -481,12 +891,12 @@ "decorators": [], "properties": [ { - "$id": "58", + "$id": "108", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "59", + "$id": "109", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -500,9 +910,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.MultiBinaryPartsRequest.profileImage", "serializationOptions": { - "$id": "60", + "$id": "110", "multipart": { - "$id": "61", + "$id": "111", "isFilePart": true, "isMulti": false, "defaultContentTypes": [ @@ -513,12 +923,12 @@ } }, { - "$id": "62", + "$id": "112", "kind": "property", "name": "picture", "serializedName": "picture", "type": { - "$id": "63", + "$id": "113", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -532,9 +942,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.MultiBinaryPartsRequest.picture", "serializationOptions": { - "$id": "64", + "$id": "114", "multipart": { - "$id": "65", + "$id": "115", "isFilePart": true, "isMulti": false, "defaultContentTypes": [ @@ -547,7 +957,7 @@ ] }, { - "$id": "66", + "$id": "116", "kind": "model", "name": "AnonymousModelRequest", "namespace": "Scm.Payload.Multipart", @@ -556,12 +966,12 @@ "decorators": [], "properties": [ { - "$id": "67", + "$id": "117", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "68", + "$id": "118", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -575,9 +985,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FormData.anonymousModel.Request.anonymous.profileImage", "serializationOptions": { - "$id": "69", + "$id": "119", "multipart": { - "$id": "70", + "$id": "120", "isFilePart": true, "isMulti": false, "defaultContentTypes": [ @@ -590,7 +1000,7 @@ ] }, { - "$id": "71", + "$id": "121", "kind": "model", "name": "ComplexHttpPartsModelRequest", "namespace": "Scm.Payload.Multipart", @@ -599,12 +1009,12 @@ "decorators": [], "properties": [ { - "$id": "72", + "$id": "122", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "73", + "$id": "123", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -617,9 +1027,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexHttpPartsModelRequest.id", "serializationOptions": { - "$id": "74", + "$id": "124", "multipart": { - "$id": "75", + "$id": "125", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -630,12 +1040,12 @@ } }, { - "$id": "76", + "$id": "126", "kind": "property", "name": "address", "serializedName": "address", "type": { - "$ref": "23" + "$ref": "73" }, "optional": false, "readOnly": false, @@ -644,9 +1054,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexHttpPartsModelRequest.address", "serializationOptions": { - "$id": "77", + "$id": "127", "multipart": { - "$id": "78", + "$id": "128", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -657,12 +1067,12 @@ } }, { - "$id": "79", + "$id": "129", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "80", + "$id": "130", "kind": "model", "name": "FileRequiredMetaData", "namespace": "Scm.Payload.Multipart", @@ -670,7 +1080,7 @@ "usage": "Input", "decorators": [], "baseModel": { - "$id": "81", + "$id": "131", "kind": "model", "name": "File", "namespace": "Scm.Payload.Multipart", @@ -681,14 +1091,14 @@ "decorators": [], "properties": [ { - "$id": "82", + "$id": "132", "kind": "property", "name": "contentType", "serializedName": "contentType", "summary": "The allowed media (MIME) types of the file contents.", "doc": "The allowed media (MIME) types of the file contents.\n\nIn file bodies, this value comes from the `Content-Type` header of the request or response. In JSON bodies,\nthis value is serialized as a field in the response.\n\nNOTE: this is not _necessarily_ the same as the `Content-Type` header of the request or response, but\nit will be for file bodies. It may be different if the file is serialized as a JSON object. It always refers to the\n_contents_ of the file, and not necessarily the way the file itself is transmitted or serialized.", "type": { - "$id": "83", + "$id": "133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -701,18 +1111,18 @@ "decorators": [], "crossLanguageDefinitionId": "TypeSpec.Http.File.contentType", "serializationOptions": { - "$id": "84" + "$id": "134" } }, { - "$id": "85", + "$id": "135", "kind": "property", "name": "filename", "serializedName": "filename", "summary": "The name of the file, if any.", "doc": "The name of the file, if any.\n\nIn file bodies, this value comes from the `filename` parameter of the `Content-Disposition` header of the response\nor multipart payload. In JSON bodies, this value is serialized as a field in the response.\n\nNOTE: By default, `filename` cannot be sent in request payloads and can only be sent in responses and multipart\npayloads, as the `Content-Disposition` header is not valid in requests. If you want to send the `filename` in a request,\nyou must extend the `File` model and override the `filename` property with a different location defined by HTTP metadata\ndecorators.", "type": { - "$id": "86", + "$id": "136", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -725,18 +1135,18 @@ "decorators": [], "crossLanguageDefinitionId": "TypeSpec.Http.File.filename", "serializationOptions": { - "$id": "87" + "$id": "137" } }, { - "$id": "88", + "$id": "138", "kind": "property", "name": "contents", "serializedName": "contents", "summary": "The contents of the file.", "doc": "The contents of the file.\n\nIn file bodies, this value comes from the body of the request, response, or multipart payload. In JSON bodies,\nthis value is serialized as a field in the response.", "type": { - "$id": "89", + "$id": "139", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -750,19 +1160,19 @@ "decorators": [], "crossLanguageDefinitionId": "TypeSpec.Http.File.contents", "serializationOptions": { - "$id": "90" + "$id": "140" } } ] }, "properties": [ { - "$id": "91", + "$id": "141", "kind": "property", "name": "filename", "serializedName": "filename", "type": { - "$id": "92", + "$id": "142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -775,16 +1185,16 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileRequiredMetaData.filename", "serializationOptions": { - "$id": "93" + "$id": "143" } }, { - "$id": "94", + "$id": "144", "kind": "property", "name": "contentType", "serializedName": "contentType", "type": { - "$id": "95", + "$id": "145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -797,7 +1207,7 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileRequiredMetaData.contentType", "serializationOptions": { - "$id": "96" + "$id": "146" } } ] @@ -809,16 +1219,16 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexHttpPartsModelRequest.profileImage", "serializationOptions": { - "$id": "97", + "$id": "147", "multipart": { - "$id": "98", + "$id": "148", "isFilePart": true, "isMulti": false, "filename": { - "$id": "99", + "$id": "149", "apiVersions": [], "type": { - "$id": "5244", + "$id": "5294", "kind": "string", "decorators": [], "name": "string", @@ -846,14 +1256,14 @@ "isMultipartFileInput": false, "flatten": false, "serializationOptions": { - "$ref": "93" + "$ref": "143" } }, "contentType": { - "$id": "5245", + "$id": "5295", "apiVersions": [], "type": { - "$id": "5247", + "$id": "5297", "kind": "string", "decorators": [], "name": "string", @@ -881,7 +1291,7 @@ "isMultipartFileInput": false, "flatten": false, "serializationOptions": { - "$ref": "96" + "$ref": "146" } }, "defaultContentTypes": [ @@ -892,16 +1302,16 @@ } }, { - "$id": "5248", + "$id": "5298", "kind": "property", "name": "previousAddresses", "serializedName": "previousAddresses", "type": { - "$id": "5249", + "$id": "5299", "kind": "array", "name": "ArrayAddress", "valueType": { - "$ref": "23" + "$ref": "73" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -913,9 +1323,9 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexHttpPartsModelRequest.previousAddresses", "serializationOptions": { - "$id": "5250", + "$id": "5300", "multipart": { - "$id": "5251", + "$id": "5301", "isFilePart": false, "isMulti": false, "defaultContentTypes": [ @@ -926,16 +1336,16 @@ } }, { - "$id": "5252", + "$id": "5302", "kind": "property", "name": "pictures", "serializedName": "pictures", "type": { - "$id": "5253", + "$id": "5303", "kind": "array", "name": "ArrayHttpPart2", "valueType": { - "$ref": "80" + "$ref": "130" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -947,16 +1357,16 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.ComplexHttpPartsModelRequest.pictures", "serializationOptions": { - "$id": "5254", + "$id": "5304", "multipart": { - "$id": "5255", + "$id": "5305", "isFilePart": true, "isMulti": true, "filename": { - "$ref": "99" + "$ref": "149" }, "contentType": { - "$ref": "5245" + "$ref": "5295" }, "defaultContentTypes": [ "*/*" @@ -968,13 +1378,13 @@ ] }, { - "$ref": "80" + "$ref": "130" }, { - "$ref": "81" + "$ref": "131" }, { - "$id": "5256", + "$id": "5306", "kind": "model", "name": "FileWithHttpPartSpecificContentTypeRequest", "namespace": "Scm.Payload.Multipart", @@ -983,12 +1393,12 @@ "decorators": [], "properties": [ { - "$id": "5257", + "$id": "5307", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "5258", + "$id": "5308", "kind": "model", "name": "FileSpecificContentType", "namespace": "Scm.Payload.Multipart", @@ -996,16 +1406,16 @@ "usage": "Input", "decorators": [], "baseModel": { - "$ref": "81" + "$ref": "131" }, "properties": [ { - "$id": "5259", + "$id": "5309", "kind": "property", "name": "filename", "serializedName": "filename", "type": { - "$id": "5260", + "$id": "5310", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1018,25 +1428,16 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType.filename", "serializationOptions": { - "$id": "5261" + "$id": "5311" } }, { - "$id": "5262", + "$id": "5312", "kind": "property", "name": "contentType", "serializedName": "contentType", "type": { - "$id": "5263", - "kind": "constant", - "name": "FileSpecificContentTypeContentType", - "namespace": "Scm.Payload.Multipart", - "usage": "Input", - "valueType": { - "$ref": "2" - }, - "value": "image/jpg", - "decorators": [] + "$ref": "8" }, "optional": false, "readOnly": false, @@ -1045,7 +1446,7 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType.contentType", "serializationOptions": { - "$id": "5264" + "$id": "5313" } } ] @@ -1057,16 +1458,16 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartSpecificContentTypeRequest.profileImage", "serializationOptions": { - "$id": "5265", + "$id": "5314", "multipart": { - "$id": "5266", + "$id": "5315", "isFilePart": true, "isMulti": false, "filename": { - "$id": "5267", + "$id": "5316", "apiVersions": [], "type": { - "$id": "5269", + "$id": "5318", "kind": "string", "decorators": [], "name": "string", @@ -1094,19 +1495,19 @@ "isMultipartFileInput": false, "flatten": false, "serializationOptions": { - "$ref": "5261" + "$ref": "5311" } }, "contentType": { - "$id": "5270", + "$id": "5319", "apiVersions": [], "type": { - "$id": "5273", + "$id": "5322", "kind": "constant", "decorators": [], "value": "image/jpg", "valueType": { - "$id": "5274", + "$id": "5323", "kind": "string", "decorators": [], "name": "string", @@ -1137,7 +1538,7 @@ "isMultipartFileInput": false, "flatten": false, "serializationOptions": { - "$ref": "5264" + "$ref": "5313" } }, "defaultContentTypes": [ @@ -1150,10 +1551,10 @@ ] }, { - "$ref": "5258" + "$ref": "5308" }, { - "$id": "5275", + "$id": "5324", "kind": "model", "name": "FileWithHttpPartRequiredContentTypeRequest", "namespace": "Scm.Payload.Multipart", @@ -1162,12 +1563,12 @@ "decorators": [], "properties": [ { - "$id": "5276", + "$id": "5325", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$ref": "80" + "$ref": "130" }, "optional": false, "readOnly": false, @@ -1176,16 +1577,16 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartRequiredContentTypeRequest.profileImage", "serializationOptions": { - "$id": "5277", + "$id": "5326", "multipart": { - "$id": "5278", + "$id": "5327", "isFilePart": true, "isMulti": false, "filename": { - "$ref": "99" + "$ref": "149" }, "contentType": { - "$ref": "5245" + "$ref": "5295" }, "defaultContentTypes": [ "*/*" @@ -1197,7 +1598,7 @@ ] }, { - "$id": "5279", + "$id": "5328", "kind": "model", "name": "FileWithHttpPartOptionalContentTypeRequest", "namespace": "Scm.Payload.Multipart", @@ -1206,12 +1607,12 @@ "decorators": [], "properties": [ { - "$id": "5280", + "$id": "5329", "kind": "property", "name": "profileImage", "serializedName": "profileImage", "type": { - "$id": "5281", + "$id": "5330", "kind": "model", "name": "FileOptionalContentType", "namespace": "Scm.Payload.Multipart", @@ -1219,16 +1620,16 @@ "usage": "Input", "decorators": [], "baseModel": { - "$ref": "81" + "$ref": "131" }, "properties": [ { - "$id": "5282", + "$id": "5331", "kind": "property", "name": "filename", "serializedName": "filename", "type": { - "$id": "5283", + "$id": "5332", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1241,7 +1642,7 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileOptionalContentType.filename", "serializationOptions": { - "$id": "5284" + "$id": "5333" } } ] @@ -1253,16 +1654,16 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartOptionalContentTypeRequest.profileImage", "serializationOptions": { - "$id": "5285", + "$id": "5334", "multipart": { - "$id": "5286", + "$id": "5335", "isFilePart": true, "isMulti": false, "filename": { - "$id": "5287", + "$id": "5336", "apiVersions": [], "type": { - "$id": "5289", + "$id": "5338", "kind": "string", "decorators": [], "name": "string", @@ -1290,16 +1691,16 @@ "isMultipartFileInput": false, "flatten": false, "serializationOptions": { - "$ref": "5284" + "$ref": "5333" } }, "contentType": { - "$id": "5290", + "$id": "5339", "doc": "The allowed media (MIME) types of the file contents.\n\nIn file bodies, this value comes from the `Content-Type` header of the request or response. In JSON bodies,\nthis value is serialized as a field in the response.\n\nNOTE: this is not _necessarily_ the same as the `Content-Type` header of the request or response, but\nit will be for file bodies. It may be different if the file is serialized as a JSON object. It always refers to the\n_contents_ of the file, and not necessarily the way the file itself is transmitted or serialized.", "summary": "The allowed media (MIME) types of the file contents.", "apiVersions": [], "type": { - "$id": "5299", + "$id": "5348", "kind": "string", "decorators": [], "name": "string", @@ -1327,7 +1728,7 @@ "isMultipartFileInput": false, "flatten": false, "serializationOptions": { - "$ref": "84" + "$ref": "134" } }, "defaultContentTypes": [ @@ -1340,10 +1741,10 @@ ] }, { - "$ref": "5281" + "$ref": "5330" }, { - "$id": "5300", + "$id": "5349", "kind": "model", "name": "FloatRequest", "namespace": "Scm.Payload.Multipart", @@ -1352,12 +1753,12 @@ "decorators": [], "properties": [ { - "$id": "5301", + "$id": "5350", "kind": "property", "name": "temperature", "serializedName": "temperature", "type": { - "$id": "5302", + "$id": "5351", "kind": "float64", "name": "float64", "crossLanguageDefinitionId": "TypeSpec.float64", @@ -1370,21 +1771,21 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.float.Request.anonymous.temperature", "serializationOptions": { - "$id": "5303", + "$id": "5352", "multipart": { - "$id": "5304", + "$id": "5353", "isFilePart": false, "isMulti": false, "contentType": { - "$id": "5305", + "$id": "5354", "apiVersions": [], "type": { - "$id": "6101", + "$id": "6150", "kind": "constant", "decorators": [], "value": "text/plain", "valueType": { - "$id": "6102", + "$id": "6151", "kind": "string", "decorators": [], "name": "string", @@ -1423,7 +1824,7 @@ ] }, { - "$id": "6103", + "$id": "6152", "kind": "model", "name": "FloatRequestTemperature", "namespace": "Scm.Payload.Multipart", @@ -1432,21 +1833,12 @@ "decorators": [], "properties": [ { - "$id": "6104", + "$id": "6153", "kind": "header", "name": "contentType", "serializedName": "content-type", "type": { - "$id": "6105", - "kind": "constant", - "name": "FloatRequestTemperatureContentType", - "namespace": "Scm.Payload.Multipart", - "usage": "Input", - "valueType": { - "$ref": "5" - }, - "value": "text/plain", - "decorators": [] + "$ref": "9" }, "optional": false, "readOnly": false, @@ -1459,7 +1851,7 @@ ], "clients": [ { - "$id": "6106", + "$id": "6154", "kind": "client", "name": "MultiPartClient", "namespace": "Scm.Payload.Multipart", @@ -1467,12 +1859,12 @@ "methods": [], "parameters": [ { - "$id": "6107", + "$id": "6155", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "6108", + "$id": "6156", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1486,9 +1878,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "6109", + "$id": "6157", "type": { - "$id": "6110", + "$id": "6158", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1502,44 +1894,31 @@ "apiVersions": [], "children": [ { - "$id": "6111", + "$id": "6159", "kind": "client", "name": "FormData", "namespace": "Scm.Payload.Multipart", "methods": [ { - "$id": "6112", + "$id": "6160", "kind": "basic", "name": "basic", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data", "operation": { - "$id": "6113", + "$id": "6161", "name": "basic", "resourceName": "FormData", "doc": "Test content-type: multipart/form-data", "accessibility": "public", "parameters": [ { - "$id": "6114", + "$id": "6162", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6115", - "kind": "constant", - "name": "BasicRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6116", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1552,11 +1931,11 @@ "skipUrlEncoding": false }, { - "$id": "6117", + "$id": "6163", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "58" }, "location": "Body", "isApiVersion": false, @@ -1571,7 +1950,7 @@ ], "responses": [ { - "$id": "6118", + "$id": "6164", "statusCodes": [ 204 ], @@ -1593,24 +1972,11 @@ }, "parameters": [ { - "$id": "6119", + "$id": "6165", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6120", - "kind": "constant", - "name": "BasicRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6121", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1623,11 +1989,11 @@ "skipUrlEncoding": false }, { - "$id": "6122", + "$id": "6166", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "58" }, "location": "Body", "isApiVersion": false, @@ -1641,7 +2007,7 @@ } ], "response": { - "$id": "6123" + "$id": "6167" }, "isOverride": false, "generateConvenient": true, @@ -1649,38 +2015,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.basic" }, { - "$id": "6124", + "$id": "6168", "kind": "basic", "name": "fileArrayAndBasic", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for mixed scenarios", "operation": { - "$id": "6125", + "$id": "6169", "name": "fileArrayAndBasic", "resourceName": "FormData", "doc": "Test content-type: multipart/form-data for mixed scenarios", "accessibility": "public", "parameters": [ { - "$id": "6126", + "$id": "6170", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6127", - "kind": "constant", - "name": "BasicRequestContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6128", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1693,11 +2046,11 @@ "skipUrlEncoding": false }, { - "$id": "6129", + "$id": "6171", "name": "body", "nameInRequest": "body", "type": { - "$ref": "17" + "$ref": "67" }, "location": "Body", "isApiVersion": false, @@ -1712,7 +2065,7 @@ ], "responses": [ { - "$id": "6130", + "$id": "6172", "statusCodes": [ 204 ], @@ -1734,24 +2087,11 @@ }, "parameters": [ { - "$id": "6131", + "$id": "6173", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6132", - "kind": "constant", - "name": "BasicRequestContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6133", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1764,11 +2104,11 @@ "skipUrlEncoding": false }, { - "$id": "6134", + "$id": "6174", "name": "body", "nameInRequest": "body", "type": { - "$ref": "17" + "$ref": "67" }, "location": "Body", "isApiVersion": false, @@ -1782,7 +2122,7 @@ } ], "response": { - "$id": "6135" + "$id": "6175" }, "isOverride": false, "generateConvenient": true, @@ -1790,38 +2130,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.fileArrayAndBasic" }, { - "$id": "6136", + "$id": "6176", "kind": "basic", "name": "jsonPart", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for scenario contains json part and binary part ", "operation": { - "$id": "6137", + "$id": "6177", "name": "jsonPart", "resourceName": "FormData", "doc": "Test content-type: multipart/form-data for scenario contains json part and binary part ", "accessibility": "public", "parameters": [ { - "$id": "6138", + "$id": "6178", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6139", - "kind": "constant", - "name": "BasicRequestContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6140", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1834,11 +2161,11 @@ "skipUrlEncoding": false }, { - "$id": "6141", + "$id": "6179", "name": "body", "nameInRequest": "body", "type": { - "$ref": "39" + "$ref": "89" }, "location": "Body", "isApiVersion": false, @@ -1853,7 +2180,7 @@ ], "responses": [ { - "$id": "6142", + "$id": "6180", "statusCodes": [ 204 ], @@ -1875,24 +2202,11 @@ }, "parameters": [ { - "$id": "6143", + "$id": "6181", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6144", - "kind": "constant", - "name": "BasicRequestContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6145", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1905,11 +2219,11 @@ "skipUrlEncoding": false }, { - "$id": "6146", + "$id": "6182", "name": "body", "nameInRequest": "body", "type": { - "$ref": "39" + "$ref": "89" }, "location": "Body", "isApiVersion": false, @@ -1923,7 +2237,7 @@ } ], "response": { - "$id": "6147" + "$id": "6183" }, "isOverride": false, "generateConvenient": true, @@ -1931,38 +2245,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.jsonPart" }, { - "$id": "6148", + "$id": "6184", "kind": "basic", "name": "binaryArrayParts", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for scenario contains multi binary parts", "operation": { - "$id": "6149", + "$id": "6185", "name": "binaryArrayParts", "resourceName": "FormData", "doc": "Test content-type: multipart/form-data for scenario contains multi binary parts", "accessibility": "public", "parameters": [ { - "$id": "6150", + "$id": "6186", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6151", - "kind": "constant", - "name": "BasicRequestContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6152", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1975,11 +2276,11 @@ "skipUrlEncoding": false }, { - "$id": "6153", + "$id": "6187", "name": "body", "nameInRequest": "body", "type": { - "$ref": "47" + "$ref": "97" }, "location": "Body", "isApiVersion": false, @@ -1994,7 +2295,7 @@ ], "responses": [ { - "$id": "6154", + "$id": "6188", "statusCodes": [ 204 ], @@ -2016,24 +2317,11 @@ }, "parameters": [ { - "$id": "6155", + "$id": "6189", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6156", - "kind": "constant", - "name": "BasicRequestContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6157", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -2046,11 +2334,11 @@ "skipUrlEncoding": false }, { - "$id": "6158", + "$id": "6190", "name": "body", "nameInRequest": "body", "type": { - "$ref": "47" + "$ref": "97" }, "location": "Body", "isApiVersion": false, @@ -2064,7 +2352,7 @@ } ], "response": { - "$id": "6159" + "$id": "6191" }, "isOverride": false, "generateConvenient": true, @@ -2072,38 +2360,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.binaryArrayParts" }, { - "$id": "6160", + "$id": "6192", "kind": "basic", "name": "multiBinaryParts", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for scenario contains multi binary parts", "operation": { - "$id": "6161", + "$id": "6193", "name": "multiBinaryParts", "resourceName": "FormData", "doc": "Test content-type: multipart/form-data for scenario contains multi binary parts", "accessibility": "public", "parameters": [ { - "$id": "6162", + "$id": "6194", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6163", - "kind": "constant", - "name": "BasicRequestContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6164", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -2116,11 +2391,11 @@ "skipUrlEncoding": false }, { - "$id": "6165", + "$id": "6195", "name": "body", "nameInRequest": "body", "type": { - "$ref": "57" + "$ref": "107" }, "location": "Body", "isApiVersion": false, @@ -2135,7 +2410,7 @@ ], "responses": [ { - "$id": "6166", + "$id": "6196", "statusCodes": [ 204 ], @@ -2157,24 +2432,11 @@ }, "parameters": [ { - "$id": "6167", + "$id": "6197", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6168", - "kind": "constant", - "name": "BasicRequestContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6169", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -2187,11 +2449,11 @@ "skipUrlEncoding": false }, { - "$id": "6170", + "$id": "6198", "name": "body", "nameInRequest": "body", "type": { - "$ref": "57" + "$ref": "107" }, "location": "Body", "isApiVersion": false, @@ -2205,7 +2467,7 @@ } ], "response": { - "$id": "6171" + "$id": "6199" }, "isOverride": false, "generateConvenient": true, @@ -2213,38 +2475,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.multiBinaryParts" }, { - "$id": "6172", + "$id": "6200", "kind": "basic", "name": "checkFileNameAndContentType", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data", "operation": { - "$id": "6173", + "$id": "6201", "name": "checkFileNameAndContentType", "resourceName": "FormData", "doc": "Test content-type: multipart/form-data", "accessibility": "public", "parameters": [ { - "$id": "6174", + "$id": "6202", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6175", - "kind": "constant", - "name": "BasicRequestContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6176", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -2257,11 +2506,11 @@ "skipUrlEncoding": false }, { - "$id": "6177", + "$id": "6203", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "58" }, "location": "Body", "isApiVersion": false, @@ -2276,7 +2525,7 @@ ], "responses": [ { - "$id": "6178", + "$id": "6204", "statusCodes": [ 204 ], @@ -2298,24 +2547,11 @@ }, "parameters": [ { - "$id": "6179", + "$id": "6205", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6180", - "kind": "constant", - "name": "BasicRequestContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6181", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2328,11 +2564,11 @@ "skipUrlEncoding": false }, { - "$id": "6182", + "$id": "6206", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "58" }, "location": "Body", "isApiVersion": false, @@ -2346,7 +2582,7 @@ } ], "response": { - "$id": "6183" + "$id": "6207" }, "isOverride": false, "generateConvenient": true, @@ -2354,38 +2590,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.checkFileNameAndContentType" }, { - "$id": "6184", + "$id": "6208", "kind": "basic", "name": "anonymousModel", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data", "operation": { - "$id": "6185", + "$id": "6209", "name": "anonymousModel", "resourceName": "FormData", "doc": "Test content-type: multipart/form-data", "accessibility": "public", "parameters": [ { - "$id": "6186", + "$id": "6210", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6187", - "kind": "constant", - "name": "BasicRequestContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6188", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2398,11 +2621,11 @@ "skipUrlEncoding": false }, { - "$id": "6189", + "$id": "6211", "name": "body", "nameInRequest": "body", "type": { - "$ref": "66" + "$ref": "116" }, "location": "Body", "isApiVersion": false, @@ -2417,7 +2640,7 @@ ], "responses": [ { - "$id": "6190", + "$id": "6212", "statusCodes": [ 204 ], @@ -2439,24 +2662,11 @@ }, "parameters": [ { - "$id": "6191", + "$id": "6213", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6192", - "kind": "constant", - "name": "BasicRequestContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6193", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2469,11 +2679,11 @@ "skipUrlEncoding": false }, { - "$id": "6194", + "$id": "6214", "name": "body", "nameInRequest": "body", "type": { - "$ref": "66" + "$ref": "116" }, "location": "Body", "isApiVersion": false, @@ -2487,7 +2697,7 @@ } ], "response": { - "$id": "6195" + "$id": "6215" }, "isOverride": false, "generateConvenient": true, @@ -2497,12 +2707,12 @@ ], "parameters": [ { - "$id": "6196", + "$id": "6216", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "6197", + "$id": "6217", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2516,9 +2726,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "6198", + "$id": "6218", "type": { - "$id": "6199", + "$id": "6219", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2531,48 +2741,35 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData", "apiVersions": [], "parent": { - "$ref": "6106" + "$ref": "6154" }, "children": [ { - "$id": "6200", + "$id": "6220", "kind": "client", "name": "HttpParts", "namespace": "Scm.Payload.Multipart", "methods": [ { - "$id": "6201", + "$id": "6221", "kind": "basic", "name": "jsonArrayAndFileArray", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for mixed scenarios", "operation": { - "$id": "6202", + "$id": "6222", "name": "jsonArrayAndFileArray", "resourceName": "HttpParts", "doc": "Test content-type: multipart/form-data for mixed scenarios", "accessibility": "public", "parameters": [ { - "$id": "6203", + "$id": "6223", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6204", - "kind": "constant", - "name": "BasicRequestContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6205", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2585,11 +2782,11 @@ "skipUrlEncoding": false }, { - "$id": "6206", + "$id": "6224", "name": "body", "nameInRequest": "body", "type": { - "$ref": "71" + "$ref": "121" }, "location": "Body", "isApiVersion": false, @@ -2604,7 +2801,7 @@ ], "responses": [ { - "$id": "6207", + "$id": "6225", "statusCodes": [ 204 ], @@ -2626,24 +2823,11 @@ }, "parameters": [ { - "$id": "6208", + "$id": "6226", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6209", - "kind": "constant", - "name": "BasicRequestContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6210", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2656,11 +2840,11 @@ "skipUrlEncoding": false }, { - "$id": "6211", + "$id": "6227", "name": "body", "nameInRequest": "body", "type": { - "$ref": "71" + "$ref": "121" }, "location": "Body", "isApiVersion": false, @@ -2674,7 +2858,7 @@ } ], "response": { - "$id": "6212" + "$id": "6228" }, "isOverride": false, "generateConvenient": true, @@ -2684,12 +2868,12 @@ ], "parameters": [ { - "$id": "6213", + "$id": "6229", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "6214", + "$id": "6230", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2703,9 +2887,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "6215", + "$id": "6231", "type": { - "$id": "6216", + "$id": "6232", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2718,48 +2902,35 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts", "apiVersions": [], "parent": { - "$ref": "6111" + "$ref": "6159" }, "children": [ { - "$id": "6217", + "$id": "6233", "kind": "client", "name": "ContentType", "namespace": "Scm.Payload.Multipart", "methods": [ { - "$id": "6218", + "$id": "6234", "kind": "basic", "name": "imageJpegContentType", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data", "operation": { - "$id": "6219", + "$id": "6235", "name": "imageJpegContentType", "resourceName": "ContentType", "doc": "Test content-type: multipart/form-data", "accessibility": "public", "parameters": [ { - "$id": "6220", + "$id": "6236", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6221", - "kind": "constant", - "name": "BasicRequestContentType16", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6222", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -2772,11 +2943,11 @@ "skipUrlEncoding": false }, { - "$id": "6223", + "$id": "6237", "name": "body", "nameInRequest": "body", "type": { - "$ref": "5256" + "$ref": "5306" }, "location": "Body", "isApiVersion": false, @@ -2791,7 +2962,7 @@ ], "responses": [ { - "$id": "6224", + "$id": "6238", "statusCodes": [ 204 ], @@ -2813,24 +2984,11 @@ }, "parameters": [ { - "$id": "6225", + "$id": "6239", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6226", - "kind": "constant", - "name": "BasicRequestContentType17", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6227", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -2843,11 +3001,11 @@ "skipUrlEncoding": false }, { - "$id": "6228", + "$id": "6240", "name": "body", "nameInRequest": "body", "type": { - "$ref": "5256" + "$ref": "5306" }, "location": "Body", "isApiVersion": false, @@ -2861,7 +3019,7 @@ } ], "response": { - "$id": "6229" + "$id": "6241" }, "isOverride": false, "generateConvenient": true, @@ -2869,38 +3027,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.imageJpegContentType" }, { - "$id": "6230", + "$id": "6242", "kind": "basic", "name": "requiredContentType", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data", "operation": { - "$id": "6231", + "$id": "6243", "name": "requiredContentType", "resourceName": "ContentType", "doc": "Test content-type: multipart/form-data", "accessibility": "public", "parameters": [ { - "$id": "6232", + "$id": "6244", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6233", - "kind": "constant", - "name": "BasicRequestContentType18", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6234", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -2913,11 +3058,11 @@ "skipUrlEncoding": false }, { - "$id": "6235", + "$id": "6245", "name": "body", "nameInRequest": "body", "type": { - "$ref": "5275" + "$ref": "5324" }, "location": "Body", "isApiVersion": false, @@ -2932,7 +3077,7 @@ ], "responses": [ { - "$id": "6236", + "$id": "6246", "statusCodes": [ 204 ], @@ -2954,24 +3099,11 @@ }, "parameters": [ { - "$id": "6237", + "$id": "6247", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6238", - "kind": "constant", - "name": "BasicRequestContentType19", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6239", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -2984,11 +3116,11 @@ "skipUrlEncoding": false }, { - "$id": "6240", + "$id": "6248", "name": "body", "nameInRequest": "body", "type": { - "$ref": "5275" + "$ref": "5324" }, "location": "Body", "isApiVersion": false, @@ -3002,7 +3134,7 @@ } ], "response": { - "$id": "6241" + "$id": "6249" }, "isOverride": false, "generateConvenient": true, @@ -3010,38 +3142,25 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.requiredContentType" }, { - "$id": "6242", + "$id": "6250", "kind": "basic", "name": "optionalContentType", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for optional content type", "operation": { - "$id": "6243", + "$id": "6251", "name": "optionalContentType", "resourceName": "ContentType", "doc": "Test content-type: multipart/form-data for optional content type", "accessibility": "public", "parameters": [ { - "$id": "6244", + "$id": "6252", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6245", - "kind": "constant", - "name": "BasicRequestContentType20", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6246", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -3054,11 +3173,11 @@ "skipUrlEncoding": false }, { - "$id": "6247", + "$id": "6253", "name": "body", "nameInRequest": "body", "type": { - "$ref": "5279" + "$ref": "5328" }, "location": "Body", "isApiVersion": false, @@ -3073,7 +3192,7 @@ ], "responses": [ { - "$id": "6248", + "$id": "6254", "statusCodes": [ 204 ], @@ -3095,24 +3214,11 @@ }, "parameters": [ { - "$id": "6249", + "$id": "6255", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6250", - "kind": "constant", - "name": "BasicRequestContentType21", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6251", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -3125,11 +3231,11 @@ "skipUrlEncoding": false }, { - "$id": "6252", + "$id": "6256", "name": "body", "nameInRequest": "body", "type": { - "$ref": "5279" + "$ref": "5328" }, "location": "Body", "isApiVersion": false, @@ -3143,7 +3249,7 @@ } ], "response": { - "$id": "6253" + "$id": "6257" }, "isOverride": false, "generateConvenient": true, @@ -3153,12 +3259,12 @@ ], "parameters": [ { - "$id": "6254", + "$id": "6258", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "6255", + "$id": "6259", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3172,9 +3278,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "6256", + "$id": "6260", "type": { - "$id": "6257", + "$id": "6261", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3187,48 +3293,35 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType", "apiVersions": [], "parent": { - "$ref": "6200" + "$ref": "6220" } }, { - "$id": "6258", + "$id": "6262", "kind": "client", "name": "NonString", "namespace": "Scm.Payload.Multipart", "methods": [ { - "$id": "6259", + "$id": "6263", "kind": "basic", "name": "float", "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for non string", "operation": { - "$id": "6260", + "$id": "6264", "name": "float", "resourceName": "NonString", "doc": "Test content-type: multipart/form-data for non string", "accessibility": "public", "parameters": [ { - "$id": "6261", + "$id": "6265", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "6262", - "kind": "constant", - "name": "BasicRequestContentType22", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6263", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -3241,11 +3334,11 @@ "skipUrlEncoding": false }, { - "$id": "6264", + "$id": "6266", "name": "body", "nameInRequest": "body", "type": { - "$ref": "5300" + "$ref": "5349" }, "location": "Body", "isApiVersion": false, @@ -3260,7 +3353,7 @@ ], "responses": [ { - "$id": "6265", + "$id": "6267", "statusCodes": [ 204 ], @@ -3282,24 +3375,11 @@ }, "parameters": [ { - "$id": "6266", + "$id": "6268", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "6267", - "kind": "constant", - "name": "BasicRequestContentType23", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "6268", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "multipart/form-data", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -3316,7 +3396,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "5300" + "$ref": "5349" }, "location": "Body", "isApiVersion": false, @@ -3374,7 +3454,7 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString", "apiVersions": [], "parent": { - "$ref": "6200" + "$ref": "6220" } } ] diff --git a/test/CadlRanchProjectsNonAzure/serialization/encoded-name/json/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/serialization/encoded-name/json/tspCodeModel.json index 1a654998abb..6985877f992 100644 --- a/test/CadlRanchProjectsNonAzure/serialization/encoded-name/json/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/serialization/encoded-name/json/tspCodeModel.json @@ -3,9 +3,43 @@ "name": "Serialization.EncodedName.Json", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "sendContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "6", "kind": "model", "name": "JsonEncodedNameModel", "namespace": "Scm.Serialization.EncodedName.Json", @@ -14,13 +48,13 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "7", "kind": "property", "name": "defaultName", "serializedName": "wireName", "doc": "Pass in true", "type": { - "$id": "4", + "$id": "8", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -33,9 +67,9 @@ "decorators": [], "crossLanguageDefinitionId": "Serialization.EncodedName.Json.Property.JsonEncodedNameModel.defaultName", "serializationOptions": { - "$id": "5", + "$id": "9", "json": { - "$id": "6", + "$id": "10", "name": "wireName" } } @@ -45,7 +79,7 @@ ], "clients": [ { - "$id": "7", + "$id": "11", "kind": "client", "name": "JsonClient", "namespace": "Scm.Serialization.EncodedName.Json", @@ -53,12 +87,12 @@ "methods": [], "parameters": [ { - "$id": "8", + "$id": "12", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "9", + "$id": "13", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -72,9 +106,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "10", + "$id": "14", "type": { - "$id": "11", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -88,43 +122,30 @@ "apiVersions": [], "children": [ { - "$id": "12", + "$id": "16", "kind": "client", "name": "Property", "namespace": "Scm.Serialization.EncodedName.Json", "methods": [ { - "$id": "13", + "$id": "17", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "14", + "$id": "18", "name": "send", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "15", + "$id": "19", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "16", - "kind": "constant", - "name": "sendContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "17", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -137,11 +158,11 @@ "skipUrlEncoding": false }, { - "$id": "18", + "$id": "20", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "6" }, "location": "Body", "isApiVersion": false, @@ -156,7 +177,7 @@ ], "responses": [ { - "$id": "19", + "$id": "21", "statusCodes": [ 204 ], @@ -178,11 +199,11 @@ }, "parameters": [ { - "$id": "20", + "$id": "22", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "6" }, "location": "Body", "isApiVersion": false, @@ -195,12 +216,12 @@ "skipUrlEncoding": false }, { - "$id": "21", + "$id": "23", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "16" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -214,7 +235,7 @@ } ], "response": { - "$id": "22" + "$id": "24" }, "isOverride": false, "generateConvenient": true, @@ -222,36 +243,23 @@ "crossLanguageDefinitionId": "Serialization.EncodedName.Json.Property.send" }, { - "$id": "23", + "$id": "25", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "24", + "$id": "26", "name": "get", "resourceName": "Property", "accessibility": "public", "parameters": [ { - "$id": "25", + "$id": "27", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "26", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "27", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -271,7 +279,7 @@ 200 ], "bodyType": { - "$ref": "2" + "$ref": "6" }, "headers": [], "isErrorResponse": false, @@ -295,7 +303,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "26" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -311,7 +319,7 @@ "response": { "$id": "30", "type": { - "$ref": "2" + "$ref": "6" } }, "isOverride": false, @@ -356,7 +364,7 @@ "crossLanguageDefinitionId": "Serialization.EncodedName.Json.Property", "apiVersions": [], "parent": { - "$ref": "7" + "$ref": "11" } } ] diff --git a/test/CadlRanchProjectsNonAzure/server/endpoint/not-defined/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/server/endpoint/not-defined/tspCodeModel.json index db5a180f9aa..232921d344c 100644 --- a/test/CadlRanchProjectsNonAzure/server/endpoint/not-defined/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/server/endpoint/not-defined/tspCodeModel.json @@ -3,6 +3,7 @@ "name": "Server.Endpoint.NotDefined", "apiVersions": [], "enums": [], + "constants": [], "models": [], "clients": [ { diff --git a/test/CadlRanchProjectsNonAzure/special-words/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/special-words/tspCodeModel.json index 1249b309f06..6f70b3067ee 100644 --- a/test/CadlRanchProjectsNonAzure/special-words/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/special-words/tspCodeModel.json @@ -3,9 +3,555 @@ "name": "SpecialWords", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "withAndContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "withAsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "withAssertContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "withAsyncContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "withAwaitContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "withBreakContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "withClassContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "withConstructorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "withContinueContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "withDefContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "withDelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "withElifContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "withElseContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "withExceptContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "withExecContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "withFinallyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "withForContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "withFromContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "withGlobalContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "withIfContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "withImportContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "withInContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "withIsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "withLambdaContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "withNotContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "withOrContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "withPassContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "withRaiseContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "withReturnContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "withTryContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "withWhileContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "withWithContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "withYieldContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "sameAsModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "70", "kind": "model", "name": "and", "namespace": "Scm.SpecialWords", @@ -14,12 +560,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "71", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "4", + "$id": "72", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32,9 +578,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.and.name", "serializationOptions": { - "$id": "5", + "$id": "73", "json": { - "$id": "6", + "$id": "74", "name": "name" } } @@ -42,7 +588,7 @@ ] }, { - "$id": "7", + "$id": "75", "kind": "model", "name": "as", "namespace": "Scm.SpecialWords", @@ -51,12 +597,12 @@ "decorators": [], "properties": [ { - "$id": "8", + "$id": "76", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "9", + "$id": "77", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69,9 +615,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.as.name", "serializationOptions": { - "$id": "10", + "$id": "78", "json": { - "$id": "11", + "$id": "79", "name": "name" } } @@ -79,7 +625,7 @@ ] }, { - "$id": "12", + "$id": "80", "kind": "model", "name": "assert", "namespace": "Scm.SpecialWords", @@ -88,12 +634,12 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "81", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "14", + "$id": "82", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106,9 +652,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.assert.name", "serializationOptions": { - "$id": "15", + "$id": "83", "json": { - "$id": "16", + "$id": "84", "name": "name" } } @@ -116,7 +662,7 @@ ] }, { - "$id": "17", + "$id": "85", "kind": "model", "name": "async", "namespace": "Scm.SpecialWords", @@ -125,12 +671,12 @@ "decorators": [], "properties": [ { - "$id": "18", + "$id": "86", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "19", + "$id": "87", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -143,9 +689,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.async.name", "serializationOptions": { - "$id": "20", + "$id": "88", "json": { - "$id": "21", + "$id": "89", "name": "name" } } @@ -153,7 +699,7 @@ ] }, { - "$id": "22", + "$id": "90", "kind": "model", "name": "await", "namespace": "Scm.SpecialWords", @@ -162,12 +708,12 @@ "decorators": [], "properties": [ { - "$id": "23", + "$id": "91", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "24", + "$id": "92", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -180,9 +726,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.await.name", "serializationOptions": { - "$id": "25", + "$id": "93", "json": { - "$id": "26", + "$id": "94", "name": "name" } } @@ -190,7 +736,7 @@ ] }, { - "$id": "27", + "$id": "95", "kind": "model", "name": "break", "namespace": "Scm.SpecialWords", @@ -199,12 +745,12 @@ "decorators": [], "properties": [ { - "$id": "28", + "$id": "96", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "29", + "$id": "97", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -217,9 +763,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.break.name", "serializationOptions": { - "$id": "30", + "$id": "98", "json": { - "$id": "31", + "$id": "99", "name": "name" } } @@ -227,7 +773,7 @@ ] }, { - "$id": "32", + "$id": "100", "kind": "model", "name": "class", "namespace": "Scm.SpecialWords", @@ -236,12 +782,12 @@ "decorators": [], "properties": [ { - "$id": "33", + "$id": "101", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "34", + "$id": "102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -254,9 +800,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.class.name", "serializationOptions": { - "$id": "35", + "$id": "103", "json": { - "$id": "36", + "$id": "104", "name": "name" } } @@ -264,7 +810,7 @@ ] }, { - "$id": "37", + "$id": "105", "kind": "model", "name": "constructor", "namespace": "Scm.SpecialWords", @@ -273,12 +819,12 @@ "decorators": [], "properties": [ { - "$id": "38", + "$id": "106", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "39", + "$id": "107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -291,9 +837,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.constructor.name", "serializationOptions": { - "$id": "40", + "$id": "108", "json": { - "$id": "41", + "$id": "109", "name": "name" } } @@ -301,7 +847,7 @@ ] }, { - "$id": "42", + "$id": "110", "kind": "model", "name": "continue", "namespace": "Scm.SpecialWords", @@ -310,12 +856,12 @@ "decorators": [], "properties": [ { - "$id": "43", + "$id": "111", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "44", + "$id": "112", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -328,9 +874,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.continue.name", "serializationOptions": { - "$id": "45", + "$id": "113", "json": { - "$id": "46", + "$id": "114", "name": "name" } } @@ -338,7 +884,7 @@ ] }, { - "$id": "47", + "$id": "115", "kind": "model", "name": "def", "namespace": "Scm.SpecialWords", @@ -347,12 +893,12 @@ "decorators": [], "properties": [ { - "$id": "48", + "$id": "116", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "49", + "$id": "117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -365,9 +911,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.def.name", "serializationOptions": { - "$id": "50", + "$id": "118", "json": { - "$id": "51", + "$id": "119", "name": "name" } } @@ -375,7 +921,7 @@ ] }, { - "$id": "52", + "$id": "120", "kind": "model", "name": "del", "namespace": "Scm.SpecialWords", @@ -384,12 +930,12 @@ "decorators": [], "properties": [ { - "$id": "53", + "$id": "121", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "54", + "$id": "122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -402,9 +948,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.del.name", "serializationOptions": { - "$id": "55", + "$id": "123", "json": { - "$id": "56", + "$id": "124", "name": "name" } } @@ -412,7 +958,7 @@ ] }, { - "$id": "57", + "$id": "125", "kind": "model", "name": "elif", "namespace": "Scm.SpecialWords", @@ -421,12 +967,12 @@ "decorators": [], "properties": [ { - "$id": "58", + "$id": "126", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "59", + "$id": "127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -439,9 +985,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.elif.name", "serializationOptions": { - "$id": "60", + "$id": "128", "json": { - "$id": "61", + "$id": "129", "name": "name" } } @@ -449,7 +995,7 @@ ] }, { - "$id": "62", + "$id": "130", "kind": "model", "name": "else", "namespace": "Scm.SpecialWords", @@ -458,12 +1004,12 @@ "decorators": [], "properties": [ { - "$id": "63", + "$id": "131", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "64", + "$id": "132", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -476,9 +1022,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.else.name", "serializationOptions": { - "$id": "65", + "$id": "133", "json": { - "$id": "66", + "$id": "134", "name": "name" } } @@ -486,7 +1032,7 @@ ] }, { - "$id": "67", + "$id": "135", "kind": "model", "name": "except", "namespace": "Scm.SpecialWords", @@ -495,12 +1041,12 @@ "decorators": [], "properties": [ { - "$id": "68", + "$id": "136", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "69", + "$id": "137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -513,9 +1059,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.except.name", "serializationOptions": { - "$id": "70", + "$id": "138", "json": { - "$id": "71", + "$id": "139", "name": "name" } } @@ -523,7 +1069,7 @@ ] }, { - "$id": "72", + "$id": "140", "kind": "model", "name": "exec", "namespace": "Scm.SpecialWords", @@ -532,12 +1078,12 @@ "decorators": [], "properties": [ { - "$id": "73", + "$id": "141", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "74", + "$id": "142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -550,9 +1096,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.exec.name", "serializationOptions": { - "$id": "75", + "$id": "143", "json": { - "$id": "76", + "$id": "144", "name": "name" } } @@ -560,7 +1106,7 @@ ] }, { - "$id": "77", + "$id": "145", "kind": "model", "name": "finally", "namespace": "Scm.SpecialWords", @@ -569,12 +1115,12 @@ "decorators": [], "properties": [ { - "$id": "78", + "$id": "146", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "79", + "$id": "147", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -587,9 +1133,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.finally.name", "serializationOptions": { - "$id": "80", + "$id": "148", "json": { - "$id": "81", + "$id": "149", "name": "name" } } @@ -597,7 +1143,7 @@ ] }, { - "$id": "82", + "$id": "150", "kind": "model", "name": "for", "namespace": "Scm.SpecialWords", @@ -606,12 +1152,12 @@ "decorators": [], "properties": [ { - "$id": "83", + "$id": "151", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "84", + "$id": "152", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -624,9 +1170,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.for.name", "serializationOptions": { - "$id": "85", + "$id": "153", "json": { - "$id": "86", + "$id": "154", "name": "name" } } @@ -634,7 +1180,7 @@ ] }, { - "$id": "87", + "$id": "155", "kind": "model", "name": "from", "namespace": "Scm.SpecialWords", @@ -643,12 +1189,12 @@ "decorators": [], "properties": [ { - "$id": "88", + "$id": "156", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "89", + "$id": "157", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -661,9 +1207,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.from.name", "serializationOptions": { - "$id": "90", + "$id": "158", "json": { - "$id": "91", + "$id": "159", "name": "name" } } @@ -671,7 +1217,7 @@ ] }, { - "$id": "92", + "$id": "160", "kind": "model", "name": "global", "namespace": "Scm.SpecialWords", @@ -680,12 +1226,12 @@ "decorators": [], "properties": [ { - "$id": "93", + "$id": "161", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "94", + "$id": "162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -698,9 +1244,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.global.name", "serializationOptions": { - "$id": "95", + "$id": "163", "json": { - "$id": "96", + "$id": "164", "name": "name" } } @@ -708,7 +1254,7 @@ ] }, { - "$id": "97", + "$id": "165", "kind": "model", "name": "if", "namespace": "Scm.SpecialWords", @@ -717,12 +1263,12 @@ "decorators": [], "properties": [ { - "$id": "98", + "$id": "166", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "99", + "$id": "167", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -735,9 +1281,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.if.name", "serializationOptions": { - "$id": "100", + "$id": "168", "json": { - "$id": "101", + "$id": "169", "name": "name" } } @@ -745,7 +1291,7 @@ ] }, { - "$id": "102", + "$id": "170", "kind": "model", "name": "import", "namespace": "Scm.SpecialWords", @@ -754,12 +1300,12 @@ "decorators": [], "properties": [ { - "$id": "103", + "$id": "171", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "104", + "$id": "172", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -772,9 +1318,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.import.name", "serializationOptions": { - "$id": "105", + "$id": "173", "json": { - "$id": "106", + "$id": "174", "name": "name" } } @@ -782,7 +1328,7 @@ ] }, { - "$id": "107", + "$id": "175", "kind": "model", "name": "in", "namespace": "Scm.SpecialWords", @@ -791,12 +1337,12 @@ "decorators": [], "properties": [ { - "$id": "108", + "$id": "176", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "109", + "$id": "177", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -809,9 +1355,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.in.name", "serializationOptions": { - "$id": "110", + "$id": "178", "json": { - "$id": "111", + "$id": "179", "name": "name" } } @@ -819,7 +1365,7 @@ ] }, { - "$id": "112", + "$id": "180", "kind": "model", "name": "is", "namespace": "Scm.SpecialWords", @@ -828,12 +1374,12 @@ "decorators": [], "properties": [ { - "$id": "113", + "$id": "181", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "114", + "$id": "182", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -846,9 +1392,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.is.name", "serializationOptions": { - "$id": "115", + "$id": "183", "json": { - "$id": "116", + "$id": "184", "name": "name" } } @@ -856,7 +1402,7 @@ ] }, { - "$id": "117", + "$id": "185", "kind": "model", "name": "lambda", "namespace": "Scm.SpecialWords", @@ -865,12 +1411,12 @@ "decorators": [], "properties": [ { - "$id": "118", + "$id": "186", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "119", + "$id": "187", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -883,9 +1429,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.lambda.name", "serializationOptions": { - "$id": "120", + "$id": "188", "json": { - "$id": "121", + "$id": "189", "name": "name" } } @@ -893,7 +1439,7 @@ ] }, { - "$id": "122", + "$id": "190", "kind": "model", "name": "not", "namespace": "Scm.SpecialWords", @@ -902,12 +1448,12 @@ "decorators": [], "properties": [ { - "$id": "123", + "$id": "191", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "124", + "$id": "192", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -920,9 +1466,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.not.name", "serializationOptions": { - "$id": "125", + "$id": "193", "json": { - "$id": "126", + "$id": "194", "name": "name" } } @@ -930,7 +1476,7 @@ ] }, { - "$id": "127", + "$id": "195", "kind": "model", "name": "or", "namespace": "Scm.SpecialWords", @@ -939,12 +1485,12 @@ "decorators": [], "properties": [ { - "$id": "128", + "$id": "196", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "129", + "$id": "197", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -957,9 +1503,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.or.name", "serializationOptions": { - "$id": "130", + "$id": "198", "json": { - "$id": "131", + "$id": "199", "name": "name" } } @@ -967,7 +1513,7 @@ ] }, { - "$id": "132", + "$id": "200", "kind": "model", "name": "pass", "namespace": "Scm.SpecialWords", @@ -976,12 +1522,12 @@ "decorators": [], "properties": [ { - "$id": "133", + "$id": "201", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "134", + "$id": "202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -994,9 +1540,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.pass.name", "serializationOptions": { - "$id": "135", + "$id": "203", "json": { - "$id": "136", + "$id": "204", "name": "name" } } @@ -1004,7 +1550,7 @@ ] }, { - "$id": "137", + "$id": "205", "kind": "model", "name": "raise", "namespace": "Scm.SpecialWords", @@ -1013,12 +1559,12 @@ "decorators": [], "properties": [ { - "$id": "138", + "$id": "206", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "139", + "$id": "207", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1031,9 +1577,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.raise.name", "serializationOptions": { - "$id": "140", + "$id": "208", "json": { - "$id": "141", + "$id": "209", "name": "name" } } @@ -1041,7 +1587,7 @@ ] }, { - "$id": "142", + "$id": "210", "kind": "model", "name": "return", "namespace": "Scm.SpecialWords", @@ -1050,12 +1596,12 @@ "decorators": [], "properties": [ { - "$id": "143", + "$id": "211", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "144", + "$id": "212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1068,9 +1614,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.return.name", "serializationOptions": { - "$id": "145", + "$id": "213", "json": { - "$id": "146", + "$id": "214", "name": "name" } } @@ -1078,7 +1624,7 @@ ] }, { - "$id": "147", + "$id": "215", "kind": "model", "name": "try", "namespace": "Scm.SpecialWords", @@ -1087,12 +1633,12 @@ "decorators": [], "properties": [ { - "$id": "148", + "$id": "216", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "149", + "$id": "217", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1105,9 +1651,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.try.name", "serializationOptions": { - "$id": "150", + "$id": "218", "json": { - "$id": "151", + "$id": "219", "name": "name" } } @@ -1115,7 +1661,7 @@ ] }, { - "$id": "152", + "$id": "220", "kind": "model", "name": "while", "namespace": "Scm.SpecialWords", @@ -1124,12 +1670,12 @@ "decorators": [], "properties": [ { - "$id": "153", + "$id": "221", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "154", + "$id": "222", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1142,9 +1688,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.while.name", "serializationOptions": { - "$id": "155", + "$id": "223", "json": { - "$id": "156", + "$id": "224", "name": "name" } } @@ -1152,7 +1698,7 @@ ] }, { - "$id": "157", + "$id": "225", "kind": "model", "name": "with", "namespace": "Scm.SpecialWords", @@ -1161,12 +1707,12 @@ "decorators": [], "properties": [ { - "$id": "158", + "$id": "226", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "159", + "$id": "227", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1179,9 +1725,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.with.name", "serializationOptions": { - "$id": "160", + "$id": "228", "json": { - "$id": "161", + "$id": "229", "name": "name" } } @@ -1189,7 +1735,7 @@ ] }, { - "$id": "162", + "$id": "230", "kind": "model", "name": "yield", "namespace": "Scm.SpecialWords", @@ -1198,12 +1744,12 @@ "decorators": [], "properties": [ { - "$id": "163", + "$id": "231", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "164", + "$id": "232", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1216,9 +1762,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.Models.yield.name", "serializationOptions": { - "$id": "165", + "$id": "233", "json": { - "$id": "166", + "$id": "234", "name": "name" } } @@ -1226,7 +1772,7 @@ ] }, { - "$id": "167", + "$id": "235", "kind": "model", "name": "SameAsModel", "namespace": "Scm.SpecialWords", @@ -1235,12 +1781,12 @@ "decorators": [], "properties": [ { - "$id": "168", + "$id": "236", "kind": "property", "name": "SameAsModel", "serializedName": "SameAsModel", "type": { - "$id": "169", + "$id": "237", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1253,9 +1799,9 @@ "decorators": [], "crossLanguageDefinitionId": "SpecialWords.ModelProperties.SameAsModel.SameAsModel", "serializationOptions": { - "$id": "170", + "$id": "238", "json": { - "$id": "171", + "$id": "239", "name": "SameAsModel" } } @@ -1265,7 +1811,7 @@ ], "clients": [ { - "$id": "172", + "$id": "240", "kind": "client", "name": "SpecialWordsClient", "namespace": "Scm.SpecialWords", @@ -1273,12 +1819,12 @@ "methods": [], "parameters": [ { - "$id": "173", + "$id": "241", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "174", + "$id": "242", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1292,9 +1838,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "175", + "$id": "243", "type": { - "$id": "176", + "$id": "244", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1308,44 +1854,31 @@ "apiVersions": [], "children": [ { - "$id": "177", + "$id": "245", "kind": "client", "name": "Models", "namespace": "Scm.SpecialWords", "doc": "Verify model names", "methods": [ { - "$id": "178", + "$id": "246", "kind": "basic", "name": "withAnd", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "179", + "$id": "247", "name": "withAnd", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "180", + "$id": "248", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "181", - "kind": "constant", - "name": "withAndContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "182", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -1358,11 +1891,11 @@ "skipUrlEncoding": false }, { - "$id": "183", + "$id": "249", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "70" }, "location": "Body", "isApiVersion": false, @@ -1377,7 +1910,7 @@ ], "responses": [ { - "$id": "184", + "$id": "250", "statusCodes": [ 204 ], @@ -1399,11 +1932,11 @@ }, "parameters": [ { - "$id": "185", + "$id": "251", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "70" }, "location": "Body", "isApiVersion": false, @@ -1416,12 +1949,12 @@ "skipUrlEncoding": false }, { - "$id": "186", + "$id": "252", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "181" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -1435,7 +1968,7 @@ } ], "response": { - "$id": "187" + "$id": "253" }, "isOverride": false, "generateConvenient": true, @@ -1443,37 +1976,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAnd" }, { - "$id": "188", + "$id": "254", "kind": "basic", "name": "withAs", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "189", + "$id": "255", "name": "withAs", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "190", + "$id": "256", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "191", - "kind": "constant", - "name": "withAsContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "192", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -1486,11 +2006,11 @@ "skipUrlEncoding": false }, { - "$id": "193", + "$id": "257", "name": "body", "nameInRequest": "body", "type": { - "$ref": "7" + "$ref": "75" }, "location": "Body", "isApiVersion": false, @@ -1505,7 +2025,7 @@ ], "responses": [ { - "$id": "194", + "$id": "258", "statusCodes": [ 204 ], @@ -1527,11 +2047,11 @@ }, "parameters": [ { - "$id": "195", + "$id": "259", "name": "body", "nameInRequest": "body", "type": { - "$ref": "7" + "$ref": "75" }, "location": "Body", "isApiVersion": false, @@ -1544,12 +2064,12 @@ "skipUrlEncoding": false }, { - "$id": "196", + "$id": "260", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "191" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -1563,7 +2083,7 @@ } ], "response": { - "$id": "197" + "$id": "261" }, "isOverride": false, "generateConvenient": true, @@ -1571,37 +2091,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAs" }, { - "$id": "198", + "$id": "262", "kind": "basic", "name": "withAssert", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "199", + "$id": "263", "name": "withAssert", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "200", + "$id": "264", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "201", - "kind": "constant", - "name": "withAssertContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "202", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -1614,11 +2121,11 @@ "skipUrlEncoding": false }, { - "$id": "203", + "$id": "265", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "80" }, "location": "Body", "isApiVersion": false, @@ -1633,7 +2140,7 @@ ], "responses": [ { - "$id": "204", + "$id": "266", "statusCodes": [ 204 ], @@ -1655,11 +2162,11 @@ }, "parameters": [ { - "$id": "205", + "$id": "267", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "80" }, "location": "Body", "isApiVersion": false, @@ -1672,12 +2179,12 @@ "skipUrlEncoding": false }, { - "$id": "206", + "$id": "268", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "201" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -1691,7 +2198,7 @@ } ], "response": { - "$id": "207" + "$id": "269" }, "isOverride": false, "generateConvenient": true, @@ -1699,37 +2206,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAssert" }, { - "$id": "208", + "$id": "270", "kind": "basic", "name": "withAsync", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "209", + "$id": "271", "name": "withAsync", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "210", + "$id": "272", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "211", - "kind": "constant", - "name": "withAsyncContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "212", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -1742,11 +2236,11 @@ "skipUrlEncoding": false }, { - "$id": "213", + "$id": "273", "name": "body", "nameInRequest": "body", "type": { - "$ref": "17" + "$ref": "85" }, "location": "Body", "isApiVersion": false, @@ -1761,7 +2255,7 @@ ], "responses": [ { - "$id": "214", + "$id": "274", "statusCodes": [ 204 ], @@ -1783,11 +2277,11 @@ }, "parameters": [ { - "$id": "215", + "$id": "275", "name": "body", "nameInRequest": "body", "type": { - "$ref": "17" + "$ref": "85" }, "location": "Body", "isApiVersion": false, @@ -1800,12 +2294,12 @@ "skipUrlEncoding": false }, { - "$id": "216", + "$id": "276", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "211" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -1819,7 +2313,7 @@ } ], "response": { - "$id": "217" + "$id": "277" }, "isOverride": false, "generateConvenient": true, @@ -1827,37 +2321,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAsync" }, { - "$id": "218", + "$id": "278", "kind": "basic", "name": "withAwait", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "219", + "$id": "279", "name": "withAwait", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "220", + "$id": "280", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "221", - "kind": "constant", - "name": "withAwaitContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "222", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1870,11 +2351,11 @@ "skipUrlEncoding": false }, { - "$id": "223", + "$id": "281", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "90" }, "location": "Body", "isApiVersion": false, @@ -1889,7 +2370,7 @@ ], "responses": [ { - "$id": "224", + "$id": "282", "statusCodes": [ 204 ], @@ -1911,11 +2392,11 @@ }, "parameters": [ { - "$id": "225", + "$id": "283", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "90" }, "location": "Body", "isApiVersion": false, @@ -1928,12 +2409,12 @@ "skipUrlEncoding": false }, { - "$id": "226", + "$id": "284", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "221" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1947,7 +2428,7 @@ } ], "response": { - "$id": "227" + "$id": "285" }, "isOverride": false, "generateConvenient": true, @@ -1955,37 +2436,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAwait" }, { - "$id": "228", + "$id": "286", "kind": "basic", "name": "withBreak", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "229", + "$id": "287", "name": "withBreak", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "230", + "$id": "288", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "231", - "kind": "constant", - "name": "withBreakContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "232", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1998,11 +2466,11 @@ "skipUrlEncoding": false }, { - "$id": "233", + "$id": "289", "name": "body", "nameInRequest": "body", "type": { - "$ref": "27" + "$ref": "95" }, "location": "Body", "isApiVersion": false, @@ -2017,7 +2485,7 @@ ], "responses": [ { - "$id": "234", + "$id": "290", "statusCodes": [ 204 ], @@ -2039,11 +2507,11 @@ }, "parameters": [ { - "$id": "235", + "$id": "291", "name": "body", "nameInRequest": "body", "type": { - "$ref": "27" + "$ref": "95" }, "location": "Body", "isApiVersion": false, @@ -2056,12 +2524,12 @@ "skipUrlEncoding": false }, { - "$id": "236", + "$id": "292", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "231" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -2075,7 +2543,7 @@ } ], "response": { - "$id": "237" + "$id": "293" }, "isOverride": false, "generateConvenient": true, @@ -2083,37 +2551,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withBreak" }, { - "$id": "238", + "$id": "294", "kind": "basic", "name": "withClass", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "239", + "$id": "295", "name": "withClass", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "240", + "$id": "296", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "241", - "kind": "constant", - "name": "withClassContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "242", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -2126,11 +2581,11 @@ "skipUrlEncoding": false }, { - "$id": "243", + "$id": "297", "name": "body", "nameInRequest": "body", "type": { - "$ref": "32" + "$ref": "100" }, "location": "Body", "isApiVersion": false, @@ -2145,7 +2600,7 @@ ], "responses": [ { - "$id": "244", + "$id": "298", "statusCodes": [ 204 ], @@ -2167,11 +2622,11 @@ }, "parameters": [ { - "$id": "245", + "$id": "299", "name": "body", "nameInRequest": "body", "type": { - "$ref": "32" + "$ref": "100" }, "location": "Body", "isApiVersion": false, @@ -2184,12 +2639,12 @@ "skipUrlEncoding": false }, { - "$id": "246", + "$id": "300", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "241" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -2203,7 +2658,7 @@ } ], "response": { - "$id": "247" + "$id": "301" }, "isOverride": false, "generateConvenient": true, @@ -2211,37 +2666,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withClass" }, { - "$id": "248", + "$id": "302", "kind": "basic", "name": "withConstructor", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "249", + "$id": "303", "name": "withConstructor", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "250", + "$id": "304", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "251", - "kind": "constant", - "name": "withConstructorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "252", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -2254,11 +2696,11 @@ "skipUrlEncoding": false }, { - "$id": "253", + "$id": "305", "name": "body", "nameInRequest": "body", "type": { - "$ref": "37" + "$ref": "105" }, "location": "Body", "isApiVersion": false, @@ -2273,7 +2715,7 @@ ], "responses": [ { - "$id": "254", + "$id": "306", "statusCodes": [ 204 ], @@ -2295,11 +2737,11 @@ }, "parameters": [ { - "$id": "255", + "$id": "307", "name": "body", "nameInRequest": "body", "type": { - "$ref": "37" + "$ref": "105" }, "location": "Body", "isApiVersion": false, @@ -2312,12 +2754,12 @@ "skipUrlEncoding": false }, { - "$id": "256", + "$id": "308", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "251" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -2331,7 +2773,7 @@ } ], "response": { - "$id": "257" + "$id": "309" }, "isOverride": false, "generateConvenient": true, @@ -2339,37 +2781,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withConstructor" }, { - "$id": "258", + "$id": "310", "kind": "basic", "name": "withContinue", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "259", + "$id": "311", "name": "withContinue", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "260", + "$id": "312", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "261", - "kind": "constant", - "name": "withContinueContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "262", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -2382,11 +2811,11 @@ "skipUrlEncoding": false }, { - "$id": "263", + "$id": "313", "name": "body", "nameInRequest": "body", "type": { - "$ref": "42" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -2401,7 +2830,7 @@ ], "responses": [ { - "$id": "264", + "$id": "314", "statusCodes": [ 204 ], @@ -2423,11 +2852,11 @@ }, "parameters": [ { - "$id": "265", + "$id": "315", "name": "body", "nameInRequest": "body", "type": { - "$ref": "42" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -2440,12 +2869,12 @@ "skipUrlEncoding": false }, { - "$id": "266", + "$id": "316", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "261" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -2459,7 +2888,7 @@ } ], "response": { - "$id": "267" + "$id": "317" }, "isOverride": false, "generateConvenient": true, @@ -2467,37 +2896,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withContinue" }, { - "$id": "268", + "$id": "318", "kind": "basic", "name": "withDef", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "269", + "$id": "319", "name": "withDef", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "270", + "$id": "320", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "271", - "kind": "constant", - "name": "withDefContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "272", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -2510,11 +2926,11 @@ "skipUrlEncoding": false }, { - "$id": "273", + "$id": "321", "name": "body", "nameInRequest": "body", "type": { - "$ref": "47" + "$ref": "115" }, "location": "Body", "isApiVersion": false, @@ -2529,7 +2945,7 @@ ], "responses": [ { - "$id": "274", + "$id": "322", "statusCodes": [ 204 ], @@ -2551,11 +2967,11 @@ }, "parameters": [ { - "$id": "275", + "$id": "323", "name": "body", "nameInRequest": "body", "type": { - "$ref": "47" + "$ref": "115" }, "location": "Body", "isApiVersion": false, @@ -2568,12 +2984,12 @@ "skipUrlEncoding": false }, { - "$id": "276", + "$id": "324", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "271" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -2587,7 +3003,7 @@ } ], "response": { - "$id": "277" + "$id": "325" }, "isOverride": false, "generateConvenient": true, @@ -2595,37 +3011,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withDef" }, { - "$id": "278", + "$id": "326", "kind": "basic", "name": "withDel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "279", + "$id": "327", "name": "withDel", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "280", + "$id": "328", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "281", - "kind": "constant", - "name": "withDelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "282", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -2638,11 +3041,11 @@ "skipUrlEncoding": false }, { - "$id": "283", + "$id": "329", "name": "body", "nameInRequest": "body", "type": { - "$ref": "52" + "$ref": "120" }, "location": "Body", "isApiVersion": false, @@ -2657,7 +3060,7 @@ ], "responses": [ { - "$id": "284", + "$id": "330", "statusCodes": [ 204 ], @@ -2679,11 +3082,11 @@ }, "parameters": [ { - "$id": "285", + "$id": "331", "name": "body", "nameInRequest": "body", "type": { - "$ref": "52" + "$ref": "120" }, "location": "Body", "isApiVersion": false, @@ -2696,12 +3099,12 @@ "skipUrlEncoding": false }, { - "$id": "286", + "$id": "332", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "281" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -2715,7 +3118,7 @@ } ], "response": { - "$id": "287" + "$id": "333" }, "isOverride": false, "generateConvenient": true, @@ -2723,37 +3126,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withDel" }, { - "$id": "288", + "$id": "334", "kind": "basic", "name": "withElif", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "289", + "$id": "335", "name": "withElif", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "290", + "$id": "336", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "291", - "kind": "constant", - "name": "withElifContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "292", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -2766,11 +3156,11 @@ "skipUrlEncoding": false }, { - "$id": "293", + "$id": "337", "name": "body", "nameInRequest": "body", "type": { - "$ref": "57" + "$ref": "125" }, "location": "Body", "isApiVersion": false, @@ -2785,7 +3175,7 @@ ], "responses": [ { - "$id": "294", + "$id": "338", "statusCodes": [ 204 ], @@ -2807,11 +3197,11 @@ }, "parameters": [ { - "$id": "295", + "$id": "339", "name": "body", "nameInRequest": "body", "type": { - "$ref": "57" + "$ref": "125" }, "location": "Body", "isApiVersion": false, @@ -2824,12 +3214,12 @@ "skipUrlEncoding": false }, { - "$id": "296", + "$id": "340", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "291" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -2843,7 +3233,7 @@ } ], "response": { - "$id": "297" + "$id": "341" }, "isOverride": false, "generateConvenient": true, @@ -2851,37 +3241,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withElif" }, { - "$id": "298", + "$id": "342", "kind": "basic", "name": "withElse", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "299", + "$id": "343", "name": "withElse", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "300", + "$id": "344", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "301", - "kind": "constant", - "name": "withElseContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "302", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -2894,11 +3271,11 @@ "skipUrlEncoding": false }, { - "$id": "303", + "$id": "345", "name": "body", "nameInRequest": "body", "type": { - "$ref": "62" + "$ref": "130" }, "location": "Body", "isApiVersion": false, @@ -2913,7 +3290,7 @@ ], "responses": [ { - "$id": "304", + "$id": "346", "statusCodes": [ 204 ], @@ -2935,11 +3312,11 @@ }, "parameters": [ { - "$id": "305", + "$id": "347", "name": "body", "nameInRequest": "body", "type": { - "$ref": "62" + "$ref": "130" }, "location": "Body", "isApiVersion": false, @@ -2952,12 +3329,12 @@ "skipUrlEncoding": false }, { - "$id": "306", + "$id": "348", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "301" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -2971,7 +3348,7 @@ } ], "response": { - "$id": "307" + "$id": "349" }, "isOverride": false, "generateConvenient": true, @@ -2979,37 +3356,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withElse" }, { - "$id": "308", + "$id": "350", "kind": "basic", "name": "withExcept", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "309", + "$id": "351", "name": "withExcept", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "310", + "$id": "352", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "311", - "kind": "constant", - "name": "withExceptContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "312", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -3022,11 +3386,11 @@ "skipUrlEncoding": false }, { - "$id": "313", + "$id": "353", "name": "body", "nameInRequest": "body", "type": { - "$ref": "67" + "$ref": "135" }, "location": "Body", "isApiVersion": false, @@ -3041,7 +3405,7 @@ ], "responses": [ { - "$id": "314", + "$id": "354", "statusCodes": [ 204 ], @@ -3063,11 +3427,11 @@ }, "parameters": [ { - "$id": "315", + "$id": "355", "name": "body", "nameInRequest": "body", "type": { - "$ref": "67" + "$ref": "135" }, "location": "Body", "isApiVersion": false, @@ -3080,12 +3444,12 @@ "skipUrlEncoding": false }, { - "$id": "316", + "$id": "356", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "311" + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -3099,7 +3463,7 @@ } ], "response": { - "$id": "317" + "$id": "357" }, "isOverride": false, "generateConvenient": true, @@ -3107,37 +3471,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withExcept" }, { - "$id": "318", + "$id": "358", "kind": "basic", "name": "withExec", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "319", + "$id": "359", "name": "withExec", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "320", + "$id": "360", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "321", - "kind": "constant", - "name": "withExecContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "322", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -3150,11 +3501,11 @@ "skipUrlEncoding": false }, { - "$id": "323", + "$id": "361", "name": "body", "nameInRequest": "body", "type": { - "$ref": "72" + "$ref": "140" }, "location": "Body", "isApiVersion": false, @@ -3169,7 +3520,7 @@ ], "responses": [ { - "$id": "324", + "$id": "362", "statusCodes": [ 204 ], @@ -3191,11 +3542,11 @@ }, "parameters": [ { - "$id": "325", + "$id": "363", "name": "body", "nameInRequest": "body", "type": { - "$ref": "72" + "$ref": "140" }, "location": "Body", "isApiVersion": false, @@ -3208,12 +3559,12 @@ "skipUrlEncoding": false }, { - "$id": "326", + "$id": "364", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "321" + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -3227,7 +3578,7 @@ } ], "response": { - "$id": "327" + "$id": "365" }, "isOverride": false, "generateConvenient": true, @@ -3235,37 +3586,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withExec" }, { - "$id": "328", + "$id": "366", "kind": "basic", "name": "withFinally", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "329", + "$id": "367", "name": "withFinally", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "330", + "$id": "368", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "331", - "kind": "constant", - "name": "withFinallyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "332", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -3278,11 +3616,11 @@ "skipUrlEncoding": false }, { - "$id": "333", + "$id": "369", "name": "body", "nameInRequest": "body", "type": { - "$ref": "77" + "$ref": "145" }, "location": "Body", "isApiVersion": false, @@ -3297,7 +3635,7 @@ ], "responses": [ { - "$id": "334", + "$id": "370", "statusCodes": [ 204 ], @@ -3319,11 +3657,11 @@ }, "parameters": [ { - "$id": "335", + "$id": "371", "name": "body", "nameInRequest": "body", "type": { - "$ref": "77" + "$ref": "145" }, "location": "Body", "isApiVersion": false, @@ -3336,12 +3674,12 @@ "skipUrlEncoding": false }, { - "$id": "336", + "$id": "372", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "331" + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -3355,7 +3693,7 @@ } ], "response": { - "$id": "337" + "$id": "373" }, "isOverride": false, "generateConvenient": true, @@ -3363,37 +3701,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFinally" }, { - "$id": "338", + "$id": "374", "kind": "basic", "name": "withFor", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "339", + "$id": "375", "name": "withFor", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "340", + "$id": "376", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "341", - "kind": "constant", - "name": "withForContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "342", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -3406,11 +3731,11 @@ "skipUrlEncoding": false }, { - "$id": "343", + "$id": "377", "name": "body", "nameInRequest": "body", "type": { - "$ref": "82" + "$ref": "150" }, "location": "Body", "isApiVersion": false, @@ -3425,7 +3750,7 @@ ], "responses": [ { - "$id": "344", + "$id": "378", "statusCodes": [ 204 ], @@ -3447,11 +3772,11 @@ }, "parameters": [ { - "$id": "345", + "$id": "379", "name": "body", "nameInRequest": "body", "type": { - "$ref": "82" + "$ref": "150" }, "location": "Body", "isApiVersion": false, @@ -3464,12 +3789,12 @@ "skipUrlEncoding": false }, { - "$id": "346", + "$id": "380", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "341" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -3483,7 +3808,7 @@ } ], "response": { - "$id": "347" + "$id": "381" }, "isOverride": false, "generateConvenient": true, @@ -3491,37 +3816,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFor" }, { - "$id": "348", + "$id": "382", "kind": "basic", "name": "withFrom", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "349", + "$id": "383", "name": "withFrom", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "350", + "$id": "384", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "351", - "kind": "constant", - "name": "withFromContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "352", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -3534,11 +3846,11 @@ "skipUrlEncoding": false }, { - "$id": "353", + "$id": "385", "name": "body", "nameInRequest": "body", "type": { - "$ref": "87" + "$ref": "155" }, "location": "Body", "isApiVersion": false, @@ -3553,7 +3865,7 @@ ], "responses": [ { - "$id": "354", + "$id": "386", "statusCodes": [ 204 ], @@ -3575,11 +3887,11 @@ }, "parameters": [ { - "$id": "355", + "$id": "387", "name": "body", "nameInRequest": "body", "type": { - "$ref": "87" + "$ref": "155" }, "location": "Body", "isApiVersion": false, @@ -3592,12 +3904,12 @@ "skipUrlEncoding": false }, { - "$id": "356", + "$id": "388", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "351" + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -3611,7 +3923,7 @@ } ], "response": { - "$id": "357" + "$id": "389" }, "isOverride": false, "generateConvenient": true, @@ -3619,37 +3931,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFrom" }, { - "$id": "358", + "$id": "390", "kind": "basic", "name": "withGlobal", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "359", + "$id": "391", "name": "withGlobal", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "360", + "$id": "392", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "361", - "kind": "constant", - "name": "withGlobalContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "362", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -3662,11 +3961,11 @@ "skipUrlEncoding": false }, { - "$id": "363", + "$id": "393", "name": "body", "nameInRequest": "body", "type": { - "$ref": "92" + "$ref": "160" }, "location": "Body", "isApiVersion": false, @@ -3681,7 +3980,7 @@ ], "responses": [ { - "$id": "364", + "$id": "394", "statusCodes": [ 204 ], @@ -3703,11 +4002,11 @@ }, "parameters": [ { - "$id": "365", + "$id": "395", "name": "body", "nameInRequest": "body", "type": { - "$ref": "92" + "$ref": "160" }, "location": "Body", "isApiVersion": false, @@ -3720,12 +4019,12 @@ "skipUrlEncoding": false }, { - "$id": "366", + "$id": "396", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "361" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -3739,7 +4038,7 @@ } ], "response": { - "$id": "367" + "$id": "397" }, "isOverride": false, "generateConvenient": true, @@ -3747,37 +4046,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withGlobal" }, { - "$id": "368", + "$id": "398", "kind": "basic", "name": "withIf", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "369", + "$id": "399", "name": "withIf", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "370", + "$id": "400", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "371", - "kind": "constant", - "name": "withIfContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "372", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -3790,11 +4076,11 @@ "skipUrlEncoding": false }, { - "$id": "373", + "$id": "401", "name": "body", "nameInRequest": "body", "type": { - "$ref": "97" + "$ref": "165" }, "location": "Body", "isApiVersion": false, @@ -3809,7 +4095,7 @@ ], "responses": [ { - "$id": "374", + "$id": "402", "statusCodes": [ 204 ], @@ -3831,11 +4117,11 @@ }, "parameters": [ { - "$id": "375", + "$id": "403", "name": "body", "nameInRequest": "body", "type": { - "$ref": "97" + "$ref": "165" }, "location": "Body", "isApiVersion": false, @@ -3848,12 +4134,12 @@ "skipUrlEncoding": false }, { - "$id": "376", + "$id": "404", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "371" + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -3867,7 +4153,7 @@ } ], "response": { - "$id": "377" + "$id": "405" }, "isOverride": false, "generateConvenient": true, @@ -3875,37 +4161,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIf" }, { - "$id": "378", + "$id": "406", "kind": "basic", "name": "withImport", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "379", + "$id": "407", "name": "withImport", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "380", + "$id": "408", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "381", - "kind": "constant", - "name": "withImportContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "382", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3918,11 +4191,11 @@ "skipUrlEncoding": false }, { - "$id": "383", + "$id": "409", "name": "body", "nameInRequest": "body", "type": { - "$ref": "102" + "$ref": "170" }, "location": "Body", "isApiVersion": false, @@ -3937,7 +4210,7 @@ ], "responses": [ { - "$id": "384", + "$id": "410", "statusCodes": [ 204 ], @@ -3959,11 +4232,11 @@ }, "parameters": [ { - "$id": "385", + "$id": "411", "name": "body", "nameInRequest": "body", "type": { - "$ref": "102" + "$ref": "170" }, "location": "Body", "isApiVersion": false, @@ -3976,12 +4249,12 @@ "skipUrlEncoding": false }, { - "$id": "386", + "$id": "412", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "381" + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3995,7 +4268,7 @@ } ], "response": { - "$id": "387" + "$id": "413" }, "isOverride": false, "generateConvenient": true, @@ -4003,37 +4276,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withImport" }, { - "$id": "388", + "$id": "414", "kind": "basic", "name": "withIn", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "389", + "$id": "415", "name": "withIn", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "390", + "$id": "416", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "391", - "kind": "constant", - "name": "withInContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "392", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -4046,11 +4306,11 @@ "skipUrlEncoding": false }, { - "$id": "393", + "$id": "417", "name": "body", "nameInRequest": "body", "type": { - "$ref": "107" + "$ref": "175" }, "location": "Body", "isApiVersion": false, @@ -4065,7 +4325,7 @@ ], "responses": [ { - "$id": "394", + "$id": "418", "statusCodes": [ 204 ], @@ -4087,11 +4347,11 @@ }, "parameters": [ { - "$id": "395", + "$id": "419", "name": "body", "nameInRequest": "body", "type": { - "$ref": "107" + "$ref": "175" }, "location": "Body", "isApiVersion": false, @@ -4104,12 +4364,12 @@ "skipUrlEncoding": false }, { - "$id": "396", + "$id": "420", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "391" + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -4123,7 +4383,7 @@ } ], "response": { - "$id": "397" + "$id": "421" }, "isOverride": false, "generateConvenient": true, @@ -4131,37 +4391,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIn" }, { - "$id": "398", + "$id": "422", "kind": "basic", "name": "withIs", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "399", + "$id": "423", "name": "withIs", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "400", + "$id": "424", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "401", - "kind": "constant", - "name": "withIsContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "402", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -4174,11 +4421,11 @@ "skipUrlEncoding": false }, { - "$id": "403", + "$id": "425", "name": "body", "nameInRequest": "body", "type": { - "$ref": "112" + "$ref": "180" }, "location": "Body", "isApiVersion": false, @@ -4193,7 +4440,7 @@ ], "responses": [ { - "$id": "404", + "$id": "426", "statusCodes": [ 204 ], @@ -4215,11 +4462,11 @@ }, "parameters": [ { - "$id": "405", + "$id": "427", "name": "body", "nameInRequest": "body", "type": { - "$ref": "112" + "$ref": "180" }, "location": "Body", "isApiVersion": false, @@ -4232,12 +4479,12 @@ "skipUrlEncoding": false }, { - "$id": "406", + "$id": "428", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "401" + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -4251,7 +4498,7 @@ } ], "response": { - "$id": "407" + "$id": "429" }, "isOverride": false, "generateConvenient": true, @@ -4259,37 +4506,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIs" }, { - "$id": "408", + "$id": "430", "kind": "basic", "name": "withLambda", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "409", + "$id": "431", "name": "withLambda", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "410", + "$id": "432", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "411", - "kind": "constant", - "name": "withLambdaContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "412", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -4302,11 +4536,11 @@ "skipUrlEncoding": false }, { - "$id": "413", + "$id": "433", "name": "body", "nameInRequest": "body", "type": { - "$ref": "117" + "$ref": "185" }, "location": "Body", "isApiVersion": false, @@ -4321,7 +4555,7 @@ ], "responses": [ { - "$id": "414", + "$id": "434", "statusCodes": [ 204 ], @@ -4343,11 +4577,11 @@ }, "parameters": [ { - "$id": "415", + "$id": "435", "name": "body", "nameInRequest": "body", "type": { - "$ref": "117" + "$ref": "185" }, "location": "Body", "isApiVersion": false, @@ -4360,12 +4594,12 @@ "skipUrlEncoding": false }, { - "$id": "416", + "$id": "436", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "411" + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -4379,7 +4613,7 @@ } ], "response": { - "$id": "417" + "$id": "437" }, "isOverride": false, "generateConvenient": true, @@ -4387,37 +4621,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withLambda" }, { - "$id": "418", + "$id": "438", "kind": "basic", "name": "withNot", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "419", + "$id": "439", "name": "withNot", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "420", + "$id": "440", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "421", - "kind": "constant", - "name": "withNotContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "422", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -4430,11 +4651,11 @@ "skipUrlEncoding": false }, { - "$id": "423", + "$id": "441", "name": "body", "nameInRequest": "body", "type": { - "$ref": "122" + "$ref": "190" }, "location": "Body", "isApiVersion": false, @@ -4449,7 +4670,7 @@ ], "responses": [ { - "$id": "424", + "$id": "442", "statusCodes": [ 204 ], @@ -4471,11 +4692,11 @@ }, "parameters": [ { - "$id": "425", + "$id": "443", "name": "body", "nameInRequest": "body", "type": { - "$ref": "122" + "$ref": "190" }, "location": "Body", "isApiVersion": false, @@ -4488,12 +4709,12 @@ "skipUrlEncoding": false }, { - "$id": "426", + "$id": "444", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "421" + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -4507,7 +4728,7 @@ } ], "response": { - "$id": "427" + "$id": "445" }, "isOverride": false, "generateConvenient": true, @@ -4515,37 +4736,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withNot" }, { - "$id": "428", + "$id": "446", "kind": "basic", "name": "withOr", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "429", + "$id": "447", "name": "withOr", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "430", + "$id": "448", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "431", - "kind": "constant", - "name": "withOrContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "432", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -4558,11 +4766,11 @@ "skipUrlEncoding": false }, { - "$id": "433", + "$id": "449", "name": "body", "nameInRequest": "body", "type": { - "$ref": "127" + "$ref": "195" }, "location": "Body", "isApiVersion": false, @@ -4577,7 +4785,7 @@ ], "responses": [ { - "$id": "434", + "$id": "450", "statusCodes": [ 204 ], @@ -4599,11 +4807,11 @@ }, "parameters": [ { - "$id": "435", + "$id": "451", "name": "body", "nameInRequest": "body", "type": { - "$ref": "127" + "$ref": "195" }, "location": "Body", "isApiVersion": false, @@ -4616,12 +4824,12 @@ "skipUrlEncoding": false }, { - "$id": "436", + "$id": "452", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "431" + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -4635,7 +4843,7 @@ } ], "response": { - "$id": "437" + "$id": "453" }, "isOverride": false, "generateConvenient": true, @@ -4643,37 +4851,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withOr" }, { - "$id": "438", + "$id": "454", "kind": "basic", "name": "withPass", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "439", + "$id": "455", "name": "withPass", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "440", + "$id": "456", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "441", - "kind": "constant", - "name": "withPassContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "442", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -4686,11 +4881,11 @@ "skipUrlEncoding": false }, { - "$id": "443", + "$id": "457", "name": "body", "nameInRequest": "body", "type": { - "$ref": "132" + "$ref": "200" }, "location": "Body", "isApiVersion": false, @@ -4705,7 +4900,7 @@ ], "responses": [ { - "$id": "444", + "$id": "458", "statusCodes": [ 204 ], @@ -4727,11 +4922,11 @@ }, "parameters": [ { - "$id": "445", + "$id": "459", "name": "body", "nameInRequest": "body", "type": { - "$ref": "132" + "$ref": "200" }, "location": "Body", "isApiVersion": false, @@ -4744,12 +4939,12 @@ "skipUrlEncoding": false }, { - "$id": "446", + "$id": "460", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "441" + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -4763,7 +4958,7 @@ } ], "response": { - "$id": "447" + "$id": "461" }, "isOverride": false, "generateConvenient": true, @@ -4771,37 +4966,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withPass" }, { - "$id": "448", + "$id": "462", "kind": "basic", "name": "withRaise", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "449", + "$id": "463", "name": "withRaise", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "450", + "$id": "464", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "451", - "kind": "constant", - "name": "withRaiseContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "452", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -4814,11 +4996,11 @@ "skipUrlEncoding": false }, { - "$id": "453", + "$id": "465", "name": "body", "nameInRequest": "body", "type": { - "$ref": "137" + "$ref": "205" }, "location": "Body", "isApiVersion": false, @@ -4833,7 +5015,7 @@ ], "responses": [ { - "$id": "454", + "$id": "466", "statusCodes": [ 204 ], @@ -4855,11 +5037,11 @@ }, "parameters": [ { - "$id": "455", + "$id": "467", "name": "body", "nameInRequest": "body", "type": { - "$ref": "137" + "$ref": "205" }, "location": "Body", "isApiVersion": false, @@ -4872,12 +5054,12 @@ "skipUrlEncoding": false }, { - "$id": "456", + "$id": "468", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "451" + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -4891,7 +5073,7 @@ } ], "response": { - "$id": "457" + "$id": "469" }, "isOverride": false, "generateConvenient": true, @@ -4899,37 +5081,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withRaise" }, { - "$id": "458", + "$id": "470", "kind": "basic", "name": "withReturn", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "459", + "$id": "471", "name": "withReturn", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "460", + "$id": "472", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "461", - "kind": "constant", - "name": "withReturnContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "462", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -4942,11 +5111,11 @@ "skipUrlEncoding": false }, { - "$id": "463", + "$id": "473", "name": "body", "nameInRequest": "body", "type": { - "$ref": "142" + "$ref": "210" }, "location": "Body", "isApiVersion": false, @@ -4961,7 +5130,7 @@ ], "responses": [ { - "$id": "464", + "$id": "474", "statusCodes": [ 204 ], @@ -4983,11 +5152,11 @@ }, "parameters": [ { - "$id": "465", + "$id": "475", "name": "body", "nameInRequest": "body", "type": { - "$ref": "142" + "$ref": "210" }, "location": "Body", "isApiVersion": false, @@ -5000,12 +5169,12 @@ "skipUrlEncoding": false }, { - "$id": "466", + "$id": "476", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "461" + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -5019,7 +5188,7 @@ } ], "response": { - "$id": "467" + "$id": "477" }, "isOverride": false, "generateConvenient": true, @@ -5027,37 +5196,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withReturn" }, { - "$id": "468", + "$id": "478", "kind": "basic", "name": "withTry", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "469", + "$id": "479", "name": "withTry", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "470", + "$id": "480", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "471", - "kind": "constant", - "name": "withTryContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "472", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -5070,11 +5226,11 @@ "skipUrlEncoding": false }, { - "$id": "473", + "$id": "481", "name": "body", "nameInRequest": "body", "type": { - "$ref": "147" + "$ref": "215" }, "location": "Body", "isApiVersion": false, @@ -5089,7 +5245,7 @@ ], "responses": [ { - "$id": "474", + "$id": "482", "statusCodes": [ 204 ], @@ -5111,11 +5267,11 @@ }, "parameters": [ { - "$id": "475", + "$id": "483", "name": "body", "nameInRequest": "body", "type": { - "$ref": "147" + "$ref": "215" }, "location": "Body", "isApiVersion": false, @@ -5128,12 +5284,12 @@ "skipUrlEncoding": false }, { - "$id": "476", + "$id": "484", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "471" + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -5147,7 +5303,7 @@ } ], "response": { - "$id": "477" + "$id": "485" }, "isOverride": false, "generateConvenient": true, @@ -5155,37 +5311,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withTry" }, { - "$id": "478", + "$id": "486", "kind": "basic", "name": "withWhile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "479", + "$id": "487", "name": "withWhile", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "480", + "$id": "488", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "481", - "kind": "constant", - "name": "withWhileContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "482", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -5198,11 +5341,11 @@ "skipUrlEncoding": false }, { - "$id": "483", + "$id": "489", "name": "body", "nameInRequest": "body", "type": { - "$ref": "152" + "$ref": "220" }, "location": "Body", "isApiVersion": false, @@ -5217,7 +5360,7 @@ ], "responses": [ { - "$id": "484", + "$id": "490", "statusCodes": [ 204 ], @@ -5239,11 +5382,11 @@ }, "parameters": [ { - "$id": "485", + "$id": "491", "name": "body", "nameInRequest": "body", "type": { - "$ref": "152" + "$ref": "220" }, "location": "Body", "isApiVersion": false, @@ -5256,12 +5399,12 @@ "skipUrlEncoding": false }, { - "$id": "486", + "$id": "492", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "481" + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -5275,7 +5418,7 @@ } ], "response": { - "$id": "487" + "$id": "493" }, "isOverride": false, "generateConvenient": true, @@ -5283,37 +5426,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withWhile" }, { - "$id": "488", + "$id": "494", "kind": "basic", "name": "withWith", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "489", + "$id": "495", "name": "withWith", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "490", + "$id": "496", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "491", - "kind": "constant", - "name": "withWithContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "492", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -5326,11 +5456,11 @@ "skipUrlEncoding": false }, { - "$id": "493", + "$id": "497", "name": "body", "nameInRequest": "body", "type": { - "$ref": "157" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -5345,7 +5475,7 @@ ], "responses": [ { - "$id": "494", + "$id": "498", "statusCodes": [ 204 ], @@ -5367,11 +5497,11 @@ }, "parameters": [ { - "$id": "495", + "$id": "499", "name": "body", "nameInRequest": "body", "type": { - "$ref": "157" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -5384,12 +5514,12 @@ "skipUrlEncoding": false }, { - "$id": "496", + "$id": "500", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "491" + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -5403,7 +5533,7 @@ } ], "response": { - "$id": "497" + "$id": "501" }, "isOverride": false, "generateConvenient": true, @@ -5411,37 +5541,24 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withWith" }, { - "$id": "498", + "$id": "502", "kind": "basic", "name": "withYield", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "499", + "$id": "503", "name": "withYield", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "500", + "$id": "504", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "501", - "kind": "constant", - "name": "withYieldContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "502", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -5454,11 +5571,11 @@ "skipUrlEncoding": false }, { - "$id": "503", + "$id": "505", "name": "body", "nameInRequest": "body", "type": { - "$ref": "162" + "$ref": "230" }, "location": "Body", "isApiVersion": false, @@ -5473,7 +5590,7 @@ ], "responses": [ { - "$id": "504", + "$id": "506", "statusCodes": [ 204 ], @@ -5495,11 +5612,11 @@ }, "parameters": [ { - "$id": "505", + "$id": "507", "name": "body", "nameInRequest": "body", "type": { - "$ref": "162" + "$ref": "230" }, "location": "Body", "isApiVersion": false, @@ -5512,12 +5629,12 @@ "skipUrlEncoding": false }, { - "$id": "506", + "$id": "508", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "501" + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -5531,7 +5648,7 @@ } ], "response": { - "$id": "507" + "$id": "509" }, "isOverride": false, "generateConvenient": true, @@ -5541,12 +5658,12 @@ ], "parameters": [ { - "$id": "508", + "$id": "510", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "509", + "$id": "511", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5560,9 +5677,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "510", + "$id": "512", "type": { - "$id": "511", + "$id": "513", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5575,48 +5692,35 @@ "crossLanguageDefinitionId": "SpecialWords.Models", "apiVersions": [], "parent": { - "$ref": "172" + "$ref": "240" } }, { - "$id": "512", + "$id": "514", "kind": "client", "name": "ModelProperties", "namespace": "Scm.SpecialWords", "doc": "Verify model names", "methods": [ { - "$id": "513", + "$id": "515", "kind": "basic", "name": "sameAsModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "514", + "$id": "516", "name": "sameAsModel", "resourceName": "ModelProperties", "accessibility": "public", "parameters": [ { - "$id": "515", + "$id": "517", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "516", - "kind": "constant", - "name": "sameAsModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "517", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -5633,7 +5737,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "167" + "$ref": "235" }, "location": "Body", "isApiVersion": false, @@ -5674,7 +5778,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "167" + "$ref": "235" }, "location": "Body", "isApiVersion": false, @@ -5692,7 +5796,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "516" + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -5750,7 +5854,7 @@ "crossLanguageDefinitionId": "SpecialWords.ModelProperties", "apiVersions": [], "parent": { - "$ref": "172" + "$ref": "240" } }, { @@ -7117,7 +7221,7 @@ "crossLanguageDefinitionId": "SpecialWords.Operations", "apiVersions": [], "parent": { - "$ref": "172" + "$ref": "240" } }, { @@ -10020,7 +10124,7 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters", "apiVersions": [], "parent": { - "$ref": "172" + "$ref": "240" } } ] diff --git a/test/CadlRanchProjectsNonAzure/type/array/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/array/tspCodeModel.json index 4ee58fd4f3c..cb71e049532 100644 --- a/test/CadlRanchProjectsNonAzure/type/array/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/array/tspCodeModel.json @@ -3,9 +3,459 @@ "name": "Type.Array", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "putContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "putContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "getContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "putContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "getContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "putContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "getContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "putContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "getContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "putContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "getContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "putContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "getContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "putContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "getContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "putContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "getContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "putContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "getContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "putContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "getContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "putContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "getContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "putContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "getContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "putContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "58", "kind": "model", "name": "InnerModel", "namespace": "Scm._Type._Array", @@ -15,13 +465,13 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "59", "kind": "property", "name": "property", "serializedName": "property", "doc": "Required string property", "type": { - "$id": "4", + "$id": "60", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34,24 +484,24 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Array.InnerModel.property", "serializationOptions": { - "$id": "5", + "$id": "61", "json": { - "$id": "6", + "$id": "62", "name": "property" } } }, { - "$id": "7", + "$id": "63", "kind": "property", "name": "children", "serializedName": "children", "type": { - "$id": "8", + "$id": "64", "kind": "array", "name": "ArrayInnerModel", "valueType": { - "$ref": "2" + "$ref": "58" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -63,9 +513,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Array.InnerModel.children", "serializationOptions": { - "$id": "9", + "$id": "65", "json": { - "$id": "10", + "$id": "66", "name": "children" } } @@ -75,7 +525,7 @@ ], "clients": [ { - "$id": "11", + "$id": "67", "kind": "client", "name": "ArrayClient", "namespace": "Scm._Type._Array", @@ -83,12 +533,12 @@ "methods": [], "parameters": [ { - "$id": "12", + "$id": "68", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "13", + "$id": "69", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -102,9 +552,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "14", + "$id": "70", "type": { - "$id": "15", + "$id": "71", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -118,43 +568,30 @@ "apiVersions": [], "children": [ { - "$id": "16", + "$id": "72", "kind": "client", "name": "Int32Value", "namespace": "Scm._Type._Array", "doc": "Array of int32 values", "methods": [ { - "$id": "17", + "$id": "73", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "18", + "$id": "74", "name": "get", "resourceName": "Int32Value", "accessibility": "public", "parameters": [ { - "$id": "19", + "$id": "75", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "20", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "21", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -169,16 +606,16 @@ ], "responses": [ { - "$id": "22", + "$id": "76", "statusCodes": [ 200 ], "bodyType": { - "$id": "23", + "$id": "77", "kind": "array", "name": "Array", "valueType": { - "$id": "24", + "$id": "78", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -205,11 +642,11 @@ }, "parameters": [ { - "$id": "25", + "$id": "79", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "20" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -223,9 +660,9 @@ } ], "response": { - "$id": "26", + "$id": "80", "type": { - "$ref": "23" + "$ref": "77" } }, "isOverride": false, @@ -234,37 +671,24 @@ "crossLanguageDefinitionId": "Type.Array.Int32Value.get" }, { - "$id": "27", + "$id": "81", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "28", + "$id": "82", "name": "put", "resourceName": "Int32Value", "accessibility": "public", "parameters": [ { - "$id": "29", + "$id": "83", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "30", - "kind": "constant", - "name": "putContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "31", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -277,11 +701,11 @@ "skipUrlEncoding": false }, { - "$id": "32", + "$id": "84", "name": "body", "nameInRequest": "body", "type": { - "$ref": "23" + "$ref": "77" }, "location": "Body", "isApiVersion": false, @@ -296,7 +720,7 @@ ], "responses": [ { - "$id": "33", + "$id": "85", "statusCodes": [ 204 ], @@ -318,11 +742,11 @@ }, "parameters": [ { - "$id": "34", + "$id": "86", "name": "body", "nameInRequest": "body", "type": { - "$ref": "23" + "$ref": "77" }, "location": "Body", "isApiVersion": false, @@ -335,12 +759,12 @@ "skipUrlEncoding": false }, { - "$id": "35", + "$id": "87", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "30" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -354,7 +778,7 @@ } ], "response": { - "$id": "36" + "$id": "88" }, "isOverride": false, "generateConvenient": true, @@ -364,12 +788,12 @@ ], "parameters": [ { - "$id": "37", + "$id": "89", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "38", + "$id": "90", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -383,9 +807,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "39", + "$id": "91", "type": { - "$id": "40", + "$id": "92", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -398,47 +822,34 @@ "crossLanguageDefinitionId": "Type.Array.Int32Value", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "41", + "$id": "93", "kind": "client", "name": "Int64Value", "namespace": "Scm._Type._Array", "doc": "Array of int64 values", "methods": [ { - "$id": "42", + "$id": "94", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "43", + "$id": "95", "name": "get", "resourceName": "Int64Value", "accessibility": "public", "parameters": [ { - "$id": "44", + "$id": "96", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "45", - "kind": "constant", - "name": "getContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "46", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -453,16 +864,16 @@ ], "responses": [ { - "$id": "47", + "$id": "97", "statusCodes": [ 200 ], "bodyType": { - "$id": "48", + "$id": "98", "kind": "array", "name": "Array1", "valueType": { - "$id": "49", + "$id": "99", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -489,11 +900,11 @@ }, "parameters": [ { - "$id": "50", + "$id": "100", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "45" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -507,9 +918,9 @@ } ], "response": { - "$id": "51", + "$id": "101", "type": { - "$ref": "48" + "$ref": "98" } }, "isOverride": false, @@ -518,37 +929,24 @@ "crossLanguageDefinitionId": "Type.Array.Int64Value.get" }, { - "$id": "52", + "$id": "102", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "53", + "$id": "103", "name": "put", "resourceName": "Int64Value", "accessibility": "public", "parameters": [ { - "$id": "54", + "$id": "104", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "55", - "kind": "constant", - "name": "putContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "56", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -561,11 +959,11 @@ "skipUrlEncoding": false }, { - "$id": "57", + "$id": "105", "name": "body", "nameInRequest": "body", "type": { - "$ref": "48" + "$ref": "98" }, "location": "Body", "isApiVersion": false, @@ -580,7 +978,7 @@ ], "responses": [ { - "$id": "58", + "$id": "106", "statusCodes": [ 204 ], @@ -602,11 +1000,11 @@ }, "parameters": [ { - "$id": "59", + "$id": "107", "name": "body", "nameInRequest": "body", "type": { - "$ref": "48" + "$ref": "98" }, "location": "Body", "isApiVersion": false, @@ -619,12 +1017,12 @@ "skipUrlEncoding": false }, { - "$id": "60", + "$id": "108", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "55" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -638,7 +1036,7 @@ } ], "response": { - "$id": "61" + "$id": "109" }, "isOverride": false, "generateConvenient": true, @@ -648,12 +1046,12 @@ ], "parameters": [ { - "$id": "62", + "$id": "110", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "63", + "$id": "111", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -667,9 +1065,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "64", + "$id": "112", "type": { - "$id": "65", + "$id": "113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -682,47 +1080,34 @@ "crossLanguageDefinitionId": "Type.Array.Int64Value", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "66", + "$id": "114", "kind": "client", "name": "BooleanValue", "namespace": "Scm._Type._Array", "doc": "Array of boolean values", "methods": [ { - "$id": "67", + "$id": "115", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "68", + "$id": "116", "name": "get", "resourceName": "BooleanValue", "accessibility": "public", "parameters": [ { - "$id": "69", + "$id": "117", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "70", - "kind": "constant", - "name": "getContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "71", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -737,16 +1122,16 @@ ], "responses": [ { - "$id": "72", + "$id": "118", "statusCodes": [ 200 ], "bodyType": { - "$id": "73", + "$id": "119", "kind": "array", "name": "Array2", "valueType": { - "$id": "74", + "$id": "120", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -773,11 +1158,11 @@ }, "parameters": [ { - "$id": "75", + "$id": "121", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "70" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -791,9 +1176,9 @@ } ], "response": { - "$id": "76", + "$id": "122", "type": { - "$ref": "73" + "$ref": "119" } }, "isOverride": false, @@ -802,37 +1187,24 @@ "crossLanguageDefinitionId": "Type.Array.BooleanValue.get" }, { - "$id": "77", + "$id": "123", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "78", + "$id": "124", "name": "put", "resourceName": "BooleanValue", "accessibility": "public", "parameters": [ { - "$id": "79", + "$id": "125", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "80", - "kind": "constant", - "name": "putContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "81", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -845,11 +1217,11 @@ "skipUrlEncoding": false }, { - "$id": "82", + "$id": "126", "name": "body", "nameInRequest": "body", "type": { - "$ref": "73" + "$ref": "119" }, "location": "Body", "isApiVersion": false, @@ -864,7 +1236,7 @@ ], "responses": [ { - "$id": "83", + "$id": "127", "statusCodes": [ 204 ], @@ -886,11 +1258,11 @@ }, "parameters": [ { - "$id": "84", + "$id": "128", "name": "body", "nameInRequest": "body", "type": { - "$ref": "73" + "$ref": "119" }, "location": "Body", "isApiVersion": false, @@ -903,12 +1275,12 @@ "skipUrlEncoding": false }, { - "$id": "85", + "$id": "129", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "80" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -922,7 +1294,7 @@ } ], "response": { - "$id": "86" + "$id": "130" }, "isOverride": false, "generateConvenient": true, @@ -932,12 +1304,12 @@ ], "parameters": [ { - "$id": "87", + "$id": "131", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "88", + "$id": "132", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -951,9 +1323,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "89", + "$id": "133", "type": { - "$id": "90", + "$id": "134", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -966,47 +1338,34 @@ "crossLanguageDefinitionId": "Type.Array.BooleanValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "91", + "$id": "135", "kind": "client", "name": "StringValue", "namespace": "Scm._Type._Array", "doc": "Array of string values", "methods": [ { - "$id": "92", + "$id": "136", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "93", + "$id": "137", "name": "get", "resourceName": "StringValue", "accessibility": "public", "parameters": [ { - "$id": "94", + "$id": "138", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "95", - "kind": "constant", - "name": "getContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "96", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1021,16 +1380,16 @@ ], "responses": [ { - "$id": "97", + "$id": "139", "statusCodes": [ 200 ], "bodyType": { - "$id": "98", + "$id": "140", "kind": "array", "name": "Array3", "valueType": { - "$id": "99", + "$id": "141", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1057,11 +1416,11 @@ }, "parameters": [ { - "$id": "100", + "$id": "142", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "95" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1075,9 +1434,9 @@ } ], "response": { - "$id": "101", + "$id": "143", "type": { - "$ref": "98" + "$ref": "140" } }, "isOverride": false, @@ -1086,37 +1445,24 @@ "crossLanguageDefinitionId": "Type.Array.StringValue.get" }, { - "$id": "102", + "$id": "144", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "103", + "$id": "145", "name": "put", "resourceName": "StringValue", "accessibility": "public", "parameters": [ { - "$id": "104", + "$id": "146", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "105", - "kind": "constant", - "name": "putContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "106", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1129,11 +1475,11 @@ "skipUrlEncoding": false }, { - "$id": "107", + "$id": "147", "name": "body", "nameInRequest": "body", "type": { - "$ref": "98" + "$ref": "140" }, "location": "Body", "isApiVersion": false, @@ -1148,7 +1494,7 @@ ], "responses": [ { - "$id": "108", + "$id": "148", "statusCodes": [ 204 ], @@ -1170,11 +1516,11 @@ }, "parameters": [ { - "$id": "109", + "$id": "149", "name": "body", "nameInRequest": "body", "type": { - "$ref": "98" + "$ref": "140" }, "location": "Body", "isApiVersion": false, @@ -1187,12 +1533,12 @@ "skipUrlEncoding": false }, { - "$id": "110", + "$id": "150", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "105" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1206,7 +1552,7 @@ } ], "response": { - "$id": "111" + "$id": "151" }, "isOverride": false, "generateConvenient": true, @@ -1216,12 +1562,12 @@ ], "parameters": [ { - "$id": "112", + "$id": "152", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "113", + "$id": "153", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1235,9 +1581,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "114", + "$id": "154", "type": { - "$id": "115", + "$id": "155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1250,47 +1596,34 @@ "crossLanguageDefinitionId": "Type.Array.StringValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "116", + "$id": "156", "kind": "client", "name": "Float32Value", "namespace": "Scm._Type._Array", "doc": "Array of float values", "methods": [ { - "$id": "117", + "$id": "157", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "118", + "$id": "158", "name": "get", "resourceName": "Float32Value", "accessibility": "public", "parameters": [ { - "$id": "119", + "$id": "159", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "120", - "kind": "constant", - "name": "getContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "121", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1305,16 +1638,16 @@ ], "responses": [ { - "$id": "122", + "$id": "160", "statusCodes": [ 200 ], "bodyType": { - "$id": "123", + "$id": "161", "kind": "array", "name": "Array4", "valueType": { - "$id": "124", + "$id": "162", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1341,11 +1674,11 @@ }, "parameters": [ { - "$id": "125", + "$id": "163", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "120" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1359,9 +1692,9 @@ } ], "response": { - "$id": "126", + "$id": "164", "type": { - "$ref": "123" + "$ref": "161" } }, "isOverride": false, @@ -1370,37 +1703,24 @@ "crossLanguageDefinitionId": "Type.Array.Float32Value.get" }, { - "$id": "127", + "$id": "165", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "128", + "$id": "166", "name": "put", "resourceName": "Float32Value", "accessibility": "public", "parameters": [ { - "$id": "129", + "$id": "167", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "130", - "kind": "constant", - "name": "putContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "131", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1413,11 +1733,11 @@ "skipUrlEncoding": false }, { - "$id": "132", + "$id": "168", "name": "body", "nameInRequest": "body", "type": { - "$ref": "123" + "$ref": "161" }, "location": "Body", "isApiVersion": false, @@ -1432,7 +1752,7 @@ ], "responses": [ { - "$id": "133", + "$id": "169", "statusCodes": [ 204 ], @@ -1454,11 +1774,11 @@ }, "parameters": [ { - "$id": "134", + "$id": "170", "name": "body", "nameInRequest": "body", "type": { - "$ref": "123" + "$ref": "161" }, "location": "Body", "isApiVersion": false, @@ -1471,12 +1791,12 @@ "skipUrlEncoding": false }, { - "$id": "135", + "$id": "171", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "130" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1490,7 +1810,7 @@ } ], "response": { - "$id": "136" + "$id": "172" }, "isOverride": false, "generateConvenient": true, @@ -1500,12 +1820,12 @@ ], "parameters": [ { - "$id": "137", + "$id": "173", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "138", + "$id": "174", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1519,9 +1839,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "139", + "$id": "175", "type": { - "$id": "140", + "$id": "176", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1534,47 +1854,34 @@ "crossLanguageDefinitionId": "Type.Array.Float32Value", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "141", + "$id": "177", "kind": "client", "name": "DatetimeValue", "namespace": "Scm._Type._Array", "doc": "Array of datetime values", "methods": [ { - "$id": "142", + "$id": "178", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "143", + "$id": "179", "name": "get", "resourceName": "DatetimeValue", "accessibility": "public", "parameters": [ { - "$id": "144", + "$id": "180", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "145", - "kind": "constant", - "name": "getContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "146", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1589,21 +1896,21 @@ ], "responses": [ { - "$id": "147", + "$id": "181", "statusCodes": [ 200 ], "bodyType": { - "$id": "148", + "$id": "182", "kind": "array", "name": "Array5", "valueType": { - "$id": "149", + "$id": "183", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "150", + "$id": "184", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1633,11 +1940,11 @@ }, "parameters": [ { - "$id": "151", + "$id": "185", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "145" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1651,9 +1958,9 @@ } ], "response": { - "$id": "152", + "$id": "186", "type": { - "$ref": "148" + "$ref": "182" } }, "isOverride": false, @@ -1662,37 +1969,24 @@ "crossLanguageDefinitionId": "Type.Array.DatetimeValue.get" }, { - "$id": "153", + "$id": "187", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "154", + "$id": "188", "name": "put", "resourceName": "DatetimeValue", "accessibility": "public", "parameters": [ { - "$id": "155", + "$id": "189", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "156", - "kind": "constant", - "name": "putContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "157", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1705,11 +1999,11 @@ "skipUrlEncoding": false }, { - "$id": "158", + "$id": "190", "name": "body", "nameInRequest": "body", "type": { - "$ref": "148" + "$ref": "182" }, "location": "Body", "isApiVersion": false, @@ -1724,7 +2018,7 @@ ], "responses": [ { - "$id": "159", + "$id": "191", "statusCodes": [ 204 ], @@ -1746,11 +2040,11 @@ }, "parameters": [ { - "$id": "160", + "$id": "192", "name": "body", "nameInRequest": "body", "type": { - "$ref": "148" + "$ref": "182" }, "location": "Body", "isApiVersion": false, @@ -1763,12 +2057,12 @@ "skipUrlEncoding": false }, { - "$id": "161", + "$id": "193", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "156" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1782,7 +2076,7 @@ } ], "response": { - "$id": "162" + "$id": "194" }, "isOverride": false, "generateConvenient": true, @@ -1792,12 +2086,12 @@ ], "parameters": [ { - "$id": "163", + "$id": "195", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "164", + "$id": "196", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1811,9 +2105,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "165", + "$id": "197", "type": { - "$id": "166", + "$id": "198", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1826,47 +2120,34 @@ "crossLanguageDefinitionId": "Type.Array.DatetimeValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "167", + "$id": "199", "kind": "client", "name": "DurationValue", "namespace": "Scm._Type._Array", "doc": "Array of duration values", "methods": [ { - "$id": "168", + "$id": "200", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "169", + "$id": "201", "name": "get", "resourceName": "DurationValue", "accessibility": "public", "parameters": [ { - "$id": "170", + "$id": "202", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "171", - "kind": "constant", - "name": "getContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "172", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1881,21 +2162,21 @@ ], "responses": [ { - "$id": "173", + "$id": "203", "statusCodes": [ 200 ], "bodyType": { - "$id": "174", + "$id": "204", "kind": "array", "name": "Array6", "valueType": { - "$id": "175", + "$id": "205", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "176", + "$id": "206", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1925,11 +2206,11 @@ }, "parameters": [ { - "$id": "177", + "$id": "207", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "171" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1943,9 +2224,9 @@ } ], "response": { - "$id": "178", + "$id": "208", "type": { - "$ref": "174" + "$ref": "204" } }, "isOverride": false, @@ -1954,37 +2235,24 @@ "crossLanguageDefinitionId": "Type.Array.DurationValue.get" }, { - "$id": "179", + "$id": "209", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "180", + "$id": "210", "name": "put", "resourceName": "DurationValue", "accessibility": "public", "parameters": [ { - "$id": "181", + "$id": "211", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "182", - "kind": "constant", - "name": "putContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "183", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -1997,11 +2265,11 @@ "skipUrlEncoding": false }, { - "$id": "184", + "$id": "212", "name": "body", "nameInRequest": "body", "type": { - "$ref": "174" + "$ref": "204" }, "location": "Body", "isApiVersion": false, @@ -2016,7 +2284,7 @@ ], "responses": [ { - "$id": "185", + "$id": "213", "statusCodes": [ 204 ], @@ -2038,11 +2306,11 @@ }, "parameters": [ { - "$id": "186", + "$id": "214", "name": "body", "nameInRequest": "body", "type": { - "$ref": "174" + "$ref": "204" }, "location": "Body", "isApiVersion": false, @@ -2055,12 +2323,12 @@ "skipUrlEncoding": false }, { - "$id": "187", + "$id": "215", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "182" + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -2074,7 +2342,7 @@ } ], "response": { - "$id": "188" + "$id": "216" }, "isOverride": false, "generateConvenient": true, @@ -2084,12 +2352,12 @@ ], "parameters": [ { - "$id": "189", + "$id": "217", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "190", + "$id": "218", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2103,9 +2371,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "191", + "$id": "219", "type": { - "$id": "192", + "$id": "220", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2118,47 +2386,34 @@ "crossLanguageDefinitionId": "Type.Array.DurationValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "193", + "$id": "221", "kind": "client", "name": "UnknownValue", "namespace": "Scm._Type._Array", "doc": "Array of unknown values", "methods": [ { - "$id": "194", + "$id": "222", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "195", + "$id": "223", "name": "get", "resourceName": "UnknownValue", "accessibility": "public", "parameters": [ { - "$id": "196", + "$id": "224", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "197", - "kind": "constant", - "name": "getContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "198", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -2173,16 +2428,16 @@ ], "responses": [ { - "$id": "199", + "$id": "225", "statusCodes": [ 200 ], "bodyType": { - "$id": "200", + "$id": "226", "kind": "array", "name": "Array7", "valueType": { - "$id": "201", + "$id": "227", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -2209,11 +2464,11 @@ }, "parameters": [ { - "$id": "202", + "$id": "228", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "197" + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -2227,9 +2482,9 @@ } ], "response": { - "$id": "203", + "$id": "229", "type": { - "$ref": "200" + "$ref": "226" } }, "isOverride": false, @@ -2238,37 +2493,24 @@ "crossLanguageDefinitionId": "Type.Array.UnknownValue.get" }, { - "$id": "204", + "$id": "230", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "205", + "$id": "231", "name": "put", "resourceName": "UnknownValue", "accessibility": "public", "parameters": [ { - "$id": "206", + "$id": "232", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "207", - "kind": "constant", - "name": "putContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "208", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2281,11 +2523,11 @@ "skipUrlEncoding": false }, { - "$id": "209", + "$id": "233", "name": "body", "nameInRequest": "body", "type": { - "$ref": "200" + "$ref": "226" }, "location": "Body", "isApiVersion": false, @@ -2300,7 +2542,7 @@ ], "responses": [ { - "$id": "210", + "$id": "234", "statusCodes": [ 204 ], @@ -2322,11 +2564,11 @@ }, "parameters": [ { - "$id": "211", + "$id": "235", "name": "body", "nameInRequest": "body", "type": { - "$ref": "200" + "$ref": "226" }, "location": "Body", "isApiVersion": false, @@ -2339,12 +2581,12 @@ "skipUrlEncoding": false }, { - "$id": "212", + "$id": "236", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "207" + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2358,7 +2600,7 @@ } ], "response": { - "$id": "213" + "$id": "237" }, "isOverride": false, "generateConvenient": true, @@ -2368,12 +2610,12 @@ ], "parameters": [ { - "$id": "214", + "$id": "238", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "215", + "$id": "239", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2387,9 +2629,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "216", + "$id": "240", "type": { - "$id": "217", + "$id": "241", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2402,47 +2644,34 @@ "crossLanguageDefinitionId": "Type.Array.UnknownValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "218", + "$id": "242", "kind": "client", "name": "ModelValue", "namespace": "Scm._Type._Array", "doc": "Array of model values", "methods": [ { - "$id": "219", + "$id": "243", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "220", + "$id": "244", "name": "get", "resourceName": "ModelValue", "accessibility": "public", "parameters": [ { - "$id": "221", + "$id": "245", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "222", - "kind": "constant", - "name": "getContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "223", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2457,12 +2686,12 @@ ], "responses": [ { - "$id": "224", + "$id": "246", "statusCodes": [ 200 ], "bodyType": { - "$ref": "8" + "$ref": "64" }, "headers": [], "isErrorResponse": false, @@ -2482,11 +2711,11 @@ }, "parameters": [ { - "$id": "225", + "$id": "247", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "222" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2500,9 +2729,9 @@ } ], "response": { - "$id": "226", + "$id": "248", "type": { - "$ref": "8" + "$ref": "64" } }, "isOverride": false, @@ -2511,37 +2740,24 @@ "crossLanguageDefinitionId": "Type.Array.ModelValue.get" }, { - "$id": "227", + "$id": "249", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "228", + "$id": "250", "name": "put", "resourceName": "ModelValue", "accessibility": "public", "parameters": [ { - "$id": "229", + "$id": "251", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "230", - "kind": "constant", - "name": "putContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "231", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2554,11 +2770,11 @@ "skipUrlEncoding": false }, { - "$id": "232", + "$id": "252", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "64" }, "location": "Body", "isApiVersion": false, @@ -2573,7 +2789,7 @@ ], "responses": [ { - "$id": "233", + "$id": "253", "statusCodes": [ 204 ], @@ -2595,11 +2811,11 @@ }, "parameters": [ { - "$id": "234", + "$id": "254", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "64" }, "location": "Body", "isApiVersion": false, @@ -2612,12 +2828,12 @@ "skipUrlEncoding": false }, { - "$id": "235", + "$id": "255", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "230" + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2631,7 +2847,7 @@ } ], "response": { - "$id": "236" + "$id": "256" }, "isOverride": false, "generateConvenient": true, @@ -2641,12 +2857,12 @@ ], "parameters": [ { - "$id": "237", + "$id": "257", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "238", + "$id": "258", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2660,9 +2876,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "239", + "$id": "259", "type": { - "$id": "240", + "$id": "260", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2675,47 +2891,34 @@ "crossLanguageDefinitionId": "Type.Array.ModelValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "241", + "$id": "261", "kind": "client", "name": "NullableFloatValue", "namespace": "Scm._Type._Array", "doc": "Array of nullable float values", "methods": [ { - "$id": "242", + "$id": "262", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "243", + "$id": "263", "name": "get", "resourceName": "NullableFloatValue", "accessibility": "public", "parameters": [ { - "$id": "244", + "$id": "264", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "245", - "kind": "constant", - "name": "getContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "246", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2730,19 +2933,19 @@ ], "responses": [ { - "$id": "247", + "$id": "265", "statusCodes": [ 200 ], "bodyType": { - "$id": "248", + "$id": "266", "kind": "array", "name": "Array8", "valueType": { - "$id": "249", + "$id": "267", "kind": "nullable", "type": { - "$id": "250", + "$id": "268", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -2771,11 +2974,11 @@ }, "parameters": [ { - "$id": "251", + "$id": "269", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "245" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2789,9 +2992,9 @@ } ], "response": { - "$id": "252", + "$id": "270", "type": { - "$ref": "248" + "$ref": "266" } }, "isOverride": false, @@ -2800,37 +3003,24 @@ "crossLanguageDefinitionId": "Type.Array.NullableFloatValue.get" }, { - "$id": "253", + "$id": "271", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "254", + "$id": "272", "name": "put", "resourceName": "NullableFloatValue", "accessibility": "public", "parameters": [ { - "$id": "255", + "$id": "273", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "256", - "kind": "constant", - "name": "putContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "257", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2843,11 +3033,11 @@ "skipUrlEncoding": false }, { - "$id": "258", + "$id": "274", "name": "body", "nameInRequest": "body", "type": { - "$ref": "248" + "$ref": "266" }, "location": "Body", "isApiVersion": false, @@ -2862,7 +3052,7 @@ ], "responses": [ { - "$id": "259", + "$id": "275", "statusCodes": [ 204 ], @@ -2884,11 +3074,11 @@ }, "parameters": [ { - "$id": "260", + "$id": "276", "name": "body", "nameInRequest": "body", "type": { - "$ref": "248" + "$ref": "266" }, "location": "Body", "isApiVersion": false, @@ -2901,12 +3091,12 @@ "skipUrlEncoding": false }, { - "$id": "261", + "$id": "277", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "256" + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2920,7 +3110,7 @@ } ], "response": { - "$id": "262" + "$id": "278" }, "isOverride": false, "generateConvenient": true, @@ -2930,12 +3120,12 @@ ], "parameters": [ { - "$id": "263", + "$id": "279", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "264", + "$id": "280", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2949,9 +3139,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "265", + "$id": "281", "type": { - "$id": "266", + "$id": "282", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2964,47 +3154,34 @@ "crossLanguageDefinitionId": "Type.Array.NullableFloatValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "267", + "$id": "283", "kind": "client", "name": "NullableInt32Value", "namespace": "Scm._Type._Array", "doc": "Array of nullable int32 values", "methods": [ { - "$id": "268", + "$id": "284", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "269", + "$id": "285", "name": "get", "resourceName": "NullableInt32Value", "accessibility": "public", "parameters": [ { - "$id": "270", + "$id": "286", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "271", - "kind": "constant", - "name": "getContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "272", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3019,19 +3196,19 @@ ], "responses": [ { - "$id": "273", + "$id": "287", "statusCodes": [ 200 ], "bodyType": { - "$id": "274", + "$id": "288", "kind": "array", "name": "Array9", "valueType": { - "$id": "275", + "$id": "289", "kind": "nullable", "type": { - "$id": "276", + "$id": "290", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -3060,11 +3237,11 @@ }, "parameters": [ { - "$id": "277", + "$id": "291", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "271" + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3078,9 +3255,9 @@ } ], "response": { - "$id": "278", + "$id": "292", "type": { - "$ref": "274" + "$ref": "288" } }, "isOverride": false, @@ -3089,37 +3266,24 @@ "crossLanguageDefinitionId": "Type.Array.NullableInt32Value.get" }, { - "$id": "279", + "$id": "293", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "280", + "$id": "294", "name": "put", "resourceName": "NullableInt32Value", "accessibility": "public", "parameters": [ { - "$id": "281", + "$id": "295", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "282", - "kind": "constant", - "name": "putContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "283", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -3132,11 +3296,11 @@ "skipUrlEncoding": false }, { - "$id": "284", + "$id": "296", "name": "body", "nameInRequest": "body", "type": { - "$ref": "274" + "$ref": "288" }, "location": "Body", "isApiVersion": false, @@ -3151,7 +3315,7 @@ ], "responses": [ { - "$id": "285", + "$id": "297", "statusCodes": [ 204 ], @@ -3173,11 +3337,11 @@ }, "parameters": [ { - "$id": "286", + "$id": "298", "name": "body", "nameInRequest": "body", "type": { - "$ref": "274" + "$ref": "288" }, "location": "Body", "isApiVersion": false, @@ -3190,12 +3354,12 @@ "skipUrlEncoding": false }, { - "$id": "287", + "$id": "299", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "282" + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -3209,7 +3373,7 @@ } ], "response": { - "$id": "288" + "$id": "300" }, "isOverride": false, "generateConvenient": true, @@ -3219,12 +3383,12 @@ ], "parameters": [ { - "$id": "289", + "$id": "301", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "290", + "$id": "302", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3238,9 +3402,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "291", + "$id": "303", "type": { - "$id": "292", + "$id": "304", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3253,47 +3417,34 @@ "crossLanguageDefinitionId": "Type.Array.NullableInt32Value", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "293", + "$id": "305", "kind": "client", "name": "NullableBooleanValue", "namespace": "Scm._Type._Array", "doc": "Array of nullable boolean values", "methods": [ { - "$id": "294", + "$id": "306", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "295", + "$id": "307", "name": "get", "resourceName": "NullableBooleanValue", "accessibility": "public", "parameters": [ { - "$id": "296", + "$id": "308", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "297", - "kind": "constant", - "name": "getContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "298", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -3308,19 +3459,19 @@ ], "responses": [ { - "$id": "299", + "$id": "309", "statusCodes": [ 200 ], "bodyType": { - "$id": "300", + "$id": "310", "kind": "array", "name": "Array10", "valueType": { - "$id": "301", + "$id": "311", "kind": "nullable", "type": { - "$id": "302", + "$id": "312", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -3349,11 +3500,11 @@ }, "parameters": [ { - "$id": "303", + "$id": "313", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "297" + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -3367,9 +3518,9 @@ } ], "response": { - "$id": "304", + "$id": "314", "type": { - "$ref": "300" + "$ref": "310" } }, "isOverride": false, @@ -3378,37 +3529,24 @@ "crossLanguageDefinitionId": "Type.Array.NullableBooleanValue.get" }, { - "$id": "305", + "$id": "315", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "306", + "$id": "316", "name": "put", "resourceName": "NullableBooleanValue", "accessibility": "public", "parameters": [ { - "$id": "307", + "$id": "317", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "308", - "kind": "constant", - "name": "putContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "309", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -3421,11 +3559,11 @@ "skipUrlEncoding": false }, { - "$id": "310", + "$id": "318", "name": "body", "nameInRequest": "body", "type": { - "$ref": "300" + "$ref": "310" }, "location": "Body", "isApiVersion": false, @@ -3440,7 +3578,7 @@ ], "responses": [ { - "$id": "311", + "$id": "319", "statusCodes": [ 204 ], @@ -3462,11 +3600,11 @@ }, "parameters": [ { - "$id": "312", + "$id": "320", "name": "body", "nameInRequest": "body", "type": { - "$ref": "300" + "$ref": "310" }, "location": "Body", "isApiVersion": false, @@ -3479,12 +3617,12 @@ "skipUrlEncoding": false }, { - "$id": "313", + "$id": "321", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "308" + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -3498,7 +3636,7 @@ } ], "response": { - "$id": "314" + "$id": "322" }, "isOverride": false, "generateConvenient": true, @@ -3508,12 +3646,12 @@ ], "parameters": [ { - "$id": "315", + "$id": "323", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "316", + "$id": "324", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3527,9 +3665,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "317", + "$id": "325", "type": { - "$id": "318", + "$id": "326", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3542,47 +3680,34 @@ "crossLanguageDefinitionId": "Type.Array.NullableBooleanValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "319", + "$id": "327", "kind": "client", "name": "NullableStringValue", "namespace": "Scm._Type._Array", "doc": "Array of nullable string values", "methods": [ { - "$id": "320", + "$id": "328", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "321", + "$id": "329", "name": "get", "resourceName": "NullableStringValue", "accessibility": "public", "parameters": [ { - "$id": "322", + "$id": "330", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "323", - "kind": "constant", - "name": "getContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "324", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -3597,19 +3722,19 @@ ], "responses": [ { - "$id": "325", + "$id": "331", "statusCodes": [ 200 ], "bodyType": { - "$id": "326", + "$id": "332", "kind": "array", "name": "Array11", "valueType": { - "$id": "327", + "$id": "333", "kind": "nullable", "type": { - "$id": "328", + "$id": "334", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3638,11 +3763,11 @@ }, "parameters": [ { - "$id": "329", + "$id": "335", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "323" + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -3656,9 +3781,9 @@ } ], "response": { - "$id": "330", + "$id": "336", "type": { - "$ref": "326" + "$ref": "332" } }, "isOverride": false, @@ -3667,37 +3792,24 @@ "crossLanguageDefinitionId": "Type.Array.NullableStringValue.get" }, { - "$id": "331", + "$id": "337", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "332", + "$id": "338", "name": "put", "resourceName": "NullableStringValue", "accessibility": "public", "parameters": [ { - "$id": "333", + "$id": "339", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "334", - "kind": "constant", - "name": "putContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "335", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -3710,11 +3822,11 @@ "skipUrlEncoding": false }, { - "$id": "336", + "$id": "340", "name": "body", "nameInRequest": "body", "type": { - "$ref": "326" + "$ref": "332" }, "location": "Body", "isApiVersion": false, @@ -3729,7 +3841,7 @@ ], "responses": [ { - "$id": "337", + "$id": "341", "statusCodes": [ 204 ], @@ -3751,11 +3863,11 @@ }, "parameters": [ { - "$id": "338", + "$id": "342", "name": "body", "nameInRequest": "body", "type": { - "$ref": "326" + "$ref": "332" }, "location": "Body", "isApiVersion": false, @@ -3768,12 +3880,12 @@ "skipUrlEncoding": false }, { - "$id": "339", + "$id": "343", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "334" + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -3787,7 +3899,7 @@ } ], "response": { - "$id": "340" + "$id": "344" }, "isOverride": false, "generateConvenient": true, @@ -3797,12 +3909,12 @@ ], "parameters": [ { - "$id": "341", + "$id": "345", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "342", + "$id": "346", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3816,9 +3928,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "343", + "$id": "347", "type": { - "$id": "344", + "$id": "348", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3831,47 +3943,34 @@ "crossLanguageDefinitionId": "Type.Array.NullableStringValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } }, { - "$id": "345", + "$id": "349", "kind": "client", "name": "NullableModelValue", "namespace": "Scm._Type._Array", "doc": "Array of nullable model values", "methods": [ { - "$id": "346", + "$id": "350", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "347", + "$id": "351", "name": "get", "resourceName": "NullableModelValue", "accessibility": "public", "parameters": [ { - "$id": "348", + "$id": "352", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "349", - "kind": "constant", - "name": "getContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "350", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -3886,19 +3985,19 @@ ], "responses": [ { - "$id": "351", + "$id": "353", "statusCodes": [ 200 ], "bodyType": { - "$id": "352", + "$id": "354", "kind": "array", "name": "Array12", "valueType": { - "$id": "353", + "$id": "355", "kind": "nullable", "type": { - "$ref": "2" + "$ref": "58" }, "namespace": "" }, @@ -3923,11 +4022,11 @@ }, "parameters": [ { - "$id": "354", + "$id": "356", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "349" + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -3941,9 +4040,9 @@ } ], "response": { - "$id": "355", + "$id": "357", "type": { - "$ref": "352" + "$ref": "354" } }, "isOverride": false, @@ -3952,37 +4051,24 @@ "crossLanguageDefinitionId": "Type.Array.NullableModelValue.get" }, { - "$id": "356", + "$id": "358", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "357", + "$id": "359", "name": "put", "resourceName": "NullableModelValue", "accessibility": "public", "parameters": [ { - "$id": "358", + "$id": "360", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "359", - "kind": "constant", - "name": "putContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "360", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -3999,7 +4085,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "352" + "$ref": "354" }, "location": "Body", "isApiVersion": false, @@ -4040,7 +4126,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "352" + "$ref": "354" }, "location": "Body", "isApiVersion": false, @@ -4058,7 +4144,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "359" + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -4116,7 +4202,7 @@ "crossLanguageDefinitionId": "Type.Array.NullableModelValue", "apiVersions": [], "parent": { - "$ref": "11" + "$ref": "67" } } ] diff --git a/test/CadlRanchProjectsNonAzure/type/dictionary/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/dictionary/tspCodeModel.json index 5d11989faed..f2460a086ef 100644 --- a/test/CadlRanchProjectsNonAzure/type/dictionary/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/dictionary/tspCodeModel.json @@ -3,9 +3,363 @@ "name": "Type.Dictionary", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "putContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "putContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "getContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "putContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "getContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "putContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "getContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "putContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "getContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "putContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "getContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "putContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "getContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "putContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "getContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "putContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "getContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "putContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "getContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "putContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "46", "kind": "model", "name": "InnerModel", "namespace": "Scm._Type._Dictionary", @@ -15,13 +369,13 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "47", "kind": "property", "name": "property", "serializedName": "property", "doc": "Required string property", "type": { - "$id": "4", + "$id": "48", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34,30 +388,30 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Dictionary.InnerModel.property", "serializationOptions": { - "$id": "5", + "$id": "49", "json": { - "$id": "6", + "$id": "50", "name": "property" } } }, { - "$id": "7", + "$id": "51", "kind": "property", "name": "children", "serializedName": "children", "type": { - "$id": "8", + "$id": "52", "kind": "dict", "keyType": { - "$id": "9", + "$id": "53", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "2" + "$ref": "46" }, "decorators": [] }, @@ -68,9 +422,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Dictionary.InnerModel.children", "serializationOptions": { - "$id": "10", + "$id": "54", "json": { - "$id": "11", + "$id": "55", "name": "children" } } @@ -80,7 +434,7 @@ ], "clients": [ { - "$id": "12", + "$id": "56", "kind": "client", "name": "DictionaryClient", "namespace": "Scm._Type._Dictionary", @@ -88,12 +442,12 @@ "methods": [], "parameters": [ { - "$id": "13", + "$id": "57", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "14", + "$id": "58", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -107,9 +461,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "15", + "$id": "59", "type": { - "$id": "16", + "$id": "60", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -123,43 +477,30 @@ "apiVersions": [], "children": [ { - "$id": "17", + "$id": "61", "kind": "client", "name": "Int32Value", "namespace": "Scm._Type._Dictionary", "doc": "Dictionary of int32 values", "methods": [ { - "$id": "18", + "$id": "62", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "19", + "$id": "63", "name": "get", "resourceName": "Int32Value", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "64", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "21", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -174,22 +515,22 @@ ], "responses": [ { - "$id": "23", + "$id": "65", "statusCodes": [ 200 ], "bodyType": { - "$id": "24", + "$id": "66", "kind": "dict", "keyType": { - "$id": "25", + "$id": "67", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "26", + "$id": "68", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -215,11 +556,11 @@ }, "parameters": [ { - "$id": "27", + "$id": "69", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "21" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -233,9 +574,9 @@ } ], "response": { - "$id": "28", + "$id": "70", "type": { - "$ref": "24" + "$ref": "66" } }, "isOverride": false, @@ -244,37 +585,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.Int32Value.get" }, { - "$id": "29", + "$id": "71", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "30", + "$id": "72", "name": "put", "resourceName": "Int32Value", "accessibility": "public", "parameters": [ { - "$id": "31", + "$id": "73", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "32", - "kind": "constant", - "name": "putContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "33", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -287,11 +615,11 @@ "skipUrlEncoding": false }, { - "$id": "34", + "$id": "74", "name": "body", "nameInRequest": "body", "type": { - "$ref": "24" + "$ref": "66" }, "location": "Body", "isApiVersion": false, @@ -306,7 +634,7 @@ ], "responses": [ { - "$id": "35", + "$id": "75", "statusCodes": [ 204 ], @@ -328,11 +656,11 @@ }, "parameters": [ { - "$id": "36", + "$id": "76", "name": "body", "nameInRequest": "body", "type": { - "$ref": "24" + "$ref": "66" }, "location": "Body", "isApiVersion": false, @@ -345,12 +673,12 @@ "skipUrlEncoding": false }, { - "$id": "37", + "$id": "77", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "32" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -364,7 +692,7 @@ } ], "response": { - "$id": "38" + "$id": "78" }, "isOverride": false, "generateConvenient": true, @@ -374,12 +702,12 @@ ], "parameters": [ { - "$id": "39", + "$id": "79", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "40", + "$id": "80", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -393,9 +721,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "41", + "$id": "81", "type": { - "$id": "42", + "$id": "82", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -408,47 +736,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.Int32Value", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "43", + "$id": "83", "kind": "client", "name": "Int64Value", "namespace": "Scm._Type._Dictionary", "doc": "Dictionary of int64 values", "methods": [ { - "$id": "44", + "$id": "84", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "45", + "$id": "85", "name": "get", "resourceName": "Int64Value", "accessibility": "public", "parameters": [ { - "$id": "46", + "$id": "86", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "47", - "kind": "constant", - "name": "getContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "48", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -463,22 +778,22 @@ ], "responses": [ { - "$id": "49", + "$id": "87", "statusCodes": [ 200 ], "bodyType": { - "$id": "50", + "$id": "88", "kind": "dict", "keyType": { - "$id": "51", + "$id": "89", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "52", + "$id": "90", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -504,11 +819,11 @@ }, "parameters": [ { - "$id": "53", + "$id": "91", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "47" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -522,9 +837,9 @@ } ], "response": { - "$id": "54", + "$id": "92", "type": { - "$ref": "50" + "$ref": "88" } }, "isOverride": false, @@ -533,37 +848,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.Int64Value.get" }, { - "$id": "55", + "$id": "93", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "56", + "$id": "94", "name": "put", "resourceName": "Int64Value", "accessibility": "public", "parameters": [ { - "$id": "57", + "$id": "95", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "58", - "kind": "constant", - "name": "putContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "59", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -576,11 +878,11 @@ "skipUrlEncoding": false }, { - "$id": "60", + "$id": "96", "name": "body", "nameInRequest": "body", "type": { - "$ref": "50" + "$ref": "88" }, "location": "Body", "isApiVersion": false, @@ -595,7 +897,7 @@ ], "responses": [ { - "$id": "61", + "$id": "97", "statusCodes": [ 204 ], @@ -617,11 +919,11 @@ }, "parameters": [ { - "$id": "62", + "$id": "98", "name": "body", "nameInRequest": "body", "type": { - "$ref": "50" + "$ref": "88" }, "location": "Body", "isApiVersion": false, @@ -634,12 +936,12 @@ "skipUrlEncoding": false }, { - "$id": "63", + "$id": "99", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "58" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -653,7 +955,7 @@ } ], "response": { - "$id": "64" + "$id": "100" }, "isOverride": false, "generateConvenient": true, @@ -663,12 +965,12 @@ ], "parameters": [ { - "$id": "65", + "$id": "101", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "66", + "$id": "102", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -682,9 +984,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "67", + "$id": "103", "type": { - "$id": "68", + "$id": "104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -697,47 +999,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.Int64Value", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "69", + "$id": "105", "kind": "client", "name": "BooleanValue", "namespace": "Scm._Type._Dictionary", "doc": "Dictionary of boolean values", "methods": [ { - "$id": "70", + "$id": "106", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "71", + "$id": "107", "name": "get", "resourceName": "BooleanValue", "accessibility": "public", "parameters": [ { - "$id": "72", + "$id": "108", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "73", - "kind": "constant", - "name": "getContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "74", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -752,22 +1041,22 @@ ], "responses": [ { - "$id": "75", + "$id": "109", "statusCodes": [ 200 ], "bodyType": { - "$id": "76", + "$id": "110", "kind": "dict", "keyType": { - "$id": "77", + "$id": "111", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "78", + "$id": "112", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -793,11 +1082,11 @@ }, "parameters": [ { - "$id": "79", + "$id": "113", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "73" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -811,9 +1100,9 @@ } ], "response": { - "$id": "80", + "$id": "114", "type": { - "$ref": "76" + "$ref": "110" } }, "isOverride": false, @@ -822,37 +1111,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.BooleanValue.get" }, { - "$id": "81", + "$id": "115", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "82", + "$id": "116", "name": "put", "resourceName": "BooleanValue", "accessibility": "public", "parameters": [ { - "$id": "83", + "$id": "117", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "84", - "kind": "constant", - "name": "putContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "85", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -865,11 +1141,11 @@ "skipUrlEncoding": false }, { - "$id": "86", + "$id": "118", "name": "body", "nameInRequest": "body", "type": { - "$ref": "76" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -884,7 +1160,7 @@ ], "responses": [ { - "$id": "87", + "$id": "119", "statusCodes": [ 204 ], @@ -906,11 +1182,11 @@ }, "parameters": [ { - "$id": "88", + "$id": "120", "name": "body", "nameInRequest": "body", "type": { - "$ref": "76" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -923,12 +1199,12 @@ "skipUrlEncoding": false }, { - "$id": "89", + "$id": "121", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "84" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -942,7 +1218,7 @@ } ], "response": { - "$id": "90" + "$id": "122" }, "isOverride": false, "generateConvenient": true, @@ -952,12 +1228,12 @@ ], "parameters": [ { - "$id": "91", + "$id": "123", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "92", + "$id": "124", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -971,9 +1247,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "93", + "$id": "125", "type": { - "$id": "94", + "$id": "126", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -986,47 +1262,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.BooleanValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "95", + "$id": "127", "kind": "client", "name": "StringValue", "namespace": "Scm._Type._Dictionary", "doc": "Dictionary of string values", "methods": [ { - "$id": "96", + "$id": "128", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "97", + "$id": "129", "name": "get", "resourceName": "StringValue", "accessibility": "public", "parameters": [ { - "$id": "98", + "$id": "130", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "99", - "kind": "constant", - "name": "getContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "100", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1041,22 +1304,22 @@ ], "responses": [ { - "$id": "101", + "$id": "131", "statusCodes": [ 200 ], "bodyType": { - "$id": "102", + "$id": "132", "kind": "dict", "keyType": { - "$id": "103", + "$id": "133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "104", + "$id": "134", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1082,11 +1345,11 @@ }, "parameters": [ { - "$id": "105", + "$id": "135", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "99" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1100,9 +1363,9 @@ } ], "response": { - "$id": "106", + "$id": "136", "type": { - "$ref": "102" + "$ref": "132" } }, "isOverride": false, @@ -1111,37 +1374,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.StringValue.get" }, { - "$id": "107", + "$id": "137", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "108", + "$id": "138", "name": "put", "resourceName": "StringValue", "accessibility": "public", "parameters": [ { - "$id": "109", + "$id": "139", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "110", - "kind": "constant", - "name": "putContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "111", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1154,11 +1404,11 @@ "skipUrlEncoding": false }, { - "$id": "112", + "$id": "140", "name": "body", "nameInRequest": "body", "type": { - "$ref": "102" + "$ref": "132" }, "location": "Body", "isApiVersion": false, @@ -1173,7 +1423,7 @@ ], "responses": [ { - "$id": "113", + "$id": "141", "statusCodes": [ 204 ], @@ -1195,11 +1445,11 @@ }, "parameters": [ { - "$id": "114", + "$id": "142", "name": "body", "nameInRequest": "body", "type": { - "$ref": "102" + "$ref": "132" }, "location": "Body", "isApiVersion": false, @@ -1212,12 +1462,12 @@ "skipUrlEncoding": false }, { - "$id": "115", + "$id": "143", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "110" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1231,7 +1481,7 @@ } ], "response": { - "$id": "116" + "$id": "144" }, "isOverride": false, "generateConvenient": true, @@ -1241,12 +1491,12 @@ ], "parameters": [ { - "$id": "117", + "$id": "145", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "118", + "$id": "146", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1260,9 +1510,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "119", + "$id": "147", "type": { - "$id": "120", + "$id": "148", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1275,47 +1525,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.StringValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "121", + "$id": "149", "kind": "client", "name": "Float32Value", "namespace": "Scm._Type._Dictionary", "doc": "Dictionary of float values", "methods": [ { - "$id": "122", + "$id": "150", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "123", + "$id": "151", "name": "get", "resourceName": "Float32Value", "accessibility": "public", "parameters": [ { - "$id": "124", + "$id": "152", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "125", - "kind": "constant", - "name": "getContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "126", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1330,22 +1567,22 @@ ], "responses": [ { - "$id": "127", + "$id": "153", "statusCodes": [ 200 ], "bodyType": { - "$id": "128", + "$id": "154", "kind": "dict", "keyType": { - "$id": "129", + "$id": "155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "130", + "$id": "156", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1371,11 +1608,11 @@ }, "parameters": [ { - "$id": "131", + "$id": "157", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "125" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1389,9 +1626,9 @@ } ], "response": { - "$id": "132", + "$id": "158", "type": { - "$ref": "128" + "$ref": "154" } }, "isOverride": false, @@ -1400,37 +1637,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.Float32Value.get" }, { - "$id": "133", + "$id": "159", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "134", + "$id": "160", "name": "put", "resourceName": "Float32Value", "accessibility": "public", "parameters": [ { - "$id": "135", + "$id": "161", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "136", - "kind": "constant", - "name": "putContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "137", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1443,11 +1667,11 @@ "skipUrlEncoding": false }, { - "$id": "138", + "$id": "162", "name": "body", "nameInRequest": "body", "type": { - "$ref": "128" + "$ref": "154" }, "location": "Body", "isApiVersion": false, @@ -1462,7 +1686,7 @@ ], "responses": [ { - "$id": "139", + "$id": "163", "statusCodes": [ 204 ], @@ -1484,11 +1708,11 @@ }, "parameters": [ { - "$id": "140", + "$id": "164", "name": "body", "nameInRequest": "body", "type": { - "$ref": "128" + "$ref": "154" }, "location": "Body", "isApiVersion": false, @@ -1501,12 +1725,12 @@ "skipUrlEncoding": false }, { - "$id": "141", + "$id": "165", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "136" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1520,7 +1744,7 @@ } ], "response": { - "$id": "142" + "$id": "166" }, "isOverride": false, "generateConvenient": true, @@ -1530,12 +1754,12 @@ ], "parameters": [ { - "$id": "143", + "$id": "167", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "144", + "$id": "168", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1549,9 +1773,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "145", + "$id": "169", "type": { - "$id": "146", + "$id": "170", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1564,47 +1788,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.Float32Value", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "147", + "$id": "171", "kind": "client", "name": "DatetimeValue", "namespace": "Scm._Type._Dictionary", "doc": "Dictionary of datetime values", "methods": [ { - "$id": "148", + "$id": "172", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "149", + "$id": "173", "name": "get", "resourceName": "DatetimeValue", "accessibility": "public", "parameters": [ { - "$id": "150", + "$id": "174", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "151", - "kind": "constant", - "name": "getContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "152", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1619,27 +1830,27 @@ ], "responses": [ { - "$id": "153", + "$id": "175", "statusCodes": [ 200 ], "bodyType": { - "$id": "154", + "$id": "176", "kind": "dict", "keyType": { - "$id": "155", + "$id": "177", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "156", + "$id": "178", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "157", + "$id": "179", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1668,11 +1879,11 @@ }, "parameters": [ { - "$id": "158", + "$id": "180", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "151" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1686,9 +1897,9 @@ } ], "response": { - "$id": "159", + "$id": "181", "type": { - "$ref": "154" + "$ref": "176" } }, "isOverride": false, @@ -1697,37 +1908,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.DatetimeValue.get" }, { - "$id": "160", + "$id": "182", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "161", + "$id": "183", "name": "put", "resourceName": "DatetimeValue", "accessibility": "public", "parameters": [ { - "$id": "162", + "$id": "184", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "163", - "kind": "constant", - "name": "putContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "164", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1740,11 +1938,11 @@ "skipUrlEncoding": false }, { - "$id": "165", + "$id": "185", "name": "body", "nameInRequest": "body", "type": { - "$ref": "154" + "$ref": "176" }, "location": "Body", "isApiVersion": false, @@ -1759,7 +1957,7 @@ ], "responses": [ { - "$id": "166", + "$id": "186", "statusCodes": [ 204 ], @@ -1781,11 +1979,11 @@ }, "parameters": [ { - "$id": "167", + "$id": "187", "name": "body", "nameInRequest": "body", "type": { - "$ref": "154" + "$ref": "176" }, "location": "Body", "isApiVersion": false, @@ -1798,12 +1996,12 @@ "skipUrlEncoding": false }, { - "$id": "168", + "$id": "188", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "163" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1817,7 +2015,7 @@ } ], "response": { - "$id": "169" + "$id": "189" }, "isOverride": false, "generateConvenient": true, @@ -1827,12 +2025,12 @@ ], "parameters": [ { - "$id": "170", + "$id": "190", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "171", + "$id": "191", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1846,9 +2044,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "172", + "$id": "192", "type": { - "$id": "173", + "$id": "193", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1861,47 +2059,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.DatetimeValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "174", + "$id": "194", "kind": "client", "name": "DurationValue", "namespace": "Scm._Type._Dictionary", "doc": "Dictionary of duration values", "methods": [ { - "$id": "175", + "$id": "195", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "176", + "$id": "196", "name": "get", "resourceName": "DurationValue", "accessibility": "public", "parameters": [ { - "$id": "177", + "$id": "197", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "178", - "kind": "constant", - "name": "getContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "179", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1916,27 +2101,27 @@ ], "responses": [ { - "$id": "180", + "$id": "198", "statusCodes": [ 200 ], "bodyType": { - "$id": "181", + "$id": "199", "kind": "dict", "keyType": { - "$id": "182", + "$id": "200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "183", + "$id": "201", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "184", + "$id": "202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1965,11 +2150,11 @@ }, "parameters": [ { - "$id": "185", + "$id": "203", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "178" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1983,9 +2168,9 @@ } ], "response": { - "$id": "186", + "$id": "204", "type": { - "$ref": "181" + "$ref": "199" } }, "isOverride": false, @@ -1994,37 +2179,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.DurationValue.get" }, { - "$id": "187", + "$id": "205", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "188", + "$id": "206", "name": "put", "resourceName": "DurationValue", "accessibility": "public", "parameters": [ { - "$id": "189", + "$id": "207", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "190", - "kind": "constant", - "name": "putContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "191", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -2037,11 +2209,11 @@ "skipUrlEncoding": false }, { - "$id": "192", + "$id": "208", "name": "body", "nameInRequest": "body", "type": { - "$ref": "181" + "$ref": "199" }, "location": "Body", "isApiVersion": false, @@ -2056,7 +2228,7 @@ ], "responses": [ { - "$id": "193", + "$id": "209", "statusCodes": [ 204 ], @@ -2078,11 +2250,11 @@ }, "parameters": [ { - "$id": "194", + "$id": "210", "name": "body", "nameInRequest": "body", "type": { - "$ref": "181" + "$ref": "199" }, "location": "Body", "isApiVersion": false, @@ -2095,12 +2267,12 @@ "skipUrlEncoding": false }, { - "$id": "195", + "$id": "211", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "190" + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -2114,7 +2286,7 @@ } ], "response": { - "$id": "196" + "$id": "212" }, "isOverride": false, "generateConvenient": true, @@ -2124,12 +2296,12 @@ ], "parameters": [ { - "$id": "197", + "$id": "213", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "198", + "$id": "214", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2143,9 +2315,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "199", + "$id": "215", "type": { - "$id": "200", + "$id": "216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2158,47 +2330,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.DurationValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "201", + "$id": "217", "kind": "client", "name": "UnknownValue", "namespace": "Scm._Type._Dictionary", "doc": "Dictionary of unknown values", "methods": [ { - "$id": "202", + "$id": "218", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "203", + "$id": "219", "name": "get", "resourceName": "UnknownValue", "accessibility": "public", "parameters": [ { - "$id": "204", + "$id": "220", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "205", - "kind": "constant", - "name": "getContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "206", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -2213,22 +2372,22 @@ ], "responses": [ { - "$id": "207", + "$id": "221", "statusCodes": [ 200 ], "bodyType": { - "$id": "208", + "$id": "222", "kind": "dict", "keyType": { - "$id": "209", + "$id": "223", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "210", + "$id": "224", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -2254,11 +2413,11 @@ }, "parameters": [ { - "$id": "211", + "$id": "225", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "205" + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -2272,9 +2431,9 @@ } ], "response": { - "$id": "212", + "$id": "226", "type": { - "$ref": "208" + "$ref": "222" } }, "isOverride": false, @@ -2283,37 +2442,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.UnknownValue.get" }, { - "$id": "213", + "$id": "227", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "214", + "$id": "228", "name": "put", "resourceName": "UnknownValue", "accessibility": "public", "parameters": [ { - "$id": "215", + "$id": "229", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "216", - "kind": "constant", - "name": "putContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "217", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2326,11 +2472,11 @@ "skipUrlEncoding": false }, { - "$id": "218", + "$id": "230", "name": "body", "nameInRequest": "body", "type": { - "$ref": "208" + "$ref": "222" }, "location": "Body", "isApiVersion": false, @@ -2345,7 +2491,7 @@ ], "responses": [ { - "$id": "219", + "$id": "231", "statusCodes": [ 204 ], @@ -2367,11 +2513,11 @@ }, "parameters": [ { - "$id": "220", + "$id": "232", "name": "body", "nameInRequest": "body", "type": { - "$ref": "208" + "$ref": "222" }, "location": "Body", "isApiVersion": false, @@ -2384,12 +2530,12 @@ "skipUrlEncoding": false }, { - "$id": "221", + "$id": "233", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "216" + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2403,7 +2549,7 @@ } ], "response": { - "$id": "222" + "$id": "234" }, "isOverride": false, "generateConvenient": true, @@ -2413,12 +2559,12 @@ ], "parameters": [ { - "$id": "223", + "$id": "235", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "224", + "$id": "236", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2432,9 +2578,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "225", + "$id": "237", "type": { - "$id": "226", + "$id": "238", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2447,47 +2593,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.UnknownValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "227", + "$id": "239", "kind": "client", "name": "ModelValue", "namespace": "Scm._Type._Dictionary", "doc": "Dictionary of model values", "methods": [ { - "$id": "228", + "$id": "240", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "229", + "$id": "241", "name": "get", "resourceName": "ModelValue", "accessibility": "public", "parameters": [ { - "$id": "230", + "$id": "242", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "231", - "kind": "constant", - "name": "getContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "232", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2502,12 +2635,12 @@ ], "responses": [ { - "$id": "233", + "$id": "243", "statusCodes": [ 200 ], "bodyType": { - "$ref": "8" + "$ref": "52" }, "headers": [], "isErrorResponse": false, @@ -2527,11 +2660,11 @@ }, "parameters": [ { - "$id": "234", + "$id": "244", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "231" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2545,9 +2678,9 @@ } ], "response": { - "$id": "235", + "$id": "245", "type": { - "$ref": "8" + "$ref": "52" } }, "isOverride": false, @@ -2556,37 +2689,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.ModelValue.get" }, { - "$id": "236", + "$id": "246", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "237", + "$id": "247", "name": "put", "resourceName": "ModelValue", "accessibility": "public", "parameters": [ { - "$id": "238", + "$id": "248", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "239", - "kind": "constant", - "name": "putContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "240", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2599,11 +2719,11 @@ "skipUrlEncoding": false }, { - "$id": "241", + "$id": "249", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "52" }, "location": "Body", "isApiVersion": false, @@ -2618,7 +2738,7 @@ ], "responses": [ { - "$id": "242", + "$id": "250", "statusCodes": [ 204 ], @@ -2640,11 +2760,11 @@ }, "parameters": [ { - "$id": "243", + "$id": "251", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "52" }, "location": "Body", "isApiVersion": false, @@ -2657,12 +2777,12 @@ "skipUrlEncoding": false }, { - "$id": "244", + "$id": "252", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "239" + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2676,7 +2796,7 @@ } ], "response": { - "$id": "245" + "$id": "253" }, "isOverride": false, "generateConvenient": true, @@ -2686,12 +2806,12 @@ ], "parameters": [ { - "$id": "246", + "$id": "254", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "247", + "$id": "255", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2705,9 +2825,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "248", + "$id": "256", "type": { - "$id": "249", + "$id": "257", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2720,47 +2840,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.ModelValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "250", + "$id": "258", "kind": "client", "name": "RecursiveModelValue", "namespace": "Scm._Type._Dictionary", "doc": "Dictionary of model values", "methods": [ { - "$id": "251", + "$id": "259", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "252", + "$id": "260", "name": "get", "resourceName": "RecursiveModelValue", "accessibility": "public", "parameters": [ { - "$id": "253", + "$id": "261", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "254", - "kind": "constant", - "name": "getContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "255", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2775,12 +2882,12 @@ ], "responses": [ { - "$id": "256", + "$id": "262", "statusCodes": [ 200 ], "bodyType": { - "$ref": "8" + "$ref": "52" }, "headers": [], "isErrorResponse": false, @@ -2800,11 +2907,11 @@ }, "parameters": [ { - "$id": "257", + "$id": "263", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "254" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2818,9 +2925,9 @@ } ], "response": { - "$id": "258", + "$id": "264", "type": { - "$ref": "8" + "$ref": "52" } }, "isOverride": false, @@ -2829,37 +2936,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.RecursiveModelValue.get" }, { - "$id": "259", + "$id": "265", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "260", + "$id": "266", "name": "put", "resourceName": "RecursiveModelValue", "accessibility": "public", "parameters": [ { - "$id": "261", + "$id": "267", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "262", - "kind": "constant", - "name": "putContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "263", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2872,11 +2966,11 @@ "skipUrlEncoding": false }, { - "$id": "264", + "$id": "268", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "52" }, "location": "Body", "isApiVersion": false, @@ -2891,7 +2985,7 @@ ], "responses": [ { - "$id": "265", + "$id": "269", "statusCodes": [ 204 ], @@ -2913,11 +3007,11 @@ }, "parameters": [ { - "$id": "266", + "$id": "270", "name": "body", "nameInRequest": "body", "type": { - "$ref": "8" + "$ref": "52" }, "location": "Body", "isApiVersion": false, @@ -2930,12 +3024,12 @@ "skipUrlEncoding": false }, { - "$id": "267", + "$id": "271", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "262" + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2949,7 +3043,7 @@ } ], "response": { - "$id": "268" + "$id": "272" }, "isOverride": false, "generateConvenient": true, @@ -2959,12 +3053,12 @@ ], "parameters": [ { - "$id": "269", + "$id": "273", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "270", + "$id": "274", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2978,9 +3072,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "271", + "$id": "275", "type": { - "$id": "272", + "$id": "276", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2993,47 +3087,34 @@ "crossLanguageDefinitionId": "Type.Dictionary.RecursiveModelValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } }, { - "$id": "273", + "$id": "277", "kind": "client", "name": "NullableFloatValue", "namespace": "Scm._Type._Dictionary", "doc": "Dictionary of nullable float values", "methods": [ { - "$id": "274", + "$id": "278", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "275", + "$id": "279", "name": "get", "resourceName": "NullableFloatValue", "accessibility": "public", "parameters": [ { - "$id": "276", + "$id": "280", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "277", - "kind": "constant", - "name": "getContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "278", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3048,25 +3129,25 @@ ], "responses": [ { - "$id": "279", + "$id": "281", "statusCodes": [ 200 ], "bodyType": { - "$id": "280", + "$id": "282", "kind": "dict", "keyType": { - "$id": "281", + "$id": "283", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "282", + "$id": "284", "kind": "nullable", "type": { - "$id": "283", + "$id": "285", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -3094,11 +3175,11 @@ }, "parameters": [ { - "$id": "284", + "$id": "286", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "277" + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3112,9 +3193,9 @@ } ], "response": { - "$id": "285", + "$id": "287", "type": { - "$ref": "280" + "$ref": "282" } }, "isOverride": false, @@ -3123,37 +3204,24 @@ "crossLanguageDefinitionId": "Type.Dictionary.NullableFloatValue.get" }, { - "$id": "286", + "$id": "288", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "287", + "$id": "289", "name": "put", "resourceName": "NullableFloatValue", "accessibility": "public", "parameters": [ { - "$id": "288", + "$id": "290", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "289", - "kind": "constant", - "name": "putContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "290", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -3170,7 +3238,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "280" + "$ref": "282" }, "location": "Body", "isApiVersion": false, @@ -3211,7 +3279,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "280" + "$ref": "282" }, "location": "Body", "isApiVersion": false, @@ -3229,7 +3297,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "289" + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -3287,7 +3355,7 @@ "crossLanguageDefinitionId": "Type.Dictionary.NullableFloatValue", "apiVersions": [], "parent": { - "$ref": "12" + "$ref": "56" } } ] diff --git a/test/CadlRanchProjectsNonAzure/type/enum/extensible/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/enum/extensible/tspCodeModel.json index c04f1e6d051..9613f2773f7 100644 --- a/test/CadlRanchProjectsNonAzure/type/enum/extensible/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/enum/extensible/tspCodeModel.json @@ -151,22 +151,152 @@ "decorators": [] } ], + "constants": [ + { + "$id": "18", + "kind": "constant", + "name": "getKnownValueContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "GetKnownValueResponseContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "getUnknownValueContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "GetKnownValueResponseContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "GetKnownValueResponseContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "GetKnownValueResponseContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "GetKnownValueResponseContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "GetKnownValueResponseContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [], "clients": [ { - "$id": "18", + "$id": "34", "kind": "client", "name": "ExtensibleClient", "namespace": "Scm._Type._Enum.Extensible", "methods": [], "parameters": [ { - "$id": "19", + "$id": "35", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "20", + "$id": "36", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -180,9 +310,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "21", + "$id": "37", "type": { - "$id": "22", + "$id": "38", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -196,42 +326,29 @@ "apiVersions": [], "children": [ { - "$id": "23", + "$id": "39", "kind": "client", "name": "String", "namespace": "Scm._Type._Enum.Extensible", "methods": [ { - "$id": "24", + "$id": "40", "kind": "basic", "name": "getKnownValue", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "25", + "$id": "41", "name": "getKnownValue", "resourceName": "String", "accessibility": "public", "parameters": [ { - "$id": "26", + "$id": "42", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "27", - "kind": "constant", - "name": "getKnownValueContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "28", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -246,7 +363,7 @@ ], "responses": [ { - "$id": "29", + "$id": "43", "statusCodes": [ 200 ], @@ -255,24 +372,11 @@ }, "headers": [ { - "$id": "30", + "$id": "44", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "31", - "kind": "constant", - "name": "GetKnownValueResponseContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "32", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" } } ], @@ -293,11 +397,11 @@ }, "parameters": [ { - "$id": "33", + "$id": "45", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "27" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -311,7 +415,7 @@ } ], "response": { - "$id": "34", + "$id": "46", "type": { "$ref": "2" } @@ -322,36 +426,23 @@ "crossLanguageDefinitionId": "Type.Enum.Extensible.String.getKnownValue" }, { - "$id": "35", + "$id": "47", "kind": "basic", "name": "getUnknownValue", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "36", + "$id": "48", "name": "getUnknownValue", "resourceName": "String", "accessibility": "public", "parameters": [ { - "$id": "37", + "$id": "49", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "38", - "kind": "constant", - "name": "getUnknownValueContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "39", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -366,7 +457,7 @@ ], "responses": [ { - "$id": "40", + "$id": "50", "statusCodes": [ 200 ], @@ -375,24 +466,11 @@ }, "headers": [ { - "$id": "41", + "$id": "51", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "42", - "kind": "constant", - "name": "GetKnownValueResponseContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "43", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" } } ], @@ -413,11 +491,11 @@ }, "parameters": [ { - "$id": "44", + "$id": "52", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "38" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -431,7 +509,7 @@ } ], "response": { - "$id": "45", + "$id": "53", "type": { "$ref": "2" } @@ -442,36 +520,23 @@ "crossLanguageDefinitionId": "Type.Enum.Extensible.String.getUnknownValue" }, { - "$id": "46", + "$id": "54", "kind": "basic", "name": "putKnownValue", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "47", + "$id": "55", "name": "putKnownValue", "resourceName": "String", "accessibility": "public", "parameters": [ { - "$id": "48", + "$id": "56", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "49", - "kind": "constant", - "name": "GetKnownValueResponseContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "50", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -484,7 +549,7 @@ "skipUrlEncoding": false }, { - "$id": "51", + "$id": "57", "name": "body", "nameInRequest": "body", "type": { @@ -503,7 +568,7 @@ ], "responses": [ { - "$id": "52", + "$id": "58", "statusCodes": [ 204 ], @@ -525,24 +590,11 @@ }, "parameters": [ { - "$id": "53", + "$id": "59", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "54", - "kind": "constant", - "name": "GetKnownValueResponseContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "55", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -555,7 +607,7 @@ "skipUrlEncoding": false }, { - "$id": "56", + "$id": "60", "name": "body", "nameInRequest": "body", "type": { @@ -573,7 +625,7 @@ } ], "response": { - "$id": "57" + "$id": "61" }, "isOverride": false, "generateConvenient": true, @@ -581,36 +633,23 @@ "crossLanguageDefinitionId": "Type.Enum.Extensible.String.putKnownValue" }, { - "$id": "58", + "$id": "62", "kind": "basic", "name": "putUnknownValue", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "59", + "$id": "63", "name": "putUnknownValue", "resourceName": "String", "accessibility": "public", "parameters": [ { - "$id": "60", + "$id": "64", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "61", - "kind": "constant", - "name": "GetKnownValueResponseContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "62", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -623,7 +662,7 @@ "skipUrlEncoding": false }, { - "$id": "63", + "$id": "65", "name": "body", "nameInRequest": "body", "type": { @@ -642,7 +681,7 @@ ], "responses": [ { - "$id": "64", + "$id": "66", "statusCodes": [ 204 ], @@ -664,24 +703,11 @@ }, "parameters": [ { - "$id": "65", + "$id": "67", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "66", - "kind": "constant", - "name": "GetKnownValueResponseContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "67", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -756,7 +782,7 @@ "crossLanguageDefinitionId": "Type.Enum.Extensible.String", "apiVersions": [], "parent": { - "$ref": "18" + "$ref": "34" } } ] diff --git a/test/CadlRanchProjectsNonAzure/type/enum/fixed/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/enum/fixed/tspCodeModel.json index 1f7d9046b75..049204378bd 100644 --- a/test/CadlRanchProjectsNonAzure/type/enum/fixed/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/enum/fixed/tspCodeModel.json @@ -151,22 +151,120 @@ "decorators": [] } ], + "constants": [ + { + "$id": "18", + "kind": "constant", + "name": "getKnownValueContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "GetKnownValueResponseContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "GetKnownValueResponseContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "GetKnownValueResponseContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "GetKnownValueResponseContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "GetKnownValueResponseContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [], "clients": [ { - "$id": "18", + "$id": "30", "kind": "client", "name": "FixedClient", "namespace": "Scm._Type._Enum.Fixed", "methods": [], "parameters": [ { - "$id": "19", + "$id": "31", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "20", + "$id": "32", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -180,9 +278,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "21", + "$id": "33", "type": { - "$id": "22", + "$id": "34", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -196,44 +294,31 @@ "apiVersions": [], "children": [ { - "$id": "23", + "$id": "35", "kind": "client", "name": "String", "namespace": "Scm._Type._Enum.Fixed", "methods": [ { - "$id": "24", + "$id": "36", "kind": "basic", "name": "getKnownValue", "accessibility": "public", "apiVersions": [], "doc": "getKnownValue", "operation": { - "$id": "25", + "$id": "37", "name": "getKnownValue", "resourceName": "String", "doc": "getKnownValue", "accessibility": "public", "parameters": [ { - "$id": "26", + "$id": "38", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "27", - "kind": "constant", - "name": "getKnownValueContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "28", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -248,7 +333,7 @@ ], "responses": [ { - "$id": "29", + "$id": "39", "statusCodes": [ 200 ], @@ -257,24 +342,11 @@ }, "headers": [ { - "$id": "30", + "$id": "40", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "31", - "kind": "constant", - "name": "GetKnownValueResponseContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "32", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" } } ], @@ -295,11 +367,11 @@ }, "parameters": [ { - "$id": "33", + "$id": "41", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "27" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -313,7 +385,7 @@ } ], "response": { - "$id": "34", + "$id": "42", "type": { "$ref": "2" } @@ -324,38 +396,25 @@ "crossLanguageDefinitionId": "Type.Enum.Fixed.String.getKnownValue" }, { - "$id": "35", + "$id": "43", "kind": "basic", "name": "putKnownValue", "accessibility": "public", "apiVersions": [], "doc": "putKnownValue", "operation": { - "$id": "36", + "$id": "44", "name": "putKnownValue", "resourceName": "String", "doc": "putKnownValue", "accessibility": "public", "parameters": [ { - "$id": "37", + "$id": "45", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "38", - "kind": "constant", - "name": "GetKnownValueResponseContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "39", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -368,7 +427,7 @@ "skipUrlEncoding": false }, { - "$id": "40", + "$id": "46", "name": "body", "nameInRequest": "body", "doc": "_", @@ -388,7 +447,7 @@ ], "responses": [ { - "$id": "41", + "$id": "47", "statusCodes": [ 204 ], @@ -410,24 +469,11 @@ }, "parameters": [ { - "$id": "42", + "$id": "48", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "43", - "kind": "constant", - "name": "GetKnownValueResponseContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "44", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -440,7 +486,7 @@ "skipUrlEncoding": false }, { - "$id": "45", + "$id": "49", "name": "body", "nameInRequest": "body", "doc": "_", @@ -459,7 +505,7 @@ } ], "response": { - "$id": "46" + "$id": "50" }, "isOverride": false, "generateConvenient": true, @@ -467,38 +513,25 @@ "crossLanguageDefinitionId": "Type.Enum.Fixed.String.putKnownValue" }, { - "$id": "47", + "$id": "51", "kind": "basic", "name": "putUnknownValue", "accessibility": "public", "apiVersions": [], "doc": "putUnknownValue", "operation": { - "$id": "48", + "$id": "52", "name": "putUnknownValue", "resourceName": "String", "doc": "putUnknownValue", "accessibility": "public", "parameters": [ { - "$id": "49", + "$id": "53", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "50", - "kind": "constant", - "name": "GetKnownValueResponseContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "51", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -511,7 +544,7 @@ "skipUrlEncoding": false }, { - "$id": "52", + "$id": "54", "name": "body", "nameInRequest": "body", "doc": "_", @@ -531,7 +564,7 @@ ], "responses": [ { - "$id": "53", + "$id": "55", "statusCodes": [ 204 ], @@ -553,24 +586,11 @@ }, "parameters": [ { - "$id": "54", + "$id": "56", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "55", - "kind": "constant", - "name": "GetKnownValueResponseContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "56", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -646,7 +666,7 @@ "crossLanguageDefinitionId": "Type.Enum.Fixed.String", "apiVersions": [], "parent": { - "$ref": "18" + "$ref": "30" } } ] diff --git a/test/CadlRanchProjectsNonAzure/type/model/empty/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/model/empty/tspCodeModel.json index bcc42cfc459..31f61c9bf4a 100644 --- a/test/CadlRanchProjectsNonAzure/type/model/empty/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/model/empty/tspCodeModel.json @@ -3,9 +3,75 @@ "name": "Type.Model.Empty", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "putEmptyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "getEmptyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "postRoundTripEmptyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "postRoundTripEmptyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "10", "kind": "model", "name": "EmptyInput", "namespace": "Scm._Type.Model.Empty", @@ -16,7 +82,7 @@ "properties": [] }, { - "$id": "3", + "$id": "11", "kind": "model", "name": "EmptyOutput", "namespace": "Scm._Type.Model.Empty", @@ -27,7 +93,7 @@ "properties": [] }, { - "$id": "4", + "$id": "12", "kind": "model", "name": "EmptyInputOutput", "namespace": "Scm._Type.Model.Empty", @@ -40,44 +106,31 @@ ], "clients": [ { - "$id": "5", + "$id": "13", "kind": "client", "name": "EmptyClient", "namespace": "Scm._Type.Model.Empty", "doc": "Illustrates usage of empty model used in operation's parameters and responses.", "methods": [ { - "$id": "6", + "$id": "14", "kind": "basic", "name": "putEmpty", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "7", + "$id": "15", "name": "putEmpty", "resourceName": "Empty", "accessibility": "public", "parameters": [ { - "$id": "8", + "$id": "16", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "9", - "kind": "constant", - "name": "putEmptyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "10", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -90,11 +143,11 @@ "skipUrlEncoding": false }, { - "$id": "11", + "$id": "17", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -109,7 +162,7 @@ ], "responses": [ { - "$id": "12", + "$id": "18", "statusCodes": [ 204 ], @@ -131,11 +184,11 @@ }, "parameters": [ { - "$id": "13", + "$id": "19", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -148,12 +201,12 @@ "skipUrlEncoding": false }, { - "$id": "14", + "$id": "20", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "9" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -167,7 +220,7 @@ } ], "response": { - "$id": "15" + "$id": "21" }, "isOverride": false, "generateConvenient": true, @@ -175,36 +228,23 @@ "crossLanguageDefinitionId": "Type.Model.Empty.putEmpty" }, { - "$id": "16", + "$id": "22", "kind": "basic", "name": "getEmpty", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "17", + "$id": "23", "name": "getEmpty", "resourceName": "Empty", "accessibility": "public", "parameters": [ { - "$id": "18", + "$id": "24", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "19", - "kind": "constant", - "name": "getEmptyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "20", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -219,12 +259,12 @@ ], "responses": [ { - "$id": "21", + "$id": "25", "statusCodes": [ 200 ], "bodyType": { - "$ref": "3" + "$ref": "11" }, "headers": [], "isErrorResponse": false, @@ -244,11 +284,11 @@ }, "parameters": [ { - "$id": "22", + "$id": "26", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "19" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -262,9 +302,9 @@ } ], "response": { - "$id": "23", + "$id": "27", "type": { - "$ref": "3" + "$ref": "11" } }, "isOverride": false, @@ -273,37 +313,24 @@ "crossLanguageDefinitionId": "Type.Model.Empty.getEmpty" }, { - "$id": "24", + "$id": "28", "kind": "basic", "name": "postRoundTripEmpty", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "25", + "$id": "29", "name": "postRoundTripEmpty", "resourceName": "Empty", "accessibility": "public", "parameters": [ { - "$id": "26", + "$id": "30", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "27", - "kind": "constant", - "name": "postRoundTripEmptyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "28", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -316,24 +343,11 @@ "skipUrlEncoding": false }, { - "$id": "29", + "$id": "31", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "30", - "kind": "constant", - "name": "postRoundTripEmptyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "31", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -350,7 +364,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "4" + "$ref": "12" }, "location": "Body", "isApiVersion": false, @@ -370,7 +384,7 @@ 200 ], "bodyType": { - "$ref": "4" + "$ref": "12" }, "headers": [], "isErrorResponse": false, @@ -397,7 +411,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "4" + "$ref": "12" }, "location": "Body", "isApiVersion": false, @@ -415,7 +429,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "27" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -432,7 +446,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "30" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -448,7 +462,7 @@ "response": { "$id": "37", "type": { - "$ref": "4" + "$ref": "12" } }, "isOverride": false, diff --git a/test/CadlRanchProjectsNonAzure/type/model/inheritance/enum-discriminator/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/model/inheritance/enum-discriminator/tspCodeModel.json index 6860ace6dcc..2757f098c6c 100644 --- a/test/CadlRanchProjectsNonAzure/type/model/inheritance/enum-discriminator/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/model/inheritance/enum-discriminator/tspCodeModel.json @@ -82,9 +82,139 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "10", + "kind": "constant", + "name": "getExtensibleModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "putExtensibleModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "getExtensibleModelMissingDiscriminatorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "getExtensibleModelWrongDiscriminatorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "getFixedModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "putFixedModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "getFixedModelMissingDiscriminatorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "getFixedModelWrongDiscriminatorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "26", "kind": "model", "name": "Dog", "namespace": "Scm._Type.Model.Inheritance.EnumDiscriminator", @@ -93,7 +223,7 @@ "doc": "Test extensible enum type for discriminator", "decorators": [], "discriminatorProperty": { - "$id": "11", + "$id": "27", "kind": "property", "name": "kind", "serializedName": "kind", @@ -108,25 +238,25 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.Dog.kind", "serializationOptions": { - "$id": "12", + "$id": "28", "json": { - "$id": "13", + "$id": "29", "name": "kind" } } }, "properties": [ { - "$ref": "11" + "$ref": "27" }, { - "$id": "14", + "$id": "30", "kind": "property", "name": "weight", "serializedName": "weight", "doc": "Weight of the dog", "type": { - "$id": "15", + "$id": "31", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -139,18 +269,18 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.Dog.weight", "serializationOptions": { - "$id": "16", + "$id": "32", "json": { - "$id": "17", + "$id": "33", "name": "weight" } } } ], "discriminatedSubtypes": { - "$id": "18", + "$id": "34", "golden": { - "$id": "19", + "$id": "35", "kind": "model", "name": "Golden", "namespace": "Scm._Type.Model.Inheritance.EnumDiscriminator", @@ -160,22 +290,22 @@ "discriminatorValue": "golden", "decorators": [], "baseModel": { - "$ref": "10" + "$ref": "26" }, "properties": [ { - "$id": "20", + "$id": "36", "kind": "property", "name": "kind", "serializedName": "kind", "doc": "discriminator property", "type": { - "$id": "21", + "$id": "37", "kind": "enumvalue", "name": "Golden", "value": "golden", "valueType": { - "$id": "22", + "$id": "38", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -194,9 +324,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.Golden.kind", "serializationOptions": { - "$id": "23", + "$id": "39", "json": { - "$id": "24", + "$id": "40", "name": "kind" } } @@ -206,10 +336,10 @@ } }, { - "$ref": "19" + "$ref": "35" }, { - "$id": "25", + "$id": "41", "kind": "model", "name": "Snake", "namespace": "Scm._Type.Model.Inheritance.EnumDiscriminator", @@ -218,7 +348,7 @@ "doc": "Test fixed enum type for discriminator", "decorators": [], "discriminatorProperty": { - "$id": "26", + "$id": "42", "kind": "property", "name": "kind", "serializedName": "kind", @@ -233,25 +363,25 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.Snake.kind", "serializationOptions": { - "$id": "27", + "$id": "43", "json": { - "$id": "28", + "$id": "44", "name": "kind" } } }, "properties": [ { - "$ref": "26" + "$ref": "42" }, { - "$id": "29", + "$id": "45", "kind": "property", "name": "length", "serializedName": "length", "doc": "Length of the snake", "type": { - "$id": "30", + "$id": "46", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -264,18 +394,18 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.Snake.length", "serializationOptions": { - "$id": "31", + "$id": "47", "json": { - "$id": "32", + "$id": "48", "name": "length" } } } ], "discriminatedSubtypes": { - "$id": "33", + "$id": "49", "cobra": { - "$id": "34", + "$id": "50", "kind": "model", "name": "Cobra", "namespace": "Scm._Type.Model.Inheritance.EnumDiscriminator", @@ -285,22 +415,22 @@ "discriminatorValue": "cobra", "decorators": [], "baseModel": { - "$ref": "25" + "$ref": "41" }, "properties": [ { - "$id": "35", + "$id": "51", "kind": "property", "name": "kind", "serializedName": "kind", "doc": "discriminator property", "type": { - "$id": "36", + "$id": "52", "kind": "enumvalue", "name": "Cobra", "value": "cobra", "valueType": { - "$id": "37", + "$id": "53", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -319,9 +449,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.Cobra.kind", "serializationOptions": { - "$id": "38", + "$id": "54", "json": { - "$id": "39", + "$id": "55", "name": "kind" } } @@ -331,50 +461,37 @@ } }, { - "$ref": "34" + "$ref": "50" } ], "clients": [ { - "$id": "40", + "$id": "56", "kind": "client", "name": "EnumDiscriminatorClient", "namespace": "Scm._Type.Model.Inheritance.EnumDiscriminator", "doc": "Illustrates inheritance with enum discriminator.", "methods": [ { - "$id": "41", + "$id": "57", "kind": "basic", "name": "getExtensibleModel", "accessibility": "public", "apiVersions": [], "doc": "Receive model with extensible enum discriminator type.", "operation": { - "$id": "42", + "$id": "58", "name": "getExtensibleModel", "resourceName": "EnumDiscriminator", "doc": "Receive model with extensible enum discriminator type.", "accessibility": "public", "parameters": [ { - "$id": "43", + "$id": "59", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "44", - "kind": "constant", - "name": "getExtensibleModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "45", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -389,12 +506,12 @@ ], "responses": [ { - "$id": "46", + "$id": "60", "statusCodes": [ 200 ], "bodyType": { - "$ref": "10" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -414,11 +531,11 @@ }, "parameters": [ { - "$id": "47", + "$id": "61", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "44" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -432,9 +549,9 @@ } ], "response": { - "$id": "48", + "$id": "62", "type": { - "$ref": "10" + "$ref": "26" } }, "isOverride": false, @@ -443,39 +560,26 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getExtensibleModel" }, { - "$id": "49", + "$id": "63", "kind": "basic", "name": "putExtensibleModel", "accessibility": "public", "apiVersions": [], "doc": "Send model with extensible enum discriminator type.", "operation": { - "$id": "50", + "$id": "64", "name": "putExtensibleModel", "resourceName": "EnumDiscriminator", "doc": "Send model with extensible enum discriminator type.", "accessibility": "public", "parameters": [ { - "$id": "51", + "$id": "65", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "52", - "kind": "constant", - "name": "putExtensibleModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "53", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -488,12 +592,12 @@ "skipUrlEncoding": false }, { - "$id": "54", + "$id": "66", "name": "input", "nameInRequest": "input", "doc": "Dog to create", "type": { - "$ref": "10" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -508,7 +612,7 @@ ], "responses": [ { - "$id": "55", + "$id": "67", "statusCodes": [ 204 ], @@ -530,12 +634,12 @@ }, "parameters": [ { - "$id": "56", + "$id": "68", "name": "input", "nameInRequest": "input", "doc": "Dog to create", "type": { - "$ref": "10" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -548,12 +652,12 @@ "skipUrlEncoding": false }, { - "$id": "57", + "$id": "69", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "52" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -567,7 +671,7 @@ } ], "response": { - "$id": "58" + "$id": "70" }, "isOverride": false, "generateConvenient": true, @@ -575,38 +679,25 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.putExtensibleModel" }, { - "$id": "59", + "$id": "71", "kind": "basic", "name": "getExtensibleModelMissingDiscriminator", "accessibility": "public", "apiVersions": [], "doc": "Get a model omitting the discriminator.", "operation": { - "$id": "60", + "$id": "72", "name": "getExtensibleModelMissingDiscriminator", "resourceName": "EnumDiscriminator", "doc": "Get a model omitting the discriminator.", "accessibility": "public", "parameters": [ { - "$id": "61", + "$id": "73", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "62", - "kind": "constant", - "name": "getExtensibleModelMissingDiscriminatorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "63", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -621,12 +712,12 @@ ], "responses": [ { - "$id": "64", + "$id": "74", "statusCodes": [ 200 ], "bodyType": { - "$ref": "10" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -646,11 +737,11 @@ }, "parameters": [ { - "$id": "65", + "$id": "75", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "62" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -664,9 +755,9 @@ } ], "response": { - "$id": "66", + "$id": "76", "type": { - "$ref": "10" + "$ref": "26" } }, "isOverride": false, @@ -675,38 +766,25 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getExtensibleModelMissingDiscriminator" }, { - "$id": "67", + "$id": "77", "kind": "basic", "name": "getExtensibleModelWrongDiscriminator", "accessibility": "public", "apiVersions": [], "doc": "Get a model containing discriminator value never defined.", "operation": { - "$id": "68", + "$id": "78", "name": "getExtensibleModelWrongDiscriminator", "resourceName": "EnumDiscriminator", "doc": "Get a model containing discriminator value never defined.", "accessibility": "public", "parameters": [ { - "$id": "69", + "$id": "79", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "70", - "kind": "constant", - "name": "getExtensibleModelWrongDiscriminatorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "71", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -721,12 +799,12 @@ ], "responses": [ { - "$id": "72", + "$id": "80", "statusCodes": [ 200 ], "bodyType": { - "$ref": "10" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -746,11 +824,11 @@ }, "parameters": [ { - "$id": "73", + "$id": "81", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "70" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -764,9 +842,9 @@ } ], "response": { - "$id": "74", + "$id": "82", "type": { - "$ref": "10" + "$ref": "26" } }, "isOverride": false, @@ -775,38 +853,25 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getExtensibleModelWrongDiscriminator" }, { - "$id": "75", + "$id": "83", "kind": "basic", "name": "getFixedModel", "accessibility": "public", "apiVersions": [], "doc": "Receive model with fixed enum discriminator type.", "operation": { - "$id": "76", + "$id": "84", "name": "getFixedModel", "resourceName": "EnumDiscriminator", "doc": "Receive model with fixed enum discriminator type.", "accessibility": "public", "parameters": [ { - "$id": "77", + "$id": "85", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "78", - "kind": "constant", - "name": "getFixedModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "79", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -821,12 +886,12 @@ ], "responses": [ { - "$id": "80", + "$id": "86", "statusCodes": [ 200 ], "bodyType": { - "$ref": "25" + "$ref": "41" }, "headers": [], "isErrorResponse": false, @@ -846,11 +911,11 @@ }, "parameters": [ { - "$id": "81", + "$id": "87", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "78" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -864,9 +929,9 @@ } ], "response": { - "$id": "82", + "$id": "88", "type": { - "$ref": "25" + "$ref": "41" } }, "isOverride": false, @@ -875,39 +940,26 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getFixedModel" }, { - "$id": "83", + "$id": "89", "kind": "basic", "name": "putFixedModel", "accessibility": "public", "apiVersions": [], "doc": "Send model with fixed enum discriminator type.", "operation": { - "$id": "84", + "$id": "90", "name": "putFixedModel", "resourceName": "EnumDiscriminator", "doc": "Send model with fixed enum discriminator type.", "accessibility": "public", "parameters": [ { - "$id": "85", + "$id": "91", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "86", - "kind": "constant", - "name": "putFixedModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "87", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -920,12 +972,12 @@ "skipUrlEncoding": false }, { - "$id": "88", + "$id": "92", "name": "input", "nameInRequest": "input", "doc": "Snake to create", "type": { - "$ref": "25" + "$ref": "41" }, "location": "Body", "isApiVersion": false, @@ -940,7 +992,7 @@ ], "responses": [ { - "$id": "89", + "$id": "93", "statusCodes": [ 204 ], @@ -962,12 +1014,12 @@ }, "parameters": [ { - "$id": "90", + "$id": "94", "name": "input", "nameInRequest": "input", "doc": "Snake to create", "type": { - "$ref": "25" + "$ref": "41" }, "location": "Body", "isApiVersion": false, @@ -980,12 +1032,12 @@ "skipUrlEncoding": false }, { - "$id": "91", + "$id": "95", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "86" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -999,7 +1051,7 @@ } ], "response": { - "$id": "92" + "$id": "96" }, "isOverride": false, "generateConvenient": true, @@ -1007,38 +1059,25 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.putFixedModel" }, { - "$id": "93", + "$id": "97", "kind": "basic", "name": "getFixedModelMissingDiscriminator", "accessibility": "public", "apiVersions": [], "doc": "Get a model omitting the discriminator.", "operation": { - "$id": "94", + "$id": "98", "name": "getFixedModelMissingDiscriminator", "resourceName": "EnumDiscriminator", "doc": "Get a model omitting the discriminator.", "accessibility": "public", "parameters": [ { - "$id": "95", + "$id": "99", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "96", - "kind": "constant", - "name": "getFixedModelMissingDiscriminatorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "97", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1053,12 +1092,12 @@ ], "responses": [ { - "$id": "98", + "$id": "100", "statusCodes": [ 200 ], "bodyType": { - "$ref": "25" + "$ref": "41" }, "headers": [], "isErrorResponse": false, @@ -1078,11 +1117,11 @@ }, "parameters": [ { - "$id": "99", + "$id": "101", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "96" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1096,9 +1135,9 @@ } ], "response": { - "$id": "100", + "$id": "102", "type": { - "$ref": "25" + "$ref": "41" } }, "isOverride": false, @@ -1107,38 +1146,25 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getFixedModelMissingDiscriminator" }, { - "$id": "101", + "$id": "103", "kind": "basic", "name": "getFixedModelWrongDiscriminator", "accessibility": "public", "apiVersions": [], "doc": "Get a model containing discriminator value never defined.", "operation": { - "$id": "102", + "$id": "104", "name": "getFixedModelWrongDiscriminator", "resourceName": "EnumDiscriminator", "doc": "Get a model containing discriminator value never defined.", "accessibility": "public", "parameters": [ { - "$id": "103", + "$id": "105", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "104", - "kind": "constant", - "name": "getFixedModelWrongDiscriminatorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "105", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1158,7 +1184,7 @@ 200 ], "bodyType": { - "$ref": "25" + "$ref": "41" }, "headers": [], "isErrorResponse": false, @@ -1182,7 +1208,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "104" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1198,7 +1224,7 @@ "response": { "$id": "108", "type": { - "$ref": "25" + "$ref": "41" } }, "isOverride": false, diff --git a/test/CadlRanchProjectsNonAzure/type/model/inheritance/not-discriminated/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/model/inheritance/not-discriminated/tspCodeModel.json index 57f22d8aa46..9638584748c 100644 --- a/test/CadlRanchProjectsNonAzure/type/model/inheritance/not-discriminated/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/model/inheritance/not-discriminated/tspCodeModel.json @@ -3,9 +3,75 @@ "name": "Type.Model.Inheritance.NotDiscriminated", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "postValidContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "getValidContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "putValidContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "putValidContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "10", "kind": "model", "name": "Siamese", "namespace": "Scm._Type.Model.Inheritance.NotDiscriminated", @@ -14,7 +80,7 @@ "doc": "The third level model in the normal multiple levels inheritance.", "decorators": [], "baseModel": { - "$id": "3", + "$id": "11", "kind": "model", "name": "Cat", "namespace": "Scm._Type.Model.Inheritance.NotDiscriminated", @@ -23,7 +89,7 @@ "doc": "The second level model in the normal multiple levels inheritance.", "decorators": [], "baseModel": { - "$id": "4", + "$id": "12", "kind": "model", "name": "Pet", "namespace": "Scm._Type.Model.Inheritance.NotDiscriminated", @@ -33,12 +99,12 @@ "decorators": [], "properties": [ { - "$id": "5", + "$id": "13", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "6", + "$id": "14", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51,9 +117,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.Pet.name", "serializationOptions": { - "$id": "7", + "$id": "15", "json": { - "$id": "8", + "$id": "16", "name": "name" } } @@ -62,12 +128,12 @@ }, "properties": [ { - "$id": "9", + "$id": "17", "kind": "property", "name": "age", "serializedName": "age", "type": { - "$id": "10", + "$id": "18", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -80,9 +146,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.Cat.age", "serializationOptions": { - "$id": "11", + "$id": "19", "json": { - "$id": "12", + "$id": "20", "name": "age" } } @@ -91,12 +157,12 @@ }, "properties": [ { - "$id": "13", + "$id": "21", "kind": "property", "name": "smart", "serializedName": "smart", "type": { - "$id": "14", + "$id": "22", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -109,9 +175,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.Siamese.smart", "serializationOptions": { - "$id": "15", + "$id": "23", "json": { - "$id": "16", + "$id": "24", "name": "smart" } } @@ -119,52 +185,39 @@ ] }, { - "$ref": "3" + "$ref": "11" }, { - "$ref": "4" + "$ref": "12" } ], "clients": [ { - "$id": "17", + "$id": "25", "kind": "client", "name": "NotDiscriminatedClient", "namespace": "Scm._Type.Model.Inheritance.NotDiscriminated", "doc": "Illustrates not-discriminated inheritance model.", "methods": [ { - "$id": "18", + "$id": "26", "kind": "basic", "name": "postValid", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "19", + "$id": "27", "name": "postValid", "resourceName": "NotDiscriminated", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "28", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "21", - "kind": "constant", - "name": "postValidContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -177,11 +230,11 @@ "skipUrlEncoding": false }, { - "$id": "23", + "$id": "29", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -196,7 +249,7 @@ ], "responses": [ { - "$id": "24", + "$id": "30", "statusCodes": [ 204 ], @@ -218,11 +271,11 @@ }, "parameters": [ { - "$id": "25", + "$id": "31", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -235,12 +288,12 @@ "skipUrlEncoding": false }, { - "$id": "26", + "$id": "32", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "21" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -254,7 +307,7 @@ } ], "response": { - "$id": "27" + "$id": "33" }, "isOverride": false, "generateConvenient": true, @@ -262,36 +315,23 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.postValid" }, { - "$id": "28", + "$id": "34", "kind": "basic", "name": "getValid", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "29", + "$id": "35", "name": "getValid", "resourceName": "NotDiscriminated", "accessibility": "public", "parameters": [ { - "$id": "30", + "$id": "36", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "31", - "kind": "constant", - "name": "getValidContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "32", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -306,12 +346,12 @@ ], "responses": [ { - "$id": "33", + "$id": "37", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "10" }, "headers": [], "isErrorResponse": false, @@ -331,11 +371,11 @@ }, "parameters": [ { - "$id": "34", + "$id": "38", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "31" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -349,9 +389,9 @@ } ], "response": { - "$id": "35", + "$id": "39", "type": { - "$ref": "2" + "$ref": "10" } }, "isOverride": false, @@ -360,37 +400,24 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.getValid" }, { - "$id": "36", + "$id": "40", "kind": "basic", "name": "putValid", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "37", + "$id": "41", "name": "putValid", "resourceName": "NotDiscriminated", "accessibility": "public", "parameters": [ { - "$id": "38", + "$id": "42", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "39", - "kind": "constant", - "name": "putValidContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "40", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -403,24 +430,11 @@ "skipUrlEncoding": false }, { - "$id": "41", + "$id": "43", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "42", - "kind": "constant", - "name": "putValidContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "43", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -437,7 +451,7 @@ "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -457,7 +471,7 @@ 200 ], "bodyType": { - "$ref": "2" + "$ref": "10" }, "headers": [], "isErrorResponse": false, @@ -484,7 +498,7 @@ "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -502,7 +516,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "39" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -519,7 +533,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "42" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -535,7 +549,7 @@ "response": { "$id": "49", "type": { - "$ref": "2" + "$ref": "10" } }, "isOverride": false, diff --git a/test/CadlRanchProjectsNonAzure/type/model/inheritance/recursive/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/model/inheritance/recursive/tspCodeModel.json index 5881372b409..2ddfc6706ab 100644 --- a/test/CadlRanchProjectsNonAzure/type/model/inheritance/recursive/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/model/inheritance/recursive/tspCodeModel.json @@ -3,9 +3,43 @@ "name": "Type.Model.Inheritance.Recursive", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "putContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "6", "kind": "model", "name": "Extension", "namespace": "Scm._Type.Model.Inheritance.Recursive", @@ -14,7 +48,7 @@ "doc": "extension", "decorators": [], "baseModel": { - "$id": "3", + "$id": "7", "kind": "model", "name": "Element", "namespace": "Scm._Type.Model.Inheritance.Recursive", @@ -24,16 +58,16 @@ "decorators": [], "properties": [ { - "$id": "4", + "$id": "8", "kind": "property", "name": "extension", "serializedName": "extension", "type": { - "$id": "5", + "$id": "9", "kind": "array", "name": "ArrayExtension", "valueType": { - "$ref": "2" + "$ref": "6" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -45,9 +79,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.Recursive.Element.extension", "serializationOptions": { - "$id": "6", + "$id": "10", "json": { - "$id": "7", + "$id": "11", "name": "extension" } } @@ -56,12 +90,12 @@ }, "properties": [ { - "$id": "8", + "$id": "12", "kind": "property", "name": "level", "serializedName": "level", "type": { - "$id": "9", + "$id": "13", "kind": "int8", "name": "int8", "crossLanguageDefinitionId": "TypeSpec.int8", @@ -74,9 +108,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.Recursive.Extension.level", "serializationOptions": { - "$id": "10", + "$id": "14", "json": { - "$id": "11", + "$id": "15", "name": "level" } } @@ -84,49 +118,36 @@ ] }, { - "$ref": "3" + "$ref": "7" } ], "clients": [ { - "$id": "12", + "$id": "16", "kind": "client", "name": "RecursiveClient", "namespace": "Scm._Type.Model.Inheritance.Recursive", "doc": "Illustrates inheritance recursion", "methods": [ { - "$id": "13", + "$id": "17", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "14", + "$id": "18", "name": "put", "resourceName": "Recursive", "accessibility": "public", "parameters": [ { - "$id": "15", + "$id": "19", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "16", - "kind": "constant", - "name": "putContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "17", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -139,11 +160,11 @@ "skipUrlEncoding": false }, { - "$id": "18", + "$id": "20", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "6" }, "location": "Body", "isApiVersion": false, @@ -158,7 +179,7 @@ ], "responses": [ { - "$id": "19", + "$id": "21", "statusCodes": [ 204 ], @@ -180,11 +201,11 @@ }, "parameters": [ { - "$id": "20", + "$id": "22", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "6" }, "location": "Body", "isApiVersion": false, @@ -197,12 +218,12 @@ "skipUrlEncoding": false }, { - "$id": "21", + "$id": "23", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "16" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -216,7 +237,7 @@ } ], "response": { - "$id": "22" + "$id": "24" }, "isOverride": false, "generateConvenient": true, @@ -224,36 +245,23 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.Recursive.put" }, { - "$id": "23", + "$id": "25", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "24", + "$id": "26", "name": "get", "resourceName": "Recursive", "accessibility": "public", "parameters": [ { - "$id": "25", + "$id": "27", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "26", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "27", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -273,7 +281,7 @@ 200 ], "bodyType": { - "$ref": "2" + "$ref": "6" }, "headers": [], "isErrorResponse": false, @@ -297,7 +305,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "26" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -313,7 +321,7 @@ "response": { "$id": "30", "type": { - "$ref": "2" + "$ref": "6" } }, "isOverride": false, diff --git a/test/CadlRanchProjectsNonAzure/type/model/inheritance/single-discriminator/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/model/inheritance/single-discriminator/tspCodeModel.json index 834c1b45710..480b10e868f 100644 --- a/test/CadlRanchProjectsNonAzure/type/model/inheritance/single-discriminator/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/model/inheritance/single-discriminator/tspCodeModel.json @@ -3,9 +3,203 @@ "name": "Type.Model.Inheritance.SingleDiscriminator", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "SeaGullKind", + "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", + "usage": "Input,Output,Json", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "seagull", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "SparrowKind", + "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", + "usage": "Input,Output,Json", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "sparrow", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "GooseKind", + "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", + "usage": "Input,Output,Json", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "goose", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "EagleKind", + "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", + "usage": "Input,Output,Json", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "eagle", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "TRexKind", + "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", + "usage": "Output,Json", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "t-rex", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "getModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "putModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "getRecursiveModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "putRecursiveModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "getMissingDiscriminatorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "getWrongDiscriminatorContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "getLegacyModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "26", "kind": "model", "name": "Bird", "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", @@ -14,12 +208,12 @@ "doc": "This is base model for polymorphic single level inheritance with a discriminator.", "decorators": [], "discriminatorProperty": { - "$id": "3", + "$id": "27", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "4", + "$id": "28", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32,24 +226,24 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Bird.kind", "serializationOptions": { - "$id": "5", + "$id": "29", "json": { - "$id": "6", + "$id": "30", "name": "kind" } } }, "properties": [ { - "$ref": "3" + "$ref": "27" }, { - "$id": "7", + "$id": "31", "kind": "property", "name": "wingspan", "serializedName": "wingspan", "type": { - "$id": "8", + "$id": "32", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62,18 +256,18 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Bird.wingspan", "serializationOptions": { - "$id": "9", + "$id": "33", "json": { - "$id": "10", + "$id": "34", "name": "wingspan" } } } ], "discriminatedSubtypes": { - "$id": "11", + "$id": "35", "seagull": { - "$id": "12", + "$id": "36", "kind": "model", "name": "SeaGull", "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", @@ -83,29 +277,16 @@ "discriminatorValue": "seagull", "decorators": [], "baseModel": { - "$ref": "2" + "$ref": "26" }, "properties": [ { - "$id": "13", + "$id": "37", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "14", - "kind": "constant", - "name": "SeaGullKind", - "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", - "usage": "Input,Output,Json", - "valueType": { - "$id": "15", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "seagull", - "decorators": [] + "$ref": "2" }, "optional": false, "readOnly": false, @@ -114,9 +295,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.SeaGull.kind", "serializationOptions": { - "$id": "16", + "$id": "38", "json": { - "$id": "17", + "$id": "39", "name": "kind" } } @@ -124,7 +305,7 @@ ] }, "sparrow": { - "$id": "18", + "$id": "40", "kind": "model", "name": "Sparrow", "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", @@ -134,29 +315,16 @@ "discriminatorValue": "sparrow", "decorators": [], "baseModel": { - "$ref": "2" + "$ref": "26" }, "properties": [ { - "$id": "19", + "$id": "41", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "20", - "kind": "constant", - "name": "SparrowKind", - "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", - "usage": "Input,Output,Json", - "valueType": { - "$id": "21", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "sparrow", - "decorators": [] + "$ref": "4" }, "optional": false, "readOnly": false, @@ -165,9 +333,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Sparrow.kind", "serializationOptions": { - "$id": "22", + "$id": "42", "json": { - "$id": "23", + "$id": "43", "name": "kind" } } @@ -175,7 +343,7 @@ ] }, "goose": { - "$id": "24", + "$id": "44", "kind": "model", "name": "Goose", "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", @@ -185,29 +353,16 @@ "discriminatorValue": "goose", "decorators": [], "baseModel": { - "$ref": "2" + "$ref": "26" }, "properties": [ { - "$id": "25", + "$id": "45", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "26", - "kind": "constant", - "name": "GooseKind", - "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", - "usage": "Input,Output,Json", - "valueType": { - "$id": "27", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "goose", - "decorators": [] + "$ref": "6" }, "optional": false, "readOnly": false, @@ -216,9 +371,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Goose.kind", "serializationOptions": { - "$id": "28", + "$id": "46", "json": { - "$id": "29", + "$id": "47", "name": "kind" } } @@ -226,7 +381,7 @@ ] }, "eagle": { - "$id": "30", + "$id": "48", "kind": "model", "name": "Eagle", "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", @@ -236,29 +391,16 @@ "discriminatorValue": "eagle", "decorators": [], "baseModel": { - "$ref": "2" + "$ref": "26" }, "properties": [ { - "$id": "31", + "$id": "49", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "32", - "kind": "constant", - "name": "EagleKind", - "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", - "usage": "Input,Output,Json", - "valueType": { - "$id": "33", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "eagle", - "decorators": [] + "$ref": "8" }, "optional": false, "readOnly": false, @@ -267,24 +409,24 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Eagle.kind", "serializationOptions": { - "$id": "34", + "$id": "50", "json": { - "$id": "35", + "$id": "51", "name": "kind" } } }, { - "$id": "36", + "$id": "52", "kind": "property", "name": "friends", "serializedName": "friends", "type": { - "$id": "37", + "$id": "53", "kind": "array", "name": "ArrayBird", "valueType": { - "$ref": "2" + "$ref": "26" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -296,30 +438,30 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Eagle.friends", "serializationOptions": { - "$id": "38", + "$id": "54", "json": { - "$id": "39", + "$id": "55", "name": "friends" } } }, { - "$id": "40", + "$id": "56", "kind": "property", "name": "hate", "serializedName": "hate", "type": { - "$id": "41", + "$id": "57", "kind": "dict", "keyType": { - "$id": "42", + "$id": "58", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "2" + "$ref": "26" }, "decorators": [] }, @@ -330,20 +472,20 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Eagle.hate", "serializationOptions": { - "$id": "43", + "$id": "59", "json": { - "$id": "44", + "$id": "60", "name": "hate" } } }, { - "$id": "45", + "$id": "61", "kind": "property", "name": "partner", "serializedName": "partner", "type": { - "$ref": "2" + "$ref": "26" }, "optional": true, "readOnly": false, @@ -352,9 +494,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Eagle.partner", "serializationOptions": { - "$id": "46", + "$id": "62", "json": { - "$id": "47", + "$id": "63", "name": "partner" } } @@ -364,19 +506,19 @@ } }, { - "$ref": "12" + "$ref": "36" }, { - "$ref": "18" + "$ref": "40" }, { - "$ref": "24" + "$ref": "44" }, { - "$ref": "30" + "$ref": "48" }, { - "$id": "48", + "$id": "64", "kind": "model", "name": "Dinosaur", "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", @@ -385,13 +527,13 @@ "doc": "Define a base class in the legacy way. Discriminator property is not explicitly defined in the model.", "decorators": [], "discriminatorProperty": { - "$id": "49", + "$id": "65", "kind": "property", "name": "kind", "serializedName": "kind", "doc": "Discriminator property for Dinosaur.", "type": { - "$id": "50", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -404,24 +546,24 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Dinosaur.kind", "serializationOptions": { - "$id": "51", + "$id": "67", "json": { - "$id": "52", + "$id": "68", "name": "kind" } } }, "properties": [ { - "$ref": "49" + "$ref": "65" }, { - "$id": "53", + "$id": "69", "kind": "property", "name": "size", "serializedName": "size", "type": { - "$id": "54", + "$id": "70", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -434,18 +576,18 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.Dinosaur.size", "serializationOptions": { - "$id": "55", + "$id": "71", "json": { - "$id": "56", + "$id": "72", "name": "size" } } } ], "discriminatedSubtypes": { - "$id": "57", + "$id": "73", "t-rex": { - "$id": "58", + "$id": "74", "kind": "model", "name": "TRex", "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", @@ -455,29 +597,16 @@ "discriminatorValue": "t-rex", "decorators": [], "baseModel": { - "$ref": "48" + "$ref": "64" }, "properties": [ { - "$id": "59", + "$id": "75", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "60", - "kind": "constant", - "name": "TRexKind", - "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", - "usage": "Output,Json", - "valueType": { - "$id": "61", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "t-rex", - "decorators": [] + "$ref": "10" }, "optional": false, "readOnly": false, @@ -486,9 +615,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.TRex.kind", "serializationOptions": { - "$id": "62", + "$id": "76", "json": { - "$id": "63", + "$id": "77", "name": "kind" } } @@ -498,48 +627,35 @@ } }, { - "$ref": "58" + "$ref": "74" } ], "clients": [ { - "$id": "64", + "$id": "78", "kind": "client", "name": "SingleDiscriminatorClient", "namespace": "Scm._Type.Model.Inheritance.SingleDiscriminator", "doc": "Illustrates inheritance with single discriminator.", "methods": [ { - "$id": "65", + "$id": "79", "kind": "basic", "name": "getModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "66", + "$id": "80", "name": "getModel", "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ { - "$id": "67", + "$id": "81", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "68", - "kind": "constant", - "name": "getModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "69", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -554,12 +670,12 @@ ], "responses": [ { - "$id": "70", + "$id": "82", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -579,11 +695,11 @@ }, "parameters": [ { - "$id": "71", + "$id": "83", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "68" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -597,9 +713,9 @@ } ], "response": { - "$id": "72", + "$id": "84", "type": { - "$ref": "2" + "$ref": "26" } }, "isOverride": false, @@ -608,37 +724,24 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.getModel" }, { - "$id": "73", + "$id": "85", "kind": "basic", "name": "putModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "74", + "$id": "86", "name": "putModel", "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ { - "$id": "75", + "$id": "87", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "76", - "kind": "constant", - "name": "putModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "77", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -651,11 +754,11 @@ "skipUrlEncoding": false }, { - "$id": "78", + "$id": "88", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -670,7 +773,7 @@ ], "responses": [ { - "$id": "79", + "$id": "89", "statusCodes": [ 204 ], @@ -692,11 +795,11 @@ }, "parameters": [ { - "$id": "80", + "$id": "90", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -709,12 +812,12 @@ "skipUrlEncoding": false }, { - "$id": "81", + "$id": "91", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "76" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -728,7 +831,7 @@ } ], "response": { - "$id": "82" + "$id": "92" }, "isOverride": false, "generateConvenient": true, @@ -736,36 +839,23 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.putModel" }, { - "$id": "83", + "$id": "93", "kind": "basic", "name": "getRecursiveModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "84", + "$id": "94", "name": "getRecursiveModel", "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ { - "$id": "85", + "$id": "95", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "86", - "kind": "constant", - "name": "getRecursiveModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "87", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -780,12 +870,12 @@ ], "responses": [ { - "$id": "88", + "$id": "96", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -805,11 +895,11 @@ }, "parameters": [ { - "$id": "89", + "$id": "97", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "86" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -823,9 +913,9 @@ } ], "response": { - "$id": "90", + "$id": "98", "type": { - "$ref": "2" + "$ref": "26" } }, "isOverride": false, @@ -834,37 +924,24 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.getRecursiveModel" }, { - "$id": "91", + "$id": "99", "kind": "basic", "name": "putRecursiveModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "92", + "$id": "100", "name": "putRecursiveModel", "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ { - "$id": "93", + "$id": "101", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "94", - "kind": "constant", - "name": "putRecursiveModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "95", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -877,11 +954,11 @@ "skipUrlEncoding": false }, { - "$id": "96", + "$id": "102", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -896,7 +973,7 @@ ], "responses": [ { - "$id": "97", + "$id": "103", "statusCodes": [ 204 ], @@ -918,11 +995,11 @@ }, "parameters": [ { - "$id": "98", + "$id": "104", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -935,12 +1012,12 @@ "skipUrlEncoding": false }, { - "$id": "99", + "$id": "105", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "94" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -954,7 +1031,7 @@ } ], "response": { - "$id": "100" + "$id": "106" }, "isOverride": false, "generateConvenient": true, @@ -962,36 +1039,23 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.putRecursiveModel" }, { - "$id": "101", + "$id": "107", "kind": "basic", "name": "getMissingDiscriminator", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "102", + "$id": "108", "name": "getMissingDiscriminator", "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ { - "$id": "103", + "$id": "109", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "104", - "kind": "constant", - "name": "getMissingDiscriminatorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "105", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1006,12 +1070,12 @@ ], "responses": [ { - "$id": "106", + "$id": "110", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -1031,11 +1095,11 @@ }, "parameters": [ { - "$id": "107", + "$id": "111", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "104" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1049,9 +1113,9 @@ } ], "response": { - "$id": "108", + "$id": "112", "type": { - "$ref": "2" + "$ref": "26" } }, "isOverride": false, @@ -1060,36 +1124,23 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.getMissingDiscriminator" }, { - "$id": "109", + "$id": "113", "kind": "basic", "name": "getWrongDiscriminator", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "110", + "$id": "114", "name": "getWrongDiscriminator", "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ { - "$id": "111", + "$id": "115", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "112", - "kind": "constant", - "name": "getWrongDiscriminatorContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "113", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1104,12 +1155,12 @@ ], "responses": [ { - "$id": "114", + "$id": "116", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "26" }, "headers": [], "isErrorResponse": false, @@ -1129,11 +1180,11 @@ }, "parameters": [ { - "$id": "115", + "$id": "117", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "112" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1147,9 +1198,9 @@ } ], "response": { - "$id": "116", + "$id": "118", "type": { - "$ref": "2" + "$ref": "26" } }, "isOverride": false, @@ -1158,36 +1209,23 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.getWrongDiscriminator" }, { - "$id": "117", + "$id": "119", "kind": "basic", "name": "getLegacyModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "118", + "$id": "120", "name": "getLegacyModel", "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ { - "$id": "119", + "$id": "121", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "120", - "kind": "constant", - "name": "getLegacyModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "121", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1207,7 +1245,7 @@ 200 ], "bodyType": { - "$ref": "48" + "$ref": "64" }, "headers": [], "isErrorResponse": false, @@ -1231,7 +1269,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "120" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1247,7 +1285,7 @@ "response": { "$id": "124", "type": { - "$ref": "48" + "$ref": "64" } }, "isOverride": false, diff --git a/test/CadlRanchProjectsNonAzure/type/model/usage/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/model/usage/tspCodeModel.json index c4f0e17a7d8..f0f7ac00ca7 100644 --- a/test/CadlRanchProjectsNonAzure/type/model/usage/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/model/usage/tspCodeModel.json @@ -3,9 +3,75 @@ "name": "Type.Model.Usage", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "inputContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "outputContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "inputAndOutputContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "inputAndOutputContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "10", "kind": "model", "name": "InputRecord", "namespace": "Scm._Type.Model.Usage", @@ -15,12 +81,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "11", "kind": "property", "name": "requiredProp", "serializedName": "requiredProp", "type": { - "$id": "4", + "$id": "12", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33,9 +99,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Usage.InputRecord.requiredProp", "serializationOptions": { - "$id": "5", + "$id": "13", "json": { - "$id": "6", + "$id": "14", "name": "requiredProp" } } @@ -43,7 +109,7 @@ ] }, { - "$id": "7", + "$id": "15", "kind": "model", "name": "OutputRecord", "namespace": "Scm._Type.Model.Usage", @@ -53,12 +119,12 @@ "decorators": [], "properties": [ { - "$id": "8", + "$id": "16", "kind": "property", "name": "requiredProp", "serializedName": "requiredProp", "type": { - "$id": "9", + "$id": "17", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71,9 +137,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Usage.OutputRecord.requiredProp", "serializationOptions": { - "$id": "10", + "$id": "18", "json": { - "$id": "11", + "$id": "19", "name": "requiredProp" } } @@ -81,7 +147,7 @@ ] }, { - "$id": "12", + "$id": "20", "kind": "model", "name": "InputOutputRecord", "namespace": "Scm._Type.Model.Usage", @@ -91,12 +157,12 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "21", "kind": "property", "name": "requiredProp", "serializedName": "requiredProp", "type": { - "$id": "14", + "$id": "22", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109,9 +175,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Model.Usage.InputOutputRecord.requiredProp", "serializationOptions": { - "$id": "15", + "$id": "23", "json": { - "$id": "16", + "$id": "24", "name": "requiredProp" } } @@ -121,44 +187,31 @@ ], "clients": [ { - "$id": "17", + "$id": "25", "kind": "client", "name": "UsageClient", "namespace": "Scm._Type.Model.Usage", "doc": "Illustrates usage of Record in different places(Operation parameters, return type or both).", "methods": [ { - "$id": "18", + "$id": "26", "kind": "basic", "name": "input", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "19", + "$id": "27", "name": "input", "resourceName": "Usage", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "28", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "21", - "kind": "constant", - "name": "inputContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -171,11 +224,11 @@ "skipUrlEncoding": false }, { - "$id": "23", + "$id": "29", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -190,7 +243,7 @@ ], "responses": [ { - "$id": "24", + "$id": "30", "statusCodes": [ 204 ], @@ -212,11 +265,11 @@ }, "parameters": [ { - "$id": "25", + "$id": "31", "name": "input", "nameInRequest": "input", "type": { - "$ref": "2" + "$ref": "10" }, "location": "Body", "isApiVersion": false, @@ -229,12 +282,12 @@ "skipUrlEncoding": false }, { - "$id": "26", + "$id": "32", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "21" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -248,7 +301,7 @@ } ], "response": { - "$id": "27" + "$id": "33" }, "isOverride": false, "generateConvenient": true, @@ -256,36 +309,23 @@ "crossLanguageDefinitionId": "Type.Model.Usage.input" }, { - "$id": "28", + "$id": "34", "kind": "basic", "name": "output", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "29", + "$id": "35", "name": "output", "resourceName": "Usage", "accessibility": "public", "parameters": [ { - "$id": "30", + "$id": "36", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "31", - "kind": "constant", - "name": "outputContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "32", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -300,12 +340,12 @@ ], "responses": [ { - "$id": "33", + "$id": "37", "statusCodes": [ 200 ], "bodyType": { - "$ref": "7" + "$ref": "15" }, "headers": [], "isErrorResponse": false, @@ -325,11 +365,11 @@ }, "parameters": [ { - "$id": "34", + "$id": "38", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "31" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -343,9 +383,9 @@ } ], "response": { - "$id": "35", + "$id": "39", "type": { - "$ref": "7" + "$ref": "15" } }, "isOverride": false, @@ -354,37 +394,24 @@ "crossLanguageDefinitionId": "Type.Model.Usage.output" }, { - "$id": "36", + "$id": "40", "kind": "basic", "name": "inputAndOutput", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "37", + "$id": "41", "name": "inputAndOutput", "resourceName": "Usage", "accessibility": "public", "parameters": [ { - "$id": "38", + "$id": "42", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "39", - "kind": "constant", - "name": "inputAndOutputContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "40", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -397,24 +424,11 @@ "skipUrlEncoding": false }, { - "$id": "41", + "$id": "43", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "42", - "kind": "constant", - "name": "inputAndOutputContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "43", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -431,7 +445,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -451,7 +465,7 @@ 200 ], "bodyType": { - "$ref": "12" + "$ref": "20" }, "headers": [], "isErrorResponse": false, @@ -478,7 +492,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -496,7 +510,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "39" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -513,7 +527,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "42" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -529,7 +543,7 @@ "response": { "$id": "49", "type": { - "$ref": "12" + "$ref": "20" } }, "isOverride": false, diff --git a/test/CadlRanchProjectsNonAzure/type/property/additional-properties/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/property/additional-properties/tspCodeModel.json index 911ae3da480..4db7cecf2a0 100644 --- a/test/CadlRanchProjectsNonAzure/type/property/additional-properties/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/property/additional-properties/tspCodeModel.json @@ -100,9 +100,1071 @@ "decorators": [] } ], + "constants": [ + { + "$id": "11", + "kind": "constant", + "name": "ExtendsUnknownAdditionalPropertiesDiscriminatedDerivedKind", + "namespace": "Scm._Type.Property.AdditionalProperties", + "usage": "Input,Output,Json", + "valueType": { + "$id": "12", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "derived", + "decorators": [] + }, + { + "$id": "13", + "kind": "constant", + "name": "IsUnknownAdditionalPropertiesDiscriminatedDerivedKind", + "namespace": "Scm._Type.Property.AdditionalProperties", + "usage": "Input,Output,Json", + "valueType": { + "$id": "14", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "derived", + "decorators": [] + }, + { + "$id": "15", + "kind": "constant", + "name": "WidgetData0Kind", + "namespace": "Scm._Type.Property.AdditionalProperties", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "2" + }, + "value": "kind0", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "WidgetData1Kind", + "namespace": "Scm._Type.Property.AdditionalProperties", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "5" + }, + "value": "kind1", + "decorators": [] + }, + { + "$id": "17", + "kind": "constant", + "name": "WidgetData2Kind", + "namespace": "Scm._Type.Property.AdditionalProperties", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "8" + }, + "value": "kind1", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "putContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "putContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "getContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "putContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "getContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "putContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "getContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "putContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "getContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "putContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "getContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "putContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "getContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "putContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "getContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "putContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "getContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "putContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "getContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "putContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "getContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "putContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "getContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "putContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "70", + "kind": "constant", + "name": "getContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "72", + "kind": "constant", + "name": "putContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "74", + "kind": "constant", + "name": "getContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "76", + "kind": "constant", + "name": "putContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "78", + "kind": "constant", + "name": "getContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "80", + "kind": "constant", + "name": "putContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "82", + "kind": "constant", + "name": "getContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "84", + "kind": "constant", + "name": "putContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "86", + "kind": "constant", + "name": "getContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "88", + "kind": "constant", + "name": "putContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "90", + "kind": "constant", + "name": "getContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "91", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "92", + "kind": "constant", + "name": "putContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "94", + "kind": "constant", + "name": "getContentType19", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "96", + "kind": "constant", + "name": "putContentType19", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "98", + "kind": "constant", + "name": "getContentType20", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "100", + "kind": "constant", + "name": "putContentType20", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "102", + "kind": "constant", + "name": "getContentType21", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "104", + "kind": "constant", + "name": "putContentType21", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "106", + "kind": "constant", + "name": "getContentType22", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "107", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "108", + "kind": "constant", + "name": "putContentType22", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "109", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "110", + "kind": "constant", + "name": "getContentType23", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "112", + "kind": "constant", + "name": "putContentType23", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "114", + "kind": "constant", + "name": "getContentType24", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "116", + "kind": "constant", + "name": "putContentType24", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "118", + "kind": "constant", + "name": "getContentType25", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "119", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "120", + "kind": "constant", + "name": "putContentType25", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "121", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "122", + "kind": "constant", + "name": "getContentType26", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "124", + "kind": "constant", + "name": "putContentType26", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "126", + "kind": "constant", + "name": "getContentType27", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "128", + "kind": "constant", + "name": "putContentType27", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "130", + "kind": "constant", + "name": "getContentType28", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "132", + "kind": "constant", + "name": "putContentType28", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "134", + "kind": "constant", + "name": "getContentType29", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "136", + "kind": "constant", + "name": "putContentType29", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "138", + "kind": "constant", + "name": "getContentType30", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "140", + "kind": "constant", + "name": "putContentType30", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [ { - "$id": "11", + "$id": "142", "kind": "model", "name": "ExtendsUnknownAdditionalProperties", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -111,7 +1173,7 @@ "doc": "The model extends from Record type.", "decorators": [], "additionalProperties": { - "$id": "12", + "$id": "143", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -119,13 +1181,13 @@ }, "properties": [ { - "$id": "13", + "$id": "144", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "14", + "$id": "145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -138,9 +1200,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalProperties.name", "serializationOptions": { - "$id": "15", + "$id": "146", "json": { - "$id": "16", + "$id": "147", "name": "name" } } @@ -148,7 +1210,7 @@ ] }, { - "$id": "17", + "$id": "148", "kind": "model", "name": "ExtendsUnknownAdditionalPropertiesDerived", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -157,17 +1219,17 @@ "doc": "The model extends from a type that extends from Record.", "decorators": [], "baseModel": { - "$ref": "11" + "$ref": "142" }, "properties": [ { - "$id": "18", + "$id": "149", "kind": "property", "name": "index", "serializedName": "index", "doc": "The index property", "type": { - "$id": "19", + "$id": "150", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -180,21 +1242,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalPropertiesDerived.index", "serializationOptions": { - "$id": "20", + "$id": "151", "json": { - "$id": "21", + "$id": "152", "name": "index" } } }, { - "$id": "22", + "$id": "153", "kind": "property", "name": "age", "serializedName": "age", "doc": "The age property", "type": { - "$id": "23", + "$id": "154", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -207,9 +1269,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalPropertiesDerived.age", "serializationOptions": { - "$id": "24", + "$id": "155", "json": { - "$id": "25", + "$id": "156", "name": "age" } } @@ -217,7 +1279,7 @@ ] }, { - "$id": "26", + "$id": "157", "kind": "model", "name": "ExtendsUnknownAdditionalPropertiesDiscriminated", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -226,16 +1288,16 @@ "doc": "The model extends from Record with a discriminator.", "decorators": [], "additionalProperties": { - "$ref": "12" + "$ref": "143" }, "discriminatorProperty": { - "$id": "27", + "$id": "158", "kind": "property", "name": "kind", "serializedName": "kind", "doc": "The discriminator", "type": { - "$id": "28", + "$id": "159", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -248,22 +1310,22 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalPropertiesDiscriminated.kind", "serializationOptions": { - "$id": "29", + "$id": "160", "json": { - "$id": "30", + "$id": "161", "name": "kind" } } }, "properties": [ { - "$id": "31", + "$id": "162", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "32", + "$id": "163", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -276,21 +1338,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalPropertiesDiscriminated.name", "serializationOptions": { - "$id": "33", + "$id": "164", "json": { - "$id": "34", + "$id": "165", "name": "name" } } }, { - "$ref": "27" + "$ref": "158" } ], "discriminatedSubtypes": { - "$id": "35", + "$id": "166", "derived": { - "$id": "36", + "$id": "167", "kind": "model", "name": "ExtendsUnknownAdditionalPropertiesDiscriminatedDerived", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -300,29 +1362,16 @@ "discriminatorValue": "derived", "decorators": [], "baseModel": { - "$ref": "26" + "$ref": "157" }, "properties": [ { - "$id": "37", + "$id": "168", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "38", - "kind": "constant", - "name": "ExtendsUnknownAdditionalPropertiesDiscriminatedDerivedKind", - "namespace": "Scm._Type.Property.AdditionalProperties", - "usage": "Input,Output,Json", - "valueType": { - "$id": "39", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "derived", - "decorators": [] + "$ref": "11" }, "optional": false, "readOnly": false, @@ -331,21 +1380,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalPropertiesDiscriminatedDerived.kind", "serializationOptions": { - "$id": "40", + "$id": "169", "json": { - "$id": "41", + "$id": "170", "name": "kind" } } }, { - "$id": "42", + "$id": "171", "kind": "property", "name": "index", "serializedName": "index", "doc": "The index property", "type": { - "$id": "43", + "$id": "172", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -358,21 +1407,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalPropertiesDiscriminatedDerived.index", "serializationOptions": { - "$id": "44", + "$id": "173", "json": { - "$id": "45", + "$id": "174", "name": "index" } } }, { - "$id": "46", + "$id": "175", "kind": "property", "name": "age", "serializedName": "age", "doc": "The age property", "type": { - "$id": "47", + "$id": "176", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -385,9 +1434,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownAdditionalPropertiesDiscriminatedDerived.age", "serializationOptions": { - "$id": "48", + "$id": "177", "json": { - "$id": "49", + "$id": "178", "name": "age" } } @@ -397,10 +1446,10 @@ } }, { - "$ref": "36" + "$ref": "167" }, { - "$id": "50", + "$id": "179", "kind": "model", "name": "IsUnknownAdditionalProperties", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -409,7 +1458,7 @@ "doc": "The model is from Record type.", "decorators": [], "additionalProperties": { - "$id": "51", + "$id": "180", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -417,13 +1466,13 @@ }, "properties": [ { - "$id": "52", + "$id": "181", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "53", + "$id": "182", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -436,9 +1485,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalProperties.name", "serializationOptions": { - "$id": "54", + "$id": "183", "json": { - "$id": "55", + "$id": "184", "name": "name" } } @@ -446,7 +1495,7 @@ ] }, { - "$id": "56", + "$id": "185", "kind": "model", "name": "IsUnknownAdditionalPropertiesDerived", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -455,17 +1504,17 @@ "doc": "The model extends from a type that is Record type", "decorators": [], "baseModel": { - "$ref": "50" + "$ref": "179" }, "properties": [ { - "$id": "57", + "$id": "186", "kind": "property", "name": "index", "serializedName": "index", "doc": "The index property", "type": { - "$id": "58", + "$id": "187", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -478,21 +1527,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalPropertiesDerived.index", "serializationOptions": { - "$id": "59", + "$id": "188", "json": { - "$id": "60", + "$id": "189", "name": "index" } } }, { - "$id": "61", + "$id": "190", "kind": "property", "name": "age", "serializedName": "age", "doc": "The age property", "type": { - "$id": "62", + "$id": "191", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -505,9 +1554,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalPropertiesDerived.age", "serializationOptions": { - "$id": "63", + "$id": "192", "json": { - "$id": "64", + "$id": "193", "name": "age" } } @@ -515,7 +1564,7 @@ ] }, { - "$id": "65", + "$id": "194", "kind": "model", "name": "IsUnknownAdditionalPropertiesDiscriminated", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -524,20 +1573,20 @@ "doc": "The model is Record with a discriminator.", "decorators": [], "additionalProperties": { - "$id": "66", + "$id": "195", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", "decorators": [] }, "discriminatorProperty": { - "$id": "67", + "$id": "196", "kind": "property", "name": "kind", "serializedName": "kind", "doc": "The discriminator", "type": { - "$id": "68", + "$id": "197", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -550,22 +1599,22 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalPropertiesDiscriminated.kind", "serializationOptions": { - "$id": "69", + "$id": "198", "json": { - "$id": "70", + "$id": "199", "name": "kind" } } }, "properties": [ { - "$id": "71", + "$id": "200", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "72", + "$id": "201", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -578,21 +1627,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalPropertiesDiscriminated.name", "serializationOptions": { - "$id": "73", + "$id": "202", "json": { - "$id": "74", + "$id": "203", "name": "name" } } }, { - "$ref": "67" + "$ref": "196" } ], "discriminatedSubtypes": { - "$id": "75", + "$id": "204", "derived": { - "$id": "76", + "$id": "205", "kind": "model", "name": "IsUnknownAdditionalPropertiesDiscriminatedDerived", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -602,29 +1651,16 @@ "discriminatorValue": "derived", "decorators": [], "baseModel": { - "$ref": "65" + "$ref": "194" }, "properties": [ { - "$id": "77", + "$id": "206", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "78", - "kind": "constant", - "name": "IsUnknownAdditionalPropertiesDiscriminatedDerivedKind", - "namespace": "Scm._Type.Property.AdditionalProperties", - "usage": "Input,Output,Json", - "valueType": { - "$id": "79", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "derived", - "decorators": [] + "$ref": "13" }, "optional": false, "readOnly": false, @@ -633,21 +1669,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalPropertiesDiscriminatedDerived.kind", "serializationOptions": { - "$id": "80", + "$id": "207", "json": { - "$id": "81", + "$id": "208", "name": "kind" } } }, { - "$id": "82", + "$id": "209", "kind": "property", "name": "index", "serializedName": "index", "doc": "The index property", "type": { - "$id": "83", + "$id": "210", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -660,21 +1696,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalPropertiesDiscriminatedDerived.index", "serializationOptions": { - "$id": "84", + "$id": "211", "json": { - "$id": "85", + "$id": "212", "name": "index" } } }, { - "$id": "86", + "$id": "213", "kind": "property", "name": "age", "serializedName": "age", "doc": "The age property", "type": { - "$id": "87", + "$id": "214", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -687,9 +1723,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownAdditionalPropertiesDiscriminatedDerived.age", "serializationOptions": { - "$id": "88", + "$id": "215", "json": { - "$id": "89", + "$id": "216", "name": "age" } } @@ -699,10 +1735,10 @@ } }, { - "$ref": "76" + "$ref": "205" }, { - "$id": "90", + "$id": "217", "kind": "model", "name": "ExtendsStringAdditionalProperties", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -711,7 +1747,7 @@ "doc": "The model extends from Record type.", "decorators": [], "additionalProperties": { - "$id": "91", + "$id": "218", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -719,13 +1755,13 @@ }, "properties": [ { - "$id": "92", + "$id": "219", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "93", + "$id": "220", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -738,9 +1774,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsStringAdditionalProperties.name", "serializationOptions": { - "$id": "94", + "$id": "221", "json": { - "$id": "95", + "$id": "222", "name": "name" } } @@ -748,7 +1784,7 @@ ] }, { - "$id": "96", + "$id": "223", "kind": "model", "name": "IsStringAdditionalProperties", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -757,7 +1793,7 @@ "doc": "The model is from Record type.", "decorators": [], "additionalProperties": { - "$id": "97", + "$id": "224", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -765,13 +1801,13 @@ }, "properties": [ { - "$id": "98", + "$id": "225", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "99", + "$id": "226", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -784,9 +1820,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsStringAdditionalProperties.name", "serializationOptions": { - "$id": "100", + "$id": "227", "json": { - "$id": "101", + "$id": "228", "name": "name" } } @@ -794,7 +1830,7 @@ ] }, { - "$id": "102", + "$id": "229", "kind": "model", "name": "SpreadStringRecord", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -803,7 +1839,7 @@ "doc": "The model spread Record with the same known property type", "decorators": [], "additionalProperties": { - "$id": "103", + "$id": "230", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -811,13 +1847,13 @@ }, "properties": [ { - "$id": "104", + "$id": "231", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "105", + "$id": "232", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -830,9 +1866,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadStringRecord.name", "serializationOptions": { - "$id": "106", + "$id": "233", "json": { - "$id": "107", + "$id": "234", "name": "name" } } @@ -840,7 +1876,7 @@ ] }, { - "$id": "108", + "$id": "235", "kind": "model", "name": "ExtendsFloatAdditionalProperties", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -849,7 +1885,7 @@ "doc": "The model extends from Record type.", "decorators": [], "additionalProperties": { - "$id": "109", + "$id": "236", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -857,13 +1893,13 @@ }, "properties": [ { - "$id": "110", + "$id": "237", "kind": "property", "name": "id", "serializedName": "id", "doc": "The id property", "type": { - "$id": "111", + "$id": "238", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -876,9 +1912,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsFloatAdditionalProperties.id", "serializationOptions": { - "$id": "112", + "$id": "239", "json": { - "$id": "113", + "$id": "240", "name": "id" } } @@ -886,7 +1922,7 @@ ] }, { - "$id": "114", + "$id": "241", "kind": "model", "name": "IsFloatAdditionalProperties", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -895,7 +1931,7 @@ "doc": "The model is from Record type.", "decorators": [], "additionalProperties": { - "$id": "115", + "$id": "242", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -903,13 +1939,13 @@ }, "properties": [ { - "$id": "116", + "$id": "243", "kind": "property", "name": "id", "serializedName": "id", "doc": "The id property", "type": { - "$id": "117", + "$id": "244", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -922,9 +1958,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsFloatAdditionalProperties.id", "serializationOptions": { - "$id": "118", + "$id": "245", "json": { - "$id": "119", + "$id": "246", "name": "id" } } @@ -932,7 +1968,7 @@ ] }, { - "$id": "120", + "$id": "247", "kind": "model", "name": "SpreadFloatRecord", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -941,7 +1977,7 @@ "doc": "The model spread Record with the same known property type", "decorators": [], "additionalProperties": { - "$id": "121", + "$id": "248", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -949,13 +1985,13 @@ }, "properties": [ { - "$id": "122", + "$id": "249", "kind": "property", "name": "id", "serializedName": "id", "doc": "The id property", "type": { - "$id": "123", + "$id": "250", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -968,9 +2004,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadFloatRecord.id", "serializationOptions": { - "$id": "124", + "$id": "251", "json": { - "$id": "125", + "$id": "252", "name": "id" } } @@ -978,7 +2014,7 @@ ] }, { - "$id": "126", + "$id": "253", "kind": "model", "name": "ExtendsModelAdditionalProperties", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -987,7 +2023,7 @@ "doc": "The model extends from Record type.", "decorators": [], "additionalProperties": { - "$id": "127", + "$id": "254", "kind": "model", "name": "ModelForRecord", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -997,13 +2033,13 @@ "decorators": [], "properties": [ { - "$id": "128", + "$id": "255", "kind": "property", "name": "state", "serializedName": "state", "doc": "The state property", "type": { - "$id": "129", + "$id": "256", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1016,9 +2052,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ModelForRecord.state", "serializationOptions": { - "$id": "130", + "$id": "257", "json": { - "$id": "131", + "$id": "258", "name": "state" } } @@ -1027,12 +2063,12 @@ }, "properties": [ { - "$id": "132", + "$id": "259", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$ref": "127" + "$ref": "254" }, "optional": false, "readOnly": false, @@ -1041,9 +2077,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModelAdditionalProperties.knownProp", "serializationOptions": { - "$id": "133", + "$id": "260", "json": { - "$id": "134", + "$id": "261", "name": "knownProp" } } @@ -1051,10 +2087,10 @@ ] }, { - "$ref": "127" + "$ref": "254" }, { - "$id": "135", + "$id": "262", "kind": "model", "name": "IsModelAdditionalProperties", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1063,16 +2099,16 @@ "doc": "The model is from Record type.", "decorators": [], "additionalProperties": { - "$ref": "127" + "$ref": "254" }, "properties": [ { - "$id": "136", + "$id": "263", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$ref": "127" + "$ref": "254" }, "optional": false, "readOnly": false, @@ -1081,9 +2117,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModelAdditionalProperties.knownProp", "serializationOptions": { - "$id": "137", + "$id": "264", "json": { - "$id": "138", + "$id": "265", "name": "knownProp" } } @@ -1091,7 +2127,7 @@ ] }, { - "$id": "139", + "$id": "266", "kind": "model", "name": "SpreadModelRecord", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1100,16 +2136,16 @@ "doc": "The model spread Record with the same known property type", "decorators": [], "additionalProperties": { - "$ref": "127" + "$ref": "254" }, "properties": [ { - "$id": "140", + "$id": "267", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$ref": "127" + "$ref": "254" }, "optional": false, "readOnly": false, @@ -1118,9 +2154,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModelRecord.knownProp", "serializationOptions": { - "$id": "141", + "$id": "268", "json": { - "$id": "142", + "$id": "269", "name": "knownProp" } } @@ -1128,7 +2164,7 @@ ] }, { - "$id": "143", + "$id": "270", "kind": "model", "name": "ExtendsModelArrayAdditionalProperties", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1137,23 +2173,23 @@ "doc": "The model extends from Record type.", "decorators": [], "additionalProperties": { - "$id": "144", + "$id": "271", "kind": "array", "name": "ArrayModelForRecord", "valueType": { - "$ref": "127" + "$ref": "254" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, "properties": [ { - "$id": "145", + "$id": "272", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$ref": "144" + "$ref": "271" }, "optional": false, "readOnly": false, @@ -1162,9 +2198,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModelArrayAdditionalProperties.knownProp", "serializationOptions": { - "$id": "146", + "$id": "273", "json": { - "$id": "147", + "$id": "274", "name": "knownProp" } } @@ -1172,7 +2208,7 @@ ] }, { - "$id": "148", + "$id": "275", "kind": "model", "name": "IsModelArrayAdditionalProperties", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1181,16 +2217,16 @@ "doc": "The model is from Record type.", "decorators": [], "additionalProperties": { - "$ref": "144" + "$ref": "271" }, "properties": [ { - "$id": "149", + "$id": "276", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$ref": "144" + "$ref": "271" }, "optional": false, "readOnly": false, @@ -1199,9 +2235,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModelArrayAdditionalProperties.knownProp", "serializationOptions": { - "$id": "150", + "$id": "277", "json": { - "$id": "151", + "$id": "278", "name": "knownProp" } } @@ -1209,7 +2245,7 @@ ] }, { - "$id": "152", + "$id": "279", "kind": "model", "name": "SpreadModelArrayRecord", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1217,16 +2253,16 @@ "usage": "Input,Output,Json", "decorators": [], "additionalProperties": { - "$ref": "144" + "$ref": "271" }, "properties": [ { - "$id": "153", + "$id": "280", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$ref": "144" + "$ref": "271" }, "optional": false, "readOnly": false, @@ -1235,9 +2271,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModelArrayRecord.knownProp", "serializationOptions": { - "$id": "154", + "$id": "281", "json": { - "$id": "155", + "$id": "282", "name": "knownProp" } } @@ -1245,7 +2281,7 @@ ] }, { - "$id": "156", + "$id": "283", "kind": "model", "name": "DifferentSpreadStringRecord", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1254,7 +2290,7 @@ "doc": "The model spread Record with the different known property type", "decorators": [], "additionalProperties": { - "$id": "157", + "$id": "284", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1262,13 +2298,13 @@ }, "properties": [ { - "$id": "158", + "$id": "285", "kind": "property", "name": "id", "serializedName": "id", "doc": "The name property", "type": { - "$id": "159", + "$id": "286", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1281,9 +2317,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadStringRecord.id", "serializationOptions": { - "$id": "160", + "$id": "287", "json": { - "$id": "161", + "$id": "288", "name": "id" } } @@ -1291,7 +2327,7 @@ ] }, { - "$id": "162", + "$id": "289", "kind": "model", "name": "DifferentSpreadFloatRecord", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1300,7 +2336,7 @@ "doc": "The model spread Record with the different known property type", "decorators": [], "additionalProperties": { - "$id": "163", + "$id": "290", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1308,13 +2344,13 @@ }, "properties": [ { - "$id": "164", + "$id": "291", "kind": "property", "name": "name", "serializedName": "name", "doc": "The id property", "type": { - "$id": "165", + "$id": "292", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1327,9 +2363,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadFloatRecord.name", "serializationOptions": { - "$id": "166", + "$id": "293", "json": { - "$id": "167", + "$id": "294", "name": "name" } } @@ -1337,7 +2373,7 @@ ] }, { - "$id": "168", + "$id": "295", "kind": "model", "name": "DifferentSpreadModelRecord", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1346,16 +2382,16 @@ "doc": "The model spread Record with the different known property type", "decorators": [], "additionalProperties": { - "$ref": "127" + "$ref": "254" }, "properties": [ { - "$id": "169", + "$id": "296", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$id": "170", + "$id": "297", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1368,9 +2404,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadModelRecord.knownProp", "serializationOptions": { - "$id": "171", + "$id": "298", "json": { - "$id": "172", + "$id": "299", "name": "knownProp" } } @@ -1378,7 +2414,7 @@ ] }, { - "$id": "173", + "$id": "300", "kind": "model", "name": "DifferentSpreadModelArrayRecord", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1387,16 +2423,16 @@ "doc": "The model spread Record with the different known property type", "decorators": [], "additionalProperties": { - "$ref": "144" + "$ref": "271" }, "properties": [ { - "$id": "174", + "$id": "301", "kind": "property", "name": "knownProp", "serializedName": "knownProp", "type": { - "$id": "175", + "$id": "302", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1409,9 +2445,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadModelArrayRecord.knownProp", "serializationOptions": { - "$id": "176", + "$id": "303", "json": { - "$id": "177", + "$id": "304", "name": "knownProp" } } @@ -1419,7 +2455,7 @@ ] }, { - "$id": "178", + "$id": "305", "kind": "model", "name": "DifferentSpreadStringDerived", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1428,17 +2464,17 @@ "doc": "The model extends from a model that spread Record with the different known property type", "decorators": [], "baseModel": { - "$ref": "156" + "$ref": "283" }, "properties": [ { - "$id": "179", + "$id": "306", "kind": "property", "name": "derivedProp", "serializedName": "derivedProp", "doc": "The index property", "type": { - "$id": "180", + "$id": "307", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1451,9 +2487,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadStringDerived.derivedProp", "serializationOptions": { - "$id": "181", + "$id": "308", "json": { - "$id": "182", + "$id": "309", "name": "derivedProp" } } @@ -1461,7 +2497,7 @@ ] }, { - "$id": "183", + "$id": "310", "kind": "model", "name": "DifferentSpreadFloatDerived", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1470,17 +2506,17 @@ "doc": "The model extends from a model that spread Record with the different known property type", "decorators": [], "baseModel": { - "$ref": "162" + "$ref": "289" }, "properties": [ { - "$id": "184", + "$id": "311", "kind": "property", "name": "derivedProp", "serializedName": "derivedProp", "doc": "The index property", "type": { - "$id": "185", + "$id": "312", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1493,9 +2529,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadFloatDerived.derivedProp", "serializationOptions": { - "$id": "186", + "$id": "313", "json": { - "$id": "187", + "$id": "314", "name": "derivedProp" } } @@ -1503,7 +2539,7 @@ ] }, { - "$id": "188", + "$id": "315", "kind": "model", "name": "DifferentSpreadModelDerived", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1512,17 +2548,17 @@ "doc": "The model extends from a model that spread Record with the different known property type", "decorators": [], "baseModel": { - "$ref": "168" + "$ref": "295" }, "properties": [ { - "$id": "189", + "$id": "316", "kind": "property", "name": "derivedProp", "serializedName": "derivedProp", "doc": "The index property", "type": { - "$ref": "127" + "$ref": "254" }, "optional": false, "readOnly": false, @@ -1531,9 +2567,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadModelDerived.derivedProp", "serializationOptions": { - "$id": "190", + "$id": "317", "json": { - "$id": "191", + "$id": "318", "name": "derivedProp" } } @@ -1541,7 +2577,7 @@ ] }, { - "$id": "192", + "$id": "319", "kind": "model", "name": "DifferentSpreadModelArrayDerived", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1550,17 +2586,17 @@ "doc": "The model extends from a model that spread Record with the different known property type", "decorators": [], "baseModel": { - "$ref": "173" + "$ref": "300" }, "properties": [ { - "$id": "193", + "$id": "320", "kind": "property", "name": "derivedProp", "serializedName": "derivedProp", "doc": "The index property", "type": { - "$ref": "144" + "$ref": "271" }, "optional": false, "readOnly": false, @@ -1569,9 +2605,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.DifferentSpreadModelArrayDerived.derivedProp", "serializationOptions": { - "$id": "194", + "$id": "321", "json": { - "$id": "195", + "$id": "322", "name": "derivedProp" } } @@ -1579,7 +2615,7 @@ ] }, { - "$id": "196", + "$id": "323", "kind": "model", "name": "MultipleSpreadRecord", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1588,19 +2624,19 @@ "doc": "The model spread Record and Record", "decorators": [], "additionalProperties": { - "$id": "197", + "$id": "324", "kind": "union", "name": "MultipleSpreadRecordAdditionalProperty", "variantTypes": [ { - "$id": "198", + "$id": "325", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "199", + "$id": "326", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1612,13 +2648,13 @@ }, "properties": [ { - "$id": "200", + "$id": "327", "kind": "property", "name": "flag", "serializedName": "flag", "doc": "The name property", "type": { - "$id": "201", + "$id": "328", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1631,9 +2667,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.MultipleSpreadRecord.flag", "serializationOptions": { - "$id": "202", + "$id": "329", "json": { - "$id": "203", + "$id": "330", "name": "flag" } } @@ -1641,7 +2677,7 @@ ] }, { - "$id": "204", + "$id": "331", "kind": "model", "name": "SpreadRecordForUnion", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1650,19 +2686,19 @@ "doc": "The model spread Record", "decorators": [], "additionalProperties": { - "$id": "205", + "$id": "332", "kind": "union", "name": "SpreadRecordForUnionAdditionalProperty", "variantTypes": [ { - "$id": "206", + "$id": "333", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "207", + "$id": "334", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1674,13 +2710,13 @@ }, "properties": [ { - "$id": "208", + "$id": "335", "kind": "property", "name": "flag", "serializedName": "flag", "doc": "The name property", "type": { - "$id": "209", + "$id": "336", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1693,9 +2729,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordForUnion.flag", "serializationOptions": { - "$id": "210", + "$id": "337", "json": { - "$id": "211", + "$id": "338", "name": "flag" } } @@ -1703,7 +2739,7 @@ ] }, { - "$id": "212", + "$id": "339", "kind": "model", "name": "SpreadRecordForNonDiscriminatedUnion", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1712,12 +2748,12 @@ "doc": "The model spread Record", "decorators": [], "additionalProperties": { - "$id": "213", + "$id": "340", "kind": "union", "name": "SpreadRecordForNonDiscriminatedUnionAdditionalProperty", "variantTypes": [ { - "$id": "214", + "$id": "341", "kind": "model", "name": "WidgetData0", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1726,21 +2762,12 @@ "decorators": [], "properties": [ { - "$id": "215", + "$id": "342", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "216", - "kind": "constant", - "name": "WidgetData0Kind", - "namespace": "Scm._Type.Property.AdditionalProperties", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "2" - }, - "value": "kind0", - "decorators": [] + "$ref": "15" }, "optional": false, "readOnly": false, @@ -1749,20 +2776,20 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.WidgetData0.kind", "serializationOptions": { - "$id": "217", + "$id": "343", "json": { - "$id": "218", + "$id": "344", "name": "kind" } } }, { - "$id": "219", + "$id": "345", "kind": "property", "name": "fooProp", "serializedName": "fooProp", "type": { - "$id": "220", + "$id": "346", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1775,9 +2802,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.WidgetData0.fooProp", "serializationOptions": { - "$id": "221", + "$id": "347", "json": { - "$id": "222", + "$id": "348", "name": "fooProp" } } @@ -1785,7 +2812,7 @@ ] }, { - "$id": "223", + "$id": "349", "kind": "model", "name": "WidgetData1", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1794,21 +2821,12 @@ "decorators": [], "properties": [ { - "$id": "224", + "$id": "350", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "225", - "kind": "constant", - "name": "WidgetData1Kind", - "namespace": "Scm._Type.Property.AdditionalProperties", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "5" - }, - "value": "kind1", - "decorators": [] + "$ref": "16" }, "optional": false, "readOnly": false, @@ -1817,25 +2835,25 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.WidgetData1.kind", "serializationOptions": { - "$id": "226", + "$id": "351", "json": { - "$id": "227", + "$id": "352", "name": "kind" } } }, { - "$id": "228", + "$id": "353", "kind": "property", "name": "start", "serializedName": "start", "type": { - "$id": "229", + "$id": "354", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "230", + "$id": "355", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1851,25 +2869,25 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.WidgetData1.start", "serializationOptions": { - "$id": "231", + "$id": "356", "json": { - "$id": "232", + "$id": "357", "name": "start" } } }, { - "$id": "233", + "$id": "358", "kind": "property", "name": "end", "serializedName": "end", "type": { - "$id": "234", + "$id": "359", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "235", + "$id": "360", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1885,9 +2903,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.WidgetData1.end", "serializationOptions": { - "$id": "236", + "$id": "361", "json": { - "$id": "237", + "$id": "362", "name": "end" } } @@ -1900,13 +2918,13 @@ }, "properties": [ { - "$id": "238", + "$id": "363", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "239", + "$id": "364", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1919,9 +2937,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordForNonDiscriminatedUnion.name", "serializationOptions": { - "$id": "240", + "$id": "365", "json": { - "$id": "241", + "$id": "366", "name": "name" } } @@ -1929,13 +2947,13 @@ ] }, { - "$ref": "214" + "$ref": "341" }, { - "$ref": "223" + "$ref": "349" }, { - "$id": "242", + "$id": "367", "kind": "model", "name": "SpreadRecordForNonDiscriminatedUnion2", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1944,12 +2962,12 @@ "doc": "The model spread Record", "decorators": [], "additionalProperties": { - "$id": "243", + "$id": "368", "kind": "union", "name": "SpreadRecordForNonDiscriminatedUnion2AdditionalProperty", "variantTypes": [ { - "$id": "244", + "$id": "369", "kind": "model", "name": "WidgetData2", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -1958,21 +2976,12 @@ "decorators": [], "properties": [ { - "$id": "245", + "$id": "370", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "246", - "kind": "constant", - "name": "WidgetData2Kind", - "namespace": "Scm._Type.Property.AdditionalProperties", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "8" - }, - "value": "kind1", - "decorators": [] + "$ref": "17" }, "optional": false, "readOnly": false, @@ -1981,20 +2990,20 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.WidgetData2.kind", "serializationOptions": { - "$id": "247", + "$id": "371", "json": { - "$id": "248", + "$id": "372", "name": "kind" } } }, { - "$id": "249", + "$id": "373", "kind": "property", "name": "start", "serializedName": "start", "type": { - "$id": "250", + "$id": "374", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2007,9 +3016,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.WidgetData2.start", "serializationOptions": { - "$id": "251", + "$id": "375", "json": { - "$id": "252", + "$id": "376", "name": "start" } } @@ -2017,7 +3026,7 @@ ] }, { - "$ref": "223" + "$ref": "349" } ], "namespace": "", @@ -2025,13 +3034,13 @@ }, "properties": [ { - "$id": "253", + "$id": "377", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "254", + "$id": "378", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2044,9 +3053,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordForNonDiscriminatedUnion2.name", "serializationOptions": { - "$id": "255", + "$id": "379", "json": { - "$id": "256", + "$id": "380", "name": "name" } } @@ -2054,10 +3063,10 @@ ] }, { - "$ref": "244" + "$ref": "369" }, { - "$id": "257", + "$id": "381", "kind": "model", "name": "SpreadRecordForNonDiscriminatedUnion3", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -2066,22 +3075,22 @@ "doc": "The model spread Record", "decorators": [], "additionalProperties": { - "$id": "258", + "$id": "382", "kind": "union", "name": "SpreadRecordForNonDiscriminatedUnion3AdditionalProperty", "variantTypes": [ { - "$id": "259", + "$id": "383", "kind": "array", "name": "ArrayWidgetData2", "valueType": { - "$ref": "244" + "$ref": "369" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, { - "$ref": "223" + "$ref": "349" } ], "namespace": "", @@ -2089,13 +3098,13 @@ }, "properties": [ { - "$id": "260", + "$id": "384", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property", "type": { - "$id": "261", + "$id": "385", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2108,9 +3117,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordForNonDiscriminatedUnion3.name", "serializationOptions": { - "$id": "262", + "$id": "386", "json": { - "$id": "263", + "$id": "387", "name": "name" } } @@ -2120,7 +3129,7 @@ ], "clients": [ { - "$id": "264", + "$id": "388", "kind": "client", "name": "AdditionalPropertiesClient", "namespace": "Scm._Type.Property.AdditionalProperties", @@ -2128,12 +3137,12 @@ "methods": [], "parameters": [ { - "$id": "265", + "$id": "389", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "266", + "$id": "390", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2147,9 +3156,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "267", + "$id": "391", "type": { - "$id": "268", + "$id": "392", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2163,44 +3172,31 @@ "apiVersions": [], "children": [ { - "$id": "269", + "$id": "393", "kind": "client", "name": "ExtendsUnknown", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "270", + "$id": "394", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "271", + "$id": "395", "name": "get", "resourceName": "ExtendsUnknown", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "272", + "$id": "396", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "273", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "274", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -2215,12 +3211,12 @@ ], "responses": [ { - "$id": "275", + "$id": "397", "statusCodes": [ 200 ], "bodyType": { - "$ref": "11" + "$ref": "142" }, "headers": [], "isErrorResponse": false, @@ -2240,11 +3236,11 @@ }, "parameters": [ { - "$id": "276", + "$id": "398", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "273" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -2258,9 +3254,9 @@ } ], "response": { - "$id": "277", + "$id": "399", "type": { - "$ref": "11" + "$ref": "142" } }, "isOverride": false, @@ -2269,39 +3265,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknown.get" }, { - "$id": "278", + "$id": "400", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "279", + "$id": "401", "name": "put", "resourceName": "ExtendsUnknown", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "280", + "$id": "402", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "281", - "kind": "constant", - "name": "putContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "282", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -2314,12 +3297,12 @@ "skipUrlEncoding": false }, { - "$id": "283", + "$id": "403", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "11" + "$ref": "142" }, "location": "Body", "isApiVersion": false, @@ -2334,7 +3317,7 @@ ], "responses": [ { - "$id": "284", + "$id": "404", "statusCodes": [ 204 ], @@ -2356,12 +3339,12 @@ }, "parameters": [ { - "$id": "285", + "$id": "405", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "11" + "$ref": "142" }, "location": "Body", "isApiVersion": false, @@ -2374,12 +3357,12 @@ "skipUrlEncoding": false }, { - "$id": "286", + "$id": "406", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "281" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -2393,7 +3376,7 @@ } ], "response": { - "$id": "287" + "$id": "407" }, "isOverride": false, "generateConvenient": true, @@ -2403,12 +3386,12 @@ ], "parameters": [ { - "$id": "288", + "$id": "408", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "289", + "$id": "409", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2422,9 +3405,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "290", + "$id": "410", "type": { - "$id": "291", + "$id": "411", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2437,48 +3420,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknown", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "292", + "$id": "412", "kind": "client", "name": "ExtendsUnknownDerived", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "293", + "$id": "413", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "294", + "$id": "414", "name": "get", "resourceName": "ExtendsUnknownDerived", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "295", + "$id": "415", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "296", - "kind": "constant", - "name": "getContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "297", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -2493,12 +3463,12 @@ ], "responses": [ { - "$id": "298", + "$id": "416", "statusCodes": [ 200 ], "bodyType": { - "$ref": "17" + "$ref": "148" }, "headers": [], "isErrorResponse": false, @@ -2518,11 +3488,11 @@ }, "parameters": [ { - "$id": "299", + "$id": "417", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "296" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -2536,9 +3506,9 @@ } ], "response": { - "$id": "300", + "$id": "418", "type": { - "$ref": "17" + "$ref": "148" } }, "isOverride": false, @@ -2547,39 +3517,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.get" }, { - "$id": "301", + "$id": "419", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "302", + "$id": "420", "name": "put", "resourceName": "ExtendsUnknownDerived", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "303", + "$id": "421", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "304", - "kind": "constant", - "name": "putContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "305", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -2592,12 +3549,12 @@ "skipUrlEncoding": false }, { - "$id": "306", + "$id": "422", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "17" + "$ref": "148" }, "location": "Body", "isApiVersion": false, @@ -2612,7 +3569,7 @@ ], "responses": [ { - "$id": "307", + "$id": "423", "statusCodes": [ 204 ], @@ -2634,12 +3591,12 @@ }, "parameters": [ { - "$id": "308", + "$id": "424", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "17" + "$ref": "148" }, "location": "Body", "isApiVersion": false, @@ -2652,12 +3609,12 @@ "skipUrlEncoding": false }, { - "$id": "309", + "$id": "425", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "304" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -2671,7 +3628,7 @@ } ], "response": { - "$id": "310" + "$id": "426" }, "isOverride": false, "generateConvenient": true, @@ -2681,12 +3638,12 @@ ], "parameters": [ { - "$id": "311", + "$id": "427", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "312", + "$id": "428", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2700,9 +3657,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "313", + "$id": "429", "type": { - "$id": "314", + "$id": "430", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2715,48 +3672,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDerived", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "315", + "$id": "431", "kind": "client", "name": "ExtendsUnknownDiscriminated", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "316", + "$id": "432", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "317", + "$id": "433", "name": "get", "resourceName": "ExtendsUnknownDiscriminated", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "318", + "$id": "434", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "319", - "kind": "constant", - "name": "getContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "320", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -2771,12 +3715,12 @@ ], "responses": [ { - "$id": "321", + "$id": "435", "statusCodes": [ 200 ], "bodyType": { - "$ref": "26" + "$ref": "157" }, "headers": [], "isErrorResponse": false, @@ -2796,11 +3740,11 @@ }, "parameters": [ { - "$id": "322", + "$id": "436", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "319" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -2814,9 +3758,9 @@ } ], "response": { - "$id": "323", + "$id": "437", "type": { - "$ref": "26" + "$ref": "157" } }, "isOverride": false, @@ -2825,39 +3769,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.get" }, { - "$id": "324", + "$id": "438", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "325", + "$id": "439", "name": "put", "resourceName": "ExtendsUnknownDiscriminated", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "326", + "$id": "440", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "327", - "kind": "constant", - "name": "putContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "328", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -2870,12 +3801,12 @@ "skipUrlEncoding": false }, { - "$id": "329", + "$id": "441", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "26" + "$ref": "157" }, "location": "Body", "isApiVersion": false, @@ -2890,7 +3821,7 @@ ], "responses": [ { - "$id": "330", + "$id": "442", "statusCodes": [ 204 ], @@ -2912,12 +3843,12 @@ }, "parameters": [ { - "$id": "331", + "$id": "443", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "26" + "$ref": "157" }, "location": "Body", "isApiVersion": false, @@ -2930,12 +3861,12 @@ "skipUrlEncoding": false }, { - "$id": "332", + "$id": "444", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "327" + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -2949,7 +3880,7 @@ } ], "response": { - "$id": "333" + "$id": "445" }, "isOverride": false, "generateConvenient": true, @@ -2959,12 +3890,12 @@ ], "parameters": [ { - "$id": "334", + "$id": "446", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "335", + "$id": "447", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2978,9 +3909,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "336", + "$id": "448", "type": { - "$id": "337", + "$id": "449", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2993,48 +3924,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "338", + "$id": "450", "kind": "client", "name": "IsUnknown", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "339", + "$id": "451", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "340", + "$id": "452", "name": "get", "resourceName": "IsUnknown", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "341", + "$id": "453", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "342", - "kind": "constant", - "name": "getContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "343", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -3049,12 +3967,12 @@ ], "responses": [ { - "$id": "344", + "$id": "454", "statusCodes": [ 200 ], "bodyType": { - "$ref": "50" + "$ref": "179" }, "headers": [], "isErrorResponse": false, @@ -3074,11 +3992,11 @@ }, "parameters": [ { - "$id": "345", + "$id": "455", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "342" + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -3092,9 +4010,9 @@ } ], "response": { - "$id": "346", + "$id": "456", "type": { - "$ref": "50" + "$ref": "179" } }, "isOverride": false, @@ -3103,39 +4021,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknown.get" }, { - "$id": "347", + "$id": "457", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "348", + "$id": "458", "name": "put", "resourceName": "IsUnknown", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "349", + "$id": "459", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "350", - "kind": "constant", - "name": "putContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "351", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -3148,12 +4053,12 @@ "skipUrlEncoding": false }, { - "$id": "352", + "$id": "460", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "50" + "$ref": "179" }, "location": "Body", "isApiVersion": false, @@ -3168,7 +4073,7 @@ ], "responses": [ { - "$id": "353", + "$id": "461", "statusCodes": [ 204 ], @@ -3190,12 +4095,12 @@ }, "parameters": [ { - "$id": "354", + "$id": "462", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "50" + "$ref": "179" }, "location": "Body", "isApiVersion": false, @@ -3208,12 +4113,12 @@ "skipUrlEncoding": false }, { - "$id": "355", + "$id": "463", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "350" + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -3227,7 +4132,7 @@ } ], "response": { - "$id": "356" + "$id": "464" }, "isOverride": false, "generateConvenient": true, @@ -3237,12 +4142,12 @@ ], "parameters": [ { - "$id": "357", + "$id": "465", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "358", + "$id": "466", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3256,9 +4161,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "359", + "$id": "467", "type": { - "$id": "360", + "$id": "468", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3271,48 +4176,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknown", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "361", + "$id": "469", "kind": "client", "name": "IsUnknownDerived", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "362", + "$id": "470", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "363", + "$id": "471", "name": "get", "resourceName": "IsUnknownDerived", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "364", + "$id": "472", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "365", - "kind": "constant", - "name": "getContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "366", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -3327,12 +4219,12 @@ ], "responses": [ { - "$id": "367", + "$id": "473", "statusCodes": [ 200 ], "bodyType": { - "$ref": "56" + "$ref": "185" }, "headers": [], "isErrorResponse": false, @@ -3352,11 +4244,11 @@ }, "parameters": [ { - "$id": "368", + "$id": "474", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "365" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -3370,9 +4262,9 @@ } ], "response": { - "$id": "369", + "$id": "475", "type": { - "$ref": "56" + "$ref": "185" } }, "isOverride": false, @@ -3381,39 +4273,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDerived.get" }, { - "$id": "370", + "$id": "476", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "371", + "$id": "477", "name": "put", "resourceName": "IsUnknownDerived", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "372", + "$id": "478", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "373", - "kind": "constant", - "name": "putContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "374", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -3426,12 +4305,12 @@ "skipUrlEncoding": false }, { - "$id": "375", + "$id": "479", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "56" + "$ref": "185" }, "location": "Body", "isApiVersion": false, @@ -3446,7 +4325,7 @@ ], "responses": [ { - "$id": "376", + "$id": "480", "statusCodes": [ 204 ], @@ -3468,12 +4347,12 @@ }, "parameters": [ { - "$id": "377", + "$id": "481", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "56" + "$ref": "185" }, "location": "Body", "isApiVersion": false, @@ -3486,12 +4365,12 @@ "skipUrlEncoding": false }, { - "$id": "378", + "$id": "482", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "373" + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -3505,7 +4384,7 @@ } ], "response": { - "$id": "379" + "$id": "483" }, "isOverride": false, "generateConvenient": true, @@ -3515,12 +4394,12 @@ ], "parameters": [ { - "$id": "380", + "$id": "484", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "381", + "$id": "485", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3534,9 +4413,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "382", + "$id": "486", "type": { - "$id": "383", + "$id": "487", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3549,48 +4428,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDerived", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "384", + "$id": "488", "kind": "client", "name": "IsUnknownDiscriminated", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "385", + "$id": "489", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "386", + "$id": "490", "name": "get", "resourceName": "IsUnknownDiscriminated", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "387", + "$id": "491", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "388", - "kind": "constant", - "name": "getContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "389", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -3605,12 +4471,12 @@ ], "responses": [ { - "$id": "390", + "$id": "492", "statusCodes": [ 200 ], "bodyType": { - "$ref": "65" + "$ref": "194" }, "headers": [], "isErrorResponse": false, @@ -3630,11 +4496,11 @@ }, "parameters": [ { - "$id": "391", + "$id": "493", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "388" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -3648,9 +4514,9 @@ } ], "response": { - "$id": "392", + "$id": "494", "type": { - "$ref": "65" + "$ref": "194" } }, "isOverride": false, @@ -3659,39 +4525,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.get" }, { - "$id": "393", + "$id": "495", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "394", + "$id": "496", "name": "put", "resourceName": "IsUnknownDiscriminated", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "395", + "$id": "497", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "396", - "kind": "constant", - "name": "putContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "397", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -3704,12 +4557,12 @@ "skipUrlEncoding": false }, { - "$id": "398", + "$id": "498", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "65" + "$ref": "194" }, "location": "Body", "isApiVersion": false, @@ -3724,7 +4577,7 @@ ], "responses": [ { - "$id": "399", + "$id": "499", "statusCodes": [ 204 ], @@ -3746,12 +4599,12 @@ }, "parameters": [ { - "$id": "400", + "$id": "500", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "65" + "$ref": "194" }, "location": "Body", "isApiVersion": false, @@ -3764,12 +4617,12 @@ "skipUrlEncoding": false }, { - "$id": "401", + "$id": "501", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "396" + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -3783,7 +4636,7 @@ } ], "response": { - "$id": "402" + "$id": "502" }, "isOverride": false, "generateConvenient": true, @@ -3793,12 +4646,12 @@ ], "parameters": [ { - "$id": "403", + "$id": "503", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "404", + "$id": "504", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3812,9 +4665,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "405", + "$id": "505", "type": { - "$id": "406", + "$id": "506", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3827,48 +4680,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDiscriminated", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "407", + "$id": "507", "kind": "client", "name": "ExtendsString", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "408", + "$id": "508", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "409", + "$id": "509", "name": "get", "resourceName": "ExtendsString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "410", + "$id": "510", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "411", - "kind": "constant", - "name": "getContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "412", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3883,12 +4723,12 @@ ], "responses": [ { - "$id": "413", + "$id": "511", "statusCodes": [ 200 ], "bodyType": { - "$ref": "90" + "$ref": "217" }, "headers": [], "isErrorResponse": false, @@ -3908,11 +4748,11 @@ }, "parameters": [ { - "$id": "414", + "$id": "512", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "411" + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -3926,9 +4766,9 @@ } ], "response": { - "$id": "415", + "$id": "513", "type": { - "$ref": "90" + "$ref": "217" } }, "isOverride": false, @@ -3937,39 +4777,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsString.get" }, { - "$id": "416", + "$id": "514", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "417", + "$id": "515", "name": "put", "resourceName": "ExtendsString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "418", + "$id": "516", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "419", - "kind": "constant", - "name": "putContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "420", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -3982,12 +4809,12 @@ "skipUrlEncoding": false }, { - "$id": "421", + "$id": "517", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "90" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -4002,7 +4829,7 @@ ], "responses": [ { - "$id": "422", + "$id": "518", "statusCodes": [ 204 ], @@ -4024,12 +4851,12 @@ }, "parameters": [ { - "$id": "423", + "$id": "519", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "90" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -4042,12 +4869,12 @@ "skipUrlEncoding": false }, { - "$id": "424", + "$id": "520", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "419" + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -4061,7 +4888,7 @@ } ], "response": { - "$id": "425" + "$id": "521" }, "isOverride": false, "generateConvenient": true, @@ -4071,12 +4898,12 @@ ], "parameters": [ { - "$id": "426", + "$id": "522", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "427", + "$id": "523", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4090,9 +4917,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "428", + "$id": "524", "type": { - "$id": "429", + "$id": "525", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4105,48 +4932,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsString", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "430", + "$id": "526", "kind": "client", "name": "IsString", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "431", + "$id": "527", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "432", + "$id": "528", "name": "get", "resourceName": "IsString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "433", + "$id": "529", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "434", - "kind": "constant", - "name": "getContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "435", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -4161,12 +4975,12 @@ ], "responses": [ { - "$id": "436", + "$id": "530", "statusCodes": [ 200 ], "bodyType": { - "$ref": "96" + "$ref": "223" }, "headers": [], "isErrorResponse": false, @@ -4186,11 +5000,11 @@ }, "parameters": [ { - "$id": "437", + "$id": "531", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "434" + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -4204,9 +5018,9 @@ } ], "response": { - "$id": "438", + "$id": "532", "type": { - "$ref": "96" + "$ref": "223" } }, "isOverride": false, @@ -4215,39 +5029,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsString.get" }, { - "$id": "439", + "$id": "533", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "440", + "$id": "534", "name": "put", "resourceName": "IsString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "441", + "$id": "535", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "442", - "kind": "constant", - "name": "putContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "443", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -4260,12 +5061,12 @@ "skipUrlEncoding": false }, { - "$id": "444", + "$id": "536", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "96" + "$ref": "223" }, "location": "Body", "isApiVersion": false, @@ -4280,7 +5081,7 @@ ], "responses": [ { - "$id": "445", + "$id": "537", "statusCodes": [ 204 ], @@ -4302,12 +5103,12 @@ }, "parameters": [ { - "$id": "446", + "$id": "538", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "96" + "$ref": "223" }, "location": "Body", "isApiVersion": false, @@ -4320,12 +5121,12 @@ "skipUrlEncoding": false }, { - "$id": "447", + "$id": "539", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "442" + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -4339,7 +5140,7 @@ } ], "response": { - "$id": "448" + "$id": "540" }, "isOverride": false, "generateConvenient": true, @@ -4349,12 +5150,12 @@ ], "parameters": [ { - "$id": "449", + "$id": "541", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "450", + "$id": "542", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4368,9 +5169,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "451", + "$id": "543", "type": { - "$id": "452", + "$id": "544", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4383,48 +5184,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsString", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "453", + "$id": "545", "kind": "client", "name": "SpreadString", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "454", + "$id": "546", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "455", + "$id": "547", "name": "get", "resourceName": "SpreadString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "456", + "$id": "548", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "457", - "kind": "constant", - "name": "getContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "458", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -4439,12 +5227,12 @@ ], "responses": [ { - "$id": "459", + "$id": "549", "statusCodes": [ 200 ], "bodyType": { - "$ref": "102" + "$ref": "229" }, "headers": [], "isErrorResponse": false, @@ -4464,11 +5252,11 @@ }, "parameters": [ { - "$id": "460", + "$id": "550", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "457" + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -4482,9 +5270,9 @@ } ], "response": { - "$id": "461", + "$id": "551", "type": { - "$ref": "102" + "$ref": "229" } }, "isOverride": false, @@ -4493,39 +5281,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadString.get" }, { - "$id": "462", + "$id": "552", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "463", + "$id": "553", "name": "put", "resourceName": "SpreadString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "464", + "$id": "554", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "465", - "kind": "constant", - "name": "putContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "466", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -4538,12 +5313,12 @@ "skipUrlEncoding": false }, { - "$id": "467", + "$id": "555", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "102" + "$ref": "229" }, "location": "Body", "isApiVersion": false, @@ -4558,7 +5333,7 @@ ], "responses": [ { - "$id": "468", + "$id": "556", "statusCodes": [ 204 ], @@ -4580,12 +5355,12 @@ }, "parameters": [ { - "$id": "469", + "$id": "557", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "102" + "$ref": "229" }, "location": "Body", "isApiVersion": false, @@ -4598,12 +5373,12 @@ "skipUrlEncoding": false }, { - "$id": "470", + "$id": "558", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "465" + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -4617,7 +5392,7 @@ } ], "response": { - "$id": "471" + "$id": "559" }, "isOverride": false, "generateConvenient": true, @@ -4627,12 +5402,12 @@ ], "parameters": [ { - "$id": "472", + "$id": "560", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "473", + "$id": "561", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4646,9 +5421,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "474", + "$id": "562", "type": { - "$id": "475", + "$id": "563", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4661,48 +5436,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadString", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "476", + "$id": "564", "kind": "client", "name": "ExtendsFloat", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "477", + "$id": "565", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "478", + "$id": "566", "name": "get", "resourceName": "ExtendsFloat", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "479", + "$id": "567", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "480", - "kind": "constant", - "name": "getContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "481", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -4717,12 +5479,12 @@ ], "responses": [ { - "$id": "482", + "$id": "568", "statusCodes": [ 200 ], "bodyType": { - "$ref": "108" + "$ref": "235" }, "headers": [], "isErrorResponse": false, @@ -4742,11 +5504,11 @@ }, "parameters": [ { - "$id": "483", + "$id": "569", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "480" + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -4760,9 +5522,9 @@ } ], "response": { - "$id": "484", + "$id": "570", "type": { - "$ref": "108" + "$ref": "235" } }, "isOverride": false, @@ -4771,39 +5533,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsFloat.get" }, { - "$id": "485", + "$id": "571", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "486", + "$id": "572", "name": "put", "resourceName": "ExtendsFloat", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "487", + "$id": "573", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "488", - "kind": "constant", - "name": "putContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "489", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -4816,12 +5565,12 @@ "skipUrlEncoding": false }, { - "$id": "490", + "$id": "574", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "108" + "$ref": "235" }, "location": "Body", "isApiVersion": false, @@ -4836,7 +5585,7 @@ ], "responses": [ { - "$id": "491", + "$id": "575", "statusCodes": [ 204 ], @@ -4858,12 +5607,12 @@ }, "parameters": [ { - "$id": "492", + "$id": "576", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "108" + "$ref": "235" }, "location": "Body", "isApiVersion": false, @@ -4876,12 +5625,12 @@ "skipUrlEncoding": false }, { - "$id": "493", + "$id": "577", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "488" + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -4895,7 +5644,7 @@ } ], "response": { - "$id": "494" + "$id": "578" }, "isOverride": false, "generateConvenient": true, @@ -4905,12 +5654,12 @@ ], "parameters": [ { - "$id": "495", + "$id": "579", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "496", + "$id": "580", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4924,9 +5673,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "497", + "$id": "581", "type": { - "$id": "498", + "$id": "582", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4939,48 +5688,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsFloat", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "499", + "$id": "583", "kind": "client", "name": "IsFloat", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "500", + "$id": "584", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "501", + "$id": "585", "name": "get", "resourceName": "IsFloat", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "502", + "$id": "586", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "503", - "kind": "constant", - "name": "getContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "504", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -4995,12 +5731,12 @@ ], "responses": [ { - "$id": "505", + "$id": "587", "statusCodes": [ 200 ], "bodyType": { - "$ref": "114" + "$ref": "241" }, "headers": [], "isErrorResponse": false, @@ -5020,11 +5756,11 @@ }, "parameters": [ { - "$id": "506", + "$id": "588", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "503" + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -5038,9 +5774,9 @@ } ], "response": { - "$id": "507", + "$id": "589", "type": { - "$ref": "114" + "$ref": "241" } }, "isOverride": false, @@ -5049,39 +5785,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsFloat.get" }, { - "$id": "508", + "$id": "590", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "509", + "$id": "591", "name": "put", "resourceName": "IsFloat", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "510", + "$id": "592", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "511", - "kind": "constant", - "name": "putContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "512", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -5094,12 +5817,12 @@ "skipUrlEncoding": false }, { - "$id": "513", + "$id": "593", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "114" + "$ref": "241" }, "location": "Body", "isApiVersion": false, @@ -5114,7 +5837,7 @@ ], "responses": [ { - "$id": "514", + "$id": "594", "statusCodes": [ 204 ], @@ -5136,12 +5859,12 @@ }, "parameters": [ { - "$id": "515", + "$id": "595", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "114" + "$ref": "241" }, "location": "Body", "isApiVersion": false, @@ -5154,12 +5877,12 @@ "skipUrlEncoding": false }, { - "$id": "516", + "$id": "596", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "511" + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -5173,7 +5896,7 @@ } ], "response": { - "$id": "517" + "$id": "597" }, "isOverride": false, "generateConvenient": true, @@ -5183,12 +5906,12 @@ ], "parameters": [ { - "$id": "518", + "$id": "598", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "519", + "$id": "599", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5202,9 +5925,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "520", + "$id": "600", "type": { - "$id": "521", + "$id": "601", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5217,48 +5940,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsFloat", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "522", + "$id": "602", "kind": "client", "name": "SpreadFloat", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "523", + "$id": "603", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "524", + "$id": "604", "name": "get", "resourceName": "SpreadFloat", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "525", + "$id": "605", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "526", - "kind": "constant", - "name": "getContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "527", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -5273,12 +5983,12 @@ ], "responses": [ { - "$id": "528", + "$id": "606", "statusCodes": [ 200 ], "bodyType": { - "$ref": "120" + "$ref": "247" }, "headers": [], "isErrorResponse": false, @@ -5298,11 +6008,11 @@ }, "parameters": [ { - "$id": "529", + "$id": "607", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "526" + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -5316,9 +6026,9 @@ } ], "response": { - "$id": "530", + "$id": "608", "type": { - "$ref": "120" + "$ref": "247" } }, "isOverride": false, @@ -5327,39 +6037,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadFloat.get" }, { - "$id": "531", + "$id": "609", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "532", + "$id": "610", "name": "put", "resourceName": "SpreadFloat", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "533", + "$id": "611", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "534", - "kind": "constant", - "name": "putContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "535", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -5372,12 +6069,12 @@ "skipUrlEncoding": false }, { - "$id": "536", + "$id": "612", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "120" + "$ref": "247" }, "location": "Body", "isApiVersion": false, @@ -5392,7 +6089,7 @@ ], "responses": [ { - "$id": "537", + "$id": "613", "statusCodes": [ 204 ], @@ -5414,12 +6111,12 @@ }, "parameters": [ { - "$id": "538", + "$id": "614", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "120" + "$ref": "247" }, "location": "Body", "isApiVersion": false, @@ -5432,12 +6129,12 @@ "skipUrlEncoding": false }, { - "$id": "539", + "$id": "615", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "534" + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -5451,7 +6148,7 @@ } ], "response": { - "$id": "540" + "$id": "616" }, "isOverride": false, "generateConvenient": true, @@ -5461,12 +6158,12 @@ ], "parameters": [ { - "$id": "541", + "$id": "617", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "542", + "$id": "618", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5480,9 +6177,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "543", + "$id": "619", "type": { - "$id": "544", + "$id": "620", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5495,48 +6192,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadFloat", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "545", + "$id": "621", "kind": "client", "name": "ExtendsModel", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "546", + "$id": "622", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "547", + "$id": "623", "name": "get", "resourceName": "ExtendsModel", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "548", + "$id": "624", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "549", - "kind": "constant", - "name": "getContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "550", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -5551,12 +6235,12 @@ ], "responses": [ { - "$id": "551", + "$id": "625", "statusCodes": [ 200 ], "bodyType": { - "$ref": "126" + "$ref": "253" }, "headers": [], "isErrorResponse": false, @@ -5576,11 +6260,11 @@ }, "parameters": [ { - "$id": "552", + "$id": "626", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "549" + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -5594,9 +6278,9 @@ } ], "response": { - "$id": "553", + "$id": "627", "type": { - "$ref": "126" + "$ref": "253" } }, "isOverride": false, @@ -5605,39 +6289,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModel.get" }, { - "$id": "554", + "$id": "628", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "555", + "$id": "629", "name": "put", "resourceName": "ExtendsModel", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "556", + "$id": "630", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "557", - "kind": "constant", - "name": "putContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "558", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -5650,12 +6321,12 @@ "skipUrlEncoding": false }, { - "$id": "559", + "$id": "631", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "126" + "$ref": "253" }, "location": "Body", "isApiVersion": false, @@ -5670,7 +6341,7 @@ ], "responses": [ { - "$id": "560", + "$id": "632", "statusCodes": [ 204 ], @@ -5692,12 +6363,12 @@ }, "parameters": [ { - "$id": "561", + "$id": "633", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "126" + "$ref": "253" }, "location": "Body", "isApiVersion": false, @@ -5710,12 +6381,12 @@ "skipUrlEncoding": false }, { - "$id": "562", + "$id": "634", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "557" + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -5729,7 +6400,7 @@ } ], "response": { - "$id": "563" + "$id": "635" }, "isOverride": false, "generateConvenient": true, @@ -5739,12 +6410,12 @@ ], "parameters": [ { - "$id": "564", + "$id": "636", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "565", + "$id": "637", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5758,9 +6429,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "566", + "$id": "638", "type": { - "$id": "567", + "$id": "639", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5773,48 +6444,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModel", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "568", + "$id": "640", "kind": "client", "name": "IsModel", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "569", + "$id": "641", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "570", + "$id": "642", "name": "get", "resourceName": "IsModel", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "571", + "$id": "643", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "572", - "kind": "constant", - "name": "getContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "573", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -5829,12 +6487,12 @@ ], "responses": [ { - "$id": "574", + "$id": "644", "statusCodes": [ 200 ], "bodyType": { - "$ref": "135" + "$ref": "262" }, "headers": [], "isErrorResponse": false, @@ -5854,11 +6512,11 @@ }, "parameters": [ { - "$id": "575", + "$id": "645", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "572" + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -5872,9 +6530,9 @@ } ], "response": { - "$id": "576", + "$id": "646", "type": { - "$ref": "135" + "$ref": "262" } }, "isOverride": false, @@ -5883,39 +6541,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModel.get" }, { - "$id": "577", + "$id": "647", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "578", + "$id": "648", "name": "put", "resourceName": "IsModel", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "579", + "$id": "649", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "580", - "kind": "constant", - "name": "putContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "581", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -5928,12 +6573,12 @@ "skipUrlEncoding": false }, { - "$id": "582", + "$id": "650", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "135" + "$ref": "262" }, "location": "Body", "isApiVersion": false, @@ -5948,7 +6593,7 @@ ], "responses": [ { - "$id": "583", + "$id": "651", "statusCodes": [ 204 ], @@ -5970,12 +6615,12 @@ }, "parameters": [ { - "$id": "584", + "$id": "652", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "135" + "$ref": "262" }, "location": "Body", "isApiVersion": false, @@ -5988,12 +6633,12 @@ "skipUrlEncoding": false }, { - "$id": "585", + "$id": "653", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "580" + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -6007,7 +6652,7 @@ } ], "response": { - "$id": "586" + "$id": "654" }, "isOverride": false, "generateConvenient": true, @@ -6017,12 +6662,12 @@ ], "parameters": [ { - "$id": "587", + "$id": "655", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "588", + "$id": "656", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6036,9 +6681,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "589", + "$id": "657", "type": { - "$id": "590", + "$id": "658", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6051,48 +6696,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModel", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "591", + "$id": "659", "kind": "client", "name": "SpreadModel", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "592", + "$id": "660", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "593", + "$id": "661", "name": "get", "resourceName": "SpreadModel", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "594", + "$id": "662", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "595", - "kind": "constant", - "name": "getContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "596", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -6107,12 +6739,12 @@ ], "responses": [ { - "$id": "597", + "$id": "663", "statusCodes": [ 200 ], "bodyType": { - "$ref": "139" + "$ref": "266" }, "headers": [], "isErrorResponse": false, @@ -6132,11 +6764,11 @@ }, "parameters": [ { - "$id": "598", + "$id": "664", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "595" + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -6150,9 +6782,9 @@ } ], "response": { - "$id": "599", + "$id": "665", "type": { - "$ref": "139" + "$ref": "266" } }, "isOverride": false, @@ -6161,39 +6793,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModel.get" }, { - "$id": "600", + "$id": "666", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "601", + "$id": "667", "name": "put", "resourceName": "SpreadModel", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "602", + "$id": "668", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "603", - "kind": "constant", - "name": "putContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "604", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -6206,12 +6825,12 @@ "skipUrlEncoding": false }, { - "$id": "605", + "$id": "669", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "139" + "$ref": "266" }, "location": "Body", "isApiVersion": false, @@ -6226,7 +6845,7 @@ ], "responses": [ { - "$id": "606", + "$id": "670", "statusCodes": [ 204 ], @@ -6248,12 +6867,12 @@ }, "parameters": [ { - "$id": "607", + "$id": "671", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "139" + "$ref": "266" }, "location": "Body", "isApiVersion": false, @@ -6266,12 +6885,12 @@ "skipUrlEncoding": false }, { - "$id": "608", + "$id": "672", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "603" + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -6285,7 +6904,7 @@ } ], "response": { - "$id": "609" + "$id": "673" }, "isOverride": false, "generateConvenient": true, @@ -6295,12 +6914,12 @@ ], "parameters": [ { - "$id": "610", + "$id": "674", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "611", + "$id": "675", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6314,9 +6933,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "612", + "$id": "676", "type": { - "$id": "613", + "$id": "677", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6329,48 +6948,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModel", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "614", + "$id": "678", "kind": "client", "name": "ExtendsModelArray", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "615", + "$id": "679", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "616", + "$id": "680", "name": "get", "resourceName": "ExtendsModelArray", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "617", + "$id": "681", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "618", - "kind": "constant", - "name": "getContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "619", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -6385,12 +6991,12 @@ ], "responses": [ { - "$id": "620", + "$id": "682", "statusCodes": [ 200 ], "bodyType": { - "$ref": "143" + "$ref": "270" }, "headers": [], "isErrorResponse": false, @@ -6410,11 +7016,11 @@ }, "parameters": [ { - "$id": "621", + "$id": "683", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "618" + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -6428,9 +7034,9 @@ } ], "response": { - "$id": "622", + "$id": "684", "type": { - "$ref": "143" + "$ref": "270" } }, "isOverride": false, @@ -6439,39 +7045,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModelArray.get" }, { - "$id": "623", + "$id": "685", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "624", + "$id": "686", "name": "put", "resourceName": "ExtendsModelArray", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "625", + "$id": "687", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "626", - "kind": "constant", - "name": "putContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "627", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -6484,12 +7077,12 @@ "skipUrlEncoding": false }, { - "$id": "628", + "$id": "688", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "143" + "$ref": "270" }, "location": "Body", "isApiVersion": false, @@ -6504,7 +7097,7 @@ ], "responses": [ { - "$id": "629", + "$id": "689", "statusCodes": [ 204 ], @@ -6526,12 +7119,12 @@ }, "parameters": [ { - "$id": "630", + "$id": "690", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "143" + "$ref": "270" }, "location": "Body", "isApiVersion": false, @@ -6544,12 +7137,12 @@ "skipUrlEncoding": false }, { - "$id": "631", + "$id": "691", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "626" + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -6563,7 +7156,7 @@ } ], "response": { - "$id": "632" + "$id": "692" }, "isOverride": false, "generateConvenient": true, @@ -6573,12 +7166,12 @@ ], "parameters": [ { - "$id": "633", + "$id": "693", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "634", + "$id": "694", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6592,9 +7185,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "635", + "$id": "695", "type": { - "$id": "636", + "$id": "696", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6607,48 +7200,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModelArray", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "637", + "$id": "697", "kind": "client", "name": "IsModelArray", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "638", + "$id": "698", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "639", + "$id": "699", "name": "get", "resourceName": "IsModelArray", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "640", + "$id": "700", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "641", - "kind": "constant", - "name": "getContentType16", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "642", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -6663,12 +7243,12 @@ ], "responses": [ { - "$id": "643", + "$id": "701", "statusCodes": [ 200 ], "bodyType": { - "$ref": "148" + "$ref": "275" }, "headers": [], "isErrorResponse": false, @@ -6688,11 +7268,11 @@ }, "parameters": [ { - "$id": "644", + "$id": "702", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "641" + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -6706,9 +7286,9 @@ } ], "response": { - "$id": "645", + "$id": "703", "type": { - "$ref": "148" + "$ref": "275" } }, "isOverride": false, @@ -6717,39 +7297,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModelArray.get" }, { - "$id": "646", + "$id": "704", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "647", + "$id": "705", "name": "put", "resourceName": "IsModelArray", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "648", + "$id": "706", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "649", - "kind": "constant", - "name": "putContentType16", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "650", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -6762,12 +7329,12 @@ "skipUrlEncoding": false }, { - "$id": "651", + "$id": "707", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "148" + "$ref": "275" }, "location": "Body", "isApiVersion": false, @@ -6782,7 +7349,7 @@ ], "responses": [ { - "$id": "652", + "$id": "708", "statusCodes": [ 204 ], @@ -6804,12 +7371,12 @@ }, "parameters": [ { - "$id": "653", + "$id": "709", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "148" + "$ref": "275" }, "location": "Body", "isApiVersion": false, @@ -6822,12 +7389,12 @@ "skipUrlEncoding": false }, { - "$id": "654", + "$id": "710", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "649" + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -6841,7 +7408,7 @@ } ], "response": { - "$id": "655" + "$id": "711" }, "isOverride": false, "generateConvenient": true, @@ -6851,12 +7418,12 @@ ], "parameters": [ { - "$id": "656", + "$id": "712", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "657", + "$id": "713", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6870,9 +7437,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "658", + "$id": "714", "type": { - "$id": "659", + "$id": "715", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6885,48 +7452,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModelArray", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "660", + "$id": "716", "kind": "client", "name": "SpreadModelArray", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "661", + "$id": "717", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "662", + "$id": "718", "name": "get", "resourceName": "SpreadModelArray", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "663", + "$id": "719", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "664", - "kind": "constant", - "name": "getContentType17", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "665", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -6941,12 +7495,12 @@ ], "responses": [ { - "$id": "666", + "$id": "720", "statusCodes": [ 200 ], "bodyType": { - "$ref": "152" + "$ref": "279" }, "headers": [], "isErrorResponse": false, @@ -6966,11 +7520,11 @@ }, "parameters": [ { - "$id": "667", + "$id": "721", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "664" + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -6984,9 +7538,9 @@ } ], "response": { - "$id": "668", + "$id": "722", "type": { - "$ref": "152" + "$ref": "279" } }, "isOverride": false, @@ -6995,39 +7549,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModelArray.get" }, { - "$id": "669", + "$id": "723", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "670", + "$id": "724", "name": "put", "resourceName": "SpreadModelArray", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "671", + "$id": "725", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "672", - "kind": "constant", - "name": "putContentType17", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "673", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -7040,12 +7581,12 @@ "skipUrlEncoding": false }, { - "$id": "674", + "$id": "726", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "152" + "$ref": "279" }, "location": "Body", "isApiVersion": false, @@ -7060,7 +7601,7 @@ ], "responses": [ { - "$id": "675", + "$id": "727", "statusCodes": [ 204 ], @@ -7082,12 +7623,12 @@ }, "parameters": [ { - "$id": "676", + "$id": "728", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "152" + "$ref": "279" }, "location": "Body", "isApiVersion": false, @@ -7100,12 +7641,12 @@ "skipUrlEncoding": false }, { - "$id": "677", + "$id": "729", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "672" + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -7119,7 +7660,7 @@ } ], "response": { - "$id": "678" + "$id": "730" }, "isOverride": false, "generateConvenient": true, @@ -7129,12 +7670,12 @@ ], "parameters": [ { - "$id": "679", + "$id": "731", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "680", + "$id": "732", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7148,9 +7689,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "681", + "$id": "733", "type": { - "$id": "682", + "$id": "734", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7163,48 +7704,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModelArray", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "683", + "$id": "735", "kind": "client", "name": "SpreadDifferentString", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "684", + "$id": "736", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "685", + "$id": "737", "name": "get", "resourceName": "SpreadDifferentString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "686", + "$id": "738", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "687", - "kind": "constant", - "name": "getContentType18", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "688", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -7219,12 +7747,12 @@ ], "responses": [ { - "$id": "689", + "$id": "739", "statusCodes": [ 200 ], "bodyType": { - "$ref": "156" + "$ref": "283" }, "headers": [], "isErrorResponse": false, @@ -7244,11 +7772,11 @@ }, "parameters": [ { - "$id": "690", + "$id": "740", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "687" + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -7262,9 +7790,9 @@ } ], "response": { - "$id": "691", + "$id": "741", "type": { - "$ref": "156" + "$ref": "283" } }, "isOverride": false, @@ -7273,39 +7801,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentString.get" }, { - "$id": "692", + "$id": "742", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "693", + "$id": "743", "name": "put", "resourceName": "SpreadDifferentString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "694", + "$id": "744", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "695", - "kind": "constant", - "name": "putContentType18", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "696", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -7318,12 +7833,12 @@ "skipUrlEncoding": false }, { - "$id": "697", + "$id": "745", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "156" + "$ref": "283" }, "location": "Body", "isApiVersion": false, @@ -7338,7 +7853,7 @@ ], "responses": [ { - "$id": "698", + "$id": "746", "statusCodes": [ 204 ], @@ -7360,12 +7875,12 @@ }, "parameters": [ { - "$id": "699", + "$id": "747", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "156" + "$ref": "283" }, "location": "Body", "isApiVersion": false, @@ -7378,12 +7893,12 @@ "skipUrlEncoding": false }, { - "$id": "700", + "$id": "748", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "695" + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -7397,7 +7912,7 @@ } ], "response": { - "$id": "701" + "$id": "749" }, "isOverride": false, "generateConvenient": true, @@ -7407,12 +7922,12 @@ ], "parameters": [ { - "$id": "702", + "$id": "750", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "703", + "$id": "751", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7426,9 +7941,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "704", + "$id": "752", "type": { - "$id": "705", + "$id": "753", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7441,48 +7956,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentString", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "706", + "$id": "754", "kind": "client", "name": "SpreadDifferentFloat", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "707", + "$id": "755", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "708", + "$id": "756", "name": "get", "resourceName": "SpreadDifferentFloat", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "709", + "$id": "757", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "710", - "kind": "constant", - "name": "getContentType19", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "711", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -7497,12 +7999,12 @@ ], "responses": [ { - "$id": "712", + "$id": "758", "statusCodes": [ 200 ], "bodyType": { - "$ref": "162" + "$ref": "289" }, "headers": [], "isErrorResponse": false, @@ -7522,11 +8024,11 @@ }, "parameters": [ { - "$id": "713", + "$id": "759", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "710" + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -7540,9 +8042,9 @@ } ], "response": { - "$id": "714", + "$id": "760", "type": { - "$ref": "162" + "$ref": "289" } }, "isOverride": false, @@ -7551,39 +8053,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentFloat.get" }, { - "$id": "715", + "$id": "761", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "716", + "$id": "762", "name": "put", "resourceName": "SpreadDifferentFloat", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "717", + "$id": "763", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "718", - "kind": "constant", - "name": "putContentType19", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "719", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -7596,12 +8085,12 @@ "skipUrlEncoding": false }, { - "$id": "720", + "$id": "764", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "162" + "$ref": "289" }, "location": "Body", "isApiVersion": false, @@ -7616,7 +8105,7 @@ ], "responses": [ { - "$id": "721", + "$id": "765", "statusCodes": [ 204 ], @@ -7638,12 +8127,12 @@ }, "parameters": [ { - "$id": "722", + "$id": "766", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "162" + "$ref": "289" }, "location": "Body", "isApiVersion": false, @@ -7656,12 +8145,12 @@ "skipUrlEncoding": false }, { - "$id": "723", + "$id": "767", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "718" + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -7675,7 +8164,7 @@ } ], "response": { - "$id": "724" + "$id": "768" }, "isOverride": false, "generateConvenient": true, @@ -7685,12 +8174,12 @@ ], "parameters": [ { - "$id": "725", + "$id": "769", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "726", + "$id": "770", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7704,9 +8193,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "727", + "$id": "771", "type": { - "$id": "728", + "$id": "772", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7719,48 +8208,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentFloat", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "729", + "$id": "773", "kind": "client", "name": "SpreadDifferentModel", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "730", + "$id": "774", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "731", + "$id": "775", "name": "get", "resourceName": "SpreadDifferentModel", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "732", + "$id": "776", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "733", - "kind": "constant", - "name": "getContentType20", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "734", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -7775,12 +8251,12 @@ ], "responses": [ { - "$id": "735", + "$id": "777", "statusCodes": [ 200 ], "bodyType": { - "$ref": "168" + "$ref": "295" }, "headers": [], "isErrorResponse": false, @@ -7800,11 +8276,11 @@ }, "parameters": [ { - "$id": "736", + "$id": "778", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "733" + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -7818,9 +8294,9 @@ } ], "response": { - "$id": "737", + "$id": "779", "type": { - "$ref": "168" + "$ref": "295" } }, "isOverride": false, @@ -7829,39 +8305,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModel.get" }, { - "$id": "738", + "$id": "780", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "739", + "$id": "781", "name": "put", "resourceName": "SpreadDifferentModel", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "740", + "$id": "782", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "741", - "kind": "constant", - "name": "putContentType20", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "742", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -7874,12 +8337,12 @@ "skipUrlEncoding": false }, { - "$id": "743", + "$id": "783", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "168" + "$ref": "295" }, "location": "Body", "isApiVersion": false, @@ -7894,7 +8357,7 @@ ], "responses": [ { - "$id": "744", + "$id": "784", "statusCodes": [ 204 ], @@ -7916,12 +8379,12 @@ }, "parameters": [ { - "$id": "745", + "$id": "785", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "168" + "$ref": "295" }, "location": "Body", "isApiVersion": false, @@ -7934,12 +8397,12 @@ "skipUrlEncoding": false }, { - "$id": "746", + "$id": "786", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "741" + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -7953,7 +8416,7 @@ } ], "response": { - "$id": "747" + "$id": "787" }, "isOverride": false, "generateConvenient": true, @@ -7963,12 +8426,12 @@ ], "parameters": [ { - "$id": "748", + "$id": "788", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "749", + "$id": "789", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7982,9 +8445,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "750", + "$id": "790", "type": { - "$id": "751", + "$id": "791", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7997,48 +8460,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModel", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "752", + "$id": "792", "kind": "client", "name": "SpreadDifferentModelArray", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "753", + "$id": "793", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "754", + "$id": "794", "name": "get", "resourceName": "SpreadDifferentModelArray", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "755", + "$id": "795", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "756", - "kind": "constant", - "name": "getContentType21", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "757", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -8053,12 +8503,12 @@ ], "responses": [ { - "$id": "758", + "$id": "796", "statusCodes": [ 200 ], "bodyType": { - "$ref": "173" + "$ref": "300" }, "headers": [], "isErrorResponse": false, @@ -8078,11 +8528,11 @@ }, "parameters": [ { - "$id": "759", + "$id": "797", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "756" + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -8096,9 +8546,9 @@ } ], "response": { - "$id": "760", + "$id": "798", "type": { - "$ref": "173" + "$ref": "300" } }, "isOverride": false, @@ -8107,39 +8557,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.get" }, { - "$id": "761", + "$id": "799", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "762", + "$id": "800", "name": "put", "resourceName": "SpreadDifferentModelArray", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "763", + "$id": "801", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "764", - "kind": "constant", - "name": "putContentType21", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "765", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -8152,12 +8589,12 @@ "skipUrlEncoding": false }, { - "$id": "766", + "$id": "802", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "173" + "$ref": "300" }, "location": "Body", "isApiVersion": false, @@ -8172,7 +8609,7 @@ ], "responses": [ { - "$id": "767", + "$id": "803", "statusCodes": [ 204 ], @@ -8194,12 +8631,12 @@ }, "parameters": [ { - "$id": "768", + "$id": "804", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "173" + "$ref": "300" }, "location": "Body", "isApiVersion": false, @@ -8212,12 +8649,12 @@ "skipUrlEncoding": false }, { - "$id": "769", + "$id": "805", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "764" + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -8231,7 +8668,7 @@ } ], "response": { - "$id": "770" + "$id": "806" }, "isOverride": false, "generateConvenient": true, @@ -8241,12 +8678,12 @@ ], "parameters": [ { - "$id": "771", + "$id": "807", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "772", + "$id": "808", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8260,9 +8697,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "773", + "$id": "809", "type": { - "$id": "774", + "$id": "810", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8275,48 +8712,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModelArray", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "775", + "$id": "811", "kind": "client", "name": "ExtendsDifferentSpreadString", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "776", + "$id": "812", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "777", + "$id": "813", "name": "get", "resourceName": "ExtendsDifferentSpreadString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "778", + "$id": "814", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "779", - "kind": "constant", - "name": "getContentType22", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "780", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -8331,12 +8755,12 @@ ], "responses": [ { - "$id": "781", + "$id": "815", "statusCodes": [ 200 ], "bodyType": { - "$ref": "178" + "$ref": "305" }, "headers": [], "isErrorResponse": false, @@ -8356,11 +8780,11 @@ }, "parameters": [ { - "$id": "782", + "$id": "816", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "779" + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -8374,9 +8798,9 @@ } ], "response": { - "$id": "783", + "$id": "817", "type": { - "$ref": "178" + "$ref": "305" } }, "isOverride": false, @@ -8385,39 +8809,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.get" }, { - "$id": "784", + "$id": "818", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "785", + "$id": "819", "name": "put", "resourceName": "ExtendsDifferentSpreadString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "786", + "$id": "820", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "787", - "kind": "constant", - "name": "putContentType22", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "788", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -8430,12 +8841,12 @@ "skipUrlEncoding": false }, { - "$id": "789", + "$id": "821", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "178" + "$ref": "305" }, "location": "Body", "isApiVersion": false, @@ -8450,7 +8861,7 @@ ], "responses": [ { - "$id": "790", + "$id": "822", "statusCodes": [ 204 ], @@ -8472,12 +8883,12 @@ }, "parameters": [ { - "$id": "791", + "$id": "823", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "178" + "$ref": "305" }, "location": "Body", "isApiVersion": false, @@ -8490,12 +8901,12 @@ "skipUrlEncoding": false }, { - "$id": "792", + "$id": "824", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "787" + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -8509,7 +8920,7 @@ } ], "response": { - "$id": "793" + "$id": "825" }, "isOverride": false, "generateConvenient": true, @@ -8519,12 +8930,12 @@ ], "parameters": [ { - "$id": "794", + "$id": "826", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "795", + "$id": "827", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8538,9 +8949,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "796", + "$id": "828", "type": { - "$id": "797", + "$id": "829", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8553,48 +8964,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "798", + "$id": "830", "kind": "client", "name": "ExtendsDifferentSpreadFloat", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "799", + "$id": "831", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "800", + "$id": "832", "name": "get", "resourceName": "ExtendsDifferentSpreadFloat", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "801", + "$id": "833", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "802", - "kind": "constant", - "name": "getContentType23", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "803", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -8609,12 +9007,12 @@ ], "responses": [ { - "$id": "804", + "$id": "834", "statusCodes": [ 200 ], "bodyType": { - "$ref": "183" + "$ref": "310" }, "headers": [], "isErrorResponse": false, @@ -8634,11 +9032,11 @@ }, "parameters": [ { - "$id": "805", + "$id": "835", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "802" + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -8652,9 +9050,9 @@ } ], "response": { - "$id": "806", + "$id": "836", "type": { - "$ref": "183" + "$ref": "310" } }, "isOverride": false, @@ -8663,39 +9061,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.get" }, { - "$id": "807", + "$id": "837", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "808", + "$id": "838", "name": "put", "resourceName": "ExtendsDifferentSpreadFloat", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "809", + "$id": "839", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "810", - "kind": "constant", - "name": "putContentType23", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "811", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -8708,12 +9093,12 @@ "skipUrlEncoding": false }, { - "$id": "812", + "$id": "840", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "183" + "$ref": "310" }, "location": "Body", "isApiVersion": false, @@ -8728,7 +9113,7 @@ ], "responses": [ { - "$id": "813", + "$id": "841", "statusCodes": [ 204 ], @@ -8750,12 +9135,12 @@ }, "parameters": [ { - "$id": "814", + "$id": "842", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "183" + "$ref": "310" }, "location": "Body", "isApiVersion": false, @@ -8768,12 +9153,12 @@ "skipUrlEncoding": false }, { - "$id": "815", + "$id": "843", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "810" + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -8787,7 +9172,7 @@ } ], "response": { - "$id": "816" + "$id": "844" }, "isOverride": false, "generateConvenient": true, @@ -8797,12 +9182,12 @@ ], "parameters": [ { - "$id": "817", + "$id": "845", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "818", + "$id": "846", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8816,9 +9201,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "819", + "$id": "847", "type": { - "$id": "820", + "$id": "848", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8831,48 +9216,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "821", + "$id": "849", "kind": "client", "name": "ExtendsDifferentSpreadModel", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "822", + "$id": "850", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "823", + "$id": "851", "name": "get", "resourceName": "ExtendsDifferentSpreadModel", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "824", + "$id": "852", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "825", - "kind": "constant", - "name": "getContentType24", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "826", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -8887,12 +9259,12 @@ ], "responses": [ { - "$id": "827", + "$id": "853", "statusCodes": [ 200 ], "bodyType": { - "$ref": "188" + "$ref": "315" }, "headers": [], "isErrorResponse": false, @@ -8912,11 +9284,11 @@ }, "parameters": [ { - "$id": "828", + "$id": "854", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "825" + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -8930,9 +9302,9 @@ } ], "response": { - "$id": "829", + "$id": "855", "type": { - "$ref": "188" + "$ref": "315" } }, "isOverride": false, @@ -8941,39 +9313,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.get" }, { - "$id": "830", + "$id": "856", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "831", + "$id": "857", "name": "put", "resourceName": "ExtendsDifferentSpreadModel", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "832", + "$id": "858", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "833", - "kind": "constant", - "name": "putContentType24", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "834", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -8986,12 +9345,12 @@ "skipUrlEncoding": false }, { - "$id": "835", + "$id": "859", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "188" + "$ref": "315" }, "location": "Body", "isApiVersion": false, @@ -9006,7 +9365,7 @@ ], "responses": [ { - "$id": "836", + "$id": "860", "statusCodes": [ 204 ], @@ -9028,12 +9387,12 @@ }, "parameters": [ { - "$id": "837", + "$id": "861", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "188" + "$ref": "315" }, "location": "Body", "isApiVersion": false, @@ -9046,12 +9405,12 @@ "skipUrlEncoding": false }, { - "$id": "838", + "$id": "862", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "833" + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -9065,7 +9424,7 @@ } ], "response": { - "$id": "839" + "$id": "863" }, "isOverride": false, "generateConvenient": true, @@ -9075,12 +9434,12 @@ ], "parameters": [ { - "$id": "840", + "$id": "864", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "841", + "$id": "865", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9094,9 +9453,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "842", + "$id": "866", "type": { - "$id": "843", + "$id": "867", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9109,48 +9468,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "844", + "$id": "868", "kind": "client", "name": "ExtendsDifferentSpreadModelArray", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "845", + "$id": "869", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "846", + "$id": "870", "name": "get", "resourceName": "ExtendsDifferentSpreadModelArray", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "847", + "$id": "871", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "848", - "kind": "constant", - "name": "getContentType25", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "849", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -9165,12 +9511,12 @@ ], "responses": [ { - "$id": "850", + "$id": "872", "statusCodes": [ 200 ], "bodyType": { - "$ref": "192" + "$ref": "319" }, "headers": [], "isErrorResponse": false, @@ -9190,11 +9536,11 @@ }, "parameters": [ { - "$id": "851", + "$id": "873", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "848" + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -9208,9 +9554,9 @@ } ], "response": { - "$id": "852", + "$id": "874", "type": { - "$ref": "192" + "$ref": "319" } }, "isOverride": false, @@ -9219,39 +9565,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.get" }, { - "$id": "853", + "$id": "875", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "854", + "$id": "876", "name": "put", "resourceName": "ExtendsDifferentSpreadModelArray", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "855", + "$id": "877", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "856", - "kind": "constant", - "name": "putContentType25", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "857", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -9264,12 +9597,12 @@ "skipUrlEncoding": false }, { - "$id": "858", + "$id": "878", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "192" + "$ref": "319" }, "location": "Body", "isApiVersion": false, @@ -9284,7 +9617,7 @@ ], "responses": [ { - "$id": "859", + "$id": "879", "statusCodes": [ 204 ], @@ -9306,12 +9639,12 @@ }, "parameters": [ { - "$id": "860", + "$id": "880", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "192" + "$ref": "319" }, "location": "Body", "isApiVersion": false, @@ -9324,12 +9657,12 @@ "skipUrlEncoding": false }, { - "$id": "861", + "$id": "881", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "856" + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -9343,7 +9676,7 @@ } ], "response": { - "$id": "862" + "$id": "882" }, "isOverride": false, "generateConvenient": true, @@ -9353,12 +9686,12 @@ ], "parameters": [ { - "$id": "863", + "$id": "883", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "864", + "$id": "884", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9372,9 +9705,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "865", + "$id": "885", "type": { - "$id": "866", + "$id": "886", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9387,48 +9720,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "867", + "$id": "887", "kind": "client", "name": "MultipleSpread", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "868", + "$id": "888", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "869", + "$id": "889", "name": "get", "resourceName": "MultipleSpread", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "870", + "$id": "890", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "871", - "kind": "constant", - "name": "getContentType26", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "872", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -9443,12 +9763,12 @@ ], "responses": [ { - "$id": "873", + "$id": "891", "statusCodes": [ 200 ], "bodyType": { - "$ref": "196" + "$ref": "323" }, "headers": [], "isErrorResponse": false, @@ -9468,11 +9788,11 @@ }, "parameters": [ { - "$id": "874", + "$id": "892", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "871" + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -9486,9 +9806,9 @@ } ], "response": { - "$id": "875", + "$id": "893", "type": { - "$ref": "196" + "$ref": "323" } }, "isOverride": false, @@ -9497,39 +9817,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.MultipleSpread.get" }, { - "$id": "876", + "$id": "894", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "877", + "$id": "895", "name": "put", "resourceName": "MultipleSpread", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "878", + "$id": "896", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "879", - "kind": "constant", - "name": "putContentType26", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "880", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -9542,12 +9849,12 @@ "skipUrlEncoding": false }, { - "$id": "881", + "$id": "897", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "196" + "$ref": "323" }, "location": "Body", "isApiVersion": false, @@ -9562,7 +9869,7 @@ ], "responses": [ { - "$id": "882", + "$id": "898", "statusCodes": [ 204 ], @@ -9584,12 +9891,12 @@ }, "parameters": [ { - "$id": "883", + "$id": "899", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "196" + "$ref": "323" }, "location": "Body", "isApiVersion": false, @@ -9602,12 +9909,12 @@ "skipUrlEncoding": false }, { - "$id": "884", + "$id": "900", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "879" + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -9621,7 +9928,7 @@ } ], "response": { - "$id": "885" + "$id": "901" }, "isOverride": false, "generateConvenient": true, @@ -9631,12 +9938,12 @@ ], "parameters": [ { - "$id": "886", + "$id": "902", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "887", + "$id": "903", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9650,9 +9957,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "888", + "$id": "904", "type": { - "$id": "889", + "$id": "905", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9665,48 +9972,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.MultipleSpread", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "890", + "$id": "906", "kind": "client", "name": "SpreadRecordUnion", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "891", + "$id": "907", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "892", + "$id": "908", "name": "get", "resourceName": "SpreadRecordUnion", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "893", + "$id": "909", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "894", - "kind": "constant", - "name": "getContentType27", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "895", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -9721,12 +10015,12 @@ ], "responses": [ { - "$id": "896", + "$id": "910", "statusCodes": [ 200 ], "bodyType": { - "$ref": "204" + "$ref": "331" }, "headers": [], "isErrorResponse": false, @@ -9746,11 +10040,11 @@ }, "parameters": [ { - "$id": "897", + "$id": "911", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "894" + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -9764,9 +10058,9 @@ } ], "response": { - "$id": "898", + "$id": "912", "type": { - "$ref": "204" + "$ref": "331" } }, "isOverride": false, @@ -9775,39 +10069,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordUnion.get" }, { - "$id": "899", + "$id": "913", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "900", + "$id": "914", "name": "put", "resourceName": "SpreadRecordUnion", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "901", + "$id": "915", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "902", - "kind": "constant", - "name": "putContentType27", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "903", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -9820,12 +10101,12 @@ "skipUrlEncoding": false }, { - "$id": "904", + "$id": "916", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "204" + "$ref": "331" }, "location": "Body", "isApiVersion": false, @@ -9840,7 +10121,7 @@ ], "responses": [ { - "$id": "905", + "$id": "917", "statusCodes": [ 204 ], @@ -9862,12 +10143,12 @@ }, "parameters": [ { - "$id": "906", + "$id": "918", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "204" + "$ref": "331" }, "location": "Body", "isApiVersion": false, @@ -9880,12 +10161,12 @@ "skipUrlEncoding": false }, { - "$id": "907", + "$id": "919", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "902" + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -9899,7 +10180,7 @@ } ], "response": { - "$id": "908" + "$id": "920" }, "isOverride": false, "generateConvenient": true, @@ -9909,12 +10190,12 @@ ], "parameters": [ { - "$id": "909", + "$id": "921", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "910", + "$id": "922", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9928,9 +10209,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "911", + "$id": "923", "type": { - "$id": "912", + "$id": "924", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9943,48 +10224,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordUnion", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "913", + "$id": "925", "kind": "client", "name": "SpreadRecordNonDiscriminatedUnion", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "914", + "$id": "926", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "915", + "$id": "927", "name": "get", "resourceName": "SpreadRecordNonDiscriminatedUnion", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "916", + "$id": "928", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "917", - "kind": "constant", - "name": "getContentType28", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "918", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -9999,12 +10267,12 @@ ], "responses": [ { - "$id": "919", + "$id": "929", "statusCodes": [ 200 ], "bodyType": { - "$ref": "212" + "$ref": "339" }, "headers": [], "isErrorResponse": false, @@ -10024,11 +10292,11 @@ }, "parameters": [ { - "$id": "920", + "$id": "930", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "917" + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -10042,9 +10310,9 @@ } ], "response": { - "$id": "921", + "$id": "931", "type": { - "$ref": "212" + "$ref": "339" } }, "isOverride": false, @@ -10053,39 +10321,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.get" }, { - "$id": "922", + "$id": "932", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "923", + "$id": "933", "name": "put", "resourceName": "SpreadRecordNonDiscriminatedUnion", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "924", + "$id": "934", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "925", - "kind": "constant", - "name": "putContentType28", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "926", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -10098,12 +10353,12 @@ "skipUrlEncoding": false }, { - "$id": "927", + "$id": "935", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "212" + "$ref": "339" }, "location": "Body", "isApiVersion": false, @@ -10118,7 +10373,7 @@ ], "responses": [ { - "$id": "928", + "$id": "936", "statusCodes": [ 204 ], @@ -10140,12 +10395,12 @@ }, "parameters": [ { - "$id": "929", + "$id": "937", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "212" + "$ref": "339" }, "location": "Body", "isApiVersion": false, @@ -10158,12 +10413,12 @@ "skipUrlEncoding": false }, { - "$id": "930", + "$id": "938", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "925" + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -10177,7 +10432,7 @@ } ], "response": { - "$id": "931" + "$id": "939" }, "isOverride": false, "generateConvenient": true, @@ -10187,12 +10442,12 @@ ], "parameters": [ { - "$id": "932", + "$id": "940", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "933", + "$id": "941", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -10206,9 +10461,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "934", + "$id": "942", "type": { - "$id": "935", + "$id": "943", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -10221,48 +10476,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "936", + "$id": "944", "kind": "client", "name": "SpreadRecordNonDiscriminatedUnion2", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "937", + "$id": "945", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "938", + "$id": "946", "name": "get", "resourceName": "SpreadRecordNonDiscriminatedUnion2", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "939", + "$id": "947", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "940", - "kind": "constant", - "name": "getContentType29", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "941", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -10277,12 +10519,12 @@ ], "responses": [ { - "$id": "942", + "$id": "948", "statusCodes": [ 200 ], "bodyType": { - "$ref": "242" + "$ref": "367" }, "headers": [], "isErrorResponse": false, @@ -10302,11 +10544,11 @@ }, "parameters": [ { - "$id": "943", + "$id": "949", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "940" + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -10320,9 +10562,9 @@ } ], "response": { - "$id": "944", + "$id": "950", "type": { - "$ref": "242" + "$ref": "367" } }, "isOverride": false, @@ -10331,39 +10573,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.get" }, { - "$id": "945", + "$id": "951", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "946", + "$id": "952", "name": "put", "resourceName": "SpreadRecordNonDiscriminatedUnion2", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "947", + "$id": "953", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "948", - "kind": "constant", - "name": "putContentType29", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "949", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -10376,12 +10605,12 @@ "skipUrlEncoding": false }, { - "$id": "950", + "$id": "954", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "242" + "$ref": "367" }, "location": "Body", "isApiVersion": false, @@ -10396,7 +10625,7 @@ ], "responses": [ { - "$id": "951", + "$id": "955", "statusCodes": [ 204 ], @@ -10418,12 +10647,12 @@ }, "parameters": [ { - "$id": "952", + "$id": "956", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "242" + "$ref": "367" }, "location": "Body", "isApiVersion": false, @@ -10436,12 +10665,12 @@ "skipUrlEncoding": false }, { - "$id": "953", + "$id": "957", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "948" + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -10455,7 +10684,7 @@ } ], "response": { - "$id": "954" + "$id": "958" }, "isOverride": false, "generateConvenient": true, @@ -10465,12 +10694,12 @@ ], "parameters": [ { - "$id": "955", + "$id": "959", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "956", + "$id": "960", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -10484,9 +10713,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "957", + "$id": "961", "type": { - "$id": "958", + "$id": "962", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -10499,48 +10728,35 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } }, { - "$id": "959", + "$id": "963", "kind": "client", "name": "SpreadRecordNonDiscriminatedUnion3", "namespace": "Scm._Type.Property.AdditionalProperties", "methods": [ { - "$id": "960", + "$id": "964", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "961", + "$id": "965", "name": "get", "resourceName": "SpreadRecordNonDiscriminatedUnion3", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "962", + "$id": "966", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "963", - "kind": "constant", - "name": "getContentType30", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "964", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -10555,12 +10771,12 @@ ], "responses": [ { - "$id": "965", + "$id": "967", "statusCodes": [ 200 ], "bodyType": { - "$ref": "257" + "$ref": "381" }, "headers": [], "isErrorResponse": false, @@ -10580,11 +10796,11 @@ }, "parameters": [ { - "$id": "966", + "$id": "968", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "963" + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -10598,9 +10814,9 @@ } ], "response": { - "$id": "967", + "$id": "969", "type": { - "$ref": "257" + "$ref": "381" } }, "isOverride": false, @@ -10609,39 +10825,26 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.get" }, { - "$id": "968", + "$id": "970", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "969", + "$id": "971", "name": "put", "resourceName": "SpreadRecordNonDiscriminatedUnion3", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "970", + "$id": "972", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "971", - "kind": "constant", - "name": "putContentType30", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "972", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -10659,7 +10862,7 @@ "nameInRequest": "body", "doc": "body", "type": { - "$ref": "257" + "$ref": "381" }, "location": "Body", "isApiVersion": false, @@ -10701,7 +10904,7 @@ "nameInRequest": "body", "doc": "body", "type": { - "$ref": "257" + "$ref": "381" }, "location": "Body", "isApiVersion": false, @@ -10719,7 +10922,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "971" + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -10777,7 +10980,7 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3", "apiVersions": [], "parent": { - "$ref": "264" + "$ref": "388" } } ] diff --git a/test/CadlRanchProjectsNonAzure/type/property/nullable/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/property/nullable/tspCodeModel.json index 82192b2c4dd..b2acb9a7458 100644 --- a/test/CadlRanchProjectsNonAzure/type/property/nullable/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/property/nullable/tspCodeModel.json @@ -3,9 +3,683 @@ "name": "Type.Property.Nullable", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "getNonNullContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "getNullContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "PatchNonNullRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "PatchNonNullRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "PatchNonNullRequestContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "PatchNonNullRequestContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "getNonNullContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "getNullContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "PatchNonNullRequestContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "PatchNonNullRequestContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "PatchNonNullRequestContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "PatchNonNullRequestContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "getNonNullContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "getNullContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "PatchNonNullRequestContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "PatchNonNullRequestContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "PatchNonNullRequestContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "PatchNonNullRequestContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "getNonNullContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "getNullContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "PatchNonNullRequestContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "PatchNonNullRequestContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "PatchNonNullRequestContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "PatchNonNullRequestContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "getNonNullContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "getNullContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "PatchNonNullRequestContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "PatchNonNullRequestContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "PatchNonNullRequestContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "PatchNonNullRequestContentType19", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "getNonNullContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "getNullContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "PatchNonNullRequestContentType20", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "PatchNonNullRequestContentType21", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "70", + "kind": "constant", + "name": "PatchNonNullRequestContentType22", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "72", + "kind": "constant", + "name": "PatchNonNullRequestContentType23", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "74", + "kind": "constant", + "name": "getNonNullContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "76", + "kind": "constant", + "name": "getNullContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "78", + "kind": "constant", + "name": "PatchNonNullRequestContentType24", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "80", + "kind": "constant", + "name": "PatchNonNullRequestContentType25", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "82", + "kind": "constant", + "name": "PatchNonNullRequestContentType26", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + }, + { + "$id": "84", + "kind": "constant", + "name": "PatchNonNullRequestContentType27", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/merge-patch+json", + "decorators": [] + } + ], + "models": [ + { + "$id": "86", "kind": "model", "name": "StringProperty", "namespace": "Scm._Type.Property.Nullable", @@ -15,13 +689,13 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "87", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "Required property", "type": { - "$id": "4", + "$id": "88", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34,24 +708,24 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.StringProperty.requiredProperty", "serializationOptions": { - "$id": "5", + "$id": "89", "json": { - "$id": "6", + "$id": "90", "name": "requiredProperty" } } }, { - "$id": "7", + "$id": "91", "kind": "property", "name": "nullableProperty", "serializedName": "nullableProperty", "doc": "Property", "type": { - "$id": "8", + "$id": "92", "kind": "nullable", "type": { - "$id": "9", + "$id": "93", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66,9 +740,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.StringProperty.nullableProperty", "serializationOptions": { - "$id": "10", + "$id": "94", "json": { - "$id": "11", + "$id": "95", "name": "nullableProperty" } } @@ -76,7 +750,7 @@ ] }, { - "$id": "12", + "$id": "96", "kind": "model", "name": "BytesProperty", "namespace": "Scm._Type.Property.Nullable", @@ -86,13 +760,13 @@ "decorators": [], "properties": [ { - "$id": "13", + "$id": "97", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "Required property", "type": { - "$id": "14", + "$id": "98", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105,24 +779,24 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.BytesProperty.requiredProperty", "serializationOptions": { - "$id": "15", + "$id": "99", "json": { - "$id": "16", + "$id": "100", "name": "requiredProperty" } } }, { - "$id": "17", + "$id": "101", "kind": "property", "name": "nullableProperty", "serializedName": "nullableProperty", "doc": "Property", "type": { - "$id": "18", + "$id": "102", "kind": "nullable", "type": { - "$id": "19", + "$id": "103", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -138,9 +812,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.BytesProperty.nullableProperty", "serializationOptions": { - "$id": "20", + "$id": "104", "json": { - "$id": "21", + "$id": "105", "name": "nullableProperty" } } @@ -148,7 +822,7 @@ ] }, { - "$id": "22", + "$id": "106", "kind": "model", "name": "DatetimeProperty", "namespace": "Scm._Type.Property.Nullable", @@ -158,13 +832,13 @@ "decorators": [], "properties": [ { - "$id": "23", + "$id": "107", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "Required property", "type": { - "$id": "24", + "$id": "108", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -177,29 +851,29 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.DatetimeProperty.requiredProperty", "serializationOptions": { - "$id": "25", + "$id": "109", "json": { - "$id": "26", + "$id": "110", "name": "requiredProperty" } } }, { - "$id": "27", + "$id": "111", "kind": "property", "name": "nullableProperty", "serializedName": "nullableProperty", "doc": "Property", "type": { - "$id": "28", + "$id": "112", "kind": "nullable", "type": { - "$id": "29", + "$id": "113", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "30", + "$id": "114", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -217,9 +891,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.DatetimeProperty.nullableProperty", "serializationOptions": { - "$id": "31", + "$id": "115", "json": { - "$id": "32", + "$id": "116", "name": "nullableProperty" } } @@ -227,7 +901,7 @@ ] }, { - "$id": "33", + "$id": "117", "kind": "model", "name": "DurationProperty", "namespace": "Scm._Type.Property.Nullable", @@ -237,13 +911,13 @@ "decorators": [], "properties": [ { - "$id": "34", + "$id": "118", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "Required property", "type": { - "$id": "35", + "$id": "119", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -256,29 +930,29 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.DurationProperty.requiredProperty", "serializationOptions": { - "$id": "36", + "$id": "120", "json": { - "$id": "37", + "$id": "121", "name": "requiredProperty" } } }, { - "$id": "38", + "$id": "122", "kind": "property", "name": "nullableProperty", "serializedName": "nullableProperty", "doc": "Property", "type": { - "$id": "39", + "$id": "123", "kind": "nullable", "type": { - "$id": "40", + "$id": "124", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "41", + "$id": "125", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -296,9 +970,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.DurationProperty.nullableProperty", "serializationOptions": { - "$id": "42", + "$id": "126", "json": { - "$id": "43", + "$id": "127", "name": "nullableProperty" } } @@ -306,7 +980,7 @@ ] }, { - "$id": "44", + "$id": "128", "kind": "model", "name": "CollectionsByteProperty", "namespace": "Scm._Type.Property.Nullable", @@ -316,13 +990,13 @@ "decorators": [], "properties": [ { - "$id": "45", + "$id": "129", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "Required property", "type": { - "$id": "46", + "$id": "130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -335,28 +1009,28 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByteProperty.requiredProperty", "serializationOptions": { - "$id": "47", + "$id": "131", "json": { - "$id": "48", + "$id": "132", "name": "requiredProperty" } } }, { - "$id": "49", + "$id": "133", "kind": "property", "name": "nullableProperty", "serializedName": "nullableProperty", "doc": "Property", "type": { - "$id": "50", + "$id": "134", "kind": "nullable", "type": { - "$id": "51", + "$id": "135", "kind": "array", "name": "Array", "valueType": { - "$id": "52", + "$id": "136", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -375,9 +1049,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByteProperty.nullableProperty", "serializationOptions": { - "$id": "53", + "$id": "137", "json": { - "$id": "54", + "$id": "138", "name": "nullableProperty" } } @@ -385,7 +1059,7 @@ ] }, { - "$id": "55", + "$id": "139", "kind": "model", "name": "CollectionsModelProperty", "namespace": "Scm._Type.Property.Nullable", @@ -395,13 +1069,13 @@ "decorators": [], "properties": [ { - "$id": "56", + "$id": "140", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "Required property", "type": { - "$id": "57", + "$id": "141", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -414,28 +1088,28 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModelProperty.requiredProperty", "serializationOptions": { - "$id": "58", + "$id": "142", "json": { - "$id": "59", + "$id": "143", "name": "requiredProperty" } } }, { - "$id": "60", + "$id": "144", "kind": "property", "name": "nullableProperty", "serializedName": "nullableProperty", "doc": "Property", "type": { - "$id": "61", + "$id": "145", "kind": "nullable", "type": { - "$id": "62", + "$id": "146", "kind": "array", "name": "ArrayInnerModel", "valueType": { - "$id": "63", + "$id": "147", "kind": "model", "name": "InnerModel", "namespace": "Scm._Type.Property.Nullable", @@ -445,13 +1119,13 @@ "decorators": [], "properties": [ { - "$id": "64", + "$id": "148", "kind": "property", "name": "property", "serializedName": "property", "doc": "Inner model property", "type": { - "$id": "65", + "$id": "149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -464,9 +1138,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.InnerModel.property", "serializationOptions": { - "$id": "66", + "$id": "150", "json": { - "$id": "67", + "$id": "151", "name": "property" } } @@ -485,9 +1159,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModelProperty.nullableProperty", "serializationOptions": { - "$id": "68", + "$id": "152", "json": { - "$id": "69", + "$id": "153", "name": "nullableProperty" } } @@ -495,10 +1169,10 @@ ] }, { - "$ref": "63" + "$ref": "147" }, { - "$id": "70", + "$id": "154", "kind": "model", "name": "CollectionsStringProperty", "namespace": "Scm._Type.Property.Nullable", @@ -508,13 +1182,13 @@ "decorators": [], "properties": [ { - "$id": "71", + "$id": "155", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "Required property", "type": { - "$id": "72", + "$id": "156", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -527,28 +1201,28 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsStringProperty.requiredProperty", "serializationOptions": { - "$id": "73", + "$id": "157", "json": { - "$id": "74", + "$id": "158", "name": "requiredProperty" } } }, { - "$id": "75", + "$id": "159", "kind": "property", "name": "nullableProperty", "serializedName": "nullableProperty", "doc": "Property", "type": { - "$id": "76", + "$id": "160", "kind": "nullable", "type": { - "$id": "77", + "$id": "161", "kind": "array", "name": "Array1", "valueType": { - "$id": "78", + "$id": "162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -566,9 +1240,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsStringProperty.nullableProperty", "serializationOptions": { - "$id": "79", + "$id": "163", "json": { - "$id": "80", + "$id": "164", "name": "nullableProperty" } } @@ -578,7 +1252,7 @@ ], "clients": [ { - "$id": "81", + "$id": "165", "kind": "client", "name": "NullableClient", "namespace": "Scm._Type.Property.Nullable", @@ -586,12 +1260,12 @@ "methods": [], "parameters": [ { - "$id": "82", + "$id": "166", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "83", + "$id": "167", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -605,9 +1279,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "84", + "$id": "168", "type": { - "$id": "85", + "$id": "169", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -621,44 +1295,31 @@ "apiVersions": [], "children": [ { - "$id": "86", + "$id": "170", "kind": "client", "name": "String", "namespace": "Scm._Type.Property.Nullable", "methods": [ { - "$id": "87", + "$id": "171", "kind": "basic", "name": "getNonNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "88", + "$id": "172", "name": "getNonNull", "resourceName": "String", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "89", + "$id": "173", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "90", - "kind": "constant", - "name": "getNonNullContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "91", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -673,12 +1334,12 @@ ], "responses": [ { - "$id": "92", + "$id": "174", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "86" }, "headers": [], "isErrorResponse": false, @@ -698,11 +1359,11 @@ }, "parameters": [ { - "$id": "93", + "$id": "175", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "90" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -716,9 +1377,9 @@ } ], "response": { - "$id": "94", + "$id": "176", "type": { - "$ref": "2" + "$ref": "86" } }, "isOverride": false, @@ -727,38 +1388,25 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.String.getNonNull" }, { - "$id": "95", + "$id": "177", "kind": "basic", "name": "getNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "96", + "$id": "178", "name": "getNull", "resourceName": "String", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "97", + "$id": "179", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "98", - "kind": "constant", - "name": "getNullContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "99", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -773,12 +1421,12 @@ ], "responses": [ { - "$id": "100", + "$id": "180", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "86" }, "headers": [], "isErrorResponse": false, @@ -798,11 +1446,11 @@ }, "parameters": [ { - "$id": "101", + "$id": "181", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "98" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -816,9 +1464,9 @@ } ], "response": { - "$id": "102", + "$id": "182", "type": { - "$ref": "2" + "$ref": "86" } }, "isOverride": false, @@ -827,39 +1475,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.String.getNull" }, { - "$id": "103", + "$id": "183", "kind": "basic", "name": "patchNonNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "104", + "$id": "184", "name": "patchNonNull", "resourceName": "String", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "105", + "$id": "185", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "106", - "kind": "constant", - "name": "PatchNonNullRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "107", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -872,11 +1507,11 @@ "skipUrlEncoding": false }, { - "$id": "108", + "$id": "186", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "86" }, "location": "Body", "isApiVersion": false, @@ -891,7 +1526,7 @@ ], "responses": [ { - "$id": "109", + "$id": "187", "statusCodes": [ 204 ], @@ -913,25 +1548,12 @@ }, "parameters": [ { - "$id": "110", + "$id": "188", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "111", - "kind": "constant", - "name": "PatchNonNullRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "112", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -944,11 +1566,11 @@ "skipUrlEncoding": false }, { - "$id": "113", + "$id": "189", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "86" }, "location": "Body", "isApiVersion": false, @@ -962,7 +1584,7 @@ } ], "response": { - "$id": "114" + "$id": "190" }, "isOverride": false, "generateConvenient": true, @@ -970,39 +1592,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.String.patchNonNull" }, { - "$id": "115", + "$id": "191", "kind": "basic", "name": "patchNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "116", + "$id": "192", "name": "patchNull", "resourceName": "String", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "117", + "$id": "193", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "118", - "kind": "constant", - "name": "PatchNonNullRequestContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "119", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -1015,11 +1624,11 @@ "skipUrlEncoding": false }, { - "$id": "120", + "$id": "194", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "86" }, "location": "Body", "isApiVersion": false, @@ -1034,7 +1643,7 @@ ], "responses": [ { - "$id": "121", + "$id": "195", "statusCodes": [ 204 ], @@ -1056,25 +1665,12 @@ }, "parameters": [ { - "$id": "122", + "$id": "196", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "123", - "kind": "constant", - "name": "PatchNonNullRequestContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "124", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -1087,11 +1683,11 @@ "skipUrlEncoding": false }, { - "$id": "125", + "$id": "197", "name": "body", "nameInRequest": "body", "type": { - "$ref": "2" + "$ref": "86" }, "location": "Body", "isApiVersion": false, @@ -1105,7 +1701,7 @@ } ], "response": { - "$id": "126" + "$id": "198" }, "isOverride": false, "generateConvenient": true, @@ -1115,12 +1711,12 @@ ], "parameters": [ { - "$id": "127", + "$id": "199", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "128", + "$id": "200", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1134,9 +1730,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "129", + "$id": "201", "type": { - "$id": "130", + "$id": "202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1149,48 +1745,35 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.String", "apiVersions": [], "parent": { - "$ref": "81" + "$ref": "165" } }, { - "$id": "131", + "$id": "203", "kind": "client", "name": "Bytes", "namespace": "Scm._Type.Property.Nullable", "methods": [ { - "$id": "132", + "$id": "204", "kind": "basic", "name": "getNonNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "133", + "$id": "205", "name": "getNonNull", "resourceName": "Bytes", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "134", + "$id": "206", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "135", - "kind": "constant", - "name": "getNonNullContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "136", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1205,12 +1788,12 @@ ], "responses": [ { - "$id": "137", + "$id": "207", "statusCodes": [ 200 ], "bodyType": { - "$ref": "12" + "$ref": "96" }, "headers": [], "isErrorResponse": false, @@ -1230,11 +1813,11 @@ }, "parameters": [ { - "$id": "138", + "$id": "208", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "135" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -1248,9 +1831,9 @@ } ], "response": { - "$id": "139", + "$id": "209", "type": { - "$ref": "12" + "$ref": "96" } }, "isOverride": false, @@ -1259,38 +1842,25 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes.getNonNull" }, { - "$id": "140", + "$id": "210", "kind": "basic", "name": "getNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "141", + "$id": "211", "name": "getNull", "resourceName": "Bytes", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "142", + "$id": "212", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "143", - "kind": "constant", - "name": "getNullContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "144", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1305,12 +1875,12 @@ ], "responses": [ { - "$id": "145", + "$id": "213", "statusCodes": [ 200 ], "bodyType": { - "$ref": "12" + "$ref": "96" }, "headers": [], "isErrorResponse": false, @@ -1330,11 +1900,11 @@ }, "parameters": [ { - "$id": "146", + "$id": "214", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "143" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -1348,9 +1918,9 @@ } ], "response": { - "$id": "147", + "$id": "215", "type": { - "$ref": "12" + "$ref": "96" } }, "isOverride": false, @@ -1359,39 +1929,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes.getNull" }, { - "$id": "148", + "$id": "216", "kind": "basic", "name": "patchNonNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "149", + "$id": "217", "name": "patchNonNull", "resourceName": "Bytes", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "150", + "$id": "218", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "151", - "kind": "constant", - "name": "PatchNonNullRequestContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "152", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1404,11 +1961,11 @@ "skipUrlEncoding": false }, { - "$id": "153", + "$id": "219", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "96" }, "location": "Body", "isApiVersion": false, @@ -1423,7 +1980,7 @@ ], "responses": [ { - "$id": "154", + "$id": "220", "statusCodes": [ 204 ], @@ -1445,25 +2002,12 @@ }, "parameters": [ { - "$id": "155", + "$id": "221", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "156", - "kind": "constant", - "name": "PatchNonNullRequestContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "157", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1476,11 +2020,11 @@ "skipUrlEncoding": false }, { - "$id": "158", + "$id": "222", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "96" }, "location": "Body", "isApiVersion": false, @@ -1494,7 +2038,7 @@ } ], "response": { - "$id": "159" + "$id": "223" }, "isOverride": false, "generateConvenient": true, @@ -1502,39 +2046,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes.patchNonNull" }, { - "$id": "160", + "$id": "224", "kind": "basic", "name": "patchNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "161", + "$id": "225", "name": "patchNull", "resourceName": "Bytes", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "162", + "$id": "226", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "163", - "kind": "constant", - "name": "PatchNonNullRequestContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "164", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1547,11 +2078,11 @@ "skipUrlEncoding": false }, { - "$id": "165", + "$id": "227", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "96" }, "location": "Body", "isApiVersion": false, @@ -1566,7 +2097,7 @@ ], "responses": [ { - "$id": "166", + "$id": "228", "statusCodes": [ 204 ], @@ -1588,25 +2119,12 @@ }, "parameters": [ { - "$id": "167", + "$id": "229", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "168", - "kind": "constant", - "name": "PatchNonNullRequestContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "169", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1619,11 +2137,11 @@ "skipUrlEncoding": false }, { - "$id": "170", + "$id": "230", "name": "body", "nameInRequest": "body", "type": { - "$ref": "12" + "$ref": "96" }, "location": "Body", "isApiVersion": false, @@ -1637,7 +2155,7 @@ } ], "response": { - "$id": "171" + "$id": "231" }, "isOverride": false, "generateConvenient": true, @@ -1647,12 +2165,12 @@ ], "parameters": [ { - "$id": "172", + "$id": "232", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "173", + "$id": "233", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1666,9 +2184,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "174", + "$id": "234", "type": { - "$id": "175", + "$id": "235", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1681,48 +2199,35 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes", "apiVersions": [], "parent": { - "$ref": "81" + "$ref": "165" } }, { - "$id": "176", + "$id": "236", "kind": "client", "name": "Datetime", "namespace": "Scm._Type.Property.Nullable", "methods": [ { - "$id": "177", + "$id": "237", "kind": "basic", "name": "getNonNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "178", + "$id": "238", "name": "getNonNull", "resourceName": "Datetime", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "179", + "$id": "239", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "180", - "kind": "constant", - "name": "getNonNullContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "181", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1737,12 +2242,12 @@ ], "responses": [ { - "$id": "182", + "$id": "240", "statusCodes": [ 200 ], "bodyType": { - "$ref": "22" + "$ref": "106" }, "headers": [], "isErrorResponse": false, @@ -1762,11 +2267,11 @@ }, "parameters": [ { - "$id": "183", + "$id": "241", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "180" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1780,9 +2285,9 @@ } ], "response": { - "$id": "184", + "$id": "242", "type": { - "$ref": "22" + "$ref": "106" } }, "isOverride": false, @@ -1791,38 +2296,25 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime.getNonNull" }, { - "$id": "185", + "$id": "243", "kind": "basic", "name": "getNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "186", + "$id": "244", "name": "getNull", "resourceName": "Datetime", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "187", + "$id": "245", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "188", - "kind": "constant", - "name": "getNullContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "189", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -1837,12 +2329,12 @@ ], "responses": [ { - "$id": "190", + "$id": "246", "statusCodes": [ 200 ], "bodyType": { - "$ref": "22" + "$ref": "106" }, "headers": [], "isErrorResponse": false, @@ -1862,11 +2354,11 @@ }, "parameters": [ { - "$id": "191", + "$id": "247", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "188" + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -1880,9 +2372,9 @@ } ], "response": { - "$id": "192", + "$id": "248", "type": { - "$ref": "22" + "$ref": "106" } }, "isOverride": false, @@ -1891,39 +2383,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime.getNull" }, { - "$id": "193", + "$id": "249", "kind": "basic", "name": "patchNonNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "194", + "$id": "250", "name": "patchNonNull", "resourceName": "Datetime", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "195", + "$id": "251", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "196", - "kind": "constant", - "name": "PatchNonNullRequestContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "197", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -1936,11 +2415,11 @@ "skipUrlEncoding": false }, { - "$id": "198", + "$id": "252", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "106" }, "location": "Body", "isApiVersion": false, @@ -1955,7 +2434,7 @@ ], "responses": [ { - "$id": "199", + "$id": "253", "statusCodes": [ 204 ], @@ -1977,25 +2456,12 @@ }, "parameters": [ { - "$id": "200", + "$id": "254", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "201", - "kind": "constant", - "name": "PatchNonNullRequestContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "202", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2008,11 +2474,11 @@ "skipUrlEncoding": false }, { - "$id": "203", + "$id": "255", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "106" }, "location": "Body", "isApiVersion": false, @@ -2026,7 +2492,7 @@ } ], "response": { - "$id": "204" + "$id": "256" }, "isOverride": false, "generateConvenient": true, @@ -2034,39 +2500,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime.patchNonNull" }, { - "$id": "205", + "$id": "257", "kind": "basic", "name": "patchNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "206", + "$id": "258", "name": "patchNull", "resourceName": "Datetime", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "207", + "$id": "259", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "208", - "kind": "constant", - "name": "PatchNonNullRequestContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "209", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2079,11 +2532,11 @@ "skipUrlEncoding": false }, { - "$id": "210", + "$id": "260", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "106" }, "location": "Body", "isApiVersion": false, @@ -2098,7 +2551,7 @@ ], "responses": [ { - "$id": "211", + "$id": "261", "statusCodes": [ 204 ], @@ -2120,25 +2573,12 @@ }, "parameters": [ { - "$id": "212", + "$id": "262", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "213", - "kind": "constant", - "name": "PatchNonNullRequestContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "214", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2151,11 +2591,11 @@ "skipUrlEncoding": false }, { - "$id": "215", + "$id": "263", "name": "body", "nameInRequest": "body", "type": { - "$ref": "22" + "$ref": "106" }, "location": "Body", "isApiVersion": false, @@ -2169,7 +2609,7 @@ } ], "response": { - "$id": "216" + "$id": "264" }, "isOverride": false, "generateConvenient": true, @@ -2179,12 +2619,12 @@ ], "parameters": [ { - "$id": "217", + "$id": "265", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "218", + "$id": "266", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2198,9 +2638,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "219", + "$id": "267", "type": { - "$id": "220", + "$id": "268", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2213,48 +2653,35 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime", "apiVersions": [], "parent": { - "$ref": "81" + "$ref": "165" } }, { - "$id": "221", + "$id": "269", "kind": "client", "name": "Duration", "namespace": "Scm._Type.Property.Nullable", "methods": [ { - "$id": "222", + "$id": "270", "kind": "basic", "name": "getNonNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "223", + "$id": "271", "name": "getNonNull", "resourceName": "Duration", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "224", + "$id": "272", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "225", - "kind": "constant", - "name": "getNonNullContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "226", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2269,12 +2696,12 @@ ], "responses": [ { - "$id": "227", + "$id": "273", "statusCodes": [ 200 ], "bodyType": { - "$ref": "33" + "$ref": "117" }, "headers": [], "isErrorResponse": false, @@ -2294,11 +2721,11 @@ }, "parameters": [ { - "$id": "228", + "$id": "274", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "225" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2312,9 +2739,9 @@ } ], "response": { - "$id": "229", + "$id": "275", "type": { - "$ref": "33" + "$ref": "117" } }, "isOverride": false, @@ -2323,38 +2750,25 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Duration.getNonNull" }, { - "$id": "230", + "$id": "276", "kind": "basic", "name": "getNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "231", + "$id": "277", "name": "getNull", "resourceName": "Duration", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "232", + "$id": "278", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "233", - "kind": "constant", - "name": "getNullContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "234", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2369,12 +2783,12 @@ ], "responses": [ { - "$id": "235", + "$id": "279", "statusCodes": [ 200 ], "bodyType": { - "$ref": "33" + "$ref": "117" }, "headers": [], "isErrorResponse": false, @@ -2394,11 +2808,11 @@ }, "parameters": [ { - "$id": "236", + "$id": "280", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "233" + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2412,9 +2826,9 @@ } ], "response": { - "$id": "237", + "$id": "281", "type": { - "$ref": "33" + "$ref": "117" } }, "isOverride": false, @@ -2423,39 +2837,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Duration.getNull" }, { - "$id": "238", + "$id": "282", "kind": "basic", "name": "patchNonNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "239", + "$id": "283", "name": "patchNonNull", "resourceName": "Duration", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "240", + "$id": "284", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "241", - "kind": "constant", - "name": "PatchNonNullRequestContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "242", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -2468,11 +2869,11 @@ "skipUrlEncoding": false }, { - "$id": "243", + "$id": "285", "name": "body", "nameInRequest": "body", "type": { - "$ref": "33" + "$ref": "117" }, "location": "Body", "isApiVersion": false, @@ -2487,7 +2888,7 @@ ], "responses": [ { - "$id": "244", + "$id": "286", "statusCodes": [ 204 ], @@ -2509,25 +2910,12 @@ }, "parameters": [ { - "$id": "245", + "$id": "287", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "246", - "kind": "constant", - "name": "PatchNonNullRequestContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "247", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -2540,11 +2928,11 @@ "skipUrlEncoding": false }, { - "$id": "248", + "$id": "288", "name": "body", "nameInRequest": "body", "type": { - "$ref": "33" + "$ref": "117" }, "location": "Body", "isApiVersion": false, @@ -2558,7 +2946,7 @@ } ], "response": { - "$id": "249" + "$id": "289" }, "isOverride": false, "generateConvenient": true, @@ -2566,39 +2954,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Duration.patchNonNull" }, { - "$id": "250", + "$id": "290", "kind": "basic", "name": "patchNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "251", + "$id": "291", "name": "patchNull", "resourceName": "Duration", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "252", + "$id": "292", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "253", - "kind": "constant", - "name": "PatchNonNullRequestContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "254", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -2611,11 +2986,11 @@ "skipUrlEncoding": false }, { - "$id": "255", + "$id": "293", "name": "body", "nameInRequest": "body", "type": { - "$ref": "33" + "$ref": "117" }, "location": "Body", "isApiVersion": false, @@ -2630,7 +3005,7 @@ ], "responses": [ { - "$id": "256", + "$id": "294", "statusCodes": [ 204 ], @@ -2652,25 +3027,12 @@ }, "parameters": [ { - "$id": "257", + "$id": "295", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "258", - "kind": "constant", - "name": "PatchNonNullRequestContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "259", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -2683,11 +3045,11 @@ "skipUrlEncoding": false }, { - "$id": "260", + "$id": "296", "name": "body", "nameInRequest": "body", "type": { - "$ref": "33" + "$ref": "117" }, "location": "Body", "isApiVersion": false, @@ -2701,7 +3063,7 @@ } ], "response": { - "$id": "261" + "$id": "297" }, "isOverride": false, "generateConvenient": true, @@ -2711,12 +3073,12 @@ ], "parameters": [ { - "$id": "262", + "$id": "298", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "263", + "$id": "299", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2730,9 +3092,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "264", + "$id": "300", "type": { - "$id": "265", + "$id": "301", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2745,48 +3107,35 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Duration", "apiVersions": [], "parent": { - "$ref": "81" + "$ref": "165" } }, { - "$id": "266", + "$id": "302", "kind": "client", "name": "CollectionsByte", "namespace": "Scm._Type.Property.Nullable", "methods": [ { - "$id": "267", + "$id": "303", "kind": "basic", "name": "getNonNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "268", + "$id": "304", "name": "getNonNull", "resourceName": "CollectionsByte", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "269", + "$id": "305", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "270", - "kind": "constant", - "name": "getNonNullContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "271", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -2801,12 +3150,12 @@ ], "responses": [ { - "$id": "272", + "$id": "306", "statusCodes": [ 200 ], "bodyType": { - "$ref": "44" + "$ref": "128" }, "headers": [], "isErrorResponse": false, @@ -2826,11 +3175,11 @@ }, "parameters": [ { - "$id": "273", + "$id": "307", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "270" + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -2844,9 +3193,9 @@ } ], "response": { - "$id": "274", + "$id": "308", "type": { - "$ref": "44" + "$ref": "128" } }, "isOverride": false, @@ -2855,38 +3204,25 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte.getNonNull" }, { - "$id": "275", + "$id": "309", "kind": "basic", "name": "getNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "276", + "$id": "310", "name": "getNull", "resourceName": "CollectionsByte", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "277", + "$id": "311", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "278", - "kind": "constant", - "name": "getNullContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "279", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -2901,12 +3237,12 @@ ], "responses": [ { - "$id": "280", + "$id": "312", "statusCodes": [ 200 ], "bodyType": { - "$ref": "44" + "$ref": "128" }, "headers": [], "isErrorResponse": false, @@ -2926,11 +3262,11 @@ }, "parameters": [ { - "$id": "281", + "$id": "313", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "278" + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -2944,9 +3280,9 @@ } ], "response": { - "$id": "282", + "$id": "314", "type": { - "$ref": "44" + "$ref": "128" } }, "isOverride": false, @@ -2955,39 +3291,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte.getNull" }, { - "$id": "283", + "$id": "315", "kind": "basic", "name": "patchNonNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "284", + "$id": "316", "name": "patchNonNull", "resourceName": "CollectionsByte", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "285", + "$id": "317", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "286", - "kind": "constant", - "name": "PatchNonNullRequestContentType16", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "287", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -3000,11 +3323,11 @@ "skipUrlEncoding": false }, { - "$id": "288", + "$id": "318", "name": "body", "nameInRequest": "body", "type": { - "$ref": "44" + "$ref": "128" }, "location": "Body", "isApiVersion": false, @@ -3019,7 +3342,7 @@ ], "responses": [ { - "$id": "289", + "$id": "319", "statusCodes": [ 204 ], @@ -3041,25 +3364,12 @@ }, "parameters": [ { - "$id": "290", + "$id": "320", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "291", - "kind": "constant", - "name": "PatchNonNullRequestContentType17", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "292", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -3072,11 +3382,11 @@ "skipUrlEncoding": false }, { - "$id": "293", + "$id": "321", "name": "body", "nameInRequest": "body", "type": { - "$ref": "44" + "$ref": "128" }, "location": "Body", "isApiVersion": false, @@ -3090,7 +3400,7 @@ } ], "response": { - "$id": "294" + "$id": "322" }, "isOverride": false, "generateConvenient": true, @@ -3098,39 +3408,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte.patchNonNull" }, { - "$id": "295", + "$id": "323", "kind": "basic", "name": "patchNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "296", + "$id": "324", "name": "patchNull", "resourceName": "CollectionsByte", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "297", + "$id": "325", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "298", - "kind": "constant", - "name": "PatchNonNullRequestContentType18", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "299", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -3143,11 +3440,11 @@ "skipUrlEncoding": false }, { - "$id": "300", + "$id": "326", "name": "body", "nameInRequest": "body", "type": { - "$ref": "44" + "$ref": "128" }, "location": "Body", "isApiVersion": false, @@ -3162,7 +3459,7 @@ ], "responses": [ { - "$id": "301", + "$id": "327", "statusCodes": [ 204 ], @@ -3184,25 +3481,12 @@ }, "parameters": [ { - "$id": "302", + "$id": "328", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "303", - "kind": "constant", - "name": "PatchNonNullRequestContentType19", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "304", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -3215,11 +3499,11 @@ "skipUrlEncoding": false }, { - "$id": "305", + "$id": "329", "name": "body", "nameInRequest": "body", "type": { - "$ref": "44" + "$ref": "128" }, "location": "Body", "isApiVersion": false, @@ -3233,7 +3517,7 @@ } ], "response": { - "$id": "306" + "$id": "330" }, "isOverride": false, "generateConvenient": true, @@ -3243,12 +3527,12 @@ ], "parameters": [ { - "$id": "307", + "$id": "331", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "308", + "$id": "332", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3262,9 +3546,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "309", + "$id": "333", "type": { - "$id": "310", + "$id": "334", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3277,48 +3561,35 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte", "apiVersions": [], "parent": { - "$ref": "81" + "$ref": "165" } }, { - "$id": "311", + "$id": "335", "kind": "client", "name": "CollectionsModel", "namespace": "Scm._Type.Property.Nullable", "methods": [ { - "$id": "312", + "$id": "336", "kind": "basic", "name": "getNonNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "313", + "$id": "337", "name": "getNonNull", "resourceName": "CollectionsModel", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "314", + "$id": "338", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "315", - "kind": "constant", - "name": "getNonNullContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "316", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -3333,12 +3604,12 @@ ], "responses": [ { - "$id": "317", + "$id": "339", "statusCodes": [ 200 ], "bodyType": { - "$ref": "55" + "$ref": "139" }, "headers": [], "isErrorResponse": false, @@ -3358,11 +3629,11 @@ }, "parameters": [ { - "$id": "318", + "$id": "340", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "315" + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -3376,9 +3647,9 @@ } ], "response": { - "$id": "319", + "$id": "341", "type": { - "$ref": "55" + "$ref": "139" } }, "isOverride": false, @@ -3387,38 +3658,25 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel.getNonNull" }, { - "$id": "320", + "$id": "342", "kind": "basic", "name": "getNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "321", + "$id": "343", "name": "getNull", "resourceName": "CollectionsModel", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "322", + "$id": "344", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "323", - "kind": "constant", - "name": "getNullContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "324", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -3433,12 +3691,12 @@ ], "responses": [ { - "$id": "325", + "$id": "345", "statusCodes": [ 200 ], "bodyType": { - "$ref": "55" + "$ref": "139" }, "headers": [], "isErrorResponse": false, @@ -3458,11 +3716,11 @@ }, "parameters": [ { - "$id": "326", + "$id": "346", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "323" + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -3476,9 +3734,9 @@ } ], "response": { - "$id": "327", + "$id": "347", "type": { - "$ref": "55" + "$ref": "139" } }, "isOverride": false, @@ -3487,39 +3745,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel.getNull" }, { - "$id": "328", + "$id": "348", "kind": "basic", "name": "patchNonNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "329", + "$id": "349", "name": "patchNonNull", "resourceName": "CollectionsModel", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "330", + "$id": "350", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "331", - "kind": "constant", - "name": "PatchNonNullRequestContentType20", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "332", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -3532,11 +3777,11 @@ "skipUrlEncoding": false }, { - "$id": "333", + "$id": "351", "name": "body", "nameInRequest": "body", "type": { - "$ref": "55" + "$ref": "139" }, "location": "Body", "isApiVersion": false, @@ -3551,7 +3796,7 @@ ], "responses": [ { - "$id": "334", + "$id": "352", "statusCodes": [ 204 ], @@ -3573,25 +3818,12 @@ }, "parameters": [ { - "$id": "335", + "$id": "353", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "336", - "kind": "constant", - "name": "PatchNonNullRequestContentType21", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "337", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -3604,11 +3836,11 @@ "skipUrlEncoding": false }, { - "$id": "338", + "$id": "354", "name": "body", "nameInRequest": "body", "type": { - "$ref": "55" + "$ref": "139" }, "location": "Body", "isApiVersion": false, @@ -3622,7 +3854,7 @@ } ], "response": { - "$id": "339" + "$id": "355" }, "isOverride": false, "generateConvenient": true, @@ -3630,39 +3862,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel.patchNonNull" }, { - "$id": "340", + "$id": "356", "kind": "basic", "name": "patchNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "341", + "$id": "357", "name": "patchNull", "resourceName": "CollectionsModel", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "342", + "$id": "358", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "343", - "kind": "constant", - "name": "PatchNonNullRequestContentType22", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "344", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -3675,11 +3894,11 @@ "skipUrlEncoding": false }, { - "$id": "345", + "$id": "359", "name": "body", "nameInRequest": "body", "type": { - "$ref": "55" + "$ref": "139" }, "location": "Body", "isApiVersion": false, @@ -3694,7 +3913,7 @@ ], "responses": [ { - "$id": "346", + "$id": "360", "statusCodes": [ 204 ], @@ -3716,25 +3935,12 @@ }, "parameters": [ { - "$id": "347", + "$id": "361", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "348", - "kind": "constant", - "name": "PatchNonNullRequestContentType23", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "349", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -3747,11 +3953,11 @@ "skipUrlEncoding": false }, { - "$id": "350", + "$id": "362", "name": "body", "nameInRequest": "body", "type": { - "$ref": "55" + "$ref": "139" }, "location": "Body", "isApiVersion": false, @@ -3765,7 +3971,7 @@ } ], "response": { - "$id": "351" + "$id": "363" }, "isOverride": false, "generateConvenient": true, @@ -3775,12 +3981,12 @@ ], "parameters": [ { - "$id": "352", + "$id": "364", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "353", + "$id": "365", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3794,9 +4000,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "354", + "$id": "366", "type": { - "$id": "355", + "$id": "367", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3809,48 +4015,35 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel", "apiVersions": [], "parent": { - "$ref": "81" + "$ref": "165" } }, { - "$id": "356", + "$id": "368", "kind": "client", "name": "CollectionsString", "namespace": "Scm._Type.Property.Nullable", "methods": [ { - "$id": "357", + "$id": "369", "kind": "basic", "name": "getNonNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "358", + "$id": "370", "name": "getNonNull", "resourceName": "CollectionsString", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "359", + "$id": "371", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "360", - "kind": "constant", - "name": "getNonNullContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "361", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3865,12 +4058,12 @@ ], "responses": [ { - "$id": "362", + "$id": "372", "statusCodes": [ 200 ], "bodyType": { - "$ref": "70" + "$ref": "154" }, "headers": [], "isErrorResponse": false, @@ -3890,11 +4083,11 @@ }, "parameters": [ { - "$id": "363", + "$id": "373", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "360" + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3908,9 +4101,9 @@ } ], "response": { - "$id": "364", + "$id": "374", "type": { - "$ref": "70" + "$ref": "154" } }, "isOverride": false, @@ -3919,38 +4112,25 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString.getNonNull" }, { - "$id": "365", + "$id": "375", "kind": "basic", "name": "getNull", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "366", + "$id": "376", "name": "getNull", "resourceName": "CollectionsString", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "367", + "$id": "377", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "368", - "kind": "constant", - "name": "getNullContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "369", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -3965,12 +4145,12 @@ ], "responses": [ { - "$id": "370", + "$id": "378", "statusCodes": [ 200 ], "bodyType": { - "$ref": "70" + "$ref": "154" }, "headers": [], "isErrorResponse": false, @@ -3990,11 +4170,11 @@ }, "parameters": [ { - "$id": "371", + "$id": "379", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "368" + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -4008,9 +4188,9 @@ } ], "response": { - "$id": "372", + "$id": "380", "type": { - "$ref": "70" + "$ref": "154" } }, "isOverride": false, @@ -4019,39 +4199,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString.getNull" }, { - "$id": "373", + "$id": "381", "kind": "basic", "name": "patchNonNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "374", + "$id": "382", "name": "patchNonNull", "resourceName": "CollectionsString", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "375", + "$id": "383", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "376", - "kind": "constant", - "name": "PatchNonNullRequestContentType24", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "377", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -4064,11 +4231,11 @@ "skipUrlEncoding": false }, { - "$id": "378", + "$id": "384", "name": "body", "nameInRequest": "body", "type": { - "$ref": "70" + "$ref": "154" }, "location": "Body", "isApiVersion": false, @@ -4083,7 +4250,7 @@ ], "responses": [ { - "$id": "379", + "$id": "385", "statusCodes": [ 204 ], @@ -4105,25 +4272,12 @@ }, "parameters": [ { - "$id": "380", + "$id": "386", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "381", - "kind": "constant", - "name": "PatchNonNullRequestContentType25", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "382", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -4136,11 +4290,11 @@ "skipUrlEncoding": false }, { - "$id": "383", + "$id": "387", "name": "body", "nameInRequest": "body", "type": { - "$ref": "70" + "$ref": "154" }, "location": "Body", "isApiVersion": false, @@ -4154,7 +4308,7 @@ } ], "response": { - "$id": "384" + "$id": "388" }, "isOverride": false, "generateConvenient": true, @@ -4162,39 +4316,26 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString.patchNonNull" }, { - "$id": "385", + "$id": "389", "kind": "basic", "name": "patchNull", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "386", + "$id": "390", "name": "patchNull", "resourceName": "CollectionsString", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "387", + "$id": "391", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "388", - "kind": "constant", - "name": "PatchNonNullRequestContentType26", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "389", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -4207,11 +4348,11 @@ "skipUrlEncoding": false }, { - "$id": "390", + "$id": "392", "name": "body", "nameInRequest": "body", "type": { - "$ref": "70" + "$ref": "154" }, "location": "Body", "isApiVersion": false, @@ -4226,7 +4367,7 @@ ], "responses": [ { - "$id": "391", + "$id": "393", "statusCodes": [ 204 ], @@ -4248,25 +4389,12 @@ }, "parameters": [ { - "$id": "392", + "$id": "394", "name": "contentType", "nameInRequest": "Content-Type", "doc": "content-type is application/merge-patch+json", "type": { - "$id": "393", - "kind": "constant", - "name": "PatchNonNullRequestContentType27", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "394", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/merge-patch+json", - "decorators": [] + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -4283,7 +4411,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "70" + "$ref": "154" }, "location": "Body", "isApiVersion": false, @@ -4341,7 +4469,7 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString", "apiVersions": [], "parent": { - "$ref": "81" + "$ref": "165" } } ] diff --git a/test/CadlRanchProjectsNonAzure/type/property/optionality/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/property/optionality/tspCodeModel.json index 67f0772679c..56097563876 100644 --- a/test/CadlRanchProjectsNonAzure/type/property/optionality/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/property/optionality/tspCodeModel.json @@ -262,9 +262,1087 @@ "decorators": [] } ], + "constants": [ + { + "$id": "29", + "kind": "constant", + "name": "StringLiteralPropertyProperty", + "namespace": "Scm._Type.Property.Optionality", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "20" + }, + "value": "hello", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "IntLiteralPropertyProperty", + "namespace": "Scm._Type.Property.Optionality", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "23" + }, + "value": 1, + "decorators": [] + }, + { + "$id": "31", + "kind": "constant", + "name": "FloatLiteralPropertyProperty", + "namespace": "Scm._Type.Property.Optionality", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "26" + }, + "value": 1.25, + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "BooleanLiteralPropertyProperty", + "namespace": "Scm._Type.Property.Optionality", + "usage": "Input,Output,Json", + "valueType": { + "$id": "33", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "getAllContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "getDefaultContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "putAllContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "putDefaultContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "getAllContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "getDefaultContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "putAllContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "putDefaultContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "getAllContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "getDefaultContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "putAllContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "putDefaultContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "getAllContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "getDefaultContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "putAllContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "putDefaultContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "getAllContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "getDefaultContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "70", + "kind": "constant", + "name": "putAllContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "72", + "kind": "constant", + "name": "putDefaultContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "74", + "kind": "constant", + "name": "getAllContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "76", + "kind": "constant", + "name": "getDefaultContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "78", + "kind": "constant", + "name": "putAllContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "80", + "kind": "constant", + "name": "putDefaultContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "82", + "kind": "constant", + "name": "getAllContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "84", + "kind": "constant", + "name": "getDefaultContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "86", + "kind": "constant", + "name": "putAllContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "88", + "kind": "constant", + "name": "putDefaultContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "90", + "kind": "constant", + "name": "getAllContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "91", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "92", + "kind": "constant", + "name": "getDefaultContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "94", + "kind": "constant", + "name": "putAllContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "96", + "kind": "constant", + "name": "putDefaultContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "98", + "kind": "constant", + "name": "getAllContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "100", + "kind": "constant", + "name": "getDefaultContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "102", + "kind": "constant", + "name": "putAllContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "104", + "kind": "constant", + "name": "putDefaultContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "106", + "kind": "constant", + "name": "getAllContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "107", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "108", + "kind": "constant", + "name": "getDefaultContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "109", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "110", + "kind": "constant", + "name": "putAllContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "112", + "kind": "constant", + "name": "putDefaultContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "114", + "kind": "constant", + "name": "getAllContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "116", + "kind": "constant", + "name": "getDefaultContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "118", + "kind": "constant", + "name": "putAllContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "119", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "120", + "kind": "constant", + "name": "putDefaultContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "121", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "122", + "kind": "constant", + "name": "getAllContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "124", + "kind": "constant", + "name": "getDefaultContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "126", + "kind": "constant", + "name": "putAllContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "128", + "kind": "constant", + "name": "putDefaultContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "130", + "kind": "constant", + "name": "getAllContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "132", + "kind": "constant", + "name": "getDefaultContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "134", + "kind": "constant", + "name": "putAllContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "136", + "kind": "constant", + "name": "putDefaultContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "138", + "kind": "constant", + "name": "getAllContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "140", + "kind": "constant", + "name": "getDefaultContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "142", + "kind": "constant", + "name": "putAllContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "143", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "144", + "kind": "constant", + "name": "putDefaultContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "145", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "146", + "kind": "constant", + "name": "getAllContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "147", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "148", + "kind": "constant", + "name": "getDefaultContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "149", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "150", + "kind": "constant", + "name": "putAllContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "151", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "152", + "kind": "constant", + "name": "putDefaultContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "153", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "154", + "kind": "constant", + "name": "getAllContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "155", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "156", + "kind": "constant", + "name": "getRequiredOnlyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "157", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "158", + "kind": "constant", + "name": "putAllContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "160", + "kind": "constant", + "name": "putRequiredOnlyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [ { - "$id": "29", + "$id": "162", "kind": "model", "name": "StringProperty", "namespace": "Scm._Type.Property.Optionality", @@ -274,13 +1352,13 @@ "decorators": [], "properties": [ { - "$id": "30", + "$id": "163", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "31", + "$id": "164", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -293,9 +1371,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.StringProperty.property", "serializationOptions": { - "$id": "32", + "$id": "165", "json": { - "$id": "33", + "$id": "166", "name": "property" } } @@ -303,7 +1381,7 @@ ] }, { - "$id": "34", + "$id": "167", "kind": "model", "name": "BytesProperty", "namespace": "Scm._Type.Property.Optionality", @@ -313,13 +1391,13 @@ "decorators": [], "properties": [ { - "$id": "35", + "$id": "168", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "36", + "$id": "169", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -333,9 +1411,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.BytesProperty.property", "serializationOptions": { - "$id": "37", + "$id": "170", "json": { - "$id": "38", + "$id": "171", "name": "property" } } @@ -343,7 +1421,7 @@ ] }, { - "$id": "39", + "$id": "172", "kind": "model", "name": "DatetimeProperty", "namespace": "Scm._Type.Property.Optionality", @@ -353,18 +1431,18 @@ "decorators": [], "properties": [ { - "$id": "40", + "$id": "173", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "41", + "$id": "174", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "42", + "$id": "175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -380,9 +1458,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.DatetimeProperty.property", "serializationOptions": { - "$id": "43", + "$id": "176", "json": { - "$id": "44", + "$id": "177", "name": "property" } } @@ -390,7 +1468,7 @@ ] }, { - "$id": "45", + "$id": "178", "kind": "model", "name": "DurationProperty", "namespace": "Scm._Type.Property.Optionality", @@ -400,18 +1478,18 @@ "decorators": [], "properties": [ { - "$id": "46", + "$id": "179", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "47", + "$id": "180", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "48", + "$id": "181", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -427,9 +1505,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.DurationProperty.property", "serializationOptions": { - "$id": "49", + "$id": "182", "json": { - "$id": "50", + "$id": "183", "name": "property" } } @@ -437,7 +1515,7 @@ ] }, { - "$id": "51", + "$id": "184", "kind": "model", "name": "PlainDateProperty", "namespace": "Scm._Type.Property.Optionality", @@ -447,13 +1525,13 @@ "decorators": [], "properties": [ { - "$id": "52", + "$id": "185", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "53", + "$id": "186", "kind": "plainDate", "name": "plainDate", "crossLanguageDefinitionId": "TypeSpec.plainDate", @@ -466,9 +1544,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.PlainDateProperty.property", "serializationOptions": { - "$id": "54", + "$id": "187", "json": { - "$id": "55", + "$id": "188", "name": "property" } } @@ -476,7 +1554,7 @@ ] }, { - "$id": "56", + "$id": "189", "kind": "model", "name": "PlainTimeProperty", "namespace": "Scm._Type.Property.Optionality", @@ -486,13 +1564,13 @@ "decorators": [], "properties": [ { - "$id": "57", + "$id": "190", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "58", + "$id": "191", "kind": "plainTime", "name": "plainTime", "crossLanguageDefinitionId": "TypeSpec.plainTime", @@ -505,9 +1583,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.PlainTimeProperty.property", "serializationOptions": { - "$id": "59", + "$id": "192", "json": { - "$id": "60", + "$id": "193", "name": "property" } } @@ -515,7 +1593,7 @@ ] }, { - "$id": "61", + "$id": "194", "kind": "model", "name": "CollectionsByteProperty", "namespace": "Scm._Type.Property.Optionality", @@ -525,17 +1603,17 @@ "decorators": [], "properties": [ { - "$id": "62", + "$id": "195", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "63", + "$id": "196", "kind": "array", "name": "Array", "valueType": { - "$id": "64", + "$id": "197", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -552,9 +1630,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByteProperty.property", "serializationOptions": { - "$id": "65", + "$id": "198", "json": { - "$id": "66", + "$id": "199", "name": "property" } } @@ -562,7 +1640,7 @@ ] }, { - "$id": "67", + "$id": "200", "kind": "model", "name": "CollectionsModelProperty", "namespace": "Scm._Type.Property.Optionality", @@ -572,17 +1650,17 @@ "decorators": [], "properties": [ { - "$id": "68", + "$id": "201", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "69", + "$id": "202", "kind": "array", "name": "ArrayStringProperty", "valueType": { - "$ref": "29" + "$ref": "162" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -594,9 +1672,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModelProperty.property", "serializationOptions": { - "$id": "70", + "$id": "203", "json": { - "$id": "71", + "$id": "204", "name": "property" } } @@ -604,7 +1682,7 @@ ] }, { - "$id": "72", + "$id": "205", "kind": "model", "name": "StringLiteralProperty", "namespace": "Scm._Type.Property.Optionality", @@ -614,22 +1692,13 @@ "decorators": [], "properties": [ { - "$id": "73", + "$id": "206", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "74", - "kind": "constant", - "name": "StringLiteralPropertyProperty", - "namespace": "Scm._Type.Property.Optionality", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "20" - }, - "value": "hello", - "decorators": [] + "$ref": "29" }, "optional": true, "readOnly": false, @@ -638,9 +1707,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteralProperty.property", "serializationOptions": { - "$id": "75", + "$id": "207", "json": { - "$id": "76", + "$id": "208", "name": "property" } } @@ -648,7 +1717,7 @@ ] }, { - "$id": "77", + "$id": "209", "kind": "model", "name": "IntLiteralProperty", "namespace": "Scm._Type.Property.Optionality", @@ -658,22 +1727,13 @@ "decorators": [], "properties": [ { - "$id": "78", + "$id": "210", "kind": "property", "name": "property", "serializedName": "property", - "doc": "Property", - "type": { - "$id": "79", - "kind": "constant", - "name": "IntLiteralPropertyProperty", - "namespace": "Scm._Type.Property.Optionality", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "23" - }, - "value": 1, - "decorators": [] + "doc": "Property", + "type": { + "$ref": "30" }, "optional": true, "readOnly": false, @@ -682,9 +1742,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteralProperty.property", "serializationOptions": { - "$id": "80", + "$id": "211", "json": { - "$id": "81", + "$id": "212", "name": "property" } } @@ -692,7 +1752,7 @@ ] }, { - "$id": "82", + "$id": "213", "kind": "model", "name": "FloatLiteralProperty", "namespace": "Scm._Type.Property.Optionality", @@ -702,22 +1762,13 @@ "decorators": [], "properties": [ { - "$id": "83", + "$id": "214", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "84", - "kind": "constant", - "name": "FloatLiteralPropertyProperty", - "namespace": "Scm._Type.Property.Optionality", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "26" - }, - "value": 1.25, - "decorators": [] + "$ref": "31" }, "optional": true, "readOnly": false, @@ -726,9 +1777,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteralProperty.property", "serializationOptions": { - "$id": "85", + "$id": "215", "json": { - "$id": "86", + "$id": "216", "name": "property" } } @@ -736,7 +1787,7 @@ ] }, { - "$id": "87", + "$id": "217", "kind": "model", "name": "BooleanLiteralProperty", "namespace": "Scm._Type.Property.Optionality", @@ -746,26 +1797,13 @@ "decorators": [], "properties": [ { - "$id": "88", + "$id": "218", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "89", - "kind": "constant", - "name": "BooleanLiteralPropertyProperty", - "namespace": "Scm._Type.Property.Optionality", - "usage": "Input,Output,Json", - "valueType": { - "$id": "90", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "32" }, "optional": true, "readOnly": false, @@ -774,9 +1812,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteralProperty.property", "serializationOptions": { - "$id": "91", + "$id": "219", "json": { - "$id": "92", + "$id": "220", "name": "property" } } @@ -784,7 +1822,7 @@ ] }, { - "$id": "93", + "$id": "221", "kind": "model", "name": "UnionStringLiteralProperty", "namespace": "Scm._Type.Property.Optionality", @@ -794,7 +1832,7 @@ "decorators": [], "properties": [ { - "$id": "94", + "$id": "222", "kind": "property", "name": "property", "serializedName": "property", @@ -809,9 +1847,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteralProperty.property", "serializationOptions": { - "$id": "95", + "$id": "223", "json": { - "$id": "96", + "$id": "224", "name": "property" } } @@ -819,7 +1857,7 @@ ] }, { - "$id": "97", + "$id": "225", "kind": "model", "name": "UnionIntLiteralProperty", "namespace": "Scm._Type.Property.Optionality", @@ -829,7 +1867,7 @@ "decorators": [], "properties": [ { - "$id": "98", + "$id": "226", "kind": "property", "name": "property", "serializedName": "property", @@ -844,9 +1882,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteralProperty.property", "serializationOptions": { - "$id": "99", + "$id": "227", "json": { - "$id": "100", + "$id": "228", "name": "property" } } @@ -854,7 +1892,7 @@ ] }, { - "$id": "101", + "$id": "229", "kind": "model", "name": "UnionFloatLiteralProperty", "namespace": "Scm._Type.Property.Optionality", @@ -864,7 +1902,7 @@ "decorators": [], "properties": [ { - "$id": "102", + "$id": "230", "kind": "property", "name": "property", "serializedName": "property", @@ -879,9 +1917,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteralProperty.property", "serializationOptions": { - "$id": "103", + "$id": "231", "json": { - "$id": "104", + "$id": "232", "name": "property" } } @@ -889,7 +1927,7 @@ ] }, { - "$id": "105", + "$id": "233", "kind": "model", "name": "RequiredAndOptionalProperty", "namespace": "Scm._Type.Property.Optionality", @@ -899,13 +1937,13 @@ "decorators": [], "properties": [ { - "$id": "106", + "$id": "234", "kind": "property", "name": "optionalProperty", "serializedName": "optionalProperty", "doc": "optional string property", "type": { - "$id": "107", + "$id": "235", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -918,21 +1956,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptionalProperty.optionalProperty", "serializationOptions": { - "$id": "108", + "$id": "236", "json": { - "$id": "109", + "$id": "237", "name": "optionalProperty" } } }, { - "$id": "110", + "$id": "238", "kind": "property", "name": "requiredProperty", "serializedName": "requiredProperty", "doc": "required int property", "type": { - "$id": "111", + "$id": "239", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -945,9 +1983,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptionalProperty.requiredProperty", "serializationOptions": { - "$id": "112", + "$id": "240", "json": { - "$id": "113", + "$id": "241", "name": "requiredProperty" } } @@ -957,7 +1995,7 @@ ], "clients": [ { - "$id": "114", + "$id": "242", "kind": "client", "name": "OptionalClient", "namespace": "Scm._Type.Property.Optionality", @@ -965,12 +2003,12 @@ "methods": [], "parameters": [ { - "$id": "115", + "$id": "243", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "116", + "$id": "244", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -984,9 +2022,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "117", + "$id": "245", "type": { - "$id": "118", + "$id": "246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1000,44 +2038,31 @@ "apiVersions": [], "children": [ { - "$id": "119", + "$id": "247", "kind": "client", "name": "String", "namespace": "Scm._Type.Property.Optionality", "methods": [ { - "$id": "120", + "$id": "248", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "121", + "$id": "249", "name": "getAll", "resourceName": "String", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "122", + "$id": "250", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "123", - "kind": "constant", - "name": "getAllContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "124", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -1052,12 +2077,12 @@ ], "responses": [ { - "$id": "125", + "$id": "251", "statusCodes": [ 200 ], "bodyType": { - "$ref": "29" + "$ref": "162" }, "headers": [], "isErrorResponse": false, @@ -1077,11 +2102,11 @@ }, "parameters": [ { - "$id": "126", + "$id": "252", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "123" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -1095,9 +2120,9 @@ } ], "response": { - "$id": "127", + "$id": "253", "type": { - "$ref": "29" + "$ref": "162" } }, "isOverride": false, @@ -1106,38 +2131,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.String.getAll" }, { - "$id": "128", + "$id": "254", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "129", + "$id": "255", "name": "getDefault", "resourceName": "String", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "130", + "$id": "256", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "131", - "kind": "constant", - "name": "getDefaultContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "132", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -1152,12 +2164,12 @@ ], "responses": [ { - "$id": "133", + "$id": "257", "statusCodes": [ 200 ], "bodyType": { - "$ref": "29" + "$ref": "162" }, "headers": [], "isErrorResponse": false, @@ -1177,11 +2189,11 @@ }, "parameters": [ { - "$id": "134", + "$id": "258", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "131" + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -1195,9 +2207,9 @@ } ], "response": { - "$id": "135", + "$id": "259", "type": { - "$ref": "29" + "$ref": "162" } }, "isOverride": false, @@ -1206,39 +2218,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.String.getDefault" }, { - "$id": "136", + "$id": "260", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "137", + "$id": "261", "name": "putAll", "resourceName": "String", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "138", + "$id": "262", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "139", - "kind": "constant", - "name": "putAllContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "140", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -1251,11 +2250,11 @@ "skipUrlEncoding": false }, { - "$id": "141", + "$id": "263", "name": "body", "nameInRequest": "body", "type": { - "$ref": "29" + "$ref": "162" }, "location": "Body", "isApiVersion": false, @@ -1270,7 +2269,7 @@ ], "responses": [ { - "$id": "142", + "$id": "264", "statusCodes": [ 204 ], @@ -1292,11 +2291,11 @@ }, "parameters": [ { - "$id": "143", + "$id": "265", "name": "body", "nameInRequest": "body", "type": { - "$ref": "29" + "$ref": "162" }, "location": "Body", "isApiVersion": false, @@ -1309,12 +2308,12 @@ "skipUrlEncoding": false }, { - "$id": "144", + "$id": "266", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "139" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -1328,7 +2327,7 @@ } ], "response": { - "$id": "145" + "$id": "267" }, "isOverride": false, "generateConvenient": true, @@ -1336,39 +2335,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.String.putAll" }, { - "$id": "146", + "$id": "268", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "147", + "$id": "269", "name": "putDefault", "resourceName": "String", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "148", + "$id": "270", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "149", - "kind": "constant", - "name": "putDefaultContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "150", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -1381,11 +2367,11 @@ "skipUrlEncoding": false }, { - "$id": "151", + "$id": "271", "name": "body", "nameInRequest": "body", "type": { - "$ref": "29" + "$ref": "162" }, "location": "Body", "isApiVersion": false, @@ -1400,7 +2386,7 @@ ], "responses": [ { - "$id": "152", + "$id": "272", "statusCodes": [ 204 ], @@ -1422,11 +2408,11 @@ }, "parameters": [ { - "$id": "153", + "$id": "273", "name": "body", "nameInRequest": "body", "type": { - "$ref": "29" + "$ref": "162" }, "location": "Body", "isApiVersion": false, @@ -1439,12 +2425,12 @@ "skipUrlEncoding": false }, { - "$id": "154", + "$id": "274", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "149" + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -1458,7 +2444,7 @@ } ], "response": { - "$id": "155" + "$id": "275" }, "isOverride": false, "generateConvenient": true, @@ -1468,12 +2454,12 @@ ], "parameters": [ { - "$id": "156", + "$id": "276", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "157", + "$id": "277", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1487,9 +2473,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "158", + "$id": "278", "type": { - "$id": "159", + "$id": "279", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1502,48 +2488,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.String", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "160", + "$id": "280", "kind": "client", "name": "Bytes", "namespace": "Scm._Type.Property.Optionality", "methods": [ { - "$id": "161", + "$id": "281", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "162", + "$id": "282", "name": "getAll", "resourceName": "Bytes", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "163", + "$id": "283", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "164", - "kind": "constant", - "name": "getAllContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "165", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -1558,12 +2531,12 @@ ], "responses": [ { - "$id": "166", + "$id": "284", "statusCodes": [ 200 ], "bodyType": { - "$ref": "34" + "$ref": "167" }, "headers": [], "isErrorResponse": false, @@ -1583,11 +2556,11 @@ }, "parameters": [ { - "$id": "167", + "$id": "285", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "164" + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -1601,9 +2574,9 @@ } ], "response": { - "$id": "168", + "$id": "286", "type": { - "$ref": "34" + "$ref": "167" } }, "isOverride": false, @@ -1612,38 +2585,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Bytes.getAll" }, { - "$id": "169", + "$id": "287", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "170", + "$id": "288", "name": "getDefault", "resourceName": "Bytes", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "171", + "$id": "289", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "172", - "kind": "constant", - "name": "getDefaultContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "173", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -1658,12 +2618,12 @@ ], "responses": [ { - "$id": "174", + "$id": "290", "statusCodes": [ 200 ], "bodyType": { - "$ref": "34" + "$ref": "167" }, "headers": [], "isErrorResponse": false, @@ -1683,11 +2643,11 @@ }, "parameters": [ { - "$id": "175", + "$id": "291", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "172" + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -1701,9 +2661,9 @@ } ], "response": { - "$id": "176", + "$id": "292", "type": { - "$ref": "34" + "$ref": "167" } }, "isOverride": false, @@ -1712,39 +2672,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Bytes.getDefault" }, { - "$id": "177", + "$id": "293", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "178", + "$id": "294", "name": "putAll", "resourceName": "Bytes", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "179", + "$id": "295", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "180", - "kind": "constant", - "name": "putAllContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "181", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -1757,11 +2704,11 @@ "skipUrlEncoding": false }, { - "$id": "182", + "$id": "296", "name": "body", "nameInRequest": "body", "type": { - "$ref": "34" + "$ref": "167" }, "location": "Body", "isApiVersion": false, @@ -1776,7 +2723,7 @@ ], "responses": [ { - "$id": "183", + "$id": "297", "statusCodes": [ 204 ], @@ -1798,11 +2745,11 @@ }, "parameters": [ { - "$id": "184", + "$id": "298", "name": "body", "nameInRequest": "body", "type": { - "$ref": "34" + "$ref": "167" }, "location": "Body", "isApiVersion": false, @@ -1815,12 +2762,12 @@ "skipUrlEncoding": false }, { - "$id": "185", + "$id": "299", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "180" + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -1834,7 +2781,7 @@ } ], "response": { - "$id": "186" + "$id": "300" }, "isOverride": false, "generateConvenient": true, @@ -1842,39 +2789,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Bytes.putAll" }, { - "$id": "187", + "$id": "301", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "188", + "$id": "302", "name": "putDefault", "resourceName": "Bytes", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "189", + "$id": "303", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "190", - "kind": "constant", - "name": "putDefaultContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "191", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -1887,11 +2821,11 @@ "skipUrlEncoding": false }, { - "$id": "192", + "$id": "304", "name": "body", "nameInRequest": "body", "type": { - "$ref": "34" + "$ref": "167" }, "location": "Body", "isApiVersion": false, @@ -1906,7 +2840,7 @@ ], "responses": [ { - "$id": "193", + "$id": "305", "statusCodes": [ 204 ], @@ -1928,11 +2862,11 @@ }, "parameters": [ { - "$id": "194", + "$id": "306", "name": "body", "nameInRequest": "body", "type": { - "$ref": "34" + "$ref": "167" }, "location": "Body", "isApiVersion": false, @@ -1945,12 +2879,12 @@ "skipUrlEncoding": false }, { - "$id": "195", + "$id": "307", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "190" + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -1964,7 +2898,7 @@ } ], "response": { - "$id": "196" + "$id": "308" }, "isOverride": false, "generateConvenient": true, @@ -1974,12 +2908,12 @@ ], "parameters": [ { - "$id": "197", + "$id": "309", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "198", + "$id": "310", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1993,9 +2927,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "199", + "$id": "311", "type": { - "$id": "200", + "$id": "312", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2008,48 +2942,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Bytes", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "201", + "$id": "313", "kind": "client", "name": "Datetime", "namespace": "Scm._Type.Property.Optionality", "methods": [ { - "$id": "202", + "$id": "314", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "203", + "$id": "315", "name": "getAll", "resourceName": "Datetime", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "204", + "$id": "316", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "205", - "kind": "constant", - "name": "getAllContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "206", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -2064,12 +2985,12 @@ ], "responses": [ { - "$id": "207", + "$id": "317", "statusCodes": [ 200 ], "bodyType": { - "$ref": "39" + "$ref": "172" }, "headers": [], "isErrorResponse": false, @@ -2089,11 +3010,11 @@ }, "parameters": [ { - "$id": "208", + "$id": "318", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "205" + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -2107,9 +3028,9 @@ } ], "response": { - "$id": "209", + "$id": "319", "type": { - "$ref": "39" + "$ref": "172" } }, "isOverride": false, @@ -2118,38 +3039,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Datetime.getAll" }, { - "$id": "210", + "$id": "320", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "211", + "$id": "321", "name": "getDefault", "resourceName": "Datetime", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "212", + "$id": "322", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "213", - "kind": "constant", - "name": "getDefaultContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "214", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -2164,12 +3072,12 @@ ], "responses": [ { - "$id": "215", + "$id": "323", "statusCodes": [ 200 ], "bodyType": { - "$ref": "39" + "$ref": "172" }, "headers": [], "isErrorResponse": false, @@ -2189,11 +3097,11 @@ }, "parameters": [ { - "$id": "216", + "$id": "324", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "213" + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -2207,9 +3115,9 @@ } ], "response": { - "$id": "217", + "$id": "325", "type": { - "$ref": "39" + "$ref": "172" } }, "isOverride": false, @@ -2218,39 +3126,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Datetime.getDefault" }, { - "$id": "218", + "$id": "326", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "219", + "$id": "327", "name": "putAll", "resourceName": "Datetime", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "220", + "$id": "328", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "221", - "kind": "constant", - "name": "putAllContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "222", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -2263,11 +3158,11 @@ "skipUrlEncoding": false }, { - "$id": "223", + "$id": "329", "name": "body", "nameInRequest": "body", "type": { - "$ref": "39" + "$ref": "172" }, "location": "Body", "isApiVersion": false, @@ -2282,7 +3177,7 @@ ], "responses": [ { - "$id": "224", + "$id": "330", "statusCodes": [ 204 ], @@ -2304,11 +3199,11 @@ }, "parameters": [ { - "$id": "225", + "$id": "331", "name": "body", "nameInRequest": "body", "type": { - "$ref": "39" + "$ref": "172" }, "location": "Body", "isApiVersion": false, @@ -2321,12 +3216,12 @@ "skipUrlEncoding": false }, { - "$id": "226", + "$id": "332", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "221" + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -2340,7 +3235,7 @@ } ], "response": { - "$id": "227" + "$id": "333" }, "isOverride": false, "generateConvenient": true, @@ -2348,39 +3243,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Datetime.putAll" }, { - "$id": "228", + "$id": "334", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "229", + "$id": "335", "name": "putDefault", "resourceName": "Datetime", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "230", + "$id": "336", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "231", - "kind": "constant", - "name": "putDefaultContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "232", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -2393,11 +3275,11 @@ "skipUrlEncoding": false }, { - "$id": "233", + "$id": "337", "name": "body", "nameInRequest": "body", "type": { - "$ref": "39" + "$ref": "172" }, "location": "Body", "isApiVersion": false, @@ -2412,7 +3294,7 @@ ], "responses": [ { - "$id": "234", + "$id": "338", "statusCodes": [ 204 ], @@ -2434,11 +3316,11 @@ }, "parameters": [ { - "$id": "235", + "$id": "339", "name": "body", "nameInRequest": "body", "type": { - "$ref": "39" + "$ref": "172" }, "location": "Body", "isApiVersion": false, @@ -2451,12 +3333,12 @@ "skipUrlEncoding": false }, { - "$id": "236", + "$id": "340", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "231" + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -2470,7 +3352,7 @@ } ], "response": { - "$id": "237" + "$id": "341" }, "isOverride": false, "generateConvenient": true, @@ -2480,12 +3362,12 @@ ], "parameters": [ { - "$id": "238", + "$id": "342", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "239", + "$id": "343", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2499,9 +3381,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "240", + "$id": "344", "type": { - "$id": "241", + "$id": "345", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2514,48 +3396,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Datetime", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "242", + "$id": "346", "kind": "client", "name": "Duration", "namespace": "Scm._Type.Property.Optionality", "methods": [ { - "$id": "243", + "$id": "347", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "244", + "$id": "348", "name": "getAll", "resourceName": "Duration", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "245", + "$id": "349", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "246", - "kind": "constant", - "name": "getAllContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "247", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -2570,12 +3439,12 @@ ], "responses": [ { - "$id": "248", + "$id": "350", "statusCodes": [ 200 ], "bodyType": { - "$ref": "45" + "$ref": "178" }, "headers": [], "isErrorResponse": false, @@ -2595,11 +3464,11 @@ }, "parameters": [ { - "$id": "249", + "$id": "351", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "246" + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -2613,9 +3482,9 @@ } ], "response": { - "$id": "250", + "$id": "352", "type": { - "$ref": "45" + "$ref": "178" } }, "isOverride": false, @@ -2624,38 +3493,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Duration.getAll" }, { - "$id": "251", + "$id": "353", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "252", + "$id": "354", "name": "getDefault", "resourceName": "Duration", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "253", + "$id": "355", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "254", - "kind": "constant", - "name": "getDefaultContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "255", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -2670,12 +3526,12 @@ ], "responses": [ { - "$id": "256", + "$id": "356", "statusCodes": [ 200 ], "bodyType": { - "$ref": "45" + "$ref": "178" }, "headers": [], "isErrorResponse": false, @@ -2695,11 +3551,11 @@ }, "parameters": [ { - "$id": "257", + "$id": "357", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "254" + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -2713,9 +3569,9 @@ } ], "response": { - "$id": "258", + "$id": "358", "type": { - "$ref": "45" + "$ref": "178" } }, "isOverride": false, @@ -2724,39 +3580,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Duration.getDefault" }, { - "$id": "259", + "$id": "359", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "260", + "$id": "360", "name": "putAll", "resourceName": "Duration", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "261", + "$id": "361", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "262", - "kind": "constant", - "name": "putAllContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "263", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -2769,11 +3612,11 @@ "skipUrlEncoding": false }, { - "$id": "264", + "$id": "362", "name": "body", "nameInRequest": "body", "type": { - "$ref": "45" + "$ref": "178" }, "location": "Body", "isApiVersion": false, @@ -2788,7 +3631,7 @@ ], "responses": [ { - "$id": "265", + "$id": "363", "statusCodes": [ 204 ], @@ -2810,11 +3653,11 @@ }, "parameters": [ { - "$id": "266", + "$id": "364", "name": "body", "nameInRequest": "body", "type": { - "$ref": "45" + "$ref": "178" }, "location": "Body", "isApiVersion": false, @@ -2827,12 +3670,12 @@ "skipUrlEncoding": false }, { - "$id": "267", + "$id": "365", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "262" + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -2846,7 +3689,7 @@ } ], "response": { - "$id": "268" + "$id": "366" }, "isOverride": false, "generateConvenient": true, @@ -2854,39 +3697,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Duration.putAll" }, { - "$id": "269", + "$id": "367", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "270", + "$id": "368", "name": "putDefault", "resourceName": "Duration", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "271", + "$id": "369", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "272", - "kind": "constant", - "name": "putDefaultContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "273", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -2899,11 +3729,11 @@ "skipUrlEncoding": false }, { - "$id": "274", + "$id": "370", "name": "body", "nameInRequest": "body", "type": { - "$ref": "45" + "$ref": "178" }, "location": "Body", "isApiVersion": false, @@ -2918,7 +3748,7 @@ ], "responses": [ { - "$id": "275", + "$id": "371", "statusCodes": [ 204 ], @@ -2940,11 +3770,11 @@ }, "parameters": [ { - "$id": "276", + "$id": "372", "name": "body", "nameInRequest": "body", "type": { - "$ref": "45" + "$ref": "178" }, "location": "Body", "isApiVersion": false, @@ -2957,12 +3787,12 @@ "skipUrlEncoding": false }, { - "$id": "277", + "$id": "373", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "272" + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -2976,7 +3806,7 @@ } ], "response": { - "$id": "278" + "$id": "374" }, "isOverride": false, "generateConvenient": true, @@ -2986,12 +3816,12 @@ ], "parameters": [ { - "$id": "279", + "$id": "375", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "280", + "$id": "376", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3005,9 +3835,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "281", + "$id": "377", "type": { - "$id": "282", + "$id": "378", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3020,48 +3850,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Duration", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "283", + "$id": "379", "kind": "client", "name": "PlainDate", "namespace": "Scm._Type.Property.Optionality", "methods": [ { - "$id": "284", + "$id": "380", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "285", + "$id": "381", "name": "getAll", "resourceName": "PlainDate", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "286", + "$id": "382", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "287", - "kind": "constant", - "name": "getAllContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "288", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -3076,12 +3893,12 @@ ], "responses": [ { - "$id": "289", + "$id": "383", "statusCodes": [ 200 ], "bodyType": { - "$ref": "51" + "$ref": "184" }, "headers": [], "isErrorResponse": false, @@ -3101,11 +3918,11 @@ }, "parameters": [ { - "$id": "290", + "$id": "384", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "287" + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -3119,9 +3936,9 @@ } ], "response": { - "$id": "291", + "$id": "385", "type": { - "$ref": "51" + "$ref": "184" } }, "isOverride": false, @@ -3130,38 +3947,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate.getAll" }, { - "$id": "292", + "$id": "386", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "293", + "$id": "387", "name": "getDefault", "resourceName": "PlainDate", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "294", + "$id": "388", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "295", - "kind": "constant", - "name": "getDefaultContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "296", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -3176,12 +3980,12 @@ ], "responses": [ { - "$id": "297", + "$id": "389", "statusCodes": [ 200 ], "bodyType": { - "$ref": "51" + "$ref": "184" }, "headers": [], "isErrorResponse": false, @@ -3201,11 +4005,11 @@ }, "parameters": [ { - "$id": "298", + "$id": "390", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "295" + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -3219,9 +4023,9 @@ } ], "response": { - "$id": "299", + "$id": "391", "type": { - "$ref": "51" + "$ref": "184" } }, "isOverride": false, @@ -3230,39 +4034,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate.getDefault" }, { - "$id": "300", + "$id": "392", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "301", + "$id": "393", "name": "putAll", "resourceName": "PlainDate", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "302", + "$id": "394", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "303", - "kind": "constant", - "name": "putAllContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "304", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -3275,11 +4066,11 @@ "skipUrlEncoding": false }, { - "$id": "305", + "$id": "395", "name": "body", "nameInRequest": "body", "type": { - "$ref": "51" + "$ref": "184" }, "location": "Body", "isApiVersion": false, @@ -3294,7 +4085,7 @@ ], "responses": [ { - "$id": "306", + "$id": "396", "statusCodes": [ 204 ], @@ -3316,11 +4107,11 @@ }, "parameters": [ { - "$id": "307", + "$id": "397", "name": "body", "nameInRequest": "body", "type": { - "$ref": "51" + "$ref": "184" }, "location": "Body", "isApiVersion": false, @@ -3333,12 +4124,12 @@ "skipUrlEncoding": false }, { - "$id": "308", + "$id": "398", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "303" + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -3352,7 +4143,7 @@ } ], "response": { - "$id": "309" + "$id": "399" }, "isOverride": false, "generateConvenient": true, @@ -3360,39 +4151,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate.putAll" }, { - "$id": "310", + "$id": "400", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "311", + "$id": "401", "name": "putDefault", "resourceName": "PlainDate", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "312", + "$id": "402", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "313", - "kind": "constant", - "name": "putDefaultContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "314", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -3405,11 +4183,11 @@ "skipUrlEncoding": false }, { - "$id": "315", + "$id": "403", "name": "body", "nameInRequest": "body", "type": { - "$ref": "51" + "$ref": "184" }, "location": "Body", "isApiVersion": false, @@ -3424,7 +4202,7 @@ ], "responses": [ { - "$id": "316", + "$id": "404", "statusCodes": [ 204 ], @@ -3446,11 +4224,11 @@ }, "parameters": [ { - "$id": "317", + "$id": "405", "name": "body", "nameInRequest": "body", "type": { - "$ref": "51" + "$ref": "184" }, "location": "Body", "isApiVersion": false, @@ -3463,12 +4241,12 @@ "skipUrlEncoding": false }, { - "$id": "318", + "$id": "406", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "313" + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -3482,7 +4260,7 @@ } ], "response": { - "$id": "319" + "$id": "407" }, "isOverride": false, "generateConvenient": true, @@ -3492,12 +4270,12 @@ ], "parameters": [ { - "$id": "320", + "$id": "408", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "321", + "$id": "409", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3511,9 +4289,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "322", + "$id": "410", "type": { - "$id": "323", + "$id": "411", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3526,48 +4304,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "324", + "$id": "412", "kind": "client", "name": "PlainTime", "namespace": "Scm._Type.Property.Optionality", "methods": [ { - "$id": "325", + "$id": "413", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "326", + "$id": "414", "name": "getAll", "resourceName": "PlainTime", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "327", + "$id": "415", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "328", - "kind": "constant", - "name": "getAllContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "329", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3582,12 +4347,12 @@ ], "responses": [ { - "$id": "330", + "$id": "416", "statusCodes": [ 200 ], "bodyType": { - "$ref": "56" + "$ref": "189" }, "headers": [], "isErrorResponse": false, @@ -3607,11 +4372,11 @@ }, "parameters": [ { - "$id": "331", + "$id": "417", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "328" + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3625,9 +4390,9 @@ } ], "response": { - "$id": "332", + "$id": "418", "type": { - "$ref": "56" + "$ref": "189" } }, "isOverride": false, @@ -3636,38 +4401,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime.getAll" }, { - "$id": "333", + "$id": "419", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "334", + "$id": "420", "name": "getDefault", "resourceName": "PlainTime", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "335", + "$id": "421", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "336", - "kind": "constant", - "name": "getDefaultContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "337", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -3682,12 +4434,12 @@ ], "responses": [ { - "$id": "338", + "$id": "422", "statusCodes": [ 200 ], "bodyType": { - "$ref": "56" + "$ref": "189" }, "headers": [], "isErrorResponse": false, @@ -3707,11 +4459,11 @@ }, "parameters": [ { - "$id": "339", + "$id": "423", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "336" + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -3725,9 +4477,9 @@ } ], "response": { - "$id": "340", + "$id": "424", "type": { - "$ref": "56" + "$ref": "189" } }, "isOverride": false, @@ -3736,39 +4488,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime.getDefault" }, { - "$id": "341", + "$id": "425", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "342", + "$id": "426", "name": "putAll", "resourceName": "PlainTime", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "343", + "$id": "427", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "344", - "kind": "constant", - "name": "putAllContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "345", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -3781,11 +4520,11 @@ "skipUrlEncoding": false }, { - "$id": "346", + "$id": "428", "name": "body", "nameInRequest": "body", "type": { - "$ref": "56" + "$ref": "189" }, "location": "Body", "isApiVersion": false, @@ -3800,7 +4539,7 @@ ], "responses": [ { - "$id": "347", + "$id": "429", "statusCodes": [ 204 ], @@ -3822,11 +4561,11 @@ }, "parameters": [ { - "$id": "348", + "$id": "430", "name": "body", "nameInRequest": "body", "type": { - "$ref": "56" + "$ref": "189" }, "location": "Body", "isApiVersion": false, @@ -3839,12 +4578,12 @@ "skipUrlEncoding": false }, { - "$id": "349", + "$id": "431", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "344" + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -3858,7 +4597,7 @@ } ], "response": { - "$id": "350" + "$id": "432" }, "isOverride": false, "generateConvenient": true, @@ -3866,39 +4605,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime.putAll" }, { - "$id": "351", + "$id": "433", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "352", + "$id": "434", "name": "putDefault", "resourceName": "PlainTime", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "353", + "$id": "435", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "354", - "kind": "constant", - "name": "putDefaultContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "355", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -3911,11 +4637,11 @@ "skipUrlEncoding": false }, { - "$id": "356", + "$id": "436", "name": "body", "nameInRequest": "body", "type": { - "$ref": "56" + "$ref": "189" }, "location": "Body", "isApiVersion": false, @@ -3930,7 +4656,7 @@ ], "responses": [ { - "$id": "357", + "$id": "437", "statusCodes": [ 204 ], @@ -3952,11 +4678,11 @@ }, "parameters": [ { - "$id": "358", + "$id": "438", "name": "body", "nameInRequest": "body", "type": { - "$ref": "56" + "$ref": "189" }, "location": "Body", "isApiVersion": false, @@ -3969,12 +4695,12 @@ "skipUrlEncoding": false }, { - "$id": "359", + "$id": "439", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "354" + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -3988,7 +4714,7 @@ } ], "response": { - "$id": "360" + "$id": "440" }, "isOverride": false, "generateConvenient": true, @@ -3998,12 +4724,12 @@ ], "parameters": [ { - "$id": "361", + "$id": "441", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "362", + "$id": "442", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4017,9 +4743,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "363", + "$id": "443", "type": { - "$id": "364", + "$id": "444", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4032,48 +4758,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "365", + "$id": "445", "kind": "client", "name": "CollectionsByte", "namespace": "Scm._Type.Property.Optionality", "methods": [ { - "$id": "366", + "$id": "446", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "367", + "$id": "447", "name": "getAll", "resourceName": "CollectionsByte", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "368", + "$id": "448", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "369", - "kind": "constant", - "name": "getAllContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "370", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -4088,12 +4801,12 @@ ], "responses": [ { - "$id": "371", + "$id": "449", "statusCodes": [ 200 ], "bodyType": { - "$ref": "61" + "$ref": "194" }, "headers": [], "isErrorResponse": false, @@ -4113,11 +4826,11 @@ }, "parameters": [ { - "$id": "372", + "$id": "450", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "369" + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -4131,9 +4844,9 @@ } ], "response": { - "$id": "373", + "$id": "451", "type": { - "$ref": "61" + "$ref": "194" } }, "isOverride": false, @@ -4142,38 +4855,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte.getAll" }, { - "$id": "374", + "$id": "452", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "375", + "$id": "453", "name": "getDefault", "resourceName": "CollectionsByte", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "376", + "$id": "454", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "377", - "kind": "constant", - "name": "getDefaultContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "378", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -4188,12 +4888,12 @@ ], "responses": [ { - "$id": "379", + "$id": "455", "statusCodes": [ 200 ], "bodyType": { - "$ref": "61" + "$ref": "194" }, "headers": [], "isErrorResponse": false, @@ -4213,11 +4913,11 @@ }, "parameters": [ { - "$id": "380", + "$id": "456", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "377" + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -4231,9 +4931,9 @@ } ], "response": { - "$id": "381", + "$id": "457", "type": { - "$ref": "61" + "$ref": "194" } }, "isOverride": false, @@ -4242,39 +4942,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte.getDefault" }, { - "$id": "382", + "$id": "458", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "383", + "$id": "459", "name": "putAll", "resourceName": "CollectionsByte", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "384", + "$id": "460", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "385", - "kind": "constant", - "name": "putAllContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "386", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -4287,11 +4974,11 @@ "skipUrlEncoding": false }, { - "$id": "387", + "$id": "461", "name": "body", "nameInRequest": "body", "type": { - "$ref": "61" + "$ref": "194" }, "location": "Body", "isApiVersion": false, @@ -4306,7 +4993,7 @@ ], "responses": [ { - "$id": "388", + "$id": "462", "statusCodes": [ 204 ], @@ -4328,11 +5015,11 @@ }, "parameters": [ { - "$id": "389", + "$id": "463", "name": "body", "nameInRequest": "body", "type": { - "$ref": "61" + "$ref": "194" }, "location": "Body", "isApiVersion": false, @@ -4345,12 +5032,12 @@ "skipUrlEncoding": false }, { - "$id": "390", + "$id": "464", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "385" + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -4364,7 +5051,7 @@ } ], "response": { - "$id": "391" + "$id": "465" }, "isOverride": false, "generateConvenient": true, @@ -4372,39 +5059,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte.putAll" }, { - "$id": "392", + "$id": "466", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "393", + "$id": "467", "name": "putDefault", "resourceName": "CollectionsByte", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "394", + "$id": "468", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "395", - "kind": "constant", - "name": "putDefaultContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "396", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -4417,11 +5091,11 @@ "skipUrlEncoding": false }, { - "$id": "397", + "$id": "469", "name": "body", "nameInRequest": "body", "type": { - "$ref": "61" + "$ref": "194" }, "location": "Body", "isApiVersion": false, @@ -4436,7 +5110,7 @@ ], "responses": [ { - "$id": "398", + "$id": "470", "statusCodes": [ 204 ], @@ -4458,11 +5132,11 @@ }, "parameters": [ { - "$id": "399", + "$id": "471", "name": "body", "nameInRequest": "body", "type": { - "$ref": "61" + "$ref": "194" }, "location": "Body", "isApiVersion": false, @@ -4475,12 +5149,12 @@ "skipUrlEncoding": false }, { - "$id": "400", + "$id": "472", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "395" + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -4494,7 +5168,7 @@ } ], "response": { - "$id": "401" + "$id": "473" }, "isOverride": false, "generateConvenient": true, @@ -4504,12 +5178,12 @@ ], "parameters": [ { - "$id": "402", + "$id": "474", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "403", + "$id": "475", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4523,9 +5197,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "404", + "$id": "476", "type": { - "$id": "405", + "$id": "477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4538,48 +5212,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "406", + "$id": "478", "kind": "client", "name": "CollectionsModel", "namespace": "Scm._Type.Property.Optionality", "methods": [ { - "$id": "407", + "$id": "479", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "408", + "$id": "480", "name": "getAll", "resourceName": "CollectionsModel", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "409", + "$id": "481", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "410", - "kind": "constant", - "name": "getAllContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "411", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -4594,12 +5255,12 @@ ], "responses": [ { - "$id": "412", + "$id": "482", "statusCodes": [ 200 ], "bodyType": { - "$ref": "67" + "$ref": "200" }, "headers": [], "isErrorResponse": false, @@ -4619,11 +5280,11 @@ }, "parameters": [ { - "$id": "413", + "$id": "483", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "410" + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -4637,9 +5298,9 @@ } ], "response": { - "$id": "414", + "$id": "484", "type": { - "$ref": "67" + "$ref": "200" } }, "isOverride": false, @@ -4648,38 +5309,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel.getAll" }, { - "$id": "415", + "$id": "485", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "416", + "$id": "486", "name": "getDefault", "resourceName": "CollectionsModel", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "417", + "$id": "487", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "418", - "kind": "constant", - "name": "getDefaultContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "419", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -4694,12 +5342,12 @@ ], "responses": [ { - "$id": "420", + "$id": "488", "statusCodes": [ 200 ], "bodyType": { - "$ref": "67" + "$ref": "200" }, "headers": [], "isErrorResponse": false, @@ -4719,11 +5367,11 @@ }, "parameters": [ { - "$id": "421", + "$id": "489", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "418" + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -4737,9 +5385,9 @@ } ], "response": { - "$id": "422", + "$id": "490", "type": { - "$ref": "67" + "$ref": "200" } }, "isOverride": false, @@ -4748,39 +5396,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel.getDefault" }, { - "$id": "423", + "$id": "491", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "424", + "$id": "492", "name": "putAll", "resourceName": "CollectionsModel", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "425", + "$id": "493", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "426", - "kind": "constant", - "name": "putAllContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "427", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -4793,11 +5428,11 @@ "skipUrlEncoding": false }, { - "$id": "428", + "$id": "494", "name": "body", "nameInRequest": "body", "type": { - "$ref": "67" + "$ref": "200" }, "location": "Body", "isApiVersion": false, @@ -4812,7 +5447,7 @@ ], "responses": [ { - "$id": "429", + "$id": "495", "statusCodes": [ 204 ], @@ -4834,11 +5469,11 @@ }, "parameters": [ { - "$id": "430", + "$id": "496", "name": "body", "nameInRequest": "body", "type": { - "$ref": "67" + "$ref": "200" }, "location": "Body", "isApiVersion": false, @@ -4851,12 +5486,12 @@ "skipUrlEncoding": false }, { - "$id": "431", + "$id": "497", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "426" + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -4870,7 +5505,7 @@ } ], "response": { - "$id": "432" + "$id": "498" }, "isOverride": false, "generateConvenient": true, @@ -4878,39 +5513,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel.putAll" }, { - "$id": "433", + "$id": "499", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "434", + "$id": "500", "name": "putDefault", "resourceName": "CollectionsModel", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "435", + "$id": "501", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "436", - "kind": "constant", - "name": "putDefaultContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "437", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -4923,11 +5545,11 @@ "skipUrlEncoding": false }, { - "$id": "438", + "$id": "502", "name": "body", "nameInRequest": "body", "type": { - "$ref": "67" + "$ref": "200" }, "location": "Body", "isApiVersion": false, @@ -4942,7 +5564,7 @@ ], "responses": [ { - "$id": "439", + "$id": "503", "statusCodes": [ 204 ], @@ -4964,11 +5586,11 @@ }, "parameters": [ { - "$id": "440", + "$id": "504", "name": "body", "nameInRequest": "body", "type": { - "$ref": "67" + "$ref": "200" }, "location": "Body", "isApiVersion": false, @@ -4981,12 +5603,12 @@ "skipUrlEncoding": false }, { - "$id": "441", + "$id": "505", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "436" + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -5000,7 +5622,7 @@ } ], "response": { - "$id": "442" + "$id": "506" }, "isOverride": false, "generateConvenient": true, @@ -5010,12 +5632,12 @@ ], "parameters": [ { - "$id": "443", + "$id": "507", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "444", + "$id": "508", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5029,9 +5651,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "445", + "$id": "509", "type": { - "$id": "446", + "$id": "510", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5044,48 +5666,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "447", + "$id": "511", "kind": "client", "name": "StringLiteral", "namespace": "Scm._Type.Property.Optionality", "methods": [ { - "$id": "448", + "$id": "512", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "449", + "$id": "513", "name": "getAll", "resourceName": "StringLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "450", + "$id": "514", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "451", - "kind": "constant", - "name": "getAllContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "452", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -5100,12 +5709,12 @@ ], "responses": [ { - "$id": "453", + "$id": "515", "statusCodes": [ 200 ], "bodyType": { - "$ref": "72" + "$ref": "205" }, "headers": [], "isErrorResponse": false, @@ -5125,11 +5734,11 @@ }, "parameters": [ { - "$id": "454", + "$id": "516", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "451" + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -5143,9 +5752,9 @@ } ], "response": { - "$id": "455", + "$id": "517", "type": { - "$ref": "72" + "$ref": "205" } }, "isOverride": false, @@ -5154,38 +5763,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral.getAll" }, { - "$id": "456", + "$id": "518", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "457", + "$id": "519", "name": "getDefault", "resourceName": "StringLiteral", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "458", + "$id": "520", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "459", - "kind": "constant", - "name": "getDefaultContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "460", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -5200,12 +5796,12 @@ ], "responses": [ { - "$id": "461", + "$id": "521", "statusCodes": [ 200 ], "bodyType": { - "$ref": "72" + "$ref": "205" }, "headers": [], "isErrorResponse": false, @@ -5225,11 +5821,11 @@ }, "parameters": [ { - "$id": "462", + "$id": "522", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "459" + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -5243,9 +5839,9 @@ } ], "response": { - "$id": "463", + "$id": "523", "type": { - "$ref": "72" + "$ref": "205" } }, "isOverride": false, @@ -5254,39 +5850,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral.getDefault" }, { - "$id": "464", + "$id": "524", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "465", + "$id": "525", "name": "putAll", "resourceName": "StringLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "466", + "$id": "526", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "467", - "kind": "constant", - "name": "putAllContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "468", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -5299,11 +5882,11 @@ "skipUrlEncoding": false }, { - "$id": "469", + "$id": "527", "name": "body", "nameInRequest": "body", "type": { - "$ref": "72" + "$ref": "205" }, "location": "Body", "isApiVersion": false, @@ -5318,7 +5901,7 @@ ], "responses": [ { - "$id": "470", + "$id": "528", "statusCodes": [ 204 ], @@ -5340,11 +5923,11 @@ }, "parameters": [ { - "$id": "471", + "$id": "529", "name": "body", "nameInRequest": "body", "type": { - "$ref": "72" + "$ref": "205" }, "location": "Body", "isApiVersion": false, @@ -5357,12 +5940,12 @@ "skipUrlEncoding": false }, { - "$id": "472", + "$id": "530", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "467" + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -5376,7 +5959,7 @@ } ], "response": { - "$id": "473" + "$id": "531" }, "isOverride": false, "generateConvenient": true, @@ -5384,39 +5967,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral.putAll" }, { - "$id": "474", + "$id": "532", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "475", + "$id": "533", "name": "putDefault", "resourceName": "StringLiteral", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "476", + "$id": "534", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "477", - "kind": "constant", - "name": "putDefaultContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "478", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -5429,11 +5999,11 @@ "skipUrlEncoding": false }, { - "$id": "479", + "$id": "535", "name": "body", "nameInRequest": "body", "type": { - "$ref": "72" + "$ref": "205" }, "location": "Body", "isApiVersion": false, @@ -5448,7 +6018,7 @@ ], "responses": [ { - "$id": "480", + "$id": "536", "statusCodes": [ 204 ], @@ -5470,11 +6040,11 @@ }, "parameters": [ { - "$id": "481", + "$id": "537", "name": "body", "nameInRequest": "body", "type": { - "$ref": "72" + "$ref": "205" }, "location": "Body", "isApiVersion": false, @@ -5487,12 +6057,12 @@ "skipUrlEncoding": false }, { - "$id": "482", + "$id": "538", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "477" + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -5506,7 +6076,7 @@ } ], "response": { - "$id": "483" + "$id": "539" }, "isOverride": false, "generateConvenient": true, @@ -5516,12 +6086,12 @@ ], "parameters": [ { - "$id": "484", + "$id": "540", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "485", + "$id": "541", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5535,9 +6105,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "486", + "$id": "542", "type": { - "$id": "487", + "$id": "543", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5550,48 +6120,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "488", + "$id": "544", "kind": "client", "name": "IntLiteral", "namespace": "Scm._Type.Property.Optionality", "methods": [ { - "$id": "489", + "$id": "545", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "490", + "$id": "546", "name": "getAll", "resourceName": "IntLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "491", + "$id": "547", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "492", - "kind": "constant", - "name": "getAllContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "493", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -5606,12 +6163,12 @@ ], "responses": [ { - "$id": "494", + "$id": "548", "statusCodes": [ 200 ], "bodyType": { - "$ref": "77" + "$ref": "209" }, "headers": [], "isErrorResponse": false, @@ -5631,11 +6188,11 @@ }, "parameters": [ { - "$id": "495", + "$id": "549", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "492" + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -5649,9 +6206,9 @@ } ], "response": { - "$id": "496", + "$id": "550", "type": { - "$ref": "77" + "$ref": "209" } }, "isOverride": false, @@ -5660,38 +6217,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral.getAll" }, { - "$id": "497", + "$id": "551", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "498", + "$id": "552", "name": "getDefault", "resourceName": "IntLiteral", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "499", + "$id": "553", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "500", - "kind": "constant", - "name": "getDefaultContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "501", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -5706,12 +6250,12 @@ ], "responses": [ { - "$id": "502", + "$id": "554", "statusCodes": [ 200 ], "bodyType": { - "$ref": "77" + "$ref": "209" }, "headers": [], "isErrorResponse": false, @@ -5731,11 +6275,11 @@ }, "parameters": [ { - "$id": "503", + "$id": "555", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "500" + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -5749,9 +6293,9 @@ } ], "response": { - "$id": "504", + "$id": "556", "type": { - "$ref": "77" + "$ref": "209" } }, "isOverride": false, @@ -5760,39 +6304,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral.getDefault" }, { - "$id": "505", + "$id": "557", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "506", + "$id": "558", "name": "putAll", "resourceName": "IntLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "507", + "$id": "559", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "508", - "kind": "constant", - "name": "putAllContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "509", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -5805,11 +6336,11 @@ "skipUrlEncoding": false }, { - "$id": "510", + "$id": "560", "name": "body", "nameInRequest": "body", "type": { - "$ref": "77" + "$ref": "209" }, "location": "Body", "isApiVersion": false, @@ -5824,7 +6355,7 @@ ], "responses": [ { - "$id": "511", + "$id": "561", "statusCodes": [ 204 ], @@ -5846,11 +6377,11 @@ }, "parameters": [ { - "$id": "512", + "$id": "562", "name": "body", "nameInRequest": "body", "type": { - "$ref": "77" + "$ref": "209" }, "location": "Body", "isApiVersion": false, @@ -5863,12 +6394,12 @@ "skipUrlEncoding": false }, { - "$id": "513", + "$id": "563", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "508" + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -5882,7 +6413,7 @@ } ], "response": { - "$id": "514" + "$id": "564" }, "isOverride": false, "generateConvenient": true, @@ -5890,39 +6421,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral.putAll" }, { - "$id": "515", + "$id": "565", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "516", + "$id": "566", "name": "putDefault", "resourceName": "IntLiteral", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "517", + "$id": "567", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "518", - "kind": "constant", - "name": "putDefaultContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "519", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -5935,11 +6453,11 @@ "skipUrlEncoding": false }, { - "$id": "520", + "$id": "568", "name": "body", "nameInRequest": "body", "type": { - "$ref": "77" + "$ref": "209" }, "location": "Body", "isApiVersion": false, @@ -5954,7 +6472,7 @@ ], "responses": [ { - "$id": "521", + "$id": "569", "statusCodes": [ 204 ], @@ -5976,11 +6494,11 @@ }, "parameters": [ { - "$id": "522", + "$id": "570", "name": "body", "nameInRequest": "body", "type": { - "$ref": "77" + "$ref": "209" }, "location": "Body", "isApiVersion": false, @@ -5993,12 +6511,12 @@ "skipUrlEncoding": false }, { - "$id": "523", + "$id": "571", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "518" + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -6012,7 +6530,7 @@ } ], "response": { - "$id": "524" + "$id": "572" }, "isOverride": false, "generateConvenient": true, @@ -6022,12 +6540,12 @@ ], "parameters": [ { - "$id": "525", + "$id": "573", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "526", + "$id": "574", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6041,9 +6559,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "527", + "$id": "575", "type": { - "$id": "528", + "$id": "576", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6056,48 +6574,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "529", + "$id": "577", "kind": "client", "name": "FloatLiteral", "namespace": "Scm._Type.Property.Optionality", "methods": [ { - "$id": "530", + "$id": "578", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "531", + "$id": "579", "name": "getAll", "resourceName": "FloatLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "532", + "$id": "580", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "533", - "kind": "constant", - "name": "getAllContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "534", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -6112,12 +6617,12 @@ ], "responses": [ { - "$id": "535", + "$id": "581", "statusCodes": [ 200 ], "bodyType": { - "$ref": "82" + "$ref": "213" }, "headers": [], "isErrorResponse": false, @@ -6137,11 +6642,11 @@ }, "parameters": [ { - "$id": "536", + "$id": "582", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "533" + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -6155,9 +6660,9 @@ } ], "response": { - "$id": "537", + "$id": "583", "type": { - "$ref": "82" + "$ref": "213" } }, "isOverride": false, @@ -6166,38 +6671,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral.getAll" }, { - "$id": "538", + "$id": "584", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "539", + "$id": "585", "name": "getDefault", "resourceName": "FloatLiteral", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "540", + "$id": "586", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "541", - "kind": "constant", - "name": "getDefaultContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "542", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -6212,12 +6704,12 @@ ], "responses": [ { - "$id": "543", + "$id": "587", "statusCodes": [ 200 ], "bodyType": { - "$ref": "82" + "$ref": "213" }, "headers": [], "isErrorResponse": false, @@ -6237,11 +6729,11 @@ }, "parameters": [ { - "$id": "544", + "$id": "588", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "541" + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -6255,9 +6747,9 @@ } ], "response": { - "$id": "545", + "$id": "589", "type": { - "$ref": "82" + "$ref": "213" } }, "isOverride": false, @@ -6266,39 +6758,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral.getDefault" }, { - "$id": "546", + "$id": "590", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "547", + "$id": "591", "name": "putAll", "resourceName": "FloatLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "548", + "$id": "592", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "549", - "kind": "constant", - "name": "putAllContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "550", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -6311,11 +6790,11 @@ "skipUrlEncoding": false }, { - "$id": "551", + "$id": "593", "name": "body", "nameInRequest": "body", "type": { - "$ref": "82" + "$ref": "213" }, "location": "Body", "isApiVersion": false, @@ -6330,7 +6809,7 @@ ], "responses": [ { - "$id": "552", + "$id": "594", "statusCodes": [ 204 ], @@ -6352,11 +6831,11 @@ }, "parameters": [ { - "$id": "553", + "$id": "595", "name": "body", "nameInRequest": "body", "type": { - "$ref": "82" + "$ref": "213" }, "location": "Body", "isApiVersion": false, @@ -6369,12 +6848,12 @@ "skipUrlEncoding": false }, { - "$id": "554", + "$id": "596", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "549" + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -6388,7 +6867,7 @@ } ], "response": { - "$id": "555" + "$id": "597" }, "isOverride": false, "generateConvenient": true, @@ -6396,39 +6875,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral.putAll" }, { - "$id": "556", + "$id": "598", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "557", + "$id": "599", "name": "putDefault", "resourceName": "FloatLiteral", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "558", + "$id": "600", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "559", - "kind": "constant", - "name": "putDefaultContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "560", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -6441,11 +6907,11 @@ "skipUrlEncoding": false }, { - "$id": "561", + "$id": "601", "name": "body", "nameInRequest": "body", "type": { - "$ref": "82" + "$ref": "213" }, "location": "Body", "isApiVersion": false, @@ -6460,7 +6926,7 @@ ], "responses": [ { - "$id": "562", + "$id": "602", "statusCodes": [ 204 ], @@ -6482,11 +6948,11 @@ }, "parameters": [ { - "$id": "563", + "$id": "603", "name": "body", "nameInRequest": "body", "type": { - "$ref": "82" + "$ref": "213" }, "location": "Body", "isApiVersion": false, @@ -6499,12 +6965,12 @@ "skipUrlEncoding": false }, { - "$id": "564", + "$id": "604", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "559" + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -6518,7 +6984,7 @@ } ], "response": { - "$id": "565" + "$id": "605" }, "isOverride": false, "generateConvenient": true, @@ -6528,12 +6994,12 @@ ], "parameters": [ { - "$id": "566", + "$id": "606", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "567", + "$id": "607", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6547,9 +7013,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "568", + "$id": "608", "type": { - "$id": "569", + "$id": "609", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6562,48 +7028,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "570", + "$id": "610", "kind": "client", "name": "BooleanLiteral", "namespace": "Scm._Type.Property.Optionality", "methods": [ { - "$id": "571", + "$id": "611", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "572", + "$id": "612", "name": "getAll", "resourceName": "BooleanLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "573", + "$id": "613", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "574", - "kind": "constant", - "name": "getAllContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "575", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -6618,12 +7071,12 @@ ], "responses": [ { - "$id": "576", + "$id": "614", "statusCodes": [ 200 ], "bodyType": { - "$ref": "87" + "$ref": "217" }, "headers": [], "isErrorResponse": false, @@ -6643,11 +7096,11 @@ }, "parameters": [ { - "$id": "577", + "$id": "615", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "574" + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -6661,9 +7114,9 @@ } ], "response": { - "$id": "578", + "$id": "616", "type": { - "$ref": "87" + "$ref": "217" } }, "isOverride": false, @@ -6672,38 +7125,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral.getAll" }, { - "$id": "579", + "$id": "617", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "580", + "$id": "618", "name": "getDefault", "resourceName": "BooleanLiteral", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "581", + "$id": "619", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "582", - "kind": "constant", - "name": "getDefaultContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "583", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -6718,12 +7158,12 @@ ], "responses": [ { - "$id": "584", + "$id": "620", "statusCodes": [ 200 ], "bodyType": { - "$ref": "87" + "$ref": "217" }, "headers": [], "isErrorResponse": false, @@ -6743,11 +7183,11 @@ }, "parameters": [ { - "$id": "585", + "$id": "621", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "582" + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -6761,9 +7201,9 @@ } ], "response": { - "$id": "586", + "$id": "622", "type": { - "$ref": "87" + "$ref": "217" } }, "isOverride": false, @@ -6772,39 +7212,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral.getDefault" }, { - "$id": "587", + "$id": "623", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "588", + "$id": "624", "name": "putAll", "resourceName": "BooleanLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "589", + "$id": "625", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "590", - "kind": "constant", - "name": "putAllContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "591", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -6817,11 +7244,11 @@ "skipUrlEncoding": false }, { - "$id": "592", + "$id": "626", "name": "body", "nameInRequest": "body", "type": { - "$ref": "87" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -6836,7 +7263,7 @@ ], "responses": [ { - "$id": "593", + "$id": "627", "statusCodes": [ 204 ], @@ -6858,11 +7285,11 @@ }, "parameters": [ { - "$id": "594", + "$id": "628", "name": "body", "nameInRequest": "body", "type": { - "$ref": "87" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -6875,12 +7302,12 @@ "skipUrlEncoding": false }, { - "$id": "595", + "$id": "629", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "590" + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -6894,7 +7321,7 @@ } ], "response": { - "$id": "596" + "$id": "630" }, "isOverride": false, "generateConvenient": true, @@ -6902,39 +7329,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral.putAll" }, { - "$id": "597", + "$id": "631", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "598", + "$id": "632", "name": "putDefault", "resourceName": "BooleanLiteral", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "599", + "$id": "633", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "600", - "kind": "constant", - "name": "putDefaultContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "601", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -6947,11 +7361,11 @@ "skipUrlEncoding": false }, { - "$id": "602", + "$id": "634", "name": "body", "nameInRequest": "body", "type": { - "$ref": "87" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -6966,7 +7380,7 @@ ], "responses": [ { - "$id": "603", + "$id": "635", "statusCodes": [ 204 ], @@ -6988,11 +7402,11 @@ }, "parameters": [ { - "$id": "604", + "$id": "636", "name": "body", "nameInRequest": "body", "type": { - "$ref": "87" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -7005,12 +7419,12 @@ "skipUrlEncoding": false }, { - "$id": "605", + "$id": "637", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "600" + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -7024,7 +7438,7 @@ } ], "response": { - "$id": "606" + "$id": "638" }, "isOverride": false, "generateConvenient": true, @@ -7034,12 +7448,12 @@ ], "parameters": [ { - "$id": "607", + "$id": "639", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "608", + "$id": "640", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7053,9 +7467,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "609", + "$id": "641", "type": { - "$id": "610", + "$id": "642", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7068,48 +7482,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "611", + "$id": "643", "kind": "client", "name": "UnionStringLiteral", "namespace": "Scm._Type.Property.Optionality", "methods": [ { - "$id": "612", + "$id": "644", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "613", + "$id": "645", "name": "getAll", "resourceName": "UnionStringLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "614", + "$id": "646", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "615", - "kind": "constant", - "name": "getAllContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "616", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -7124,12 +7525,12 @@ ], "responses": [ { - "$id": "617", + "$id": "647", "statusCodes": [ 200 ], "bodyType": { - "$ref": "93" + "$ref": "221" }, "headers": [], "isErrorResponse": false, @@ -7149,11 +7550,11 @@ }, "parameters": [ { - "$id": "618", + "$id": "648", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "615" + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -7167,9 +7568,9 @@ } ], "response": { - "$id": "619", + "$id": "649", "type": { - "$ref": "93" + "$ref": "221" } }, "isOverride": false, @@ -7178,38 +7579,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral.getAll" }, { - "$id": "620", + "$id": "650", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "621", + "$id": "651", "name": "getDefault", "resourceName": "UnionStringLiteral", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "622", + "$id": "652", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "623", - "kind": "constant", - "name": "getDefaultContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "624", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -7224,12 +7612,12 @@ ], "responses": [ { - "$id": "625", + "$id": "653", "statusCodes": [ 200 ], "bodyType": { - "$ref": "93" + "$ref": "221" }, "headers": [], "isErrorResponse": false, @@ -7249,11 +7637,11 @@ }, "parameters": [ { - "$id": "626", + "$id": "654", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "623" + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -7267,9 +7655,9 @@ } ], "response": { - "$id": "627", + "$id": "655", "type": { - "$ref": "93" + "$ref": "221" } }, "isOverride": false, @@ -7278,39 +7666,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral.getDefault" }, { - "$id": "628", + "$id": "656", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "629", + "$id": "657", "name": "putAll", "resourceName": "UnionStringLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "630", + "$id": "658", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "631", - "kind": "constant", - "name": "putAllContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "632", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -7323,11 +7698,11 @@ "skipUrlEncoding": false }, { - "$id": "633", + "$id": "659", "name": "body", "nameInRequest": "body", "type": { - "$ref": "93" + "$ref": "221" }, "location": "Body", "isApiVersion": false, @@ -7342,7 +7717,7 @@ ], "responses": [ { - "$id": "634", + "$id": "660", "statusCodes": [ 204 ], @@ -7364,11 +7739,11 @@ }, "parameters": [ { - "$id": "635", + "$id": "661", "name": "body", "nameInRequest": "body", "type": { - "$ref": "93" + "$ref": "221" }, "location": "Body", "isApiVersion": false, @@ -7381,12 +7756,12 @@ "skipUrlEncoding": false }, { - "$id": "636", + "$id": "662", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "631" + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -7400,7 +7775,7 @@ } ], "response": { - "$id": "637" + "$id": "663" }, "isOverride": false, "generateConvenient": true, @@ -7408,39 +7783,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral.putAll" }, { - "$id": "638", + "$id": "664", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "639", + "$id": "665", "name": "putDefault", "resourceName": "UnionStringLiteral", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "640", + "$id": "666", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "641", - "kind": "constant", - "name": "putDefaultContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "642", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -7453,11 +7815,11 @@ "skipUrlEncoding": false }, { - "$id": "643", + "$id": "667", "name": "body", "nameInRequest": "body", "type": { - "$ref": "93" + "$ref": "221" }, "location": "Body", "isApiVersion": false, @@ -7472,7 +7834,7 @@ ], "responses": [ { - "$id": "644", + "$id": "668", "statusCodes": [ 204 ], @@ -7494,11 +7856,11 @@ }, "parameters": [ { - "$id": "645", + "$id": "669", "name": "body", "nameInRequest": "body", "type": { - "$ref": "93" + "$ref": "221" }, "location": "Body", "isApiVersion": false, @@ -7511,12 +7873,12 @@ "skipUrlEncoding": false }, { - "$id": "646", + "$id": "670", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "641" + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -7530,7 +7892,7 @@ } ], "response": { - "$id": "647" + "$id": "671" }, "isOverride": false, "generateConvenient": true, @@ -7540,12 +7902,12 @@ ], "parameters": [ { - "$id": "648", + "$id": "672", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "649", + "$id": "673", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7559,9 +7921,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "650", + "$id": "674", "type": { - "$id": "651", + "$id": "675", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7574,48 +7936,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "652", + "$id": "676", "kind": "client", "name": "UnionIntLiteral", "namespace": "Scm._Type.Property.Optionality", "methods": [ { - "$id": "653", + "$id": "677", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "654", + "$id": "678", "name": "getAll", "resourceName": "UnionIntLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "655", + "$id": "679", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "656", - "kind": "constant", - "name": "getAllContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "657", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -7630,12 +7979,12 @@ ], "responses": [ { - "$id": "658", + "$id": "680", "statusCodes": [ 200 ], "bodyType": { - "$ref": "97" + "$ref": "225" }, "headers": [], "isErrorResponse": false, @@ -7655,11 +8004,11 @@ }, "parameters": [ { - "$id": "659", + "$id": "681", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "656" + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -7673,9 +8022,9 @@ } ], "response": { - "$id": "660", + "$id": "682", "type": { - "$ref": "97" + "$ref": "225" } }, "isOverride": false, @@ -7684,38 +8033,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral.getAll" }, { - "$id": "661", + "$id": "683", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "662", + "$id": "684", "name": "getDefault", "resourceName": "UnionIntLiteral", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "663", + "$id": "685", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "664", - "kind": "constant", - "name": "getDefaultContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "665", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -7730,12 +8066,12 @@ ], "responses": [ { - "$id": "666", + "$id": "686", "statusCodes": [ 200 ], "bodyType": { - "$ref": "97" + "$ref": "225" }, "headers": [], "isErrorResponse": false, @@ -7755,11 +8091,11 @@ }, "parameters": [ { - "$id": "667", + "$id": "687", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "664" + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -7773,9 +8109,9 @@ } ], "response": { - "$id": "668", + "$id": "688", "type": { - "$ref": "97" + "$ref": "225" } }, "isOverride": false, @@ -7784,39 +8120,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral.getDefault" }, { - "$id": "669", + "$id": "689", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "670", + "$id": "690", "name": "putAll", "resourceName": "UnionIntLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "671", + "$id": "691", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "672", - "kind": "constant", - "name": "putAllContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "673", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "142" }, "location": "Header", "isApiVersion": false, @@ -7829,11 +8152,11 @@ "skipUrlEncoding": false }, { - "$id": "674", + "$id": "692", "name": "body", "nameInRequest": "body", "type": { - "$ref": "97" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -7848,7 +8171,7 @@ ], "responses": [ { - "$id": "675", + "$id": "693", "statusCodes": [ 204 ], @@ -7870,11 +8193,11 @@ }, "parameters": [ { - "$id": "676", + "$id": "694", "name": "body", "nameInRequest": "body", "type": { - "$ref": "97" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -7887,12 +8210,12 @@ "skipUrlEncoding": false }, { - "$id": "677", + "$id": "695", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "672" + "$ref": "142" }, "location": "Header", "isApiVersion": false, @@ -7906,7 +8229,7 @@ } ], "response": { - "$id": "678" + "$id": "696" }, "isOverride": false, "generateConvenient": true, @@ -7914,39 +8237,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral.putAll" }, { - "$id": "679", + "$id": "697", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "680", + "$id": "698", "name": "putDefault", "resourceName": "UnionIntLiteral", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "681", + "$id": "699", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "682", - "kind": "constant", - "name": "putDefaultContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "683", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "144" }, "location": "Header", "isApiVersion": false, @@ -7959,11 +8269,11 @@ "skipUrlEncoding": false }, { - "$id": "684", + "$id": "700", "name": "body", "nameInRequest": "body", "type": { - "$ref": "97" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -7978,7 +8288,7 @@ ], "responses": [ { - "$id": "685", + "$id": "701", "statusCodes": [ 204 ], @@ -8000,11 +8310,11 @@ }, "parameters": [ { - "$id": "686", + "$id": "702", "name": "body", "nameInRequest": "body", "type": { - "$ref": "97" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -8017,12 +8327,12 @@ "skipUrlEncoding": false }, { - "$id": "687", + "$id": "703", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "682" + "$ref": "144" }, "location": "Header", "isApiVersion": false, @@ -8036,7 +8346,7 @@ } ], "response": { - "$id": "688" + "$id": "704" }, "isOverride": false, "generateConvenient": true, @@ -8046,12 +8356,12 @@ ], "parameters": [ { - "$id": "689", + "$id": "705", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "690", + "$id": "706", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8065,9 +8375,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "691", + "$id": "707", "type": { - "$id": "692", + "$id": "708", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8080,48 +8390,35 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "693", + "$id": "709", "kind": "client", "name": "UnionFloatLiteral", "namespace": "Scm._Type.Property.Optionality", "methods": [ { - "$id": "694", + "$id": "710", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "695", + "$id": "711", "name": "getAll", "resourceName": "UnionFloatLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "696", + "$id": "712", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "697", - "kind": "constant", - "name": "getAllContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "698", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "146" }, "location": "Header", "isApiVersion": false, @@ -8136,12 +8433,12 @@ ], "responses": [ { - "$id": "699", + "$id": "713", "statusCodes": [ 200 ], "bodyType": { - "$ref": "101" + "$ref": "229" }, "headers": [], "isErrorResponse": false, @@ -8161,11 +8458,11 @@ }, "parameters": [ { - "$id": "700", + "$id": "714", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "697" + "$ref": "146" }, "location": "Header", "isApiVersion": false, @@ -8179,9 +8476,9 @@ } ], "response": { - "$id": "701", + "$id": "715", "type": { - "$ref": "101" + "$ref": "229" } }, "isOverride": false, @@ -8190,38 +8487,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral.getAll" }, { - "$id": "702", + "$id": "716", "kind": "basic", "name": "getDefault", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { - "$id": "703", + "$id": "717", "name": "getDefault", "resourceName": "UnionFloatLiteral", "doc": "Get models that will return the default object", "accessibility": "public", "parameters": [ { - "$id": "704", + "$id": "718", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "705", - "kind": "constant", - "name": "getDefaultContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "706", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "148" }, "location": "Header", "isApiVersion": false, @@ -8236,12 +8520,12 @@ ], "responses": [ { - "$id": "707", + "$id": "719", "statusCodes": [ 200 ], "bodyType": { - "$ref": "101" + "$ref": "229" }, "headers": [], "isErrorResponse": false, @@ -8261,11 +8545,11 @@ }, "parameters": [ { - "$id": "708", + "$id": "720", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "705" + "$ref": "148" }, "location": "Header", "isApiVersion": false, @@ -8279,9 +8563,9 @@ } ], "response": { - "$id": "709", + "$id": "721", "type": { - "$ref": "101" + "$ref": "229" } }, "isOverride": false, @@ -8290,39 +8574,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral.getDefault" }, { - "$id": "710", + "$id": "722", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "711", + "$id": "723", "name": "putAll", "resourceName": "UnionFloatLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "712", + "$id": "724", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "713", - "kind": "constant", - "name": "putAllContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "714", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "150" }, "location": "Header", "isApiVersion": false, @@ -8335,11 +8606,11 @@ "skipUrlEncoding": false }, { - "$id": "715", + "$id": "725", "name": "body", "nameInRequest": "body", "type": { - "$ref": "101" + "$ref": "229" }, "location": "Body", "isApiVersion": false, @@ -8354,7 +8625,7 @@ ], "responses": [ { - "$id": "716", + "$id": "726", "statusCodes": [ 204 ], @@ -8376,11 +8647,11 @@ }, "parameters": [ { - "$id": "717", + "$id": "727", "name": "body", "nameInRequest": "body", "type": { - "$ref": "101" + "$ref": "229" }, "location": "Body", "isApiVersion": false, @@ -8393,12 +8664,12 @@ "skipUrlEncoding": false }, { - "$id": "718", + "$id": "728", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "713" + "$ref": "150" }, "location": "Header", "isApiVersion": false, @@ -8412,7 +8683,7 @@ } ], "response": { - "$id": "719" + "$id": "729" }, "isOverride": false, "generateConvenient": true, @@ -8420,39 +8691,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral.putAll" }, { - "$id": "720", + "$id": "730", "kind": "basic", "name": "putDefault", "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { - "$id": "721", + "$id": "731", "name": "putDefault", "resourceName": "UnionFloatLiteral", "doc": "Put a body with default properties.", "accessibility": "public", "parameters": [ { - "$id": "722", + "$id": "732", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "723", - "kind": "constant", - "name": "putDefaultContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "724", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "152" }, "location": "Header", "isApiVersion": false, @@ -8465,11 +8723,11 @@ "skipUrlEncoding": false }, { - "$id": "725", + "$id": "733", "name": "body", "nameInRequest": "body", "type": { - "$ref": "101" + "$ref": "229" }, "location": "Body", "isApiVersion": false, @@ -8484,7 +8742,7 @@ ], "responses": [ { - "$id": "726", + "$id": "734", "statusCodes": [ 204 ], @@ -8506,11 +8764,11 @@ }, "parameters": [ { - "$id": "727", + "$id": "735", "name": "body", "nameInRequest": "body", "type": { - "$ref": "101" + "$ref": "229" }, "location": "Body", "isApiVersion": false, @@ -8523,12 +8781,12 @@ "skipUrlEncoding": false }, { - "$id": "728", + "$id": "736", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "723" + "$ref": "152" }, "location": "Header", "isApiVersion": false, @@ -8542,7 +8800,7 @@ } ], "response": { - "$id": "729" + "$id": "737" }, "isOverride": false, "generateConvenient": true, @@ -8552,12 +8810,12 @@ ], "parameters": [ { - "$id": "730", + "$id": "738", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "731", + "$id": "739", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8571,9 +8829,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "732", + "$id": "740", "type": { - "$id": "733", + "$id": "741", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8586,49 +8844,36 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } }, { - "$id": "734", + "$id": "742", "kind": "client", "name": "RequiredAndOptional", "namespace": "Scm._Type.Property.Optionality", "doc": "Test optional and required properties", "methods": [ { - "$id": "735", + "$id": "743", "kind": "basic", "name": "getAll", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { - "$id": "736", + "$id": "744", "name": "getAll", "resourceName": "RequiredAndOptional", "doc": "Get models that will return all properties in the model", "accessibility": "public", "parameters": [ { - "$id": "737", + "$id": "745", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "738", - "kind": "constant", - "name": "getAllContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "739", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "154" }, "location": "Header", "isApiVersion": false, @@ -8643,12 +8888,12 @@ ], "responses": [ { - "$id": "740", + "$id": "746", "statusCodes": [ 200 ], "bodyType": { - "$ref": "105" + "$ref": "233" }, "headers": [], "isErrorResponse": false, @@ -8668,11 +8913,11 @@ }, "parameters": [ { - "$id": "741", + "$id": "747", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "738" + "$ref": "154" }, "location": "Header", "isApiVersion": false, @@ -8686,9 +8931,9 @@ } ], "response": { - "$id": "742", + "$id": "748", "type": { - "$ref": "105" + "$ref": "233" } }, "isOverride": false, @@ -8697,38 +8942,25 @@ "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional.getAll" }, { - "$id": "743", + "$id": "749", "kind": "basic", "name": "getRequiredOnly", "accessibility": "public", "apiVersions": [], "doc": "Get models that will return only the required properties", "operation": { - "$id": "744", + "$id": "750", "name": "getRequiredOnly", "resourceName": "RequiredAndOptional", "doc": "Get models that will return only the required properties", "accessibility": "public", "parameters": [ { - "$id": "745", + "$id": "751", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "746", - "kind": "constant", - "name": "getRequiredOnlyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "747", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -8743,12 +8975,12 @@ ], "responses": [ { - "$id": "748", + "$id": "752", "statusCodes": [ 200 ], "bodyType": { - "$ref": "105" + "$ref": "233" }, "headers": [], "isErrorResponse": false, @@ -8768,11 +9000,11 @@ }, "parameters": [ { - "$id": "749", + "$id": "753", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "746" + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -8786,9 +9018,9 @@ } ], "response": { - "$id": "750", + "$id": "754", "type": { - "$ref": "105" + "$ref": "233" } }, "isOverride": false, @@ -8797,39 +9029,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional.getRequiredOnly" }, { - "$id": "751", + "$id": "755", "kind": "basic", "name": "putAll", "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { - "$id": "752", + "$id": "756", "name": "putAll", "resourceName": "RequiredAndOptional", "doc": "Put a body with all properties present.", "accessibility": "public", "parameters": [ { - "$id": "753", + "$id": "757", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "754", - "kind": "constant", - "name": "putAllContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "755", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -8842,11 +9061,11 @@ "skipUrlEncoding": false }, { - "$id": "756", + "$id": "758", "name": "body", "nameInRequest": "body", "type": { - "$ref": "105" + "$ref": "233" }, "location": "Body", "isApiVersion": false, @@ -8861,7 +9080,7 @@ ], "responses": [ { - "$id": "757", + "$id": "759", "statusCodes": [ 204 ], @@ -8883,11 +9102,11 @@ }, "parameters": [ { - "$id": "758", + "$id": "760", "name": "body", "nameInRequest": "body", "type": { - "$ref": "105" + "$ref": "233" }, "location": "Body", "isApiVersion": false, @@ -8900,12 +9119,12 @@ "skipUrlEncoding": false }, { - "$id": "759", + "$id": "761", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "754" + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -8919,7 +9138,7 @@ } ], "response": { - "$id": "760" + "$id": "762" }, "isOverride": false, "generateConvenient": true, @@ -8927,39 +9146,26 @@ "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional.putAll" }, { - "$id": "761", + "$id": "763", "kind": "basic", "name": "putRequiredOnly", "accessibility": "public", "apiVersions": [], "doc": "Put a body with only required properties.", "operation": { - "$id": "762", + "$id": "764", "name": "putRequiredOnly", "resourceName": "RequiredAndOptional", "doc": "Put a body with only required properties.", "accessibility": "public", "parameters": [ { - "$id": "763", + "$id": "765", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "764", - "kind": "constant", - "name": "putRequiredOnlyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "765", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -8976,7 +9182,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "105" + "$ref": "233" }, "location": "Body", "isApiVersion": false, @@ -9017,7 +9223,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "105" + "$ref": "233" }, "location": "Body", "isApiVersion": false, @@ -9035,7 +9241,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "764" + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -9093,7 +9299,7 @@ "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional", "apiVersions": [], "parent": { - "$ref": "114" + "$ref": "242" } } ] diff --git a/test/CadlRanchProjectsNonAzure/type/property/value-types/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/property/value-types/tspCodeModel.json index ae4fe9b3384..2b10efdbc49 100644 --- a/test/CadlRanchProjectsNonAzure/type/property/value-types/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/property/value-types/tspCodeModel.json @@ -413,9 +413,991 @@ "decorators": [] } ], + "constants": [ + { + "$id": "45", + "kind": "constant", + "name": "StringLiteralPropertyProperty", + "namespace": "Scm._Type.Property.ValueTypes", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "36" + }, + "value": "hello", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "IntLiteralPropertyProperty", + "namespace": "Scm._Type.Property.ValueTypes", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "39" + }, + "value": 42, + "decorators": [] + }, + { + "$id": "47", + "kind": "constant", + "name": "FloatLiteralPropertyProperty", + "namespace": "Scm._Type.Property.ValueTypes", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "42" + }, + "value": 43.125, + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "BooleanLiteralPropertyProperty", + "namespace": "Scm._Type.Property.ValueTypes", + "usage": "Input,Output,Json", + "valueType": { + "$id": "49", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "putContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "putContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "getContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "putContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "getContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "putContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "getContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "putContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "70", + "kind": "constant", + "name": "getContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "72", + "kind": "constant", + "name": "putContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "74", + "kind": "constant", + "name": "getContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "76", + "kind": "constant", + "name": "putContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "78", + "kind": "constant", + "name": "getContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "80", + "kind": "constant", + "name": "putContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "82", + "kind": "constant", + "name": "getContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "84", + "kind": "constant", + "name": "putContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "86", + "kind": "constant", + "name": "getContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "88", + "kind": "constant", + "name": "putContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "90", + "kind": "constant", + "name": "getContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "91", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "92", + "kind": "constant", + "name": "putContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "94", + "kind": "constant", + "name": "getContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "96", + "kind": "constant", + "name": "putContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "98", + "kind": "constant", + "name": "getContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "100", + "kind": "constant", + "name": "putContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "102", + "kind": "constant", + "name": "getContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "104", + "kind": "constant", + "name": "putContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "106", + "kind": "constant", + "name": "getContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "107", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "108", + "kind": "constant", + "name": "putContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "109", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "110", + "kind": "constant", + "name": "getContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "112", + "kind": "constant", + "name": "putContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "114", + "kind": "constant", + "name": "getContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "116", + "kind": "constant", + "name": "putContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "118", + "kind": "constant", + "name": "getContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "119", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "120", + "kind": "constant", + "name": "putContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "121", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "122", + "kind": "constant", + "name": "getContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "124", + "kind": "constant", + "name": "putContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "126", + "kind": "constant", + "name": "getContentType19", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "128", + "kind": "constant", + "name": "putContentType19", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "130", + "kind": "constant", + "name": "getContentType20", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "132", + "kind": "constant", + "name": "putContentType20", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "134", + "kind": "constant", + "name": "getContentType21", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "136", + "kind": "constant", + "name": "putContentType21", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "138", + "kind": "constant", + "name": "getContentType22", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "140", + "kind": "constant", + "name": "putContentType22", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "142", + "kind": "constant", + "name": "getContentType23", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "143", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "144", + "kind": "constant", + "name": "putContentType23", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "145", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "146", + "kind": "constant", + "name": "getContentType24", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "147", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "148", + "kind": "constant", + "name": "putContentType24", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "149", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "150", + "kind": "constant", + "name": "getContentType25", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "151", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "152", + "kind": "constant", + "name": "putContentType25", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "153", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "154", + "kind": "constant", + "name": "getContentType26", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "155", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "156", + "kind": "constant", + "name": "putContentType26", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "157", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "158", + "kind": "constant", + "name": "getContentType27", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "160", + "kind": "constant", + "name": "putContentType27", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "162", + "kind": "constant", + "name": "getContentType28", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "163", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "164", + "kind": "constant", + "name": "putContentType28", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "165", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [ { - "$id": "45", + "$id": "166", "kind": "model", "name": "BooleanProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -425,13 +1407,13 @@ "decorators": [], "properties": [ { - "$id": "46", + "$id": "167", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "47", + "$id": "168", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -444,9 +1426,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.BooleanProperty.property", "serializationOptions": { - "$id": "48", + "$id": "169", "json": { - "$id": "49", + "$id": "170", "name": "property" } } @@ -454,7 +1436,7 @@ ] }, { - "$id": "50", + "$id": "171", "kind": "model", "name": "StringProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -464,13 +1446,13 @@ "decorators": [], "properties": [ { - "$id": "51", + "$id": "172", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "52", + "$id": "173", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -483,9 +1465,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.StringProperty.property", "serializationOptions": { - "$id": "53", + "$id": "174", "json": { - "$id": "54", + "$id": "175", "name": "property" } } @@ -493,7 +1475,7 @@ ] }, { - "$id": "55", + "$id": "176", "kind": "model", "name": "BytesProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -503,13 +1485,13 @@ "decorators": [], "properties": [ { - "$id": "56", + "$id": "177", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "57", + "$id": "178", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -523,9 +1505,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.BytesProperty.property", "serializationOptions": { - "$id": "58", + "$id": "179", "json": { - "$id": "59", + "$id": "180", "name": "property" } } @@ -533,7 +1515,7 @@ ] }, { - "$id": "60", + "$id": "181", "kind": "model", "name": "IntProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -543,13 +1525,13 @@ "decorators": [], "properties": [ { - "$id": "61", + "$id": "182", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "62", + "$id": "183", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -562,9 +1544,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.IntProperty.property", "serializationOptions": { - "$id": "63", + "$id": "184", "json": { - "$id": "64", + "$id": "185", "name": "property" } } @@ -572,7 +1554,7 @@ ] }, { - "$id": "65", + "$id": "186", "kind": "model", "name": "FloatProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -582,13 +1564,13 @@ "decorators": [], "properties": [ { - "$id": "66", + "$id": "187", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "67", + "$id": "188", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -601,9 +1583,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.FloatProperty.property", "serializationOptions": { - "$id": "68", + "$id": "189", "json": { - "$id": "69", + "$id": "190", "name": "property" } } @@ -611,7 +1593,7 @@ ] }, { - "$id": "70", + "$id": "191", "kind": "model", "name": "DecimalProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -621,13 +1603,13 @@ "decorators": [], "properties": [ { - "$id": "71", + "$id": "192", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "72", + "$id": "193", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -640,9 +1622,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.DecimalProperty.property", "serializationOptions": { - "$id": "73", + "$id": "194", "json": { - "$id": "74", + "$id": "195", "name": "property" } } @@ -650,7 +1632,7 @@ ] }, { - "$id": "75", + "$id": "196", "kind": "model", "name": "Decimal128Property", "namespace": "Scm._Type.Property.ValueTypes", @@ -660,13 +1642,13 @@ "decorators": [], "properties": [ { - "$id": "76", + "$id": "197", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "77", + "$id": "198", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -679,9 +1661,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal128Property.property", "serializationOptions": { - "$id": "78", + "$id": "199", "json": { - "$id": "79", + "$id": "200", "name": "property" } } @@ -689,7 +1671,7 @@ ] }, { - "$id": "80", + "$id": "201", "kind": "model", "name": "DatetimeProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -699,18 +1681,18 @@ "decorators": [], "properties": [ { - "$id": "81", + "$id": "202", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "82", + "$id": "203", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "83", + "$id": "204", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -726,9 +1708,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.DatetimeProperty.property", "serializationOptions": { - "$id": "84", + "$id": "205", "json": { - "$id": "85", + "$id": "206", "name": "property" } } @@ -736,7 +1718,7 @@ ] }, { - "$id": "86", + "$id": "207", "kind": "model", "name": "DurationProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -746,18 +1728,18 @@ "decorators": [], "properties": [ { - "$id": "87", + "$id": "208", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "88", + "$id": "209", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "89", + "$id": "210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -773,9 +1755,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.DurationProperty.property", "serializationOptions": { - "$id": "90", + "$id": "211", "json": { - "$id": "91", + "$id": "212", "name": "property" } } @@ -783,7 +1765,7 @@ ] }, { - "$id": "92", + "$id": "213", "kind": "model", "name": "EnumProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -793,7 +1775,7 @@ "decorators": [], "properties": [ { - "$id": "93", + "$id": "214", "kind": "property", "name": "property", "serializedName": "property", @@ -808,9 +1790,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.EnumProperty.property", "serializationOptions": { - "$id": "94", + "$id": "215", "json": { - "$id": "95", + "$id": "216", "name": "property" } } @@ -818,7 +1800,7 @@ ] }, { - "$id": "96", + "$id": "217", "kind": "model", "name": "ExtensibleEnumProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -828,7 +1810,7 @@ "decorators": [], "properties": [ { - "$id": "97", + "$id": "218", "kind": "property", "name": "property", "serializedName": "property", @@ -843,9 +1825,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.ExtensibleEnumProperty.property", "serializationOptions": { - "$id": "98", + "$id": "219", "json": { - "$id": "99", + "$id": "220", "name": "property" } } @@ -853,7 +1835,7 @@ ] }, { - "$id": "100", + "$id": "221", "kind": "model", "name": "ModelProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -863,13 +1845,13 @@ "decorators": [], "properties": [ { - "$id": "101", + "$id": "222", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "102", + "$id": "223", "kind": "model", "name": "InnerModel", "namespace": "Scm._Type.Property.ValueTypes", @@ -879,13 +1861,13 @@ "decorators": [], "properties": [ { - "$id": "103", + "$id": "224", "kind": "property", "name": "property", "serializedName": "property", "doc": "Required string property", "type": { - "$id": "104", + "$id": "225", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -898,9 +1880,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.InnerModel.property", "serializationOptions": { - "$id": "105", + "$id": "226", "json": { - "$id": "106", + "$id": "227", "name": "property" } } @@ -914,9 +1896,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.ModelProperty.property", "serializationOptions": { - "$id": "107", + "$id": "228", "json": { - "$id": "108", + "$id": "229", "name": "property" } } @@ -924,10 +1906,10 @@ ] }, { - "$ref": "102" + "$ref": "223" }, { - "$id": "109", + "$id": "230", "kind": "model", "name": "CollectionsStringProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -937,17 +1919,17 @@ "decorators": [], "properties": [ { - "$id": "110", + "$id": "231", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "111", + "$id": "232", "kind": "array", "name": "Array", "valueType": { - "$id": "112", + "$id": "233", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -963,9 +1945,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsStringProperty.property", "serializationOptions": { - "$id": "113", + "$id": "234", "json": { - "$id": "114", + "$id": "235", "name": "property" } } @@ -973,7 +1955,7 @@ ] }, { - "$id": "115", + "$id": "236", "kind": "model", "name": "CollectionsIntProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -983,17 +1965,17 @@ "decorators": [], "properties": [ { - "$id": "116", + "$id": "237", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "117", + "$id": "238", "kind": "array", "name": "Array1", "valueType": { - "$id": "118", + "$id": "239", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1009,9 +1991,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsIntProperty.property", "serializationOptions": { - "$id": "119", + "$id": "240", "json": { - "$id": "120", + "$id": "241", "name": "property" } } @@ -1019,7 +2001,7 @@ ] }, { - "$id": "121", + "$id": "242", "kind": "model", "name": "CollectionsModelProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -1029,17 +2011,17 @@ "decorators": [], "properties": [ { - "$id": "122", + "$id": "243", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "123", + "$id": "244", "kind": "array", "name": "ArrayInnerModel", "valueType": { - "$ref": "102" + "$ref": "223" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1051,9 +2033,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsModelProperty.property", "serializationOptions": { - "$id": "124", + "$id": "245", "json": { - "$id": "125", + "$id": "246", "name": "property" } } @@ -1061,7 +2043,7 @@ ] }, { - "$id": "126", + "$id": "247", "kind": "model", "name": "DictionaryStringProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -1071,23 +2053,23 @@ "decorators": [], "properties": [ { - "$id": "127", + "$id": "248", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "128", + "$id": "249", "kind": "dict", "keyType": { - "$id": "129", + "$id": "250", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "130", + "$id": "251", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1102,9 +2084,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.DictionaryStringProperty.property", "serializationOptions": { - "$id": "131", + "$id": "252", "json": { - "$id": "132", + "$id": "253", "name": "property" } } @@ -1112,7 +2094,7 @@ ] }, { - "$id": "133", + "$id": "254", "kind": "model", "name": "NeverProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -1123,7 +2105,7 @@ "properties": [] }, { - "$id": "134", + "$id": "255", "kind": "model", "name": "UnknownStringProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -1133,13 +2115,13 @@ "decorators": [], "properties": [ { - "$id": "135", + "$id": "256", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "136", + "$id": "257", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1152,9 +2134,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownStringProperty.property", "serializationOptions": { - "$id": "137", + "$id": "258", "json": { - "$id": "138", + "$id": "259", "name": "property" } } @@ -1162,7 +2144,7 @@ ] }, { - "$id": "139", + "$id": "260", "kind": "model", "name": "UnknownIntProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -1172,13 +2154,13 @@ "decorators": [], "properties": [ { - "$id": "140", + "$id": "261", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "141", + "$id": "262", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1191,9 +2173,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownIntProperty.property", "serializationOptions": { - "$id": "142", + "$id": "263", "json": { - "$id": "143", + "$id": "264", "name": "property" } } @@ -1201,7 +2183,7 @@ ] }, { - "$id": "144", + "$id": "265", "kind": "model", "name": "UnknownDictProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -1211,13 +2193,13 @@ "decorators": [], "properties": [ { - "$id": "145", + "$id": "266", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "146", + "$id": "267", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1230,9 +2212,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownDictProperty.property", "serializationOptions": { - "$id": "147", + "$id": "268", "json": { - "$id": "148", + "$id": "269", "name": "property" } } @@ -1240,7 +2222,7 @@ ] }, { - "$id": "149", + "$id": "270", "kind": "model", "name": "UnknownArrayProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -1250,13 +2232,13 @@ "decorators": [], "properties": [ { - "$id": "150", + "$id": "271", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "151", + "$id": "272", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1269,9 +2251,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownArrayProperty.property", "serializationOptions": { - "$id": "152", + "$id": "273", "json": { - "$id": "153", + "$id": "274", "name": "property" } } @@ -1279,7 +2261,7 @@ ] }, { - "$id": "154", + "$id": "275", "kind": "model", "name": "StringLiteralProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -1289,22 +2271,13 @@ "decorators": [], "properties": [ { - "$id": "155", + "$id": "276", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "156", - "kind": "constant", - "name": "StringLiteralPropertyProperty", - "namespace": "Scm._Type.Property.ValueTypes", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "36" - }, - "value": "hello", - "decorators": [] + "$ref": "45" }, "optional": false, "readOnly": false, @@ -1313,9 +2286,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.StringLiteralProperty.property", "serializationOptions": { - "$id": "157", + "$id": "277", "json": { - "$id": "158", + "$id": "278", "name": "property" } } @@ -1323,7 +2296,7 @@ ] }, { - "$id": "159", + "$id": "279", "kind": "model", "name": "IntLiteralProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -1333,22 +2306,13 @@ "decorators": [], "properties": [ { - "$id": "160", + "$id": "280", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "161", - "kind": "constant", - "name": "IntLiteralPropertyProperty", - "namespace": "Scm._Type.Property.ValueTypes", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "39" - }, - "value": 42, - "decorators": [] + "$ref": "46" }, "optional": false, "readOnly": false, @@ -1357,9 +2321,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.IntLiteralProperty.property", "serializationOptions": { - "$id": "162", + "$id": "281", "json": { - "$id": "163", + "$id": "282", "name": "property" } } @@ -1367,7 +2331,7 @@ ] }, { - "$id": "164", + "$id": "283", "kind": "model", "name": "FloatLiteralProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -1377,22 +2341,13 @@ "decorators": [], "properties": [ { - "$id": "165", + "$id": "284", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "166", - "kind": "constant", - "name": "FloatLiteralPropertyProperty", - "namespace": "Scm._Type.Property.ValueTypes", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "42" - }, - "value": 43.125, - "decorators": [] + "$ref": "47" }, "optional": false, "readOnly": false, @@ -1401,9 +2356,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.FloatLiteralProperty.property", "serializationOptions": { - "$id": "167", + "$id": "285", "json": { - "$id": "168", + "$id": "286", "name": "property" } } @@ -1411,7 +2366,7 @@ ] }, { - "$id": "169", + "$id": "287", "kind": "model", "name": "BooleanLiteralProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -1421,26 +2376,13 @@ "decorators": [], "properties": [ { - "$id": "170", + "$id": "288", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", - "type": { - "$id": "171", - "kind": "constant", - "name": "BooleanLiteralPropertyProperty", - "namespace": "Scm._Type.Property.ValueTypes", - "usage": "Input,Output,Json", - "valueType": { - "$id": "172", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "type": { + "$ref": "48" }, "optional": false, "readOnly": false, @@ -1449,9 +2391,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.BooleanLiteralProperty.property", "serializationOptions": { - "$id": "173", + "$id": "289", "json": { - "$id": "174", + "$id": "290", "name": "property" } } @@ -1459,7 +2401,7 @@ ] }, { - "$id": "175", + "$id": "291", "kind": "model", "name": "UnionStringLiteralProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -1469,7 +2411,7 @@ "decorators": [], "properties": [ { - "$id": "176", + "$id": "292", "kind": "property", "name": "property", "serializedName": "property", @@ -1484,9 +2426,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionStringLiteralProperty.property", "serializationOptions": { - "$id": "177", + "$id": "293", "json": { - "$id": "178", + "$id": "294", "name": "property" } } @@ -1494,7 +2436,7 @@ ] }, { - "$id": "179", + "$id": "295", "kind": "model", "name": "UnionIntLiteralProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -1504,7 +2446,7 @@ "decorators": [], "properties": [ { - "$id": "180", + "$id": "296", "kind": "property", "name": "property", "serializedName": "property", @@ -1519,9 +2461,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionIntLiteralProperty.property", "serializationOptions": { - "$id": "181", + "$id": "297", "json": { - "$id": "182", + "$id": "298", "name": "property" } } @@ -1529,7 +2471,7 @@ ] }, { - "$id": "183", + "$id": "299", "kind": "model", "name": "UnionFloatLiteralProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -1539,7 +2481,7 @@ "decorators": [], "properties": [ { - "$id": "184", + "$id": "300", "kind": "property", "name": "property", "serializedName": "property", @@ -1554,9 +2496,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionFloatLiteralProperty.property", "serializationOptions": { - "$id": "185", + "$id": "301", "json": { - "$id": "186", + "$id": "302", "name": "property" } } @@ -1564,7 +2506,7 @@ ] }, { - "$id": "187", + "$id": "303", "kind": "model", "name": "UnionEnumValueProperty", "namespace": "Scm._Type.Property.ValueTypes", @@ -1574,18 +2516,18 @@ "decorators": [], "properties": [ { - "$id": "188", + "$id": "304", "kind": "property", "name": "property", "serializedName": "property", "doc": "Property", "type": { - "$id": "189", + "$id": "305", "kind": "enumvalue", "name": "EnumValue2", "value": "value2", "valueType": { - "$id": "190", + "$id": "306", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1603,9 +2545,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionEnumValueProperty.property", "serializationOptions": { - "$id": "191", + "$id": "307", "json": { - "$id": "192", + "$id": "308", "name": "property" } } @@ -1615,7 +2557,7 @@ ], "clients": [ { - "$id": "193", + "$id": "309", "kind": "client", "name": "ValueTypesClient", "namespace": "Scm._Type.Property.ValueTypes", @@ -1623,12 +2565,12 @@ "methods": [], "parameters": [ { - "$id": "194", + "$id": "310", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "195", + "$id": "311", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1642,9 +2584,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "196", + "$id": "312", "type": { - "$id": "197", + "$id": "313", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1658,44 +2600,31 @@ "apiVersions": [], "children": [ { - "$id": "198", + "$id": "314", "kind": "client", "name": "Boolean", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "199", + "$id": "315", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "200", + "$id": "316", "name": "get", "resourceName": "Boolean", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "201", + "$id": "317", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "202", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "203", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -1710,12 +2639,12 @@ ], "responses": [ { - "$id": "204", + "$id": "318", "statusCodes": [ 200 ], "bodyType": { - "$ref": "45" + "$ref": "166" }, "headers": [], "isErrorResponse": false, @@ -1735,11 +2664,11 @@ }, "parameters": [ { - "$id": "205", + "$id": "319", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "202" + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -1753,9 +2682,9 @@ } ], "response": { - "$id": "206", + "$id": "320", "type": { - "$ref": "45" + "$ref": "166" } }, "isOverride": false, @@ -1764,39 +2693,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Boolean.get" }, { - "$id": "207", + "$id": "321", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "208", + "$id": "322", "name": "put", "resourceName": "Boolean", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "209", + "$id": "323", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "210", - "kind": "constant", - "name": "putContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "211", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -1809,12 +2725,12 @@ "skipUrlEncoding": false }, { - "$id": "212", + "$id": "324", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "45" + "$ref": "166" }, "location": "Body", "isApiVersion": false, @@ -1829,7 +2745,7 @@ ], "responses": [ { - "$id": "213", + "$id": "325", "statusCodes": [ 204 ], @@ -1851,12 +2767,12 @@ }, "parameters": [ { - "$id": "214", + "$id": "326", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "45" + "$ref": "166" }, "location": "Body", "isApiVersion": false, @@ -1869,12 +2785,12 @@ "skipUrlEncoding": false }, { - "$id": "215", + "$id": "327", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "210" + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -1888,7 +2804,7 @@ } ], "response": { - "$id": "216" + "$id": "328" }, "isOverride": false, "generateConvenient": true, @@ -1898,12 +2814,12 @@ ], "parameters": [ { - "$id": "217", + "$id": "329", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "218", + "$id": "330", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1917,9 +2833,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "219", + "$id": "331", "type": { - "$id": "220", + "$id": "332", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1932,48 +2848,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Boolean", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "221", + "$id": "333", "kind": "client", "name": "String", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "222", + "$id": "334", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "223", + "$id": "335", "name": "get", "resourceName": "String", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "224", + "$id": "336", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "225", - "kind": "constant", - "name": "getContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "226", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -1988,12 +2891,12 @@ ], "responses": [ { - "$id": "227", + "$id": "337", "statusCodes": [ 200 ], "bodyType": { - "$ref": "50" + "$ref": "171" }, "headers": [], "isErrorResponse": false, @@ -2013,11 +2916,11 @@ }, "parameters": [ { - "$id": "228", + "$id": "338", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "225" + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -2031,9 +2934,9 @@ } ], "response": { - "$id": "229", + "$id": "339", "type": { - "$ref": "50" + "$ref": "171" } }, "isOverride": false, @@ -2042,39 +2945,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.String.get" }, { - "$id": "230", + "$id": "340", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "231", + "$id": "341", "name": "put", "resourceName": "String", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "232", + "$id": "342", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "233", - "kind": "constant", - "name": "putContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "234", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -2087,12 +2977,12 @@ "skipUrlEncoding": false }, { - "$id": "235", + "$id": "343", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "50" + "$ref": "171" }, "location": "Body", "isApiVersion": false, @@ -2107,7 +2997,7 @@ ], "responses": [ { - "$id": "236", + "$id": "344", "statusCodes": [ 204 ], @@ -2129,12 +3019,12 @@ }, "parameters": [ { - "$id": "237", + "$id": "345", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "50" + "$ref": "171" }, "location": "Body", "isApiVersion": false, @@ -2147,12 +3037,12 @@ "skipUrlEncoding": false }, { - "$id": "238", + "$id": "346", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "233" + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -2166,7 +3056,7 @@ } ], "response": { - "$id": "239" + "$id": "347" }, "isOverride": false, "generateConvenient": true, @@ -2176,12 +3066,12 @@ ], "parameters": [ { - "$id": "240", + "$id": "348", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "241", + "$id": "349", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2195,9 +3085,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "242", + "$id": "350", "type": { - "$id": "243", + "$id": "351", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2210,48 +3100,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.String", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "244", + "$id": "352", "kind": "client", "name": "Bytes", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "245", + "$id": "353", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "246", + "$id": "354", "name": "get", "resourceName": "Bytes", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "247", + "$id": "355", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "248", - "kind": "constant", - "name": "getContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "249", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -2266,12 +3143,12 @@ ], "responses": [ { - "$id": "250", + "$id": "356", "statusCodes": [ 200 ], "bodyType": { - "$ref": "55" + "$ref": "176" }, "headers": [], "isErrorResponse": false, @@ -2291,11 +3168,11 @@ }, "parameters": [ { - "$id": "251", + "$id": "357", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "248" + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -2309,9 +3186,9 @@ } ], "response": { - "$id": "252", + "$id": "358", "type": { - "$ref": "55" + "$ref": "176" } }, "isOverride": false, @@ -2320,39 +3197,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Bytes.get" }, { - "$id": "253", + "$id": "359", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "254", + "$id": "360", "name": "put", "resourceName": "Bytes", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "255", + "$id": "361", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "256", - "kind": "constant", - "name": "putContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "257", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -2365,12 +3229,12 @@ "skipUrlEncoding": false }, { - "$id": "258", + "$id": "362", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "55" + "$ref": "176" }, "location": "Body", "isApiVersion": false, @@ -2385,7 +3249,7 @@ ], "responses": [ { - "$id": "259", + "$id": "363", "statusCodes": [ 204 ], @@ -2407,12 +3271,12 @@ }, "parameters": [ { - "$id": "260", + "$id": "364", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "55" + "$ref": "176" }, "location": "Body", "isApiVersion": false, @@ -2425,12 +3289,12 @@ "skipUrlEncoding": false }, { - "$id": "261", + "$id": "365", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "256" + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -2444,7 +3308,7 @@ } ], "response": { - "$id": "262" + "$id": "366" }, "isOverride": false, "generateConvenient": true, @@ -2454,12 +3318,12 @@ ], "parameters": [ { - "$id": "263", + "$id": "367", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "264", + "$id": "368", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2473,9 +3337,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "265", + "$id": "369", "type": { - "$id": "266", + "$id": "370", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2488,48 +3352,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Bytes", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "267", + "$id": "371", "kind": "client", "name": "Int", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "268", + "$id": "372", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "269", + "$id": "373", "name": "get", "resourceName": "Int", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "270", + "$id": "374", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "271", - "kind": "constant", - "name": "getContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "272", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -2544,12 +3395,12 @@ ], "responses": [ { - "$id": "273", + "$id": "375", "statusCodes": [ 200 ], "bodyType": { - "$ref": "60" + "$ref": "181" }, "headers": [], "isErrorResponse": false, @@ -2569,11 +3420,11 @@ }, "parameters": [ { - "$id": "274", + "$id": "376", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "271" + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -2587,9 +3438,9 @@ } ], "response": { - "$id": "275", + "$id": "377", "type": { - "$ref": "60" + "$ref": "181" } }, "isOverride": false, @@ -2598,39 +3449,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Int.get" }, { - "$id": "276", + "$id": "378", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "277", + "$id": "379", "name": "put", "resourceName": "Int", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "278", + "$id": "380", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "279", - "kind": "constant", - "name": "putContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "280", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -2643,12 +3481,12 @@ "skipUrlEncoding": false }, { - "$id": "281", + "$id": "381", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "60" + "$ref": "181" }, "location": "Body", "isApiVersion": false, @@ -2663,7 +3501,7 @@ ], "responses": [ { - "$id": "282", + "$id": "382", "statusCodes": [ 204 ], @@ -2685,12 +3523,12 @@ }, "parameters": [ { - "$id": "283", + "$id": "383", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "60" + "$ref": "181" }, "location": "Body", "isApiVersion": false, @@ -2703,12 +3541,12 @@ "skipUrlEncoding": false }, { - "$id": "284", + "$id": "384", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "279" + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -2722,7 +3560,7 @@ } ], "response": { - "$id": "285" + "$id": "385" }, "isOverride": false, "generateConvenient": true, @@ -2732,12 +3570,12 @@ ], "parameters": [ { - "$id": "286", + "$id": "386", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "287", + "$id": "387", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2751,9 +3589,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "288", + "$id": "388", "type": { - "$id": "289", + "$id": "389", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2766,48 +3604,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Int", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "290", + "$id": "390", "kind": "client", "name": "Float", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "291", + "$id": "391", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "292", + "$id": "392", "name": "get", "resourceName": "Float", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "293", + "$id": "393", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "294", - "kind": "constant", - "name": "getContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "295", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -2822,12 +3647,12 @@ ], "responses": [ { - "$id": "296", + "$id": "394", "statusCodes": [ 200 ], "bodyType": { - "$ref": "65" + "$ref": "186" }, "headers": [], "isErrorResponse": false, @@ -2847,11 +3672,11 @@ }, "parameters": [ { - "$id": "297", + "$id": "395", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "294" + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -2865,9 +3690,9 @@ } ], "response": { - "$id": "298", + "$id": "396", "type": { - "$ref": "65" + "$ref": "186" } }, "isOverride": false, @@ -2876,39 +3701,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Float.get" }, { - "$id": "299", + "$id": "397", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "300", + "$id": "398", "name": "put", "resourceName": "Float", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "301", + "$id": "399", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "302", - "kind": "constant", - "name": "putContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "303", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -2921,12 +3733,12 @@ "skipUrlEncoding": false }, { - "$id": "304", + "$id": "400", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "65" + "$ref": "186" }, "location": "Body", "isApiVersion": false, @@ -2941,7 +3753,7 @@ ], "responses": [ { - "$id": "305", + "$id": "401", "statusCodes": [ 204 ], @@ -2963,12 +3775,12 @@ }, "parameters": [ { - "$id": "306", + "$id": "402", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "65" + "$ref": "186" }, "location": "Body", "isApiVersion": false, @@ -2981,12 +3793,12 @@ "skipUrlEncoding": false }, { - "$id": "307", + "$id": "403", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "302" + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -3000,7 +3812,7 @@ } ], "response": { - "$id": "308" + "$id": "404" }, "isOverride": false, "generateConvenient": true, @@ -3010,12 +3822,12 @@ ], "parameters": [ { - "$id": "309", + "$id": "405", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "310", + "$id": "406", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3029,9 +3841,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "311", + "$id": "407", "type": { - "$id": "312", + "$id": "408", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3044,48 +3856,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Float", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "313", + "$id": "409", "kind": "client", "name": "Decimal", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "314", + "$id": "410", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "315", + "$id": "411", "name": "get", "resourceName": "Decimal", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "316", + "$id": "412", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "317", - "kind": "constant", - "name": "getContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "318", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -3100,12 +3899,12 @@ ], "responses": [ { - "$id": "319", + "$id": "413", "statusCodes": [ 200 ], "bodyType": { - "$ref": "70" + "$ref": "191" }, "headers": [], "isErrorResponse": false, @@ -3125,11 +3924,11 @@ }, "parameters": [ { - "$id": "320", + "$id": "414", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "317" + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -3143,9 +3942,9 @@ } ], "response": { - "$id": "321", + "$id": "415", "type": { - "$ref": "70" + "$ref": "191" } }, "isOverride": false, @@ -3154,39 +3953,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal.get" }, { - "$id": "322", + "$id": "416", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "323", + "$id": "417", "name": "put", "resourceName": "Decimal", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "324", + "$id": "418", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "325", - "kind": "constant", - "name": "putContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "326", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -3199,12 +3985,12 @@ "skipUrlEncoding": false }, { - "$id": "327", + "$id": "419", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "70" + "$ref": "191" }, "location": "Body", "isApiVersion": false, @@ -3219,7 +4005,7 @@ ], "responses": [ { - "$id": "328", + "$id": "420", "statusCodes": [ 204 ], @@ -3241,12 +4027,12 @@ }, "parameters": [ { - "$id": "329", + "$id": "421", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "70" + "$ref": "191" }, "location": "Body", "isApiVersion": false, @@ -3259,12 +4045,12 @@ "skipUrlEncoding": false }, { - "$id": "330", + "$id": "422", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "325" + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -3278,7 +4064,7 @@ } ], "response": { - "$id": "331" + "$id": "423" }, "isOverride": false, "generateConvenient": true, @@ -3288,12 +4074,12 @@ ], "parameters": [ { - "$id": "332", + "$id": "424", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "333", + "$id": "425", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3307,9 +4093,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "334", + "$id": "426", "type": { - "$id": "335", + "$id": "427", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3322,48 +4108,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "336", + "$id": "428", "kind": "client", "name": "Decimal128", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "337", + "$id": "429", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "338", + "$id": "430", "name": "get", "resourceName": "Decimal128", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "339", + "$id": "431", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "340", - "kind": "constant", - "name": "getContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "341", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3378,12 +4151,12 @@ ], "responses": [ { - "$id": "342", + "$id": "432", "statusCodes": [ 200 ], "bodyType": { - "$ref": "75" + "$ref": "196" }, "headers": [], "isErrorResponse": false, @@ -3403,11 +4176,11 @@ }, "parameters": [ { - "$id": "343", + "$id": "433", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "340" + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3421,9 +4194,9 @@ } ], "response": { - "$id": "344", + "$id": "434", "type": { - "$ref": "75" + "$ref": "196" } }, "isOverride": false, @@ -3432,39 +4205,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal128.get" }, { - "$id": "345", + "$id": "435", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "346", + "$id": "436", "name": "put", "resourceName": "Decimal128", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "347", + "$id": "437", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "348", - "kind": "constant", - "name": "putContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "349", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -3477,12 +4237,12 @@ "skipUrlEncoding": false }, { - "$id": "350", + "$id": "438", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "75" + "$ref": "196" }, "location": "Body", "isApiVersion": false, @@ -3497,7 +4257,7 @@ ], "responses": [ { - "$id": "351", + "$id": "439", "statusCodes": [ 204 ], @@ -3519,12 +4279,12 @@ }, "parameters": [ { - "$id": "352", + "$id": "440", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "75" + "$ref": "196" }, "location": "Body", "isApiVersion": false, @@ -3537,12 +4297,12 @@ "skipUrlEncoding": false }, { - "$id": "353", + "$id": "441", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "348" + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -3556,7 +4316,7 @@ } ], "response": { - "$id": "354" + "$id": "442" }, "isOverride": false, "generateConvenient": true, @@ -3566,12 +4326,12 @@ ], "parameters": [ { - "$id": "355", + "$id": "443", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "356", + "$id": "444", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3585,9 +4345,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "357", + "$id": "445", "type": { - "$id": "358", + "$id": "446", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3600,48 +4360,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal128", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "359", + "$id": "447", "kind": "client", "name": "Datetime", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "360", + "$id": "448", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "361", + "$id": "449", "name": "get", "resourceName": "Datetime", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "362", + "$id": "450", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "363", - "kind": "constant", - "name": "getContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "364", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -3656,12 +4403,12 @@ ], "responses": [ { - "$id": "365", + "$id": "451", "statusCodes": [ 200 ], "bodyType": { - "$ref": "80" + "$ref": "201" }, "headers": [], "isErrorResponse": false, @@ -3681,11 +4428,11 @@ }, "parameters": [ { - "$id": "366", + "$id": "452", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "363" + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -3699,9 +4446,9 @@ } ], "response": { - "$id": "367", + "$id": "453", "type": { - "$ref": "80" + "$ref": "201" } }, "isOverride": false, @@ -3710,39 +4457,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Datetime.get" }, { - "$id": "368", + "$id": "454", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "369", + "$id": "455", "name": "put", "resourceName": "Datetime", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "370", + "$id": "456", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "371", - "kind": "constant", - "name": "putContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "372", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -3755,12 +4489,12 @@ "skipUrlEncoding": false }, { - "$id": "373", + "$id": "457", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "80" + "$ref": "201" }, "location": "Body", "isApiVersion": false, @@ -3775,7 +4509,7 @@ ], "responses": [ { - "$id": "374", + "$id": "458", "statusCodes": [ 204 ], @@ -3797,12 +4531,12 @@ }, "parameters": [ { - "$id": "375", + "$id": "459", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "80" + "$ref": "201" }, "location": "Body", "isApiVersion": false, @@ -3815,12 +4549,12 @@ "skipUrlEncoding": false }, { - "$id": "376", + "$id": "460", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "371" + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -3834,7 +4568,7 @@ } ], "response": { - "$id": "377" + "$id": "461" }, "isOverride": false, "generateConvenient": true, @@ -3844,12 +4578,12 @@ ], "parameters": [ { - "$id": "378", + "$id": "462", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "379", + "$id": "463", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3863,9 +4597,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "380", + "$id": "464", "type": { - "$id": "381", + "$id": "465", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3878,48 +4612,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Datetime", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "382", + "$id": "466", "kind": "client", "name": "Duration", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "383", + "$id": "467", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "384", + "$id": "468", "name": "get", "resourceName": "Duration", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "385", + "$id": "469", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "386", - "kind": "constant", - "name": "getContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "387", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -3934,12 +4655,12 @@ ], "responses": [ { - "$id": "388", + "$id": "470", "statusCodes": [ 200 ], "bodyType": { - "$ref": "86" + "$ref": "207" }, "headers": [], "isErrorResponse": false, @@ -3959,11 +4680,11 @@ }, "parameters": [ { - "$id": "389", + "$id": "471", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "386" + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -3977,9 +4698,9 @@ } ], "response": { - "$id": "390", + "$id": "472", "type": { - "$ref": "86" + "$ref": "207" } }, "isOverride": false, @@ -3988,39 +4709,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Duration.get" }, { - "$id": "391", + "$id": "473", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "392", + "$id": "474", "name": "put", "resourceName": "Duration", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "393", + "$id": "475", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "394", - "kind": "constant", - "name": "putContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "395", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -4033,12 +4741,12 @@ "skipUrlEncoding": false }, { - "$id": "396", + "$id": "476", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "86" + "$ref": "207" }, "location": "Body", "isApiVersion": false, @@ -4053,7 +4761,7 @@ ], "responses": [ { - "$id": "397", + "$id": "477", "statusCodes": [ 204 ], @@ -4075,12 +4783,12 @@ }, "parameters": [ { - "$id": "398", + "$id": "478", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "86" + "$ref": "207" }, "location": "Body", "isApiVersion": false, @@ -4093,12 +4801,12 @@ "skipUrlEncoding": false }, { - "$id": "399", + "$id": "479", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "394" + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -4112,7 +4820,7 @@ } ], "response": { - "$id": "400" + "$id": "480" }, "isOverride": false, "generateConvenient": true, @@ -4122,12 +4830,12 @@ ], "parameters": [ { - "$id": "401", + "$id": "481", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "402", + "$id": "482", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4141,9 +4849,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "403", + "$id": "483", "type": { - "$id": "404", + "$id": "484", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4156,48 +4864,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Duration", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "405", + "$id": "485", "kind": "client", "name": "Enum", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "406", + "$id": "486", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "407", + "$id": "487", "name": "get", "resourceName": "Enum", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "408", + "$id": "488", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "409", - "kind": "constant", - "name": "getContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "410", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -4212,12 +4907,12 @@ ], "responses": [ { - "$id": "411", + "$id": "489", "statusCodes": [ 200 ], "bodyType": { - "$ref": "92" + "$ref": "213" }, "headers": [], "isErrorResponse": false, @@ -4237,11 +4932,11 @@ }, "parameters": [ { - "$id": "412", + "$id": "490", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "409" + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -4255,9 +4950,9 @@ } ], "response": { - "$id": "413", + "$id": "491", "type": { - "$ref": "92" + "$ref": "213" } }, "isOverride": false, @@ -4266,39 +4961,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Enum.get" }, { - "$id": "414", + "$id": "492", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "415", + "$id": "493", "name": "put", "resourceName": "Enum", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "416", + "$id": "494", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "417", - "kind": "constant", - "name": "putContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "418", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -4311,12 +4993,12 @@ "skipUrlEncoding": false }, { - "$id": "419", + "$id": "495", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "92" + "$ref": "213" }, "location": "Body", "isApiVersion": false, @@ -4331,7 +5013,7 @@ ], "responses": [ { - "$id": "420", + "$id": "496", "statusCodes": [ 204 ], @@ -4353,12 +5035,12 @@ }, "parameters": [ { - "$id": "421", + "$id": "497", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "92" + "$ref": "213" }, "location": "Body", "isApiVersion": false, @@ -4371,12 +5053,12 @@ "skipUrlEncoding": false }, { - "$id": "422", + "$id": "498", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "417" + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -4390,7 +5072,7 @@ } ], "response": { - "$id": "423" + "$id": "499" }, "isOverride": false, "generateConvenient": true, @@ -4400,12 +5082,12 @@ ], "parameters": [ { - "$id": "424", + "$id": "500", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "425", + "$id": "501", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4419,9 +5101,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "426", + "$id": "502", "type": { - "$id": "427", + "$id": "503", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4434,48 +5116,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Enum", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "428", + "$id": "504", "kind": "client", "name": "ExtensibleEnum", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "429", + "$id": "505", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "430", + "$id": "506", "name": "get", "resourceName": "ExtensibleEnum", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "431", + "$id": "507", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "432", - "kind": "constant", - "name": "getContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "433", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -4490,12 +5159,12 @@ ], "responses": [ { - "$id": "434", + "$id": "508", "statusCodes": [ 200 ], "bodyType": { - "$ref": "96" + "$ref": "217" }, "headers": [], "isErrorResponse": false, @@ -4515,11 +5184,11 @@ }, "parameters": [ { - "$id": "435", + "$id": "509", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "432" + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -4533,9 +5202,9 @@ } ], "response": { - "$id": "436", + "$id": "510", "type": { - "$ref": "96" + "$ref": "217" } }, "isOverride": false, @@ -4544,39 +5213,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.ExtensibleEnum.get" }, { - "$id": "437", + "$id": "511", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "438", + "$id": "512", "name": "put", "resourceName": "ExtensibleEnum", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "439", + "$id": "513", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "440", - "kind": "constant", - "name": "putContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "441", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -4589,12 +5245,12 @@ "skipUrlEncoding": false }, { - "$id": "442", + "$id": "514", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "96" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -4609,7 +5265,7 @@ ], "responses": [ { - "$id": "443", + "$id": "515", "statusCodes": [ 204 ], @@ -4631,12 +5287,12 @@ }, "parameters": [ { - "$id": "444", + "$id": "516", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "96" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -4649,12 +5305,12 @@ "skipUrlEncoding": false }, { - "$id": "445", + "$id": "517", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "440" + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -4668,7 +5324,7 @@ } ], "response": { - "$id": "446" + "$id": "518" }, "isOverride": false, "generateConvenient": true, @@ -4678,12 +5334,12 @@ ], "parameters": [ { - "$id": "447", + "$id": "519", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "448", + "$id": "520", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4697,9 +5353,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "449", + "$id": "521", "type": { - "$id": "450", + "$id": "522", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4712,48 +5368,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.ExtensibleEnum", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "451", + "$id": "523", "kind": "client", "name": "Model", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "452", + "$id": "524", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "453", + "$id": "525", "name": "get", "resourceName": "Model", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "454", + "$id": "526", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "455", - "kind": "constant", - "name": "getContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "456", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -4768,12 +5411,12 @@ ], "responses": [ { - "$id": "457", + "$id": "527", "statusCodes": [ 200 ], "bodyType": { - "$ref": "100" + "$ref": "221" }, "headers": [], "isErrorResponse": false, @@ -4793,11 +5436,11 @@ }, "parameters": [ { - "$id": "458", + "$id": "528", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "455" + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -4811,9 +5454,9 @@ } ], "response": { - "$id": "459", + "$id": "529", "type": { - "$ref": "100" + "$ref": "221" } }, "isOverride": false, @@ -4822,39 +5465,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Model.get" }, { - "$id": "460", + "$id": "530", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "461", + "$id": "531", "name": "put", "resourceName": "Model", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "462", + "$id": "532", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "463", - "kind": "constant", - "name": "putContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "464", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -4867,12 +5497,12 @@ "skipUrlEncoding": false }, { - "$id": "465", + "$id": "533", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "100" + "$ref": "221" }, "location": "Body", "isApiVersion": false, @@ -4887,7 +5517,7 @@ ], "responses": [ { - "$id": "466", + "$id": "534", "statusCodes": [ 204 ], @@ -4909,12 +5539,12 @@ }, "parameters": [ { - "$id": "467", + "$id": "535", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "100" + "$ref": "221" }, "location": "Body", "isApiVersion": false, @@ -4927,12 +5557,12 @@ "skipUrlEncoding": false }, { - "$id": "468", + "$id": "536", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "463" + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -4946,7 +5576,7 @@ } ], "response": { - "$id": "469" + "$id": "537" }, "isOverride": false, "generateConvenient": true, @@ -4956,12 +5586,12 @@ ], "parameters": [ { - "$id": "470", + "$id": "538", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "471", + "$id": "539", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4975,9 +5605,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "472", + "$id": "540", "type": { - "$id": "473", + "$id": "541", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4990,48 +5620,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Model", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "474", + "$id": "542", "kind": "client", "name": "CollectionsString", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "475", + "$id": "543", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "476", + "$id": "544", "name": "get", "resourceName": "CollectionsString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "477", + "$id": "545", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "478", - "kind": "constant", - "name": "getContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "479", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -5046,12 +5663,12 @@ ], "responses": [ { - "$id": "480", + "$id": "546", "statusCodes": [ 200 ], "bodyType": { - "$ref": "109" + "$ref": "230" }, "headers": [], "isErrorResponse": false, @@ -5071,11 +5688,11 @@ }, "parameters": [ { - "$id": "481", + "$id": "547", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "478" + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -5089,9 +5706,9 @@ } ], "response": { - "$id": "482", + "$id": "548", "type": { - "$ref": "109" + "$ref": "230" } }, "isOverride": false, @@ -5100,39 +5717,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsString.get" }, { - "$id": "483", + "$id": "549", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "484", + "$id": "550", "name": "put", "resourceName": "CollectionsString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "485", + "$id": "551", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "486", - "kind": "constant", - "name": "putContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "487", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -5145,12 +5749,12 @@ "skipUrlEncoding": false }, { - "$id": "488", + "$id": "552", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "109" + "$ref": "230" }, "location": "Body", "isApiVersion": false, @@ -5165,7 +5769,7 @@ ], "responses": [ { - "$id": "489", + "$id": "553", "statusCodes": [ 204 ], @@ -5187,12 +5791,12 @@ }, "parameters": [ { - "$id": "490", + "$id": "554", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "109" + "$ref": "230" }, "location": "Body", "isApiVersion": false, @@ -5205,12 +5809,12 @@ "skipUrlEncoding": false }, { - "$id": "491", + "$id": "555", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "486" + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -5224,7 +5828,7 @@ } ], "response": { - "$id": "492" + "$id": "556" }, "isOverride": false, "generateConvenient": true, @@ -5234,12 +5838,12 @@ ], "parameters": [ { - "$id": "493", + "$id": "557", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "494", + "$id": "558", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5253,9 +5857,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "495", + "$id": "559", "type": { - "$id": "496", + "$id": "560", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5268,48 +5872,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsString", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "497", + "$id": "561", "kind": "client", "name": "CollectionsInt", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "498", + "$id": "562", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "499", + "$id": "563", "name": "get", "resourceName": "CollectionsInt", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "500", + "$id": "564", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "501", - "kind": "constant", - "name": "getContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "502", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -5324,12 +5915,12 @@ ], "responses": [ { - "$id": "503", + "$id": "565", "statusCodes": [ 200 ], "bodyType": { - "$ref": "115" + "$ref": "236" }, "headers": [], "isErrorResponse": false, @@ -5349,11 +5940,11 @@ }, "parameters": [ { - "$id": "504", + "$id": "566", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "501" + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -5367,9 +5958,9 @@ } ], "response": { - "$id": "505", + "$id": "567", "type": { - "$ref": "115" + "$ref": "236" } }, "isOverride": false, @@ -5378,39 +5969,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsInt.get" }, { - "$id": "506", + "$id": "568", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "507", + "$id": "569", "name": "put", "resourceName": "CollectionsInt", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "508", + "$id": "570", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "509", - "kind": "constant", - "name": "putContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "510", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -5423,12 +6001,12 @@ "skipUrlEncoding": false }, { - "$id": "511", + "$id": "571", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "115" + "$ref": "236" }, "location": "Body", "isApiVersion": false, @@ -5443,7 +6021,7 @@ ], "responses": [ { - "$id": "512", + "$id": "572", "statusCodes": [ 204 ], @@ -5465,12 +6043,12 @@ }, "parameters": [ { - "$id": "513", + "$id": "573", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "115" + "$ref": "236" }, "location": "Body", "isApiVersion": false, @@ -5483,12 +6061,12 @@ "skipUrlEncoding": false }, { - "$id": "514", + "$id": "574", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "509" + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -5502,7 +6080,7 @@ } ], "response": { - "$id": "515" + "$id": "575" }, "isOverride": false, "generateConvenient": true, @@ -5512,12 +6090,12 @@ ], "parameters": [ { - "$id": "516", + "$id": "576", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "517", + "$id": "577", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5531,9 +6109,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "518", + "$id": "578", "type": { - "$id": "519", + "$id": "579", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5546,48 +6124,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsInt", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "520", + "$id": "580", "kind": "client", "name": "CollectionsModel", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "521", + "$id": "581", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "522", + "$id": "582", "name": "get", "resourceName": "CollectionsModel", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "523", + "$id": "583", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "524", - "kind": "constant", - "name": "getContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "525", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -5602,12 +6167,12 @@ ], "responses": [ { - "$id": "526", + "$id": "584", "statusCodes": [ 200 ], "bodyType": { - "$ref": "121" + "$ref": "242" }, "headers": [], "isErrorResponse": false, @@ -5627,11 +6192,11 @@ }, "parameters": [ { - "$id": "527", + "$id": "585", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "524" + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -5645,9 +6210,9 @@ } ], "response": { - "$id": "528", + "$id": "586", "type": { - "$ref": "121" + "$ref": "242" } }, "isOverride": false, @@ -5656,39 +6221,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsModel.get" }, { - "$id": "529", + "$id": "587", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "530", + "$id": "588", "name": "put", "resourceName": "CollectionsModel", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "531", + "$id": "589", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "532", - "kind": "constant", - "name": "putContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "533", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -5701,12 +6253,12 @@ "skipUrlEncoding": false }, { - "$id": "534", + "$id": "590", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "121" + "$ref": "242" }, "location": "Body", "isApiVersion": false, @@ -5721,7 +6273,7 @@ ], "responses": [ { - "$id": "535", + "$id": "591", "statusCodes": [ 204 ], @@ -5743,12 +6295,12 @@ }, "parameters": [ { - "$id": "536", + "$id": "592", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "121" + "$ref": "242" }, "location": "Body", "isApiVersion": false, @@ -5761,12 +6313,12 @@ "skipUrlEncoding": false }, { - "$id": "537", + "$id": "593", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "532" + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -5780,7 +6332,7 @@ } ], "response": { - "$id": "538" + "$id": "594" }, "isOverride": false, "generateConvenient": true, @@ -5790,12 +6342,12 @@ ], "parameters": [ { - "$id": "539", + "$id": "595", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "540", + "$id": "596", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5809,9 +6361,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "541", + "$id": "597", "type": { - "$id": "542", + "$id": "598", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5824,48 +6376,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsModel", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "543", + "$id": "599", "kind": "client", "name": "DictionaryString", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "544", + "$id": "600", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "545", + "$id": "601", "name": "get", "resourceName": "DictionaryString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "546", + "$id": "602", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "547", - "kind": "constant", - "name": "getContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "548", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -5880,12 +6419,12 @@ ], "responses": [ { - "$id": "549", + "$id": "603", "statusCodes": [ 200 ], "bodyType": { - "$ref": "126" + "$ref": "247" }, "headers": [], "isErrorResponse": false, @@ -5905,11 +6444,11 @@ }, "parameters": [ { - "$id": "550", + "$id": "604", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "547" + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -5923,9 +6462,9 @@ } ], "response": { - "$id": "551", + "$id": "605", "type": { - "$ref": "126" + "$ref": "247" } }, "isOverride": false, @@ -5934,39 +6473,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.DictionaryString.get" }, { - "$id": "552", + "$id": "606", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "553", + "$id": "607", "name": "put", "resourceName": "DictionaryString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "554", + "$id": "608", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "555", - "kind": "constant", - "name": "putContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "556", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -5979,12 +6505,12 @@ "skipUrlEncoding": false }, { - "$id": "557", + "$id": "609", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "126" + "$ref": "247" }, "location": "Body", "isApiVersion": false, @@ -5999,7 +6525,7 @@ ], "responses": [ { - "$id": "558", + "$id": "610", "statusCodes": [ 204 ], @@ -6021,12 +6547,12 @@ }, "parameters": [ { - "$id": "559", + "$id": "611", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "126" + "$ref": "247" }, "location": "Body", "isApiVersion": false, @@ -6039,12 +6565,12 @@ "skipUrlEncoding": false }, { - "$id": "560", + "$id": "612", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "555" + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -6058,7 +6584,7 @@ } ], "response": { - "$id": "561" + "$id": "613" }, "isOverride": false, "generateConvenient": true, @@ -6068,12 +6594,12 @@ ], "parameters": [ { - "$id": "562", + "$id": "614", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "563", + "$id": "615", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6087,9 +6613,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "564", + "$id": "616", "type": { - "$id": "565", + "$id": "617", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6102,48 +6628,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.DictionaryString", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "566", + "$id": "618", "kind": "client", "name": "Never", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "567", + "$id": "619", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "568", + "$id": "620", "name": "get", "resourceName": "Never", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "569", + "$id": "621", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "570", - "kind": "constant", - "name": "getContentType16", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "571", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -6158,12 +6671,12 @@ ], "responses": [ { - "$id": "572", + "$id": "622", "statusCodes": [ 200 ], "bodyType": { - "$ref": "133" + "$ref": "254" }, "headers": [], "isErrorResponse": false, @@ -6183,11 +6696,11 @@ }, "parameters": [ { - "$id": "573", + "$id": "623", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "570" + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -6201,9 +6714,9 @@ } ], "response": { - "$id": "574", + "$id": "624", "type": { - "$ref": "133" + "$ref": "254" } }, "isOverride": false, @@ -6212,39 +6725,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Never.get" }, { - "$id": "575", + "$id": "625", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "576", + "$id": "626", "name": "put", "resourceName": "Never", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "577", + "$id": "627", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "578", - "kind": "constant", - "name": "putContentType16", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "579", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -6257,12 +6757,12 @@ "skipUrlEncoding": false }, { - "$id": "580", + "$id": "628", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "133" + "$ref": "254" }, "location": "Body", "isApiVersion": false, @@ -6277,7 +6777,7 @@ ], "responses": [ { - "$id": "581", + "$id": "629", "statusCodes": [ 204 ], @@ -6299,12 +6799,12 @@ }, "parameters": [ { - "$id": "582", + "$id": "630", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "133" + "$ref": "254" }, "location": "Body", "isApiVersion": false, @@ -6317,12 +6817,12 @@ "skipUrlEncoding": false }, { - "$id": "583", + "$id": "631", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "578" + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -6336,7 +6836,7 @@ } ], "response": { - "$id": "584" + "$id": "632" }, "isOverride": false, "generateConvenient": true, @@ -6346,12 +6846,12 @@ ], "parameters": [ { - "$id": "585", + "$id": "633", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "586", + "$id": "634", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6365,9 +6865,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "587", + "$id": "635", "type": { - "$id": "588", + "$id": "636", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6380,48 +6880,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Never", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "589", + "$id": "637", "kind": "client", "name": "UnknownString", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "590", + "$id": "638", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "591", + "$id": "639", "name": "get", "resourceName": "UnknownString", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "592", + "$id": "640", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "593", - "kind": "constant", - "name": "getContentType17", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "594", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -6436,12 +6923,12 @@ ], "responses": [ { - "$id": "595", + "$id": "641", "statusCodes": [ 200 ], "bodyType": { - "$ref": "134" + "$ref": "255" }, "headers": [], "isErrorResponse": false, @@ -6461,11 +6948,11 @@ }, "parameters": [ { - "$id": "596", + "$id": "642", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "593" + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -6479,9 +6966,9 @@ } ], "response": { - "$id": "597", + "$id": "643", "type": { - "$ref": "134" + "$ref": "255" } }, "isOverride": false, @@ -6490,39 +6977,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownString.get" }, { - "$id": "598", + "$id": "644", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "599", + "$id": "645", "name": "put", "resourceName": "UnknownString", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "600", + "$id": "646", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "601", - "kind": "constant", - "name": "putContentType17", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "602", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -6535,12 +7009,12 @@ "skipUrlEncoding": false }, { - "$id": "603", + "$id": "647", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "134" + "$ref": "255" }, "location": "Body", "isApiVersion": false, @@ -6555,7 +7029,7 @@ ], "responses": [ { - "$id": "604", + "$id": "648", "statusCodes": [ 204 ], @@ -6577,12 +7051,12 @@ }, "parameters": [ { - "$id": "605", + "$id": "649", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "134" + "$ref": "255" }, "location": "Body", "isApiVersion": false, @@ -6595,12 +7069,12 @@ "skipUrlEncoding": false }, { - "$id": "606", + "$id": "650", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "601" + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -6614,7 +7088,7 @@ } ], "response": { - "$id": "607" + "$id": "651" }, "isOverride": false, "generateConvenient": true, @@ -6624,12 +7098,12 @@ ], "parameters": [ { - "$id": "608", + "$id": "652", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "609", + "$id": "653", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6643,9 +7117,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "610", + "$id": "654", "type": { - "$id": "611", + "$id": "655", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6658,48 +7132,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownString", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "612", + "$id": "656", "kind": "client", "name": "UnknownInt", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "613", + "$id": "657", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "614", + "$id": "658", "name": "get", "resourceName": "UnknownInt", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "615", + "$id": "659", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "616", - "kind": "constant", - "name": "getContentType18", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "617", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -6714,12 +7175,12 @@ ], "responses": [ { - "$id": "618", + "$id": "660", "statusCodes": [ 200 ], "bodyType": { - "$ref": "139" + "$ref": "260" }, "headers": [], "isErrorResponse": false, @@ -6739,11 +7200,11 @@ }, "parameters": [ { - "$id": "619", + "$id": "661", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "616" + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -6757,9 +7218,9 @@ } ], "response": { - "$id": "620", + "$id": "662", "type": { - "$ref": "139" + "$ref": "260" } }, "isOverride": false, @@ -6768,39 +7229,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownInt.get" }, { - "$id": "621", + "$id": "663", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "622", + "$id": "664", "name": "put", "resourceName": "UnknownInt", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "623", + "$id": "665", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "624", - "kind": "constant", - "name": "putContentType18", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "625", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -6813,12 +7261,12 @@ "skipUrlEncoding": false }, { - "$id": "626", + "$id": "666", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "139" + "$ref": "260" }, "location": "Body", "isApiVersion": false, @@ -6833,7 +7281,7 @@ ], "responses": [ { - "$id": "627", + "$id": "667", "statusCodes": [ 204 ], @@ -6855,12 +7303,12 @@ }, "parameters": [ { - "$id": "628", + "$id": "668", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "139" + "$ref": "260" }, "location": "Body", "isApiVersion": false, @@ -6873,12 +7321,12 @@ "skipUrlEncoding": false }, { - "$id": "629", + "$id": "669", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "624" + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -6892,7 +7340,7 @@ } ], "response": { - "$id": "630" + "$id": "670" }, "isOverride": false, "generateConvenient": true, @@ -6902,12 +7350,12 @@ ], "parameters": [ { - "$id": "631", + "$id": "671", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "632", + "$id": "672", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6921,9 +7369,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "633", + "$id": "673", "type": { - "$id": "634", + "$id": "674", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6936,48 +7384,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownInt", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "635", + "$id": "675", "kind": "client", "name": "UnknownDict", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "636", + "$id": "676", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "637", + "$id": "677", "name": "get", "resourceName": "UnknownDict", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "638", + "$id": "678", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "639", - "kind": "constant", - "name": "getContentType19", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "640", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -6992,12 +7427,12 @@ ], "responses": [ { - "$id": "641", + "$id": "679", "statusCodes": [ 200 ], "bodyType": { - "$ref": "144" + "$ref": "265" }, "headers": [], "isErrorResponse": false, @@ -7017,11 +7452,11 @@ }, "parameters": [ { - "$id": "642", + "$id": "680", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "639" + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -7035,9 +7470,9 @@ } ], "response": { - "$id": "643", + "$id": "681", "type": { - "$ref": "144" + "$ref": "265" } }, "isOverride": false, @@ -7046,39 +7481,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownDict.get" }, { - "$id": "644", + "$id": "682", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "645", + "$id": "683", "name": "put", "resourceName": "UnknownDict", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "646", + "$id": "684", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "647", - "kind": "constant", - "name": "putContentType19", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "648", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -7091,12 +7513,12 @@ "skipUrlEncoding": false }, { - "$id": "649", + "$id": "685", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "144" + "$ref": "265" }, "location": "Body", "isApiVersion": false, @@ -7111,7 +7533,7 @@ ], "responses": [ { - "$id": "650", + "$id": "686", "statusCodes": [ 204 ], @@ -7133,12 +7555,12 @@ }, "parameters": [ { - "$id": "651", + "$id": "687", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "144" + "$ref": "265" }, "location": "Body", "isApiVersion": false, @@ -7151,12 +7573,12 @@ "skipUrlEncoding": false }, { - "$id": "652", + "$id": "688", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "647" + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -7170,7 +7592,7 @@ } ], "response": { - "$id": "653" + "$id": "689" }, "isOverride": false, "generateConvenient": true, @@ -7180,12 +7602,12 @@ ], "parameters": [ { - "$id": "654", + "$id": "690", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "655", + "$id": "691", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7199,9 +7621,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "656", + "$id": "692", "type": { - "$id": "657", + "$id": "693", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7214,48 +7636,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownDict", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "658", + "$id": "694", "kind": "client", "name": "UnknownArray", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "659", + "$id": "695", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "660", + "$id": "696", "name": "get", "resourceName": "UnknownArray", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "661", + "$id": "697", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "662", - "kind": "constant", - "name": "getContentType20", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "663", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -7270,12 +7679,12 @@ ], "responses": [ { - "$id": "664", + "$id": "698", "statusCodes": [ 200 ], "bodyType": { - "$ref": "149" + "$ref": "270" }, "headers": [], "isErrorResponse": false, @@ -7295,11 +7704,11 @@ }, "parameters": [ { - "$id": "665", + "$id": "699", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "662" + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -7313,9 +7722,9 @@ } ], "response": { - "$id": "666", + "$id": "700", "type": { - "$ref": "149" + "$ref": "270" } }, "isOverride": false, @@ -7324,39 +7733,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownArray.get" }, { - "$id": "667", + "$id": "701", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "668", + "$id": "702", "name": "put", "resourceName": "UnknownArray", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "669", + "$id": "703", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "670", - "kind": "constant", - "name": "putContentType20", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "671", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -7369,12 +7765,12 @@ "skipUrlEncoding": false }, { - "$id": "672", + "$id": "704", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "149" + "$ref": "270" }, "location": "Body", "isApiVersion": false, @@ -7389,7 +7785,7 @@ ], "responses": [ { - "$id": "673", + "$id": "705", "statusCodes": [ 204 ], @@ -7411,12 +7807,12 @@ }, "parameters": [ { - "$id": "674", + "$id": "706", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "149" + "$ref": "270" }, "location": "Body", "isApiVersion": false, @@ -7429,12 +7825,12 @@ "skipUrlEncoding": false }, { - "$id": "675", + "$id": "707", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "670" + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -7448,7 +7844,7 @@ } ], "response": { - "$id": "676" + "$id": "708" }, "isOverride": false, "generateConvenient": true, @@ -7458,12 +7854,12 @@ ], "parameters": [ { - "$id": "677", + "$id": "709", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "678", + "$id": "710", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7477,9 +7873,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "679", + "$id": "711", "type": { - "$id": "680", + "$id": "712", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7492,48 +7888,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownArray", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "681", + "$id": "713", "kind": "client", "name": "StringLiteral", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "682", + "$id": "714", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "683", + "$id": "715", "name": "get", "resourceName": "StringLiteral", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "684", + "$id": "716", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "685", - "kind": "constant", - "name": "getContentType21", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "686", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -7548,12 +7931,12 @@ ], "responses": [ { - "$id": "687", + "$id": "717", "statusCodes": [ 200 ], "bodyType": { - "$ref": "154" + "$ref": "275" }, "headers": [], "isErrorResponse": false, @@ -7573,11 +7956,11 @@ }, "parameters": [ { - "$id": "688", + "$id": "718", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "685" + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -7591,9 +7974,9 @@ } ], "response": { - "$id": "689", + "$id": "719", "type": { - "$ref": "154" + "$ref": "275" } }, "isOverride": false, @@ -7602,39 +7985,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.StringLiteral.get" }, { - "$id": "690", + "$id": "720", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "691", + "$id": "721", "name": "put", "resourceName": "StringLiteral", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "692", + "$id": "722", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "693", - "kind": "constant", - "name": "putContentType21", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "694", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -7647,12 +8017,12 @@ "skipUrlEncoding": false }, { - "$id": "695", + "$id": "723", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "154" + "$ref": "275" }, "location": "Body", "isApiVersion": false, @@ -7667,7 +8037,7 @@ ], "responses": [ { - "$id": "696", + "$id": "724", "statusCodes": [ 204 ], @@ -7689,12 +8059,12 @@ }, "parameters": [ { - "$id": "697", + "$id": "725", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "154" + "$ref": "275" }, "location": "Body", "isApiVersion": false, @@ -7707,12 +8077,12 @@ "skipUrlEncoding": false }, { - "$id": "698", + "$id": "726", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "693" + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -7726,7 +8096,7 @@ } ], "response": { - "$id": "699" + "$id": "727" }, "isOverride": false, "generateConvenient": true, @@ -7736,12 +8106,12 @@ ], "parameters": [ { - "$id": "700", + "$id": "728", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "701", + "$id": "729", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7755,9 +8125,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "702", + "$id": "730", "type": { - "$id": "703", + "$id": "731", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7770,48 +8140,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.StringLiteral", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "704", + "$id": "732", "kind": "client", "name": "IntLiteral", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "705", + "$id": "733", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "706", + "$id": "734", "name": "get", "resourceName": "IntLiteral", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "707", + "$id": "735", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "708", - "kind": "constant", - "name": "getContentType22", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "709", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -7826,12 +8183,12 @@ ], "responses": [ { - "$id": "710", + "$id": "736", "statusCodes": [ 200 ], "bodyType": { - "$ref": "159" + "$ref": "279" }, "headers": [], "isErrorResponse": false, @@ -7851,11 +8208,11 @@ }, "parameters": [ { - "$id": "711", + "$id": "737", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "708" + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -7869,9 +8226,9 @@ } ], "response": { - "$id": "712", + "$id": "738", "type": { - "$ref": "159" + "$ref": "279" } }, "isOverride": false, @@ -7880,39 +8237,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.IntLiteral.get" }, { - "$id": "713", + "$id": "739", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "714", + "$id": "740", "name": "put", "resourceName": "IntLiteral", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "715", + "$id": "741", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "716", - "kind": "constant", - "name": "putContentType22", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "717", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -7925,12 +8269,12 @@ "skipUrlEncoding": false }, { - "$id": "718", + "$id": "742", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "159" + "$ref": "279" }, "location": "Body", "isApiVersion": false, @@ -7945,7 +8289,7 @@ ], "responses": [ { - "$id": "719", + "$id": "743", "statusCodes": [ 204 ], @@ -7967,12 +8311,12 @@ }, "parameters": [ { - "$id": "720", + "$id": "744", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "159" + "$ref": "279" }, "location": "Body", "isApiVersion": false, @@ -7985,12 +8329,12 @@ "skipUrlEncoding": false }, { - "$id": "721", + "$id": "745", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "716" + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -8004,7 +8348,7 @@ } ], "response": { - "$id": "722" + "$id": "746" }, "isOverride": false, "generateConvenient": true, @@ -8014,12 +8358,12 @@ ], "parameters": [ { - "$id": "723", + "$id": "747", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "724", + "$id": "748", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8033,9 +8377,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "725", + "$id": "749", "type": { - "$id": "726", + "$id": "750", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8048,48 +8392,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.IntLiteral", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "727", + "$id": "751", "kind": "client", "name": "FloatLiteral", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "728", + "$id": "752", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "729", + "$id": "753", "name": "get", "resourceName": "FloatLiteral", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "730", + "$id": "754", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "731", - "kind": "constant", - "name": "getContentType23", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "732", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "142" }, "location": "Header", "isApiVersion": false, @@ -8104,12 +8435,12 @@ ], "responses": [ { - "$id": "733", + "$id": "755", "statusCodes": [ 200 ], "bodyType": { - "$ref": "164" + "$ref": "283" }, "headers": [], "isErrorResponse": false, @@ -8129,11 +8460,11 @@ }, "parameters": [ { - "$id": "734", + "$id": "756", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "731" + "$ref": "142" }, "location": "Header", "isApiVersion": false, @@ -8147,9 +8478,9 @@ } ], "response": { - "$id": "735", + "$id": "757", "type": { - "$ref": "164" + "$ref": "283" } }, "isOverride": false, @@ -8158,39 +8489,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.FloatLiteral.get" }, { - "$id": "736", + "$id": "758", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "737", + "$id": "759", "name": "put", "resourceName": "FloatLiteral", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "738", + "$id": "760", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "739", - "kind": "constant", - "name": "putContentType23", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "740", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "144" }, "location": "Header", "isApiVersion": false, @@ -8203,12 +8521,12 @@ "skipUrlEncoding": false }, { - "$id": "741", + "$id": "761", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "164" + "$ref": "283" }, "location": "Body", "isApiVersion": false, @@ -8223,7 +8541,7 @@ ], "responses": [ { - "$id": "742", + "$id": "762", "statusCodes": [ 204 ], @@ -8245,12 +8563,12 @@ }, "parameters": [ { - "$id": "743", + "$id": "763", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "164" + "$ref": "283" }, "location": "Body", "isApiVersion": false, @@ -8263,12 +8581,12 @@ "skipUrlEncoding": false }, { - "$id": "744", + "$id": "764", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "739" + "$ref": "144" }, "location": "Header", "isApiVersion": false, @@ -8282,7 +8600,7 @@ } ], "response": { - "$id": "745" + "$id": "765" }, "isOverride": false, "generateConvenient": true, @@ -8292,12 +8610,12 @@ ], "parameters": [ { - "$id": "746", + "$id": "766", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "747", + "$id": "767", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8311,9 +8629,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "748", + "$id": "768", "type": { - "$id": "749", + "$id": "769", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8326,48 +8644,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.FloatLiteral", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "750", + "$id": "770", "kind": "client", "name": "BooleanLiteral", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "751", + "$id": "771", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "752", + "$id": "772", "name": "get", "resourceName": "BooleanLiteral", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "753", + "$id": "773", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "754", - "kind": "constant", - "name": "getContentType24", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "755", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "146" }, "location": "Header", "isApiVersion": false, @@ -8382,12 +8687,12 @@ ], "responses": [ { - "$id": "756", + "$id": "774", "statusCodes": [ 200 ], "bodyType": { - "$ref": "169" + "$ref": "287" }, "headers": [], "isErrorResponse": false, @@ -8407,11 +8712,11 @@ }, "parameters": [ { - "$id": "757", + "$id": "775", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "754" + "$ref": "146" }, "location": "Header", "isApiVersion": false, @@ -8425,9 +8730,9 @@ } ], "response": { - "$id": "758", + "$id": "776", "type": { - "$ref": "169" + "$ref": "287" } }, "isOverride": false, @@ -8436,39 +8741,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.BooleanLiteral.get" }, { - "$id": "759", + "$id": "777", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "760", + "$id": "778", "name": "put", "resourceName": "BooleanLiteral", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "761", + "$id": "779", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "762", - "kind": "constant", - "name": "putContentType24", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "763", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "148" }, "location": "Header", "isApiVersion": false, @@ -8481,12 +8773,12 @@ "skipUrlEncoding": false }, { - "$id": "764", + "$id": "780", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "169" + "$ref": "287" }, "location": "Body", "isApiVersion": false, @@ -8501,7 +8793,7 @@ ], "responses": [ { - "$id": "765", + "$id": "781", "statusCodes": [ 204 ], @@ -8523,12 +8815,12 @@ }, "parameters": [ { - "$id": "766", + "$id": "782", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "169" + "$ref": "287" }, "location": "Body", "isApiVersion": false, @@ -8541,12 +8833,12 @@ "skipUrlEncoding": false }, { - "$id": "767", + "$id": "783", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "762" + "$ref": "148" }, "location": "Header", "isApiVersion": false, @@ -8560,7 +8852,7 @@ } ], "response": { - "$id": "768" + "$id": "784" }, "isOverride": false, "generateConvenient": true, @@ -8570,12 +8862,12 @@ ], "parameters": [ { - "$id": "769", + "$id": "785", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "770", + "$id": "786", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8589,9 +8881,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "771", + "$id": "787", "type": { - "$id": "772", + "$id": "788", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8604,48 +8896,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.BooleanLiteral", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "773", + "$id": "789", "kind": "client", "name": "UnionStringLiteral", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "774", + "$id": "790", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "775", + "$id": "791", "name": "get", "resourceName": "UnionStringLiteral", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "776", + "$id": "792", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "777", - "kind": "constant", - "name": "getContentType25", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "778", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "150" }, "location": "Header", "isApiVersion": false, @@ -8660,12 +8939,12 @@ ], "responses": [ { - "$id": "779", + "$id": "793", "statusCodes": [ 200 ], "bodyType": { - "$ref": "175" + "$ref": "291" }, "headers": [], "isErrorResponse": false, @@ -8685,11 +8964,11 @@ }, "parameters": [ { - "$id": "780", + "$id": "794", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "777" + "$ref": "150" }, "location": "Header", "isApiVersion": false, @@ -8703,9 +8982,9 @@ } ], "response": { - "$id": "781", + "$id": "795", "type": { - "$ref": "175" + "$ref": "291" } }, "isOverride": false, @@ -8714,39 +8993,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionStringLiteral.get" }, { - "$id": "782", + "$id": "796", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "783", + "$id": "797", "name": "put", "resourceName": "UnionStringLiteral", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "784", + "$id": "798", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "785", - "kind": "constant", - "name": "putContentType25", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "786", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "152" }, "location": "Header", "isApiVersion": false, @@ -8759,12 +9025,12 @@ "skipUrlEncoding": false }, { - "$id": "787", + "$id": "799", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "175" + "$ref": "291" }, "location": "Body", "isApiVersion": false, @@ -8779,7 +9045,7 @@ ], "responses": [ { - "$id": "788", + "$id": "800", "statusCodes": [ 204 ], @@ -8801,12 +9067,12 @@ }, "parameters": [ { - "$id": "789", + "$id": "801", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "175" + "$ref": "291" }, "location": "Body", "isApiVersion": false, @@ -8819,12 +9085,12 @@ "skipUrlEncoding": false }, { - "$id": "790", + "$id": "802", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "785" + "$ref": "152" }, "location": "Header", "isApiVersion": false, @@ -8838,7 +9104,7 @@ } ], "response": { - "$id": "791" + "$id": "803" }, "isOverride": false, "generateConvenient": true, @@ -8848,12 +9114,12 @@ ], "parameters": [ { - "$id": "792", + "$id": "804", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "793", + "$id": "805", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8867,9 +9133,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "794", + "$id": "806", "type": { - "$id": "795", + "$id": "807", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8882,48 +9148,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionStringLiteral", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "796", + "$id": "808", "kind": "client", "name": "UnionIntLiteral", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "797", + "$id": "809", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "798", + "$id": "810", "name": "get", "resourceName": "UnionIntLiteral", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "799", + "$id": "811", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "800", - "kind": "constant", - "name": "getContentType26", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "801", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "154" }, "location": "Header", "isApiVersion": false, @@ -8938,12 +9191,12 @@ ], "responses": [ { - "$id": "802", + "$id": "812", "statusCodes": [ 200 ], "bodyType": { - "$ref": "179" + "$ref": "295" }, "headers": [], "isErrorResponse": false, @@ -8963,11 +9216,11 @@ }, "parameters": [ { - "$id": "803", + "$id": "813", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "800" + "$ref": "154" }, "location": "Header", "isApiVersion": false, @@ -8981,9 +9234,9 @@ } ], "response": { - "$id": "804", + "$id": "814", "type": { - "$ref": "179" + "$ref": "295" } }, "isOverride": false, @@ -8992,39 +9245,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionIntLiteral.get" }, { - "$id": "805", + "$id": "815", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "806", + "$id": "816", "name": "put", "resourceName": "UnionIntLiteral", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "807", + "$id": "817", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "808", - "kind": "constant", - "name": "putContentType26", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "809", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -9037,12 +9277,12 @@ "skipUrlEncoding": false }, { - "$id": "810", + "$id": "818", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "179" + "$ref": "295" }, "location": "Body", "isApiVersion": false, @@ -9057,7 +9297,7 @@ ], "responses": [ { - "$id": "811", + "$id": "819", "statusCodes": [ 204 ], @@ -9079,12 +9319,12 @@ }, "parameters": [ { - "$id": "812", + "$id": "820", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "179" + "$ref": "295" }, "location": "Body", "isApiVersion": false, @@ -9097,12 +9337,12 @@ "skipUrlEncoding": false }, { - "$id": "813", + "$id": "821", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "808" + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -9116,7 +9356,7 @@ } ], "response": { - "$id": "814" + "$id": "822" }, "isOverride": false, "generateConvenient": true, @@ -9126,12 +9366,12 @@ ], "parameters": [ { - "$id": "815", + "$id": "823", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "816", + "$id": "824", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9145,9 +9385,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "817", + "$id": "825", "type": { - "$id": "818", + "$id": "826", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9160,48 +9400,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionIntLiteral", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "819", + "$id": "827", "kind": "client", "name": "UnionFloatLiteral", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "820", + "$id": "828", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "821", + "$id": "829", "name": "get", "resourceName": "UnionFloatLiteral", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "822", + "$id": "830", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "823", - "kind": "constant", - "name": "getContentType27", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "824", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -9216,12 +9443,12 @@ ], "responses": [ { - "$id": "825", + "$id": "831", "statusCodes": [ 200 ], "bodyType": { - "$ref": "183" + "$ref": "299" }, "headers": [], "isErrorResponse": false, @@ -9241,11 +9468,11 @@ }, "parameters": [ { - "$id": "826", + "$id": "832", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "823" + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -9259,9 +9486,9 @@ } ], "response": { - "$id": "827", + "$id": "833", "type": { - "$ref": "183" + "$ref": "299" } }, "isOverride": false, @@ -9270,39 +9497,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionFloatLiteral.get" }, { - "$id": "828", + "$id": "834", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "829", + "$id": "835", "name": "put", "resourceName": "UnionFloatLiteral", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "830", + "$id": "836", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "831", - "kind": "constant", - "name": "putContentType27", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "832", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -9315,12 +9529,12 @@ "skipUrlEncoding": false }, { - "$id": "833", + "$id": "837", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "183" + "$ref": "299" }, "location": "Body", "isApiVersion": false, @@ -9335,7 +9549,7 @@ ], "responses": [ { - "$id": "834", + "$id": "838", "statusCodes": [ 204 ], @@ -9357,12 +9571,12 @@ }, "parameters": [ { - "$id": "835", + "$id": "839", "name": "body", "nameInRequest": "body", "doc": "body", "type": { - "$ref": "183" + "$ref": "299" }, "location": "Body", "isApiVersion": false, @@ -9375,12 +9589,12 @@ "skipUrlEncoding": false }, { - "$id": "836", + "$id": "840", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "831" + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -9394,7 +9608,7 @@ } ], "response": { - "$id": "837" + "$id": "841" }, "isOverride": false, "generateConvenient": true, @@ -9404,12 +9618,12 @@ ], "parameters": [ { - "$id": "838", + "$id": "842", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "839", + "$id": "843", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9423,9 +9637,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "840", + "$id": "844", "type": { - "$id": "841", + "$id": "845", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9438,48 +9652,35 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionFloatLiteral", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } }, { - "$id": "842", + "$id": "846", "kind": "client", "name": "UnionEnumValue", "namespace": "Scm._Type.Property.ValueTypes", "methods": [ { - "$id": "843", + "$id": "847", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { - "$id": "844", + "$id": "848", "name": "get", "resourceName": "UnionEnumValue", "doc": "Get call", "accessibility": "public", "parameters": [ { - "$id": "845", + "$id": "849", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "846", - "kind": "constant", - "name": "getContentType28", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "847", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "162" }, "location": "Header", "isApiVersion": false, @@ -9494,12 +9695,12 @@ ], "responses": [ { - "$id": "848", + "$id": "850", "statusCodes": [ 200 ], "bodyType": { - "$ref": "187" + "$ref": "303" }, "headers": [], "isErrorResponse": false, @@ -9519,11 +9720,11 @@ }, "parameters": [ { - "$id": "849", + "$id": "851", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "846" + "$ref": "162" }, "location": "Header", "isApiVersion": false, @@ -9537,9 +9738,9 @@ } ], "response": { - "$id": "850", + "$id": "852", "type": { - "$ref": "187" + "$ref": "303" } }, "isOverride": false, @@ -9548,39 +9749,26 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionEnumValue.get" }, { - "$id": "851", + "$id": "853", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { - "$id": "852", + "$id": "854", "name": "put", "resourceName": "UnionEnumValue", "doc": "Put operation", "accessibility": "public", "parameters": [ { - "$id": "853", + "$id": "855", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "854", - "kind": "constant", - "name": "putContentType28", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "855", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "164" }, "location": "Header", "isApiVersion": false, @@ -9598,7 +9786,7 @@ "nameInRequest": "body", "doc": "body", "type": { - "$ref": "187" + "$ref": "303" }, "location": "Body", "isApiVersion": false, @@ -9640,7 +9828,7 @@ "nameInRequest": "body", "doc": "body", "type": { - "$ref": "187" + "$ref": "303" }, "location": "Body", "isApiVersion": false, @@ -9658,7 +9846,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "854" + "$ref": "164" }, "location": "Header", "isApiVersion": false, @@ -9716,7 +9904,7 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionEnumValue", "apiVersions": [], "parent": { - "$ref": "193" + "$ref": "309" } } ] diff --git a/test/CadlRanchProjectsNonAzure/type/scalar/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/scalar/tspCodeModel.json index a3851225dcf..a1ddcbe48f1 100644 --- a/test/CadlRanchProjectsNonAzure/type/scalar/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/scalar/tspCodeModel.json @@ -3,22 +3,440 @@ "name": "Type.Scalar", "apiVersions": [], "enums": [], + "constants": [ + { + "$id": "2", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "GetResponseContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "GetResponseContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "GetResponseContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "GetResponseContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "GetResponseContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "GetResponseContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "getContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "GetResponseContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "GetResponseContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "GetResponseContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "responseBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "GetResponseContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "GetResponseContentType10", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "GetResponseContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "responseBodyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "GetResponseContentType12", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "GetResponseContentType13", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "GetResponseContentType14", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "prepareVerifyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "GetResponseContentType15", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "GetResponseContentType16", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "prepareVerifyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "GetResponseContentType17", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "GetResponseContentType18", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [], "clients": [ { - "$id": "2", + "$id": "54", "kind": "client", "name": "ScalarClient", "namespace": "Scm._Type.Scalar", "methods": [], "parameters": [ { - "$id": "3", + "$id": "55", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "4", + "$id": "56", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -32,9 +450,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "5", + "$id": "57", "type": { - "$id": "6", + "$id": "58", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -48,44 +466,31 @@ "apiVersions": [], "children": [ { - "$id": "7", + "$id": "59", "kind": "client", "name": "String", "namespace": "Scm._Type.Scalar", "methods": [ { - "$id": "8", + "$id": "60", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "get string value", "operation": { - "$id": "9", + "$id": "61", "name": "get", "resourceName": "String", "doc": "get string value", "accessibility": "public", "parameters": [ { - "$id": "10", + "$id": "62", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "11", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "12", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -100,12 +505,12 @@ ], "responses": [ { - "$id": "13", + "$id": "63", "statusCodes": [ 200 ], "bodyType": { - "$id": "14", + "$id": "64", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113,24 +518,11 @@ }, "headers": [ { - "$id": "15", + "$id": "65", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "16", - "kind": "constant", - "name": "GetResponseContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "17", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" } } ], @@ -151,11 +543,11 @@ }, "parameters": [ { - "$id": "18", + "$id": "66", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "11" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -169,9 +561,9 @@ } ], "response": { - "$id": "19", + "$id": "67", "type": { - "$ref": "14" + "$ref": "64" } }, "isOverride": false, @@ -180,38 +572,25 @@ "crossLanguageDefinitionId": "Type.Scalar.String.get" }, { - "$id": "20", + "$id": "68", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "put string value", "operation": { - "$id": "21", + "$id": "69", "name": "put", "resourceName": "String", "doc": "put string value", "accessibility": "public", "parameters": [ { - "$id": "22", + "$id": "70", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "23", - "kind": "constant", - "name": "GetResponseContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "24", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -224,12 +603,12 @@ "skipUrlEncoding": false }, { - "$id": "25", + "$id": "71", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$id": "26", + "$id": "72", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -248,7 +627,7 @@ ], "responses": [ { - "$id": "27", + "$id": "73", "statusCodes": [ 204 ], @@ -270,24 +649,11 @@ }, "parameters": [ { - "$id": "28", + "$id": "74", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "29", - "kind": "constant", - "name": "GetResponseContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "30", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -300,12 +666,12 @@ "skipUrlEncoding": false }, { - "$id": "31", + "$id": "75", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$id": "32", + "$id": "76", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -323,7 +689,7 @@ } ], "response": { - "$id": "33" + "$id": "77" }, "isOverride": false, "generateConvenient": true, @@ -333,12 +699,12 @@ ], "parameters": [ { - "$id": "34", + "$id": "78", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "35", + "$id": "79", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -352,9 +718,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "36", + "$id": "80", "type": { - "$id": "37", + "$id": "81", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -367,48 +733,35 @@ "crossLanguageDefinitionId": "Type.Scalar.String", "apiVersions": [], "parent": { - "$ref": "2" + "$ref": "54" } }, { - "$id": "38", + "$id": "82", "kind": "client", "name": "Boolean", "namespace": "Scm._Type.Scalar", "methods": [ { - "$id": "39", + "$id": "83", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "get boolean value", "operation": { - "$id": "40", + "$id": "84", "name": "get", "resourceName": "Boolean", "doc": "get boolean value", "accessibility": "public", "parameters": [ { - "$id": "41", + "$id": "85", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "42", - "kind": "constant", - "name": "getContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "43", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -423,12 +776,12 @@ ], "responses": [ { - "$id": "44", + "$id": "86", "statusCodes": [ 200 ], "bodyType": { - "$id": "45", + "$id": "87", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -436,24 +789,11 @@ }, "headers": [ { - "$id": "46", + "$id": "88", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "47", - "kind": "constant", - "name": "GetResponseContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "48", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" } } ], @@ -474,11 +814,11 @@ }, "parameters": [ { - "$id": "49", + "$id": "89", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "42" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -492,9 +832,9 @@ } ], "response": { - "$id": "50", + "$id": "90", "type": { - "$ref": "45" + "$ref": "87" } }, "isOverride": false, @@ -503,38 +843,25 @@ "crossLanguageDefinitionId": "Type.Scalar.Boolean.get" }, { - "$id": "51", + "$id": "91", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "put boolean value", "operation": { - "$id": "52", + "$id": "92", "name": "put", "resourceName": "Boolean", "doc": "put boolean value", "accessibility": "public", "parameters": [ { - "$id": "53", + "$id": "93", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "54", - "kind": "constant", - "name": "GetResponseContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "55", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -547,12 +874,12 @@ "skipUrlEncoding": false }, { - "$id": "56", + "$id": "94", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$id": "57", + "$id": "95", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -571,7 +898,7 @@ ], "responses": [ { - "$id": "58", + "$id": "96", "statusCodes": [ 204 ], @@ -593,24 +920,11 @@ }, "parameters": [ { - "$id": "59", + "$id": "97", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "60", - "kind": "constant", - "name": "GetResponseContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "61", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -623,12 +937,12 @@ "skipUrlEncoding": false }, { - "$id": "62", + "$id": "98", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$id": "63", + "$id": "99", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -646,7 +960,7 @@ } ], "response": { - "$id": "64" + "$id": "100" }, "isOverride": false, "generateConvenient": true, @@ -656,12 +970,12 @@ ], "parameters": [ { - "$id": "65", + "$id": "101", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "66", + "$id": "102", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -675,9 +989,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "67", + "$id": "103", "type": { - "$id": "68", + "$id": "104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -690,48 +1004,35 @@ "crossLanguageDefinitionId": "Type.Scalar.Boolean", "apiVersions": [], "parent": { - "$ref": "2" + "$ref": "54" } }, { - "$id": "69", + "$id": "105", "kind": "client", "name": "Unknown", "namespace": "Scm._Type.Scalar", "methods": [ { - "$id": "70", + "$id": "106", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "doc": "get unknown value", "operation": { - "$id": "71", + "$id": "107", "name": "get", "resourceName": "Unknown", "doc": "get unknown value", "accessibility": "public", "parameters": [ { - "$id": "72", + "$id": "108", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "73", - "kind": "constant", - "name": "getContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "74", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -746,12 +1047,12 @@ ], "responses": [ { - "$id": "75", + "$id": "109", "statusCodes": [ 200 ], "bodyType": { - "$id": "76", + "$id": "110", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -759,24 +1060,11 @@ }, "headers": [ { - "$id": "77", + "$id": "111", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "78", - "kind": "constant", - "name": "GetResponseContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "79", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" } } ], @@ -797,11 +1085,11 @@ }, "parameters": [ { - "$id": "80", + "$id": "112", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "73" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -815,9 +1103,9 @@ } ], "response": { - "$id": "81", + "$id": "113", "type": { - "$ref": "76" + "$ref": "110" } }, "isOverride": false, @@ -826,38 +1114,25 @@ "crossLanguageDefinitionId": "Type.Scalar.Unknown.get" }, { - "$id": "82", + "$id": "114", "kind": "basic", "name": "put", "accessibility": "public", "apiVersions": [], "doc": "put unknown value", "operation": { - "$id": "83", + "$id": "115", "name": "put", "resourceName": "Unknown", "doc": "put unknown value", "accessibility": "public", "parameters": [ { - "$id": "84", + "$id": "116", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "85", - "kind": "constant", - "name": "GetResponseContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "86", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -870,12 +1145,12 @@ "skipUrlEncoding": false }, { - "$id": "87", + "$id": "117", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$id": "88", + "$id": "118", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -894,7 +1169,7 @@ ], "responses": [ { - "$id": "89", + "$id": "119", "statusCodes": [ 204 ], @@ -916,24 +1191,11 @@ }, "parameters": [ { - "$id": "90", + "$id": "120", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "91", - "kind": "constant", - "name": "GetResponseContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "92", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -946,12 +1208,12 @@ "skipUrlEncoding": false }, { - "$id": "93", + "$id": "121", "name": "body", "nameInRequest": "body", "doc": "_", "type": { - "$id": "94", + "$id": "122", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -969,7 +1231,7 @@ } ], "response": { - "$id": "95" + "$id": "123" }, "isOverride": false, "generateConvenient": true, @@ -979,12 +1241,12 @@ ], "parameters": [ { - "$id": "96", + "$id": "124", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "97", + "$id": "125", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -998,9 +1260,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "98", + "$id": "126", "type": { - "$id": "99", + "$id": "127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1013,47 +1275,34 @@ "crossLanguageDefinitionId": "Type.Scalar.Unknown", "apiVersions": [], "parent": { - "$ref": "2" + "$ref": "54" } }, { - "$id": "100", + "$id": "128", "kind": "client", "name": "DecimalType", "namespace": "Scm._Type.Scalar", "doc": "Decimal type", "methods": [ { - "$id": "101", + "$id": "129", "kind": "basic", "name": "responseBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "102", + "$id": "130", "name": "responseBody", "resourceName": "DecimalType", "accessibility": "public", "parameters": [ { - "$id": "103", + "$id": "131", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "104", - "kind": "constant", - "name": "responseBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "105", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1068,12 +1317,12 @@ ], "responses": [ { - "$id": "106", + "$id": "132", "statusCodes": [ 200 ], "bodyType": { - "$id": "107", + "$id": "133", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1081,24 +1330,11 @@ }, "headers": [ { - "$id": "108", + "$id": "134", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "109", - "kind": "constant", - "name": "GetResponseContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "110", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" } } ], @@ -1119,11 +1355,11 @@ }, "parameters": [ { - "$id": "111", + "$id": "135", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "104" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1137,9 +1373,9 @@ } ], "response": { - "$id": "112", + "$id": "136", "type": { - "$ref": "107" + "$ref": "133" } }, "isOverride": false, @@ -1148,36 +1384,23 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalType.responseBody" }, { - "$id": "113", + "$id": "137", "kind": "basic", "name": "requestBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "114", + "$id": "138", "name": "requestBody", "resourceName": "DecimalType", "accessibility": "public", "parameters": [ { - "$id": "115", + "$id": "139", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "116", - "kind": "constant", - "name": "GetResponseContentType10", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "117", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -1190,11 +1413,11 @@ "skipUrlEncoding": false }, { - "$id": "118", + "$id": "140", "name": "body", "nameInRequest": "body", "type": { - "$id": "119", + "$id": "141", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1213,7 +1436,7 @@ ], "responses": [ { - "$id": "120", + "$id": "142", "statusCodes": [ 204 ], @@ -1235,24 +1458,11 @@ }, "parameters": [ { - "$id": "121", + "$id": "143", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "122", - "kind": "constant", - "name": "GetResponseContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "123", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -1265,11 +1475,11 @@ "skipUrlEncoding": false }, { - "$id": "124", + "$id": "144", "name": "body", "nameInRequest": "body", "type": { - "$id": "125", + "$id": "145", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1287,7 +1497,7 @@ } ], "response": { - "$id": "126" + "$id": "146" }, "isOverride": false, "generateConvenient": true, @@ -1295,23 +1505,23 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalType.requestBody" }, { - "$id": "127", + "$id": "147", "kind": "basic", "name": "requestParameter", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "128", + "$id": "148", "name": "requestParameter", "resourceName": "DecimalType", "accessibility": "public", "parameters": [ { - "$id": "129", + "$id": "149", "name": "value", "nameInRequest": "value", "type": { - "$id": "130", + "$id": "150", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1330,7 +1540,7 @@ ], "responses": [ { - "$id": "131", + "$id": "151", "statusCodes": [ 204 ], @@ -1349,11 +1559,11 @@ }, "parameters": [ { - "$id": "132", + "$id": "152", "name": "value", "nameInRequest": "value", "type": { - "$id": "133", + "$id": "153", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1371,7 +1581,7 @@ } ], "response": { - "$id": "134" + "$id": "154" }, "isOverride": false, "generateConvenient": true, @@ -1381,12 +1591,12 @@ ], "parameters": [ { - "$id": "135", + "$id": "155", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "136", + "$id": "156", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1400,9 +1610,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "137", + "$id": "157", "type": { - "$id": "138", + "$id": "158", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1415,47 +1625,34 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalType", "apiVersions": [], "parent": { - "$ref": "2" + "$ref": "54" } }, { - "$id": "139", + "$id": "159", "kind": "client", "name": "Decimal128Type", "namespace": "Scm._Type.Scalar", "doc": "Decimal128 type", "methods": [ { - "$id": "140", + "$id": "160", "kind": "basic", "name": "responseBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "141", + "$id": "161", "name": "responseBody", "resourceName": "Decimal128Type", "accessibility": "public", "parameters": [ { - "$id": "142", + "$id": "162", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "143", - "kind": "constant", - "name": "responseBodyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "144", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -1470,12 +1667,12 @@ ], "responses": [ { - "$id": "145", + "$id": "163", "statusCodes": [ 200 ], "bodyType": { - "$id": "146", + "$id": "164", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -1483,24 +1680,11 @@ }, "headers": [ { - "$id": "147", + "$id": "165", "name": "contentType", "nameInResponse": "content-type", "type": { - "$id": "148", - "kind": "constant", - "name": "GetResponseContentType12", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "149", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "36" } } ], @@ -1521,11 +1705,11 @@ }, "parameters": [ { - "$id": "150", + "$id": "166", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "143" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -1539,9 +1723,9 @@ } ], "response": { - "$id": "151", + "$id": "167", "type": { - "$ref": "146" + "$ref": "164" } }, "isOverride": false, @@ -1550,36 +1734,23 @@ "crossLanguageDefinitionId": "Type.Scalar.Decimal128Type.responseBody" }, { - "$id": "152", + "$id": "168", "kind": "basic", "name": "requestBody", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "153", + "$id": "169", "name": "requestBody", "resourceName": "Decimal128Type", "accessibility": "public", "parameters": [ { - "$id": "154", + "$id": "170", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "155", - "kind": "constant", - "name": "GetResponseContentType13", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "156", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -1592,11 +1763,11 @@ "skipUrlEncoding": false }, { - "$id": "157", + "$id": "171", "name": "body", "nameInRequest": "body", "type": { - "$id": "158", + "$id": "172", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -1615,7 +1786,7 @@ ], "responses": [ { - "$id": "159", + "$id": "173", "statusCodes": [ 204 ], @@ -1637,24 +1808,11 @@ }, "parameters": [ { - "$id": "160", + "$id": "174", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "161", - "kind": "constant", - "name": "GetResponseContentType14", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "162", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -1667,11 +1825,11 @@ "skipUrlEncoding": false }, { - "$id": "163", + "$id": "175", "name": "body", "nameInRequest": "body", "type": { - "$id": "164", + "$id": "176", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -1689,7 +1847,7 @@ } ], "response": { - "$id": "165" + "$id": "177" }, "isOverride": false, "generateConvenient": true, @@ -1697,23 +1855,23 @@ "crossLanguageDefinitionId": "Type.Scalar.Decimal128Type.requestBody" }, { - "$id": "166", + "$id": "178", "kind": "basic", "name": "requestParameter", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "167", + "$id": "179", "name": "requestParameter", "resourceName": "Decimal128Type", "accessibility": "public", "parameters": [ { - "$id": "168", + "$id": "180", "name": "value", "nameInRequest": "value", "type": { - "$id": "169", + "$id": "181", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -1732,7 +1890,7 @@ ], "responses": [ { - "$id": "170", + "$id": "182", "statusCodes": [ 204 ], @@ -1751,11 +1909,11 @@ }, "parameters": [ { - "$id": "171", + "$id": "183", "name": "value", "nameInRequest": "value", "type": { - "$id": "172", + "$id": "184", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -1773,7 +1931,7 @@ } ], "response": { - "$id": "173" + "$id": "185" }, "isOverride": false, "generateConvenient": true, @@ -1783,12 +1941,12 @@ ], "parameters": [ { - "$id": "174", + "$id": "186", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "175", + "$id": "187", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1802,9 +1960,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "176", + "$id": "188", "type": { - "$id": "177", + "$id": "189", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1817,47 +1975,34 @@ "crossLanguageDefinitionId": "Type.Scalar.Decimal128Type", "apiVersions": [], "parent": { - "$ref": "2" + "$ref": "54" } }, { - "$id": "178", + "$id": "190", "kind": "client", "name": "DecimalVerify", "namespace": "Scm._Type.Scalar", "doc": "Decimal type verification", "methods": [ { - "$id": "179", + "$id": "191", "kind": "basic", "name": "prepareVerify", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "180", + "$id": "192", "name": "prepareVerify", "resourceName": "DecimalVerify", "accessibility": "public", "parameters": [ { - "$id": "181", + "$id": "193", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "182", - "kind": "constant", - "name": "prepareVerifyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "183", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -1872,16 +2017,16 @@ ], "responses": [ { - "$id": "184", + "$id": "194", "statusCodes": [ 200 ], "bodyType": { - "$id": "185", + "$id": "195", "kind": "array", "name": "Array", "valueType": { - "$id": "186", + "$id": "196", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1908,11 +2053,11 @@ }, "parameters": [ { - "$id": "187", + "$id": "197", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "182" + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -1926,9 +2071,9 @@ } ], "response": { - "$id": "188", + "$id": "198", "type": { - "$ref": "185" + "$ref": "195" } }, "isOverride": false, @@ -1937,36 +2082,23 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalVerify.prepareVerify" }, { - "$id": "189", + "$id": "199", "kind": "basic", "name": "verify", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "190", + "$id": "200", "name": "verify", "resourceName": "DecimalVerify", "accessibility": "public", "parameters": [ { - "$id": "191", + "$id": "201", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "192", - "kind": "constant", - "name": "GetResponseContentType15", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "193", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -1979,11 +2111,11 @@ "skipUrlEncoding": false }, { - "$id": "194", + "$id": "202", "name": "body", "nameInRequest": "body", "type": { - "$id": "195", + "$id": "203", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -2002,7 +2134,7 @@ ], "responses": [ { - "$id": "196", + "$id": "204", "statusCodes": [ 204 ], @@ -2024,24 +2156,11 @@ }, "parameters": [ { - "$id": "197", + "$id": "205", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "198", - "kind": "constant", - "name": "GetResponseContentType16", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "199", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -2054,11 +2173,11 @@ "skipUrlEncoding": false }, { - "$id": "200", + "$id": "206", "name": "body", "nameInRequest": "body", "type": { - "$id": "201", + "$id": "207", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -2076,7 +2195,7 @@ } ], "response": { - "$id": "202" + "$id": "208" }, "isOverride": false, "generateConvenient": true, @@ -2086,12 +2205,12 @@ ], "parameters": [ { - "$id": "203", + "$id": "209", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "204", + "$id": "210", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2105,9 +2224,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "205", + "$id": "211", "type": { - "$id": "206", + "$id": "212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2120,47 +2239,34 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalVerify", "apiVersions": [], "parent": { - "$ref": "2" + "$ref": "54" } }, { - "$id": "207", + "$id": "213", "kind": "client", "name": "Decimal128Verify", "namespace": "Scm._Type.Scalar", "doc": "Decimal128 type verification", "methods": [ { - "$id": "208", + "$id": "214", "kind": "basic", "name": "prepareVerify", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "209", + "$id": "215", "name": "prepareVerify", "resourceName": "Decimal128Verify", "accessibility": "public", "parameters": [ { - "$id": "210", + "$id": "216", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "211", - "kind": "constant", - "name": "prepareVerifyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "212", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -2175,12 +2281,12 @@ ], "responses": [ { - "$id": "213", + "$id": "217", "statusCodes": [ 200 ], "bodyType": { - "$ref": "185" + "$ref": "195" }, "headers": [], "isErrorResponse": false, @@ -2200,11 +2306,11 @@ }, "parameters": [ { - "$id": "214", + "$id": "218", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "211" + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -2218,9 +2324,9 @@ } ], "response": { - "$id": "215", + "$id": "219", "type": { - "$ref": "185" + "$ref": "195" } }, "isOverride": false, @@ -2229,36 +2335,23 @@ "crossLanguageDefinitionId": "Type.Scalar.Decimal128Verify.prepareVerify" }, { - "$id": "216", + "$id": "220", "kind": "basic", "name": "verify", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "217", + "$id": "221", "name": "verify", "resourceName": "Decimal128Verify", "accessibility": "public", "parameters": [ { - "$id": "218", + "$id": "222", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "219", - "kind": "constant", - "name": "GetResponseContentType17", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "220", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -2271,11 +2364,11 @@ "skipUrlEncoding": false }, { - "$id": "221", + "$id": "223", "name": "body", "nameInRequest": "body", "type": { - "$id": "222", + "$id": "224", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -2294,7 +2387,7 @@ ], "responses": [ { - "$id": "223", + "$id": "225", "statusCodes": [ 204 ], @@ -2316,24 +2409,11 @@ }, "parameters": [ { - "$id": "224", + "$id": "226", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "225", - "kind": "constant", - "name": "GetResponseContentType18", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "226", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -2412,7 +2492,7 @@ "crossLanguageDefinitionId": "Type.Scalar.Decimal128Verify", "apiVersions": [], "parent": { - "$ref": "2" + "$ref": "54" } } ] diff --git a/test/CadlRanchProjectsNonAzure/type/union/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/union/tspCodeModel.json index 8fd473ff3ae..f274cdcfa94 100644 --- a/test/CadlRanchProjectsNonAzure/type/union/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/union/tspCodeModel.json @@ -467,9 +467,411 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "54", + "kind": "constant", + "name": "MixedLiteralsCasesStringLiteral1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "a", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "MixedLiteralsCasesStringLiteral2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 2, + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "MixedLiteralsCasesStringLiteral3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "value": 3.3, + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "MixedLiteralsCasesStringLiteral4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "MixedLiteralsCasesStringLiteral11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "a", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "sendContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "70", + "kind": "constant", + "name": "sendContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "72", + "kind": "constant", + "name": "getContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "74", + "kind": "constant", + "name": "sendContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "76", + "kind": "constant", + "name": "getContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "78", + "kind": "constant", + "name": "sendContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "80", + "kind": "constant", + "name": "getContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "82", + "kind": "constant", + "name": "sendContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "84", + "kind": "constant", + "name": "getContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "86", + "kind": "constant", + "name": "sendContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "88", + "kind": "constant", + "name": "getContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "90", + "kind": "constant", + "name": "sendContentType6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "91", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "92", + "kind": "constant", + "name": "getContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "94", + "kind": "constant", + "name": "sendContentType7", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "96", + "kind": "constant", + "name": "getContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "98", + "kind": "constant", + "name": "sendContentType8", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "100", + "kind": "constant", + "name": "getContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "102", + "kind": "constant", + "name": "sendContentType9", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "104", "kind": "model", "name": "GetResponse", "namespace": "Scm._Type.Union", @@ -478,7 +880,7 @@ "decorators": [], "properties": [ { - "$id": "55", + "$id": "105", "kind": "property", "name": "prop", "serializedName": "prop", @@ -492,9 +894,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "56", + "$id": "106", "json": { - "$id": "57", + "$id": "107", "name": "prop" } } @@ -502,7 +904,7 @@ ] }, { - "$id": "58", + "$id": "108", "kind": "model", "name": "SendRequest", "namespace": "Scm._Type.Union", @@ -511,7 +913,7 @@ "decorators": [], "properties": [ { - "$id": "59", + "$id": "109", "kind": "property", "name": "prop", "serializedName": "prop", @@ -525,9 +927,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.StringsOnly.send.prop", "serializationOptions": { - "$id": "60", + "$id": "110", "json": { - "$id": "61", + "$id": "111", "name": "prop" } } @@ -535,7 +937,7 @@ ] }, { - "$id": "62", + "$id": "112", "kind": "model", "name": "GetResponse1", "namespace": "Scm._Type.Union", @@ -544,7 +946,7 @@ "decorators": [], "properties": [ { - "$id": "63", + "$id": "113", "kind": "property", "name": "prop", "serializedName": "prop", @@ -558,9 +960,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "64", + "$id": "114", "json": { - "$id": "65", + "$id": "115", "name": "prop" } } @@ -568,7 +970,7 @@ ] }, { - "$id": "66", + "$id": "116", "kind": "model", "name": "SendRequest1", "namespace": "Scm._Type.Union", @@ -577,7 +979,7 @@ "decorators": [], "properties": [ { - "$id": "67", + "$id": "117", "kind": "property", "name": "prop", "serializedName": "prop", @@ -591,9 +993,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.StringExtensible.send.prop", "serializationOptions": { - "$id": "68", + "$id": "118", "json": { - "$id": "69", + "$id": "119", "name": "prop" } } @@ -601,7 +1003,7 @@ ] }, { - "$id": "70", + "$id": "120", "kind": "model", "name": "GetResponse2", "namespace": "Scm._Type.Union", @@ -610,7 +1012,7 @@ "decorators": [], "properties": [ { - "$id": "71", + "$id": "121", "kind": "property", "name": "prop", "serializedName": "prop", @@ -624,9 +1026,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "72", + "$id": "122", "json": { - "$id": "73", + "$id": "123", "name": "prop" } } @@ -634,7 +1036,7 @@ ] }, { - "$id": "74", + "$id": "124", "kind": "model", "name": "SendRequest2", "namespace": "Scm._Type.Union", @@ -643,7 +1045,7 @@ "decorators": [], "properties": [ { - "$id": "75", + "$id": "125", "kind": "property", "name": "prop", "serializedName": "prop", @@ -657,9 +1059,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.StringExtensibleNamed.send.prop", "serializationOptions": { - "$id": "76", + "$id": "126", "json": { - "$id": "77", + "$id": "127", "name": "prop" } } @@ -667,7 +1069,7 @@ ] }, { - "$id": "78", + "$id": "128", "kind": "model", "name": "GetResponse3", "namespace": "Scm._Type.Union", @@ -676,7 +1078,7 @@ "decorators": [], "properties": [ { - "$id": "79", + "$id": "129", "kind": "property", "name": "prop", "serializedName": "prop", @@ -690,9 +1092,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "80", + "$id": "130", "json": { - "$id": "81", + "$id": "131", "name": "prop" } } @@ -700,7 +1102,7 @@ ] }, { - "$id": "82", + "$id": "132", "kind": "model", "name": "SendRequest3", "namespace": "Scm._Type.Union", @@ -709,7 +1111,7 @@ "decorators": [], "properties": [ { - "$id": "83", + "$id": "133", "kind": "property", "name": "prop", "serializedName": "prop", @@ -723,9 +1125,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.IntsOnly.send.prop", "serializationOptions": { - "$id": "84", + "$id": "134", "json": { - "$id": "85", + "$id": "135", "name": "prop" } } @@ -733,7 +1135,7 @@ ] }, { - "$id": "86", + "$id": "136", "kind": "model", "name": "GetResponse4", "namespace": "Scm._Type.Union", @@ -742,7 +1144,7 @@ "decorators": [], "properties": [ { - "$id": "87", + "$id": "137", "kind": "property", "name": "prop", "serializedName": "prop", @@ -756,9 +1158,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "88", + "$id": "138", "json": { - "$id": "89", + "$id": "139", "name": "prop" } } @@ -766,7 +1168,7 @@ ] }, { - "$id": "90", + "$id": "140", "kind": "model", "name": "SendRequest4", "namespace": "Scm._Type.Union", @@ -775,7 +1177,7 @@ "decorators": [], "properties": [ { - "$id": "91", + "$id": "141", "kind": "property", "name": "prop", "serializedName": "prop", @@ -789,9 +1191,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.FloatsOnly.send.prop", "serializationOptions": { - "$id": "92", + "$id": "142", "json": { - "$id": "93", + "$id": "143", "name": "prop" } } @@ -799,7 +1201,7 @@ ] }, { - "$id": "94", + "$id": "144", "kind": "model", "name": "GetResponse5", "namespace": "Scm._Type.Union", @@ -808,17 +1210,17 @@ "decorators": [], "properties": [ { - "$id": "95", + "$id": "145", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "96", + "$id": "146", "kind": "union", "name": "GetResponseProp4", "variantTypes": [ { - "$id": "97", + "$id": "147", "kind": "model", "name": "Cat", "namespace": "Scm._Type.Union", @@ -827,12 +1229,12 @@ "decorators": [], "properties": [ { - "$id": "98", + "$id": "148", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "99", + "$id": "149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -845,9 +1247,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.Cat.name", "serializationOptions": { - "$id": "100", + "$id": "150", "json": { - "$id": "101", + "$id": "151", "name": "name" } } @@ -855,7 +1257,7 @@ ] }, { - "$id": "102", + "$id": "152", "kind": "model", "name": "Dog", "namespace": "Scm._Type.Union", @@ -864,12 +1266,12 @@ "decorators": [], "properties": [ { - "$id": "103", + "$id": "153", "kind": "property", "name": "bark", "serializedName": "bark", "type": { - "$id": "104", + "$id": "154", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -882,9 +1284,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.Dog.bark", "serializationOptions": { - "$id": "105", + "$id": "155", "json": { - "$id": "106", + "$id": "156", "name": "bark" } } @@ -902,9 +1304,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "107", + "$id": "157", "json": { - "$id": "108", + "$id": "158", "name": "prop" } } @@ -912,13 +1314,13 @@ ] }, { - "$ref": "97" + "$ref": "147" }, { - "$ref": "102" + "$ref": "152" }, { - "$id": "109", + "$id": "159", "kind": "model", "name": "SendRequest5", "namespace": "Scm._Type.Union", @@ -927,12 +1329,12 @@ "decorators": [], "properties": [ { - "$id": "110", + "$id": "160", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$ref": "96" + "$ref": "146" }, "optional": false, "readOnly": false, @@ -941,9 +1343,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.ModelsOnly.send.prop", "serializationOptions": { - "$id": "111", + "$id": "161", "json": { - "$id": "112", + "$id": "162", "name": "prop" } } @@ -951,7 +1353,7 @@ ] }, { - "$id": "113", + "$id": "163", "kind": "model", "name": "GetResponse6", "namespace": "Scm._Type.Union", @@ -960,12 +1362,12 @@ "decorators": [], "properties": [ { - "$id": "114", + "$id": "164", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "115", + "$id": "165", "kind": "model", "name": "EnumsOnlyCases", "namespace": "Scm._Type.Union", @@ -974,7 +1376,7 @@ "decorators": [], "properties": [ { - "$id": "116", + "$id": "166", "kind": "property", "name": "lr", "serializedName": "lr", @@ -989,15 +1391,15 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.EnumsOnlyCases.lr", "serializationOptions": { - "$id": "117", + "$id": "167", "json": { - "$id": "118", + "$id": "168", "name": "lr" } } }, { - "$id": "119", + "$id": "169", "kind": "property", "name": "ud", "serializedName": "ud", @@ -1012,9 +1414,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.EnumsOnlyCases.ud", "serializationOptions": { - "$id": "120", + "$id": "170", "json": { - "$id": "121", + "$id": "171", "name": "ud" } } @@ -1028,9 +1430,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "122", + "$id": "172", "json": { - "$id": "123", + "$id": "173", "name": "prop" } } @@ -1038,10 +1440,10 @@ ] }, { - "$ref": "115" + "$ref": "165" }, { - "$id": "124", + "$id": "174", "kind": "model", "name": "SendRequest6", "namespace": "Scm._Type.Union", @@ -1050,12 +1452,12 @@ "decorators": [], "properties": [ { - "$id": "125", + "$id": "175", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$ref": "115" + "$ref": "165" }, "optional": false, "readOnly": false, @@ -1064,9 +1466,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.EnumsOnly.send.prop", "serializationOptions": { - "$id": "126", + "$id": "176", "json": { - "$id": "127", + "$id": "177", "name": "prop" } } @@ -1074,7 +1476,7 @@ ] }, { - "$id": "128", + "$id": "178", "kind": "model", "name": "GetResponse7", "namespace": "Scm._Type.Union", @@ -1083,12 +1485,12 @@ "decorators": [], "properties": [ { - "$id": "129", + "$id": "179", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "130", + "$id": "180", "kind": "model", "name": "StringAndArrayCases", "namespace": "Scm._Type.Union", @@ -1097,29 +1499,29 @@ "decorators": [], "properties": [ { - "$id": "131", + "$id": "181", "kind": "property", "name": "string", "serializedName": "string", "doc": "This should be receive/send the string variant", "type": { - "$id": "132", + "$id": "182", "kind": "union", "name": "StringAndArrayCasesString", "variantTypes": [ { - "$id": "133", + "$id": "183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "134", + "$id": "184", "kind": "array", "name": "Array", "valueType": { - "$id": "135", + "$id": "185", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1139,33 +1541,33 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.StringAndArrayCases.string", "serializationOptions": { - "$id": "136", + "$id": "186", "json": { - "$id": "137", + "$id": "187", "name": "string" } } }, { - "$id": "138", + "$id": "188", "kind": "property", "name": "array", "serializedName": "array", "doc": "This should be receive/send the array variant", "type": { - "$id": "139", + "$id": "189", "kind": "union", "name": "StringAndArrayCasesArray", "variantTypes": [ { - "$id": "140", + "$id": "190", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$ref": "134" + "$ref": "184" } ], "namespace": "", @@ -1178,9 +1580,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.StringAndArrayCases.array", "serializationOptions": { - "$id": "141", + "$id": "191", "json": { - "$id": "142", + "$id": "192", "name": "array" } } @@ -1194,9 +1596,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "143", + "$id": "193", "json": { - "$id": "144", + "$id": "194", "name": "prop" } } @@ -1204,10 +1606,10 @@ ] }, { - "$ref": "130" + "$ref": "180" }, { - "$id": "145", + "$id": "195", "kind": "model", "name": "SendRequest7", "namespace": "Scm._Type.Union", @@ -1216,12 +1618,12 @@ "decorators": [], "properties": [ { - "$id": "146", + "$id": "196", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$ref": "130" + "$ref": "180" }, "optional": false, "readOnly": false, @@ -1230,9 +1632,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.StringAndArray.send.prop", "serializationOptions": { - "$id": "147", + "$id": "197", "json": { - "$id": "148", + "$id": "198", "name": "prop" } } @@ -1240,7 +1642,7 @@ ] }, { - "$id": "149", + "$id": "199", "kind": "model", "name": "GetResponse8", "namespace": "Scm._Type.Union", @@ -1249,12 +1651,12 @@ "decorators": [], "properties": [ { - "$id": "150", + "$id": "200", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "151", + "$id": "201", "kind": "model", "name": "MixedLiteralsCases", "namespace": "Scm._Type.Union", @@ -1263,79 +1665,27 @@ "decorators": [], "properties": [ { - "$id": "152", + "$id": "202", "kind": "property", "name": "stringLiteral", "serializedName": "stringLiteral", "doc": "This should be receive/send the \"a\" variant", "type": { - "$id": "153", + "$id": "203", "kind": "union", "name": "MixedLiteralsCasesStringLiteral", "variantTypes": [ { - "$id": "154", - "kind": "constant", - "name": "MixedLiteralsCasesStringLiteral1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "155", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "a", - "decorators": [] + "$ref": "54" }, { - "$id": "156", - "kind": "constant", - "name": "MixedLiteralsCasesStringLiteral2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "157", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "value": 2, - "decorators": [] + "$ref": "56" }, { - "$id": "158", - "kind": "constant", - "name": "MixedLiteralsCasesStringLiteral3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "159", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] - }, - "value": 3.3, - "decorators": [] + "$ref": "58" }, { - "$id": "160", - "kind": "constant", - "name": "MixedLiteralsCasesStringLiteral4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "161", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "60" } ], "namespace": "", @@ -1348,21 +1698,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedLiteralsCases.stringLiteral", "serializationOptions": { - "$id": "162", + "$id": "204", "json": { - "$id": "163", + "$id": "205", "name": "stringLiteral" } } }, { - "$id": "164", + "$id": "206", "kind": "property", "name": "intLiteral", "serializedName": "intLiteral", "doc": "This should be receive/send the 2 variant", "type": { - "$ref": "153" + "$ref": "203" }, "optional": false, "readOnly": false, @@ -1371,21 +1721,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedLiteralsCases.intLiteral", "serializationOptions": { - "$id": "165", + "$id": "207", "json": { - "$id": "166", + "$id": "208", "name": "intLiteral" } } }, { - "$id": "167", + "$id": "209", "kind": "property", "name": "floatLiteral", "serializedName": "floatLiteral", "doc": "This should be receive/send the 3.3 variant", "type": { - "$ref": "153" + "$ref": "203" }, "optional": false, "readOnly": false, @@ -1394,21 +1744,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedLiteralsCases.floatLiteral", "serializationOptions": { - "$id": "168", + "$id": "210", "json": { - "$id": "169", + "$id": "211", "name": "floatLiteral" } } }, { - "$id": "170", + "$id": "212", "kind": "property", "name": "booleanLiteral", "serializedName": "booleanLiteral", "doc": "This should be receive/send the true variant", "type": { - "$ref": "153" + "$ref": "203" }, "optional": false, "readOnly": false, @@ -1417,9 +1767,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedLiteralsCases.booleanLiteral", "serializationOptions": { - "$id": "171", + "$id": "213", "json": { - "$id": "172", + "$id": "214", "name": "booleanLiteral" } } @@ -1433,9 +1783,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "173", + "$id": "215", "json": { - "$id": "174", + "$id": "216", "name": "prop" } } @@ -1443,10 +1793,10 @@ ] }, { - "$ref": "151" + "$ref": "201" }, { - "$id": "175", + "$id": "217", "kind": "model", "name": "SendRequest8", "namespace": "Scm._Type.Union", @@ -1455,12 +1805,12 @@ "decorators": [], "properties": [ { - "$id": "176", + "$id": "218", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$ref": "151" + "$ref": "201" }, "optional": false, "readOnly": false, @@ -1469,9 +1819,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedLiterals.send.prop", "serializationOptions": { - "$id": "177", + "$id": "219", "json": { - "$id": "178", + "$id": "220", "name": "prop" } } @@ -1479,7 +1829,7 @@ ] }, { - "$id": "179", + "$id": "221", "kind": "model", "name": "GetResponse9", "namespace": "Scm._Type.Union", @@ -1488,12 +1838,12 @@ "decorators": [], "properties": [ { - "$id": "180", + "$id": "222", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "181", + "$id": "223", "kind": "model", "name": "MixedTypesCases", "namespace": "Scm._Type.Union", @@ -1502,44 +1852,31 @@ "decorators": [], "properties": [ { - "$id": "182", + "$id": "224", "kind": "property", "name": "model", "serializedName": "model", "doc": "This should be receive/send the Cat variant", "type": { - "$id": "183", + "$id": "225", "kind": "union", "name": "MixedTypesCasesModel", "variantTypes": [ { - "$ref": "97" + "$ref": "147" }, { - "$id": "184", - "kind": "constant", - "name": "MixedLiteralsCasesStringLiteral11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "185", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "a", - "decorators": [] + "$ref": "62" }, { - "$id": "186", + "$id": "226", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, { - "$id": "187", + "$id": "227", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1556,21 +1893,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedTypesCases.model", "serializationOptions": { - "$id": "188", + "$id": "228", "json": { - "$id": "189", + "$id": "229", "name": "model" } } }, { - "$id": "190", + "$id": "230", "kind": "property", "name": "literal", "serializedName": "literal", "doc": "This should be receive/send the \"a\" variant", "type": { - "$ref": "183" + "$ref": "225" }, "optional": false, "readOnly": false, @@ -1579,21 +1916,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedTypesCases.literal", "serializationOptions": { - "$id": "191", + "$id": "231", "json": { - "$id": "192", + "$id": "232", "name": "literal" } } }, { - "$id": "193", + "$id": "233", "kind": "property", "name": "int", "serializedName": "int", "doc": "This should be receive/send the int variant", "type": { - "$ref": "183" + "$ref": "225" }, "optional": false, "readOnly": false, @@ -1602,21 +1939,21 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedTypesCases.int", "serializationOptions": { - "$id": "194", + "$id": "234", "json": { - "$id": "195", + "$id": "235", "name": "int" } } }, { - "$id": "196", + "$id": "236", "kind": "property", "name": "boolean", "serializedName": "boolean", "doc": "This should be receive/send the boolean variant", "type": { - "$ref": "183" + "$ref": "225" }, "optional": false, "readOnly": false, @@ -1625,25 +1962,25 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedTypesCases.boolean", "serializationOptions": { - "$id": "197", + "$id": "237", "json": { - "$id": "198", + "$id": "238", "name": "boolean" } } }, { - "$id": "199", + "$id": "239", "kind": "property", "name": "array", "serializedName": "array", "doc": "This should be receive/send 4 element with Cat, \"a\", int, and boolean", "type": { - "$id": "200", + "$id": "240", "kind": "array", "name": "Array1", "valueType": { - "$ref": "183" + "$ref": "225" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1655,9 +1992,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedTypesCases.array", "serializationOptions": { - "$id": "201", + "$id": "241", "json": { - "$id": "202", + "$id": "242", "name": "array" } } @@ -1671,9 +2008,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.get.Response.anonymous.prop", "serializationOptions": { - "$id": "203", + "$id": "243", "json": { - "$id": "204", + "$id": "244", "name": "prop" } } @@ -1681,10 +2018,10 @@ ] }, { - "$ref": "181" + "$ref": "223" }, { - "$id": "205", + "$id": "245", "kind": "model", "name": "SendRequest9", "namespace": "Scm._Type.Union", @@ -1693,12 +2030,12 @@ "decorators": [], "properties": [ { - "$id": "206", + "$id": "246", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$ref": "181" + "$ref": "223" }, "optional": false, "readOnly": false, @@ -1707,9 +2044,9 @@ "decorators": [], "crossLanguageDefinitionId": "Type.Union.MixedTypes.send.prop", "serializationOptions": { - "$id": "207", + "$id": "247", "json": { - "$id": "208", + "$id": "248", "name": "prop" } } @@ -1719,7 +2056,7 @@ ], "clients": [ { - "$id": "209", + "$id": "249", "kind": "client", "name": "UnionClient", "namespace": "Scm._Type.Union", @@ -1727,12 +2064,12 @@ "methods": [], "parameters": [ { - "$id": "210", + "$id": "250", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "211", + "$id": "251", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1746,9 +2083,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "212", + "$id": "252", "type": { - "$id": "213", + "$id": "253", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1762,43 +2099,30 @@ "apiVersions": [], "children": [ { - "$id": "214", + "$id": "254", "kind": "client", "name": "StringsOnly", "namespace": "Scm._Type.Union", "doc": "Describe union of string \"a\" | \"b\" | \"c\"", "methods": [ { - "$id": "215", + "$id": "255", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "216", + "$id": "256", "name": "get", "resourceName": "StringsOnly", "accessibility": "public", "parameters": [ { - "$id": "217", + "$id": "257", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "218", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "219", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -1813,12 +2137,12 @@ ], "responses": [ { - "$id": "220", + "$id": "258", "statusCodes": [ 200 ], "bodyType": { - "$ref": "54" + "$ref": "104" }, "headers": [], "isErrorResponse": false, @@ -1838,11 +2162,11 @@ }, "parameters": [ { - "$id": "221", + "$id": "259", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "218" + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -1856,9 +2180,9 @@ } ], "response": { - "$id": "222", + "$id": "260", "type": { - "$ref": "54" + "$ref": "104" } }, "isOverride": false, @@ -1867,37 +2191,24 @@ "crossLanguageDefinitionId": "Type.Union.StringsOnly.get" }, { - "$id": "223", + "$id": "261", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "224", + "$id": "262", "name": "send", "resourceName": "StringsOnly", "accessibility": "public", "parameters": [ { - "$id": "225", + "$id": "263", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "226", - "kind": "constant", - "name": "sendContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "227", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -1910,11 +2221,11 @@ "skipUrlEncoding": false }, { - "$id": "228", + "$id": "264", "name": "sendRequest", "nameInRequest": "sendRequest", "type": { - "$ref": "58" + "$ref": "108" }, "location": "Body", "isApiVersion": false, @@ -1929,7 +2240,7 @@ ], "responses": [ { - "$id": "229", + "$id": "265", "statusCodes": [ 204 ], @@ -1951,7 +2262,7 @@ }, "parameters": [ { - "$id": "230", + "$id": "266", "name": "prop", "nameInRequest": "prop", "type": { @@ -1968,12 +2279,12 @@ "skipUrlEncoding": false }, { - "$id": "231", + "$id": "267", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "226" + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -1987,7 +2298,7 @@ } ], "response": { - "$id": "232" + "$id": "268" }, "isOverride": false, "generateConvenient": true, @@ -1997,12 +2308,12 @@ ], "parameters": [ { - "$id": "233", + "$id": "269", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "234", + "$id": "270", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2016,9 +2327,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "235", + "$id": "271", "type": { - "$id": "236", + "$id": "272", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2031,47 +2342,34 @@ "crossLanguageDefinitionId": "Type.Union.StringsOnly", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "237", + "$id": "273", "kind": "client", "name": "StringExtensible", "namespace": "Scm._Type.Union", "doc": "Describe union of string string | \"b\" | \"c\"", "methods": [ { - "$id": "238", + "$id": "274", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "239", + "$id": "275", "name": "get", "resourceName": "StringExtensible", "accessibility": "public", "parameters": [ { - "$id": "240", + "$id": "276", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "241", - "kind": "constant", - "name": "getContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "242", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -2086,12 +2384,12 @@ ], "responses": [ { - "$id": "243", + "$id": "277", "statusCodes": [ 200 ], "bodyType": { - "$ref": "62" + "$ref": "112" }, "headers": [], "isErrorResponse": false, @@ -2111,11 +2409,11 @@ }, "parameters": [ { - "$id": "244", + "$id": "278", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "241" + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -2129,9 +2427,9 @@ } ], "response": { - "$id": "245", + "$id": "279", "type": { - "$ref": "62" + "$ref": "112" } }, "isOverride": false, @@ -2140,37 +2438,24 @@ "crossLanguageDefinitionId": "Type.Union.StringExtensible.get" }, { - "$id": "246", + "$id": "280", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "247", + "$id": "281", "name": "send", "resourceName": "StringExtensible", "accessibility": "public", "parameters": [ { - "$id": "248", + "$id": "282", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "249", - "kind": "constant", - "name": "sendContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "250", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -2183,11 +2468,11 @@ "skipUrlEncoding": false }, { - "$id": "251", + "$id": "283", "name": "sendRequest1", "nameInRequest": "sendRequest1", "type": { - "$ref": "66" + "$ref": "116" }, "location": "Body", "isApiVersion": false, @@ -2202,7 +2487,7 @@ ], "responses": [ { - "$id": "252", + "$id": "284", "statusCodes": [ 204 ], @@ -2224,7 +2509,7 @@ }, "parameters": [ { - "$id": "253", + "$id": "285", "name": "prop", "nameInRequest": "prop", "type": { @@ -2241,12 +2526,12 @@ "skipUrlEncoding": false }, { - "$id": "254", + "$id": "286", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "249" + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -2260,7 +2545,7 @@ } ], "response": { - "$id": "255" + "$id": "287" }, "isOverride": false, "generateConvenient": true, @@ -2270,12 +2555,12 @@ ], "parameters": [ { - "$id": "256", + "$id": "288", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "257", + "$id": "289", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2289,9 +2574,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "258", + "$id": "290", "type": { - "$id": "259", + "$id": "291", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2304,47 +2589,34 @@ "crossLanguageDefinitionId": "Type.Union.StringExtensible", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "260", + "$id": "292", "kind": "client", "name": "StringExtensibleNamed", "namespace": "Scm._Type.Union", "doc": "Describe union of string string | \"b\" | \"c\" but where the union is named and some of the variants are named", "methods": [ { - "$id": "261", + "$id": "293", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "262", + "$id": "294", "name": "get", "resourceName": "StringExtensibleNamed", "accessibility": "public", "parameters": [ { - "$id": "263", + "$id": "295", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "264", - "kind": "constant", - "name": "getContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "265", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -2359,12 +2631,12 @@ ], "responses": [ { - "$id": "266", + "$id": "296", "statusCodes": [ 200 ], "bodyType": { - "$ref": "70" + "$ref": "120" }, "headers": [], "isErrorResponse": false, @@ -2384,11 +2656,11 @@ }, "parameters": [ { - "$id": "267", + "$id": "297", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "264" + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -2402,9 +2674,9 @@ } ], "response": { - "$id": "268", + "$id": "298", "type": { - "$ref": "70" + "$ref": "120" } }, "isOverride": false, @@ -2413,37 +2685,24 @@ "crossLanguageDefinitionId": "Type.Union.StringExtensibleNamed.get" }, { - "$id": "269", + "$id": "299", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "270", + "$id": "300", "name": "send", "resourceName": "StringExtensibleNamed", "accessibility": "public", "parameters": [ { - "$id": "271", + "$id": "301", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "272", - "kind": "constant", - "name": "sendContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "273", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -2456,11 +2715,11 @@ "skipUrlEncoding": false }, { - "$id": "274", + "$id": "302", "name": "sendRequest2", "nameInRequest": "sendRequest2", "type": { - "$ref": "74" + "$ref": "124" }, "location": "Body", "isApiVersion": false, @@ -2475,7 +2734,7 @@ ], "responses": [ { - "$id": "275", + "$id": "303", "statusCodes": [ 204 ], @@ -2497,7 +2756,7 @@ }, "parameters": [ { - "$id": "276", + "$id": "304", "name": "prop", "nameInRequest": "prop", "type": { @@ -2514,12 +2773,12 @@ "skipUrlEncoding": false }, { - "$id": "277", + "$id": "305", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "272" + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -2533,7 +2792,7 @@ } ], "response": { - "$id": "278" + "$id": "306" }, "isOverride": false, "generateConvenient": true, @@ -2543,12 +2802,12 @@ ], "parameters": [ { - "$id": "279", + "$id": "307", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "280", + "$id": "308", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2562,9 +2821,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "281", + "$id": "309", "type": { - "$id": "282", + "$id": "310", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2577,47 +2836,34 @@ "crossLanguageDefinitionId": "Type.Union.StringExtensibleNamed", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "283", + "$id": "311", "kind": "client", "name": "IntsOnly", "namespace": "Scm._Type.Union", "doc": "Describe union of integer 1 | 2 | 3", "methods": [ { - "$id": "284", + "$id": "312", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "285", + "$id": "313", "name": "get", "resourceName": "IntsOnly", "accessibility": "public", "parameters": [ { - "$id": "286", + "$id": "314", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "287", - "kind": "constant", - "name": "getContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "288", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -2632,12 +2878,12 @@ ], "responses": [ { - "$id": "289", + "$id": "315", "statusCodes": [ 200 ], "bodyType": { - "$ref": "78" + "$ref": "128" }, "headers": [], "isErrorResponse": false, @@ -2657,11 +2903,11 @@ }, "parameters": [ { - "$id": "290", + "$id": "316", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "287" + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -2675,9 +2921,9 @@ } ], "response": { - "$id": "291", + "$id": "317", "type": { - "$ref": "78" + "$ref": "128" } }, "isOverride": false, @@ -2686,37 +2932,24 @@ "crossLanguageDefinitionId": "Type.Union.IntsOnly.get" }, { - "$id": "292", + "$id": "318", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "293", + "$id": "319", "name": "send", "resourceName": "IntsOnly", "accessibility": "public", "parameters": [ { - "$id": "294", + "$id": "320", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "295", - "kind": "constant", - "name": "sendContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "296", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -2729,11 +2962,11 @@ "skipUrlEncoding": false }, { - "$id": "297", + "$id": "321", "name": "sendRequest3", "nameInRequest": "sendRequest3", "type": { - "$ref": "82" + "$ref": "132" }, "location": "Body", "isApiVersion": false, @@ -2748,7 +2981,7 @@ ], "responses": [ { - "$id": "298", + "$id": "322", "statusCodes": [ 204 ], @@ -2770,7 +3003,7 @@ }, "parameters": [ { - "$id": "299", + "$id": "323", "name": "prop", "nameInRequest": "prop", "type": { @@ -2787,12 +3020,12 @@ "skipUrlEncoding": false }, { - "$id": "300", + "$id": "324", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "295" + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -2806,7 +3039,7 @@ } ], "response": { - "$id": "301" + "$id": "325" }, "isOverride": false, "generateConvenient": true, @@ -2816,12 +3049,12 @@ ], "parameters": [ { - "$id": "302", + "$id": "326", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "303", + "$id": "327", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2835,9 +3068,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "304", + "$id": "328", "type": { - "$id": "305", + "$id": "329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2850,47 +3083,34 @@ "crossLanguageDefinitionId": "Type.Union.IntsOnly", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "306", + "$id": "330", "kind": "client", "name": "FloatsOnly", "namespace": "Scm._Type.Union", "doc": "Describe union of floats 1.1 | 2.2 | 3.3", "methods": [ { - "$id": "307", + "$id": "331", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "308", + "$id": "332", "name": "get", "resourceName": "FloatsOnly", "accessibility": "public", "parameters": [ { - "$id": "309", + "$id": "333", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "310", - "kind": "constant", - "name": "getContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "311", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -2905,12 +3125,12 @@ ], "responses": [ { - "$id": "312", + "$id": "334", "statusCodes": [ 200 ], "bodyType": { - "$ref": "86" + "$ref": "136" }, "headers": [], "isErrorResponse": false, @@ -2930,11 +3150,11 @@ }, "parameters": [ { - "$id": "313", + "$id": "335", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "310" + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -2948,9 +3168,9 @@ } ], "response": { - "$id": "314", + "$id": "336", "type": { - "$ref": "86" + "$ref": "136" } }, "isOverride": false, @@ -2959,37 +3179,24 @@ "crossLanguageDefinitionId": "Type.Union.FloatsOnly.get" }, { - "$id": "315", + "$id": "337", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "316", + "$id": "338", "name": "send", "resourceName": "FloatsOnly", "accessibility": "public", "parameters": [ { - "$id": "317", + "$id": "339", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "318", - "kind": "constant", - "name": "sendContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "319", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -3002,11 +3209,11 @@ "skipUrlEncoding": false }, { - "$id": "320", + "$id": "340", "name": "sendRequest4", "nameInRequest": "sendRequest4", "type": { - "$ref": "90" + "$ref": "140" }, "location": "Body", "isApiVersion": false, @@ -3021,7 +3228,7 @@ ], "responses": [ { - "$id": "321", + "$id": "341", "statusCodes": [ 204 ], @@ -3043,7 +3250,7 @@ }, "parameters": [ { - "$id": "322", + "$id": "342", "name": "prop", "nameInRequest": "prop", "type": { @@ -3060,12 +3267,12 @@ "skipUrlEncoding": false }, { - "$id": "323", + "$id": "343", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "318" + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -3079,7 +3286,7 @@ } ], "response": { - "$id": "324" + "$id": "344" }, "isOverride": false, "generateConvenient": true, @@ -3089,12 +3296,12 @@ ], "parameters": [ { - "$id": "325", + "$id": "345", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "326", + "$id": "346", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3108,9 +3315,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "327", + "$id": "347", "type": { - "$id": "328", + "$id": "348", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3123,47 +3330,34 @@ "crossLanguageDefinitionId": "Type.Union.FloatsOnly", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "329", + "$id": "349", "kind": "client", "name": "ModelsOnly", "namespace": "Scm._Type.Union", "doc": "Describe union of models", "methods": [ { - "$id": "330", + "$id": "350", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "331", + "$id": "351", "name": "get", "resourceName": "ModelsOnly", "accessibility": "public", "parameters": [ { - "$id": "332", + "$id": "352", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "333", - "kind": "constant", - "name": "getContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "334", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -3178,12 +3372,12 @@ ], "responses": [ { - "$id": "335", + "$id": "353", "statusCodes": [ 200 ], "bodyType": { - "$ref": "94" + "$ref": "144" }, "headers": [], "isErrorResponse": false, @@ -3203,11 +3397,11 @@ }, "parameters": [ { - "$id": "336", + "$id": "354", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "333" + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -3221,9 +3415,9 @@ } ], "response": { - "$id": "337", + "$id": "355", "type": { - "$ref": "94" + "$ref": "144" } }, "isOverride": false, @@ -3232,37 +3426,24 @@ "crossLanguageDefinitionId": "Type.Union.ModelsOnly.get" }, { - "$id": "338", + "$id": "356", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "339", + "$id": "357", "name": "send", "resourceName": "ModelsOnly", "accessibility": "public", "parameters": [ { - "$id": "340", + "$id": "358", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "341", - "kind": "constant", - "name": "sendContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "342", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -3275,11 +3456,11 @@ "skipUrlEncoding": false }, { - "$id": "343", + "$id": "359", "name": "sendRequest5", "nameInRequest": "sendRequest5", "type": { - "$ref": "109" + "$ref": "159" }, "location": "Body", "isApiVersion": false, @@ -3294,7 +3475,7 @@ ], "responses": [ { - "$id": "344", + "$id": "360", "statusCodes": [ 204 ], @@ -3316,11 +3497,11 @@ }, "parameters": [ { - "$id": "345", + "$id": "361", "name": "prop", "nameInRequest": "prop", "type": { - "$ref": "96" + "$ref": "146" }, "location": "Body", "isApiVersion": false, @@ -3333,12 +3514,12 @@ "skipUrlEncoding": false }, { - "$id": "346", + "$id": "362", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "341" + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -3352,7 +3533,7 @@ } ], "response": { - "$id": "347" + "$id": "363" }, "isOverride": false, "generateConvenient": true, @@ -3362,12 +3543,12 @@ ], "parameters": [ { - "$id": "348", + "$id": "364", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "349", + "$id": "365", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3381,9 +3562,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "350", + "$id": "366", "type": { - "$id": "351", + "$id": "367", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3396,47 +3577,34 @@ "crossLanguageDefinitionId": "Type.Union.ModelsOnly", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "352", + "$id": "368", "kind": "client", "name": "EnumsOnly", "namespace": "Scm._Type.Union", "doc": "Describe union of 2 different enums", "methods": [ { - "$id": "353", + "$id": "369", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "354", + "$id": "370", "name": "get", "resourceName": "EnumsOnly", "accessibility": "public", "parameters": [ { - "$id": "355", + "$id": "371", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "356", - "kind": "constant", - "name": "getContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "357", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -3451,12 +3619,12 @@ ], "responses": [ { - "$id": "358", + "$id": "372", "statusCodes": [ 200 ], "bodyType": { - "$ref": "113" + "$ref": "163" }, "headers": [], "isErrorResponse": false, @@ -3476,11 +3644,11 @@ }, "parameters": [ { - "$id": "359", + "$id": "373", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "356" + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -3494,9 +3662,9 @@ } ], "response": { - "$id": "360", + "$id": "374", "type": { - "$ref": "113" + "$ref": "163" } }, "isOverride": false, @@ -3505,37 +3673,24 @@ "crossLanguageDefinitionId": "Type.Union.EnumsOnly.get" }, { - "$id": "361", + "$id": "375", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "362", + "$id": "376", "name": "send", "resourceName": "EnumsOnly", "accessibility": "public", "parameters": [ { - "$id": "363", + "$id": "377", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "364", - "kind": "constant", - "name": "sendContentType6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "365", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -3548,11 +3703,11 @@ "skipUrlEncoding": false }, { - "$id": "366", + "$id": "378", "name": "sendRequest6", "nameInRequest": "sendRequest6", "type": { - "$ref": "124" + "$ref": "174" }, "location": "Body", "isApiVersion": false, @@ -3567,7 +3722,7 @@ ], "responses": [ { - "$id": "367", + "$id": "379", "statusCodes": [ 204 ], @@ -3589,11 +3744,11 @@ }, "parameters": [ { - "$id": "368", + "$id": "380", "name": "prop", "nameInRequest": "prop", "type": { - "$ref": "115" + "$ref": "165" }, "location": "Body", "isApiVersion": false, @@ -3606,12 +3761,12 @@ "skipUrlEncoding": false }, { - "$id": "369", + "$id": "381", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "364" + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -3625,7 +3780,7 @@ } ], "response": { - "$id": "370" + "$id": "382" }, "isOverride": false, "generateConvenient": true, @@ -3635,12 +3790,12 @@ ], "parameters": [ { - "$id": "371", + "$id": "383", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "372", + "$id": "384", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3654,9 +3809,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "373", + "$id": "385", "type": { - "$id": "374", + "$id": "386", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3669,47 +3824,34 @@ "crossLanguageDefinitionId": "Type.Union.EnumsOnly", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "375", + "$id": "387", "kind": "client", "name": "StringAndArray", "namespace": "Scm._Type.Union", "doc": "Describe union of a string and an array of strings", "methods": [ { - "$id": "376", + "$id": "388", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "377", + "$id": "389", "name": "get", "resourceName": "StringAndArray", "accessibility": "public", "parameters": [ { - "$id": "378", + "$id": "390", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "379", - "kind": "constant", - "name": "getContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "380", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -3724,12 +3866,12 @@ ], "responses": [ { - "$id": "381", + "$id": "391", "statusCodes": [ 200 ], "bodyType": { - "$ref": "128" + "$ref": "178" }, "headers": [], "isErrorResponse": false, @@ -3749,11 +3891,11 @@ }, "parameters": [ { - "$id": "382", + "$id": "392", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "379" + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -3767,9 +3909,9 @@ } ], "response": { - "$id": "383", + "$id": "393", "type": { - "$ref": "128" + "$ref": "178" } }, "isOverride": false, @@ -3778,37 +3920,24 @@ "crossLanguageDefinitionId": "Type.Union.StringAndArray.get" }, { - "$id": "384", + "$id": "394", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "385", + "$id": "395", "name": "send", "resourceName": "StringAndArray", "accessibility": "public", "parameters": [ { - "$id": "386", + "$id": "396", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "387", - "kind": "constant", - "name": "sendContentType7", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "388", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -3821,11 +3950,11 @@ "skipUrlEncoding": false }, { - "$id": "389", + "$id": "397", "name": "sendRequest7", "nameInRequest": "sendRequest7", "type": { - "$ref": "145" + "$ref": "195" }, "location": "Body", "isApiVersion": false, @@ -3840,7 +3969,7 @@ ], "responses": [ { - "$id": "390", + "$id": "398", "statusCodes": [ 204 ], @@ -3862,11 +3991,11 @@ }, "parameters": [ { - "$id": "391", + "$id": "399", "name": "prop", "nameInRequest": "prop", "type": { - "$ref": "130" + "$ref": "180" }, "location": "Body", "isApiVersion": false, @@ -3879,12 +4008,12 @@ "skipUrlEncoding": false }, { - "$id": "392", + "$id": "400", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "387" + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -3898,7 +4027,7 @@ } ], "response": { - "$id": "393" + "$id": "401" }, "isOverride": false, "generateConvenient": true, @@ -3908,12 +4037,12 @@ ], "parameters": [ { - "$id": "394", + "$id": "402", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "395", + "$id": "403", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3927,9 +4056,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "396", + "$id": "404", "type": { - "$id": "397", + "$id": "405", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3942,47 +4071,34 @@ "crossLanguageDefinitionId": "Type.Union.StringAndArray", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "398", + "$id": "406", "kind": "client", "name": "MixedLiterals", "namespace": "Scm._Type.Union", "doc": "Describe union of floats \"a\" | 2 | 3.3", "methods": [ { - "$id": "399", + "$id": "407", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "400", + "$id": "408", "name": "get", "resourceName": "MixedLiterals", "accessibility": "public", "parameters": [ { - "$id": "401", + "$id": "409", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "402", - "kind": "constant", - "name": "getContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "403", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -3997,12 +4113,12 @@ ], "responses": [ { - "$id": "404", + "$id": "410", "statusCodes": [ 200 ], "bodyType": { - "$ref": "149" + "$ref": "199" }, "headers": [], "isErrorResponse": false, @@ -4022,11 +4138,11 @@ }, "parameters": [ { - "$id": "405", + "$id": "411", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "402" + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -4040,9 +4156,9 @@ } ], "response": { - "$id": "406", + "$id": "412", "type": { - "$ref": "149" + "$ref": "199" } }, "isOverride": false, @@ -4051,37 +4167,24 @@ "crossLanguageDefinitionId": "Type.Union.MixedLiterals.get" }, { - "$id": "407", + "$id": "413", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "408", + "$id": "414", "name": "send", "resourceName": "MixedLiterals", "accessibility": "public", "parameters": [ { - "$id": "409", + "$id": "415", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "410", - "kind": "constant", - "name": "sendContentType8", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "411", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -4094,11 +4197,11 @@ "skipUrlEncoding": false }, { - "$id": "412", + "$id": "416", "name": "sendRequest8", "nameInRequest": "sendRequest8", "type": { - "$ref": "175" + "$ref": "217" }, "location": "Body", "isApiVersion": false, @@ -4113,7 +4216,7 @@ ], "responses": [ { - "$id": "413", + "$id": "417", "statusCodes": [ 204 ], @@ -4135,11 +4238,11 @@ }, "parameters": [ { - "$id": "414", + "$id": "418", "name": "prop", "nameInRequest": "prop", "type": { - "$ref": "151" + "$ref": "201" }, "location": "Body", "isApiVersion": false, @@ -4152,12 +4255,12 @@ "skipUrlEncoding": false }, { - "$id": "415", + "$id": "419", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "410" + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -4171,7 +4274,7 @@ } ], "response": { - "$id": "416" + "$id": "420" }, "isOverride": false, "generateConvenient": true, @@ -4181,12 +4284,12 @@ ], "parameters": [ { - "$id": "417", + "$id": "421", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "418", + "$id": "422", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4200,9 +4303,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "419", + "$id": "423", "type": { - "$id": "420", + "$id": "424", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4215,47 +4318,34 @@ "crossLanguageDefinitionId": "Type.Union.MixedLiterals", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } }, { - "$id": "421", + "$id": "425", "kind": "client", "name": "MixedTypes", "namespace": "Scm._Type.Union", "doc": "Describe union of floats \"a\" | 2 | 3.3", "methods": [ { - "$id": "422", + "$id": "426", "kind": "basic", "name": "get", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "423", + "$id": "427", "name": "get", "resourceName": "MixedTypes", "accessibility": "public", "parameters": [ { - "$id": "424", + "$id": "428", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "425", - "kind": "constant", - "name": "getContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "426", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -4270,12 +4360,12 @@ ], "responses": [ { - "$id": "427", + "$id": "429", "statusCodes": [ 200 ], "bodyType": { - "$ref": "179" + "$ref": "221" }, "headers": [], "isErrorResponse": false, @@ -4295,11 +4385,11 @@ }, "parameters": [ { - "$id": "428", + "$id": "430", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "425" + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -4313,9 +4403,9 @@ } ], "response": { - "$id": "429", + "$id": "431", "type": { - "$ref": "179" + "$ref": "221" } }, "isOverride": false, @@ -4324,37 +4414,24 @@ "crossLanguageDefinitionId": "Type.Union.MixedTypes.get" }, { - "$id": "430", + "$id": "432", "kind": "basic", "name": "send", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "431", + "$id": "433", "name": "send", "resourceName": "MixedTypes", "accessibility": "public", "parameters": [ { - "$id": "432", + "$id": "434", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "433", - "kind": "constant", - "name": "sendContentType9", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "434", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -4371,7 +4448,7 @@ "name": "sendRequest9", "nameInRequest": "sendRequest9", "type": { - "$ref": "205" + "$ref": "245" }, "location": "Body", "isApiVersion": false, @@ -4412,7 +4489,7 @@ "name": "prop", "nameInRequest": "prop", "type": { - "$ref": "181" + "$ref": "223" }, "location": "Body", "isApiVersion": false, @@ -4430,7 +4507,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "433" + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -4488,7 +4565,7 @@ "crossLanguageDefinitionId": "Type.Union.MixedTypes", "apiVersions": [], "parent": { - "$ref": "209" + "$ref": "249" } } ] diff --git a/test/TestProjects/Authoring-TypeSpec/tspCodeModel.json b/test/TestProjects/Authoring-TypeSpec/tspCodeModel.json index f02e2f58b06..ee4006e2c78 100644 --- a/test/TestProjects/Authoring-TypeSpec/tspCodeModel.json +++ b/test/TestProjects/Authoring-TypeSpec/tspCodeModel.json @@ -369,9 +369,523 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "42", + "kind": "constant", + "name": "createOrUpdateContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "createOrUpdateContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "createOrUpdateContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "createOrUpdateContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "deleteContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "deleteContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "listContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "exportContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "exportContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "importxContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "importxContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "trainContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "trainContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "70", + "kind": "constant", + "name": "trainContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "72", + "kind": "constant", + "name": "trainContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "74", + "kind": "constant", + "name": "getDeploymentContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "76", + "kind": "constant", + "name": "deployProjectContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "78", + "kind": "constant", + "name": "deployProjectContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "80", + "kind": "constant", + "name": "deployProjectContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "82", + "kind": "constant", + "name": "deployProjectContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "84", + "kind": "constant", + "name": "deleteDeploymentContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "86", + "kind": "constant", + "name": "deleteDeploymentContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "88", + "kind": "constant", + "name": "listContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "90", + "kind": "constant", + "name": "swapDeploymentsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "91", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "92", + "kind": "constant", + "name": "swapDeploymentsContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "94", + "kind": "constant", + "name": "swapDeploymentsContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "96", + "kind": "constant", + "name": "swapDeploymentsContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "98", + "kind": "constant", + "name": "getDeploymentStatusContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "100", + "kind": "constant", + "name": "getSwapDeploymentsStatusContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "102", + "kind": "constant", + "name": "getSupportedLanguagesContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "104", + "kind": "constant", + "name": "listTrainingConfigVersionsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "106", "kind": "model", "name": "DeploymentJob", "namespace": "AuthoringTypeSpec", @@ -380,13 +894,13 @@ "decorators": [], "properties": [ { - "$id": "43", + "$id": "107", "kind": "property", "name": "jobId", "serializedName": "jobId", "doc": "The job ID.", "type": { - "$id": "44", + "$id": "108", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -399,26 +913,26 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.DeploymentJob.jobId", "serializationOptions": { - "$id": "45", + "$id": "109", "json": { - "$id": "46", + "$id": "110", "name": "jobId" } } }, { - "$id": "47", + "$id": "111", "kind": "property", "name": "createdDateTime", "serializedName": "createdDateTime", "doc": "The creation date time of the job.", "type": { - "$id": "48", + "$id": "112", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "49", + "$id": "113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -434,26 +948,26 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.DeploymentJob.createdDateTime", "serializationOptions": { - "$id": "50", + "$id": "114", "json": { - "$id": "51", + "$id": "115", "name": "createdDateTime" } } }, { - "$id": "52", + "$id": "116", "kind": "property", "name": "lastUpdatedDateTime", "serializedName": "lastUpdatedDateTime", "doc": "The the last date time the job was updated.", "type": { - "$id": "53", + "$id": "117", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "54", + "$id": "118", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -469,26 +983,26 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.DeploymentJob.lastUpdatedDateTime", "serializationOptions": { - "$id": "55", + "$id": "119", "json": { - "$id": "56", + "$id": "120", "name": "lastUpdatedDateTime" } } }, { - "$id": "57", + "$id": "121", "kind": "property", "name": "expirationDateTime", "serializedName": "expirationDateTime", "doc": "The expiration date time of the job.", "type": { - "$id": "58", + "$id": "122", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "59", + "$id": "123", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -504,15 +1018,15 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.DeploymentJob.expirationDateTime", "serializationOptions": { - "$id": "60", + "$id": "124", "json": { - "$id": "61", + "$id": "125", "name": "expirationDateTime" } } }, { - "$id": "62", + "$id": "126", "kind": "property", "name": "status", "serializedName": "status", @@ -527,25 +1041,25 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.DeploymentJob.status", "serializationOptions": { - "$id": "63", + "$id": "127", "json": { - "$id": "64", + "$id": "128", "name": "status" } } }, { - "$id": "65", + "$id": "129", "kind": "property", "name": "warnings", "serializedName": "warnings", "doc": "The warnings that were encountered while executing the job.", "type": { - "$id": "66", + "$id": "130", "kind": "array", "name": "ArrayJobWarning", "valueType": { - "$id": "67", + "$id": "131", "kind": "model", "name": "JobWarning", "namespace": "AuthoringTypeSpec", @@ -555,13 +1069,13 @@ "decorators": [], "properties": [ { - "$id": "68", + "$id": "132", "kind": "property", "name": "code", "serializedName": "code", "doc": "The warning code.", "type": { - "$id": "69", + "$id": "133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -574,21 +1088,21 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.JobWarning.code", "serializationOptions": { - "$id": "70", + "$id": "134", "json": { - "$id": "71", + "$id": "135", "name": "code" } } }, { - "$id": "72", + "$id": "136", "kind": "property", "name": "message", "serializedName": "message", "doc": "The warning message.", "type": { - "$id": "73", + "$id": "137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -601,9 +1115,9 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.JobWarning.message", "serializationOptions": { - "$id": "74", + "$id": "138", "json": { - "$id": "75", + "$id": "139", "name": "message" } } @@ -620,21 +1134,21 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.DeploymentJob.warnings", "serializationOptions": { - "$id": "76", + "$id": "140", "json": { - "$id": "77", + "$id": "141", "name": "warnings" } } }, { - "$id": "78", + "$id": "142", "kind": "property", "name": "errors", "serializedName": "errors", "doc": "The errors encountered while executing the job.", "type": { - "$id": "79", + "$id": "143", "kind": "model", "name": "Error", "namespace": "Azure.Core.Foundations", @@ -644,13 +1158,13 @@ "decorators": [], "properties": [ { - "$id": "80", + "$id": "144", "kind": "property", "name": "code", "serializedName": "code", "doc": "One of a server-defined set of error codes.", "type": { - "$id": "81", + "$id": "145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -663,21 +1177,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.code", "serializationOptions": { - "$id": "82", + "$id": "146", "json": { - "$id": "83", + "$id": "147", "name": "code" } } }, { - "$id": "84", + "$id": "148", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable representation of the error.", "type": { - "$id": "85", + "$id": "149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -690,21 +1204,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.message", "serializationOptions": { - "$id": "86", + "$id": "150", "json": { - "$id": "87", + "$id": "151", "name": "message" } } }, { - "$id": "88", + "$id": "152", "kind": "property", "name": "target", "serializedName": "target", "doc": "The target of the error.", "type": { - "$id": "89", + "$id": "153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -717,25 +1231,25 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.target", "serializationOptions": { - "$id": "90", + "$id": "154", "json": { - "$id": "91", + "$id": "155", "name": "target" } } }, { - "$id": "92", + "$id": "156", "kind": "property", "name": "details", "serializedName": "details", "doc": "An array of details about specific errors that led to this reported error.", "type": { - "$id": "93", + "$id": "157", "kind": "array", "name": "ArrayError", "valueType": { - "$ref": "79" + "$ref": "143" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -747,21 +1261,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.details", "serializationOptions": { - "$id": "94", + "$id": "158", "json": { - "$id": "95", + "$id": "159", "name": "details" } } }, { - "$id": "96", + "$id": "160", "kind": "property", "name": "innererror", "serializedName": "innererror", "doc": "An object containing more specific information than the current object about the error.", "type": { - "$id": "97", + "$id": "161", "kind": "model", "name": "InnerError", "namespace": "Azure.Core.Foundations", @@ -771,13 +1285,13 @@ "decorators": [], "properties": [ { - "$id": "98", + "$id": "162", "kind": "property", "name": "code", "serializedName": "code", "doc": "One of a server-defined set of error codes.", "type": { - "$id": "99", + "$id": "163", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -790,21 +1304,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.code", "serializationOptions": { - "$id": "100", + "$id": "164", "json": { - "$id": "101", + "$id": "165", "name": "code" } } }, { - "$id": "102", + "$id": "166", "kind": "property", "name": "innererror", "serializedName": "innererror", "doc": "Inner error.", "type": { - "$ref": "97" + "$ref": "161" }, "optional": true, "readOnly": false, @@ -813,9 +1327,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.innererror", "serializationOptions": { - "$id": "103", + "$id": "167", "json": { - "$id": "104", + "$id": "168", "name": "innererror" } } @@ -829,9 +1343,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.innererror", "serializationOptions": { - "$id": "105", + "$id": "169", "json": { - "$id": "106", + "$id": "170", "name": "innererror" } } @@ -845,20 +1359,20 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.DeploymentJob.errors", "serializationOptions": { - "$id": "107", + "$id": "171", "json": { - "$id": "108", + "$id": "172", "name": "errors" } } }, { - "$id": "109", + "$id": "173", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "110", + "$id": "174", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -871,9 +1385,9 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.DeploymentJob.id", "serializationOptions": { - "$id": "111", + "$id": "175", "json": { - "$id": "112", + "$id": "176", "name": "id" } } @@ -881,16 +1395,16 @@ ] }, { - "$ref": "67" + "$ref": "131" }, { - "$ref": "79" + "$ref": "143" }, { - "$ref": "97" + "$ref": "161" }, { - "$id": "113", + "$id": "177", "kind": "model", "name": "SwapDeploymentsJob", "namespace": "AuthoringTypeSpec", @@ -899,13 +1413,13 @@ "decorators": [], "properties": [ { - "$id": "114", + "$id": "178", "kind": "property", "name": "jobId", "serializedName": "jobId", "doc": "The job ID.", "type": { - "$id": "115", + "$id": "179", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -918,26 +1432,26 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.SwapDeploymentsJob.jobId", "serializationOptions": { - "$id": "116", + "$id": "180", "json": { - "$id": "117", + "$id": "181", "name": "jobId" } } }, { - "$id": "118", + "$id": "182", "kind": "property", "name": "createdDateTime", "serializedName": "createdDateTime", "doc": "The creation date time of the job.", "type": { - "$id": "119", + "$id": "183", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "120", + "$id": "184", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -953,26 +1467,26 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.SwapDeploymentsJob.createdDateTime", "serializationOptions": { - "$id": "121", + "$id": "185", "json": { - "$id": "122", + "$id": "186", "name": "createdDateTime" } } }, { - "$id": "123", + "$id": "187", "kind": "property", "name": "lastUpdatedDateTime", "serializedName": "lastUpdatedDateTime", "doc": "The the last date time the job was updated.", "type": { - "$id": "124", + "$id": "188", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "125", + "$id": "189", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -988,26 +1502,26 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.SwapDeploymentsJob.lastUpdatedDateTime", "serializationOptions": { - "$id": "126", + "$id": "190", "json": { - "$id": "127", + "$id": "191", "name": "lastUpdatedDateTime" } } }, { - "$id": "128", + "$id": "192", "kind": "property", "name": "expirationDateTime", "serializedName": "expirationDateTime", "doc": "The expiration date time of the job.", "type": { - "$id": "129", + "$id": "193", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "130", + "$id": "194", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1023,15 +1537,15 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.SwapDeploymentsJob.expirationDateTime", "serializationOptions": { - "$id": "131", + "$id": "195", "json": { - "$id": "132", + "$id": "196", "name": "expirationDateTime" } } }, { - "$id": "133", + "$id": "197", "kind": "property", "name": "status", "serializedName": "status", @@ -1046,21 +1560,21 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.SwapDeploymentsJob.status", "serializationOptions": { - "$id": "134", + "$id": "198", "json": { - "$id": "135", + "$id": "199", "name": "status" } } }, { - "$id": "136", + "$id": "200", "kind": "property", "name": "warnings", "serializedName": "warnings", "doc": "The warnings that were encountered while executing the job.", "type": { - "$ref": "66" + "$ref": "130" }, "optional": false, "readOnly": false, @@ -1069,21 +1583,21 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.SwapDeploymentsJob.warnings", "serializationOptions": { - "$id": "137", + "$id": "201", "json": { - "$id": "138", + "$id": "202", "name": "warnings" } } }, { - "$id": "139", + "$id": "203", "kind": "property", "name": "errors", "serializedName": "errors", "doc": "The errors encountered while executing the job.", "type": { - "$ref": "79" + "$ref": "143" }, "optional": false, "readOnly": false, @@ -1092,20 +1606,20 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.SwapDeploymentsJob.errors", "serializationOptions": { - "$id": "140", + "$id": "204", "json": { - "$id": "141", + "$id": "205", "name": "errors" } } }, { - "$id": "142", + "$id": "206", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "143", + "$id": "207", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1118,9 +1632,9 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.SwapDeploymentsJob.id", "serializationOptions": { - "$id": "144", + "$id": "208", "json": { - "$id": "145", + "$id": "209", "name": "id" } } @@ -1128,7 +1642,7 @@ ] }, { - "$id": "146", + "$id": "210", "kind": "model", "name": "Project", "namespace": "AuthoringTypeSpec", @@ -1137,12 +1651,12 @@ "decorators": [], "properties": [ { - "$id": "147", + "$id": "211", "kind": "property", "name": "projectName", "serializedName": "projectName", "type": { - "$id": "148", + "$id": "212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1155,11 +1669,11 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.Project.projectName", "serializationOptions": { - "$id": "149" + "$id": "213" } }, { - "$id": "150", + "$id": "214", "kind": "property", "name": "projectKind", "serializedName": "projectKind", @@ -1174,17 +1688,17 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.Project.projectKind", "serializationOptions": { - "$id": "151" + "$id": "215" } }, { - "$id": "152", + "$id": "216", "kind": "property", "name": "storageInputContainerName", "serializedName": "storageInputContainerName", "doc": "The storage container name.", "type": { - "$id": "153", + "$id": "217", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1197,17 +1711,17 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.Project.storageInputContainerName", "serializationOptions": { - "$id": "154" + "$id": "218" } }, { - "$id": "155", + "$id": "219", "kind": "property", "name": "settings", "serializedName": "settings", "doc": "The project settings.", "type": { - "$id": "156", + "$id": "220", "kind": "model", "name": "ProjectSettings", "namespace": "AuthoringTypeSpec", @@ -1216,7 +1730,7 @@ "doc": "Represents the settings used to define the project behavior.", "decorators": [], "additionalProperties": { - "$id": "157", + "$id": "221", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1231,17 +1745,17 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.Project.settings", "serializationOptions": { - "$id": "158" + "$id": "222" } }, { - "$id": "159", + "$id": "223", "kind": "property", "name": "multilingual", "serializedName": "multilingual", "doc": "Whether the project would be used for multiple languages or not.", "type": { - "$id": "160", + "$id": "224", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1254,17 +1768,17 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.Project.multilingual", "serializationOptions": { - "$id": "161" + "$id": "225" } }, { - "$id": "162", + "$id": "226", "kind": "property", "name": "description", "serializedName": "description", "doc": "The project description.", "type": { - "$id": "163", + "$id": "227", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1277,17 +1791,17 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.Project.description", "serializationOptions": { - "$id": "164" + "$id": "228" } }, { - "$id": "165", + "$id": "229", "kind": "property", "name": "language", "serializedName": "language", "doc": "The project language. This is BCP-47 representation of a language. For example, use \"en\" for English, \"en-gb\" for English (UK), \"es\" for Spanish etc.", "type": { - "$id": "166", + "$id": "230", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1300,22 +1814,22 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.Project.language", "serializationOptions": { - "$id": "167" + "$id": "231" } }, { - "$id": "168", + "$id": "232", "kind": "property", "name": "createdDateTime", "serializedName": "createdDateTime", "doc": "Represents the project creation datetime.", "type": { - "$id": "169", + "$id": "233", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "170", + "$id": "234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1331,22 +1845,22 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.Project.createdDateTime", "serializationOptions": { - "$id": "171" + "$id": "235" } }, { - "$id": "172", + "$id": "236", "kind": "property", "name": "lastModifiedDateTime", "serializedName": "lastModifiedDateTime", "doc": "Represents the project last modification datetime.", "type": { - "$id": "173", + "$id": "237", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "174", + "$id": "238", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1362,22 +1876,22 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.Project.lastModifiedDateTime", "serializationOptions": { - "$id": "175" + "$id": "239" } }, { - "$id": "176", + "$id": "240", "kind": "property", "name": "lastTrainedDateTime", "serializedName": "lastTrainedDateTime", "doc": "Represents the project last training datetime.", "type": { - "$id": "177", + "$id": "241", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "178", + "$id": "242", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1393,22 +1907,22 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.Project.lastTrainedDateTime", "serializationOptions": { - "$id": "179" + "$id": "243" } }, { - "$id": "180", + "$id": "244", "kind": "property", "name": "lastDeployedDateTime", "serializedName": "lastDeployedDateTime", "doc": "Represents the project last deployment datetime.", "type": { - "$id": "181", + "$id": "245", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "182", + "$id": "246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1424,16 +1938,16 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.Project.lastDeployedDateTime", "serializationOptions": { - "$id": "183" + "$id": "247" } } ] }, { - "$ref": "156" + "$ref": "220" }, { - "$id": "184", + "$id": "248", "kind": "model", "name": "OperationStatusError", "namespace": "Azure.Core.Foundations", @@ -1443,13 +1957,13 @@ "decorators": [], "properties": [ { - "$id": "185", + "$id": "249", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the operation.", "type": { - "$id": "186", + "$id": "250", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1462,11 +1976,11 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus.id", "serializationOptions": { - "$id": "187" + "$id": "251" } }, { - "$id": "188", + "$id": "252", "kind": "property", "name": "status", "serializedName": "status", @@ -1481,17 +1995,17 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus.status", "serializationOptions": { - "$id": "189" + "$id": "253" } }, { - "$id": "190", + "$id": "254", "kind": "property", "name": "error", "serializedName": "error", "doc": "Error object that describes the error when status is \"Failed\".", "type": { - "$ref": "79" + "$ref": "143" }, "optional": true, "readOnly": false, @@ -1500,13 +2014,13 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus.error", "serializationOptions": { - "$id": "191" + "$id": "255" } } ] }, { - "$id": "192", + "$id": "256", "kind": "model", "name": "PagedProject", "namespace": "Azure.Core.Foundations", @@ -1516,17 +2030,17 @@ "decorators": [], "properties": [ { - "$id": "193", + "$id": "257", "kind": "property", "name": "value", "serializedName": "value", "doc": "The Project items on this page", "type": { - "$id": "194", + "$id": "258", "kind": "array", "name": "ArrayProject", "valueType": { - "$ref": "146" + "$ref": "210" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1538,22 +2052,22 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.value", "serializationOptions": { - "$id": "195" + "$id": "259" } }, { - "$id": "196", + "$id": "260", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "197", + "$id": "261", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "198", + "$id": "262", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -1568,13 +2082,13 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.nextLink", "serializationOptions": { - "$id": "199" + "$id": "263" } } ] }, { - "$id": "200", + "$id": "264", "kind": "model", "name": "TrainingJobOptions", "namespace": "AuthoringTypeSpec", @@ -1584,12 +2098,12 @@ "decorators": [], "properties": [ { - "$id": "201", + "$id": "265", "kind": "property", "name": "modelLabel", "serializedName": "modelLabel", "type": { - "$id": "202", + "$id": "266", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1602,13 +2116,13 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.TrainingJobOptions.modelLabel", "serializationOptions": { - "$id": "203" + "$id": "267" } } ] }, { - "$id": "204", + "$id": "268", "kind": "model", "name": "Deployment", "namespace": "AuthoringTypeSpec", @@ -1617,12 +2131,12 @@ "decorators": [], "properties": [ { - "$id": "205", + "$id": "269", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "206", + "$id": "270", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1635,13 +2149,13 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.Deployment.name", "serializationOptions": { - "$id": "207" + "$id": "271" } } ] }, { - "$id": "208", + "$id": "272", "kind": "model", "name": "PagedDeployment", "namespace": "Azure.Core.Foundations", @@ -1651,17 +2165,17 @@ "decorators": [], "properties": [ { - "$id": "209", + "$id": "273", "kind": "property", "name": "value", "serializedName": "value", "doc": "The Deployment items on this page", "type": { - "$id": "210", + "$id": "274", "kind": "array", "name": "ArrayDeployment", "valueType": { - "$ref": "204" + "$ref": "268" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1673,22 +2187,22 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.value", "serializationOptions": { - "$id": "211" + "$id": "275" } }, { - "$id": "212", + "$id": "276", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "213", + "$id": "277", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "214", + "$id": "278", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -1703,13 +2217,13 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.nextLink", "serializationOptions": { - "$id": "215" + "$id": "279" } } ] }, { - "$id": "216", + "$id": "280", "kind": "model", "name": "SwapDeploymentsOptions", "namespace": "AuthoringTypeSpec", @@ -1718,13 +2232,13 @@ "decorators": [], "properties": [ { - "$id": "217", + "$id": "281", "kind": "property", "name": "firstDeploymentName", "serializedName": "firstDeploymentName", "doc": "Represents the first deployment name.", "type": { - "$id": "218", + "$id": "282", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1737,17 +2251,17 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.SwapDeploymentsOptions.firstDeploymentName", "serializationOptions": { - "$id": "219" + "$id": "283" } }, { - "$id": "220", + "$id": "284", "kind": "property", "name": "secondDeploymentName", "serializedName": "secondDeploymentName", "doc": "Represents the second deployment name.", "type": { - "$id": "221", + "$id": "285", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1760,13 +2274,13 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.SwapDeploymentsOptions.secondDeploymentName", "serializationOptions": { - "$id": "222" + "$id": "286" } } ] }, { - "$id": "223", + "$id": "287", "kind": "model", "name": "SupportedLanguages", "namespace": "AuthoringTypeSpec", @@ -1776,17 +2290,17 @@ "decorators": [], "properties": [ { - "$id": "224", + "$id": "288", "kind": "property", "name": "value", "serializedName": "value", "doc": "The SupportedLanguage items on this page", "type": { - "$id": "225", + "$id": "289", "kind": "array", "name": "ArraySupportedLanguage", "valueType": { - "$id": "226", + "$id": "290", "kind": "model", "name": "SupportedLanguage", "namespace": "AuthoringTypeSpec", @@ -1796,13 +2310,13 @@ "decorators": [], "properties": [ { - "$id": "227", + "$id": "291", "kind": "property", "name": "languageName", "serializedName": "languageName", "doc": "The language name.", "type": { - "$id": "228", + "$id": "292", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1815,17 +2329,17 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.SupportedLanguage.languageName", "serializationOptions": { - "$id": "229" + "$id": "293" } }, { - "$id": "230", + "$id": "294", "kind": "property", "name": "languageCode", "serializedName": "languageCode", "doc": "The language code. This is BCP-47 representation of a language. For example, \"en\" for English, \"en-gb\" for English (UK), \"es\" for Spanish etc.", "type": { - "$id": "231", + "$id": "295", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1838,7 +2352,7 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.SupportedLanguage.languageCode", "serializationOptions": { - "$id": "232" + "$id": "296" } } ] @@ -1853,22 +2367,22 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.SupportedLanguages.value", "serializationOptions": { - "$id": "233" + "$id": "297" } }, { - "$id": "234", + "$id": "298", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "235", + "$id": "299", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "236", + "$id": "300", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -1883,16 +2397,16 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.SupportedLanguages.nextLink", "serializationOptions": { - "$id": "237" + "$id": "301" } } ] }, { - "$ref": "226" + "$ref": "290" }, { - "$id": "238", + "$id": "302", "kind": "model", "name": "TrainingConfigVersions", "namespace": "AuthoringTypeSpec", @@ -1902,17 +2416,17 @@ "decorators": [], "properties": [ { - "$id": "239", + "$id": "303", "kind": "property", "name": "value", "serializedName": "value", "doc": "The TrainingConfigVersion items on this page", "type": { - "$id": "240", + "$id": "304", "kind": "array", "name": "ArrayTrainingConfigVersion", "valueType": { - "$id": "241", + "$id": "305", "kind": "model", "name": "TrainingConfigVersion", "namespace": "AuthoringTypeSpec", @@ -1922,13 +2436,13 @@ "decorators": [], "properties": [ { - "$id": "242", + "$id": "306", "kind": "property", "name": "trainingConfigVersionStr", "serializedName": "trainingConfigVersionStr", "doc": "Represents the version of the config.", "type": { - "$id": "243", + "$id": "307", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1941,17 +2455,17 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.TrainingConfigVersion.trainingConfigVersionStr", "serializationOptions": { - "$id": "244" + "$id": "308" } }, { - "$id": "245", + "$id": "309", "kind": "property", "name": "modelExpirationDate", "serializedName": "modelExpirationDate", "doc": "Represents the training config version expiration date.", "type": { - "$id": "246", + "$id": "310", "kind": "plainDate", "name": "plainDate", "crossLanguageDefinitionId": "TypeSpec.plainDate", @@ -1964,7 +2478,7 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.TrainingConfigVersion.modelExpirationDate", "serializationOptions": { - "$id": "247" + "$id": "311" } } ] @@ -1979,22 +2493,22 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.TrainingConfigVersions.value", "serializationOptions": { - "$id": "248" + "$id": "312" } }, { - "$id": "249", + "$id": "313", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "250", + "$id": "314", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "251", + "$id": "315", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2009,29 +2523,29 @@ "decorators": [], "crossLanguageDefinitionId": "AuthoringTypeSpec.TrainingConfigVersions.nextLink", "serializationOptions": { - "$id": "252" + "$id": "316" } } ] }, { - "$ref": "241" + "$ref": "305" } ], "clients": [ { - "$id": "253", + "$id": "317", "kind": "client", "name": "AuthoringTypeSpecClient", "namespace": "AuthoringTypeSpec", "methods": [], "parameters": [ { - "$id": "254", + "$id": "318", "name": "Endpoint", "nameInRequest": "Endpoint", "type": { - "$id": "255", + "$id": "319", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2048,12 +2562,12 @@ ], "decorators": [ { - "$id": "256", + "$id": "320", "name": "TypeSpec.@service", "arguments": { - "$id": "257", + "$id": "321", "options": { - "$id": "258", + "$id": "322", "title": "Microsoft Cognitive Language Service - Analyze Text Authoring" } } @@ -2065,13 +2579,13 @@ ], "children": [ { - "$id": "259", + "$id": "323", "kind": "client", "name": "Projects", "namespace": "AuthoringTypeSpec", "methods": [ { - "$id": "260", + "$id": "324", "kind": "lro", "name": "createOrUpdate", "accessibility": "public", @@ -2080,19 +2594,19 @@ ], "doc": "Creates a new project or updates an existing one.", "operation": { - "$id": "261", + "$id": "325", "name": "createOrUpdate", "resourceName": "Project", "doc": "Creates a new project or updates an existing one.", "accessibility": "public", "parameters": [ { - "$id": "262", + "$id": "326", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "263", + "$id": "327", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2106,9 +2620,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "264", + "$id": "328", "type": { - "$id": "265", + "$id": "329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2119,11 +2633,11 @@ "skipUrlEncoding": false }, { - "$id": "266", + "$id": "330", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "267", + "$id": "331", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2140,25 +2654,12 @@ "skipUrlEncoding": false }, { - "$id": "268", + "$id": "332", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "269", - "kind": "constant", - "name": "createOrUpdateContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "270", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -2171,24 +2672,11 @@ "skipUrlEncoding": false }, { - "$id": "271", + "$id": "333", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "272", - "kind": "constant", - "name": "createOrUpdateContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "273", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -2201,12 +2689,12 @@ "skipUrlEncoding": false }, { - "$id": "274", + "$id": "334", "name": "resource", "nameInRequest": "resource", "doc": "The resource instance.", "type": { - "$ref": "146" + "$ref": "210" }, "location": "Body", "isApiVersion": false, @@ -2221,26 +2709,26 @@ ], "responses": [ { - "$id": "275", + "$id": "335", "statusCodes": [ 201 ], "bodyType": { - "$ref": "146" + "$ref": "210" }, "headers": [ { - "$id": "276", + "$id": "336", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "277", + "$id": "337", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "278", + "$id": "338", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2256,26 +2744,26 @@ ] }, { - "$id": "279", + "$id": "339", "statusCodes": [ 200 ], "bodyType": { - "$ref": "146" + "$ref": "210" }, "headers": [ { - "$id": "280", + "$id": "340", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "281", + "$id": "341", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "282", + "$id": "342", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2305,11 +2793,11 @@ }, "parameters": [ { - "$id": "283", + "$id": "343", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "284", + "$id": "344", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2326,12 +2814,12 @@ "skipUrlEncoding": false }, { - "$id": "285", + "$id": "345", "name": "resource", "nameInRequest": "resource", "doc": "The resource instance.", "type": { - "$ref": "146" + "$ref": "210" }, "location": "Body", "isApiVersion": false, @@ -2344,25 +2832,12 @@ "skipUrlEncoding": false }, { - "$id": "286", + "$id": "346", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "287", - "kind": "constant", - "name": "createOrUpdateContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "288", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -2375,24 +2850,11 @@ "skipUrlEncoding": false }, { - "$id": "289", + "$id": "347", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "290", - "kind": "constant", - "name": "createOrUpdateContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "291", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -2406,9 +2868,9 @@ } ], "response": { - "$id": "292", + "$id": "348", "type": { - "$ref": "146" + "$ref": "210" } }, "isOverride": false, @@ -2416,21 +2878,21 @@ "generateProtocol": true, "crossLanguageDefinitionId": "AuthoringTypeSpec.Projects.createOrUpdate", "lroMetadata": { - "$id": "293", + "$id": "349", "finalStateVia": 2, "finalResponse": { - "$id": "294", + "$id": "350", "statusCodes": [ 200 ], "bodyType": { - "$ref": "146" + "$ref": "210" } } } }, { - "$id": "295", + "$id": "351", "kind": "basic", "name": "get", "accessibility": "public", @@ -2439,19 +2901,19 @@ ], "doc": "Gets the details of a project.", "operation": { - "$id": "296", + "$id": "352", "name": "get", "resourceName": "Project", "doc": "Gets the details of a project.", "accessibility": "public", "parameters": [ { - "$id": "297", + "$id": "353", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "298", + "$id": "354", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2465,9 +2927,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "299", + "$id": "355", "type": { - "$id": "300", + "$id": "356", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2478,11 +2940,11 @@ "skipUrlEncoding": false }, { - "$id": "301", + "$id": "357", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "302", + "$id": "358", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2499,24 +2961,11 @@ "skipUrlEncoding": false }, { - "$id": "303", + "$id": "359", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "304", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "305", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -2531,12 +2980,12 @@ ], "responses": [ { - "$id": "306", + "$id": "360", "statusCodes": [ 200 ], "bodyType": { - "$ref": "146" + "$ref": "210" }, "headers": [], "isErrorResponse": false, @@ -2556,11 +3005,11 @@ }, "parameters": [ { - "$id": "307", + "$id": "361", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "308", + "$id": "362", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2577,11 +3026,11 @@ "skipUrlEncoding": false }, { - "$id": "309", + "$id": "363", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "304" + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -2595,9 +3044,9 @@ } ], "response": { - "$id": "310", + "$id": "364", "type": { - "$ref": "146" + "$ref": "210" } }, "isOverride": false, @@ -2606,7 +3055,7 @@ "crossLanguageDefinitionId": "AuthoringTypeSpec.Projects.get" }, { - "$id": "311", + "$id": "365", "kind": "lro", "name": "delete", "accessibility": "public", @@ -2615,19 +3064,19 @@ ], "doc": "Deletes a project.", "operation": { - "$id": "312", + "$id": "366", "name": "delete", "resourceName": "Project", "doc": "Deletes a project.", "accessibility": "public", "parameters": [ { - "$id": "313", + "$id": "367", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "314", + "$id": "368", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2641,9 +3090,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "315", + "$id": "369", "type": { - "$id": "316", + "$id": "370", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2654,11 +3103,11 @@ "skipUrlEncoding": false }, { - "$id": "317", + "$id": "371", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "318", + "$id": "372", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2675,24 +3124,11 @@ "skipUrlEncoding": false }, { - "$id": "319", + "$id": "373", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "320", - "kind": "constant", - "name": "deleteContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "321", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -2707,26 +3143,26 @@ ], "responses": [ { - "$id": "322", + "$id": "374", "statusCodes": [ 202 ], "bodyType": { - "$ref": "184" + "$ref": "248" }, "headers": [ { - "$id": "323", + "$id": "375", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "324", + "$id": "376", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "325", + "$id": "377", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2753,11 +3189,11 @@ }, "parameters": [ { - "$id": "326", + "$id": "378", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "327", + "$id": "379", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2774,24 +3210,11 @@ "skipUrlEncoding": false }, { - "$id": "328", + "$id": "380", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "329", - "kind": "constant", - "name": "deleteContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "330", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -2805,17 +3228,17 @@ } ], "response": { - "$id": "331" + "$id": "381" }, "isOverride": false, "generateConvenient": false, "generateProtocol": true, "crossLanguageDefinitionId": "AuthoringTypeSpec.Projects.delete", "lroMetadata": { - "$id": "332", + "$id": "382", "finalStateVia": 3, "finalResponse": { - "$id": "333", + "$id": "383", "statusCodes": [ 204 ] @@ -2823,7 +3246,7 @@ } }, { - "$id": "334", + "$id": "384", "kind": "paging", "name": "list", "accessibility": "public", @@ -2832,19 +3255,19 @@ ], "doc": "Lists the existing projects.", "operation": { - "$id": "335", + "$id": "385", "name": "list", "resourceName": "Project", "doc": "Lists the existing projects.", "accessibility": "public", "parameters": [ { - "$id": "336", + "$id": "386", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "337", + "$id": "387", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2858,9 +3281,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "338", + "$id": "388", "type": { - "$id": "339", + "$id": "389", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2871,24 +3294,11 @@ "skipUrlEncoding": false }, { - "$id": "340", + "$id": "390", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "341", - "kind": "constant", - "name": "listContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "342", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -2903,12 +3313,12 @@ ], "responses": [ { - "$id": "343", + "$id": "391", "statusCodes": [ 200 ], "bodyType": { - "$ref": "192" + "$ref": "256" }, "headers": [], "isErrorResponse": false, @@ -2928,11 +3338,11 @@ }, "parameters": [ { - "$id": "344", + "$id": "392", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "341" + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -2946,9 +3356,9 @@ } ], "response": { - "$id": "345", + "$id": "393", "type": { - "$ref": "194" + "$ref": "258" }, "resultSegments": [ "value" @@ -2959,12 +3369,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "AuthoringTypeSpec.Projects.list", "pagingMetadata": { - "$id": "346", + "$id": "394", "itemPropertySegments": [ "value" ], "nextLink": { - "$id": "347", + "$id": "395", "responseSegments": [ "nextLink" ], @@ -2973,7 +3383,7 @@ } }, { - "$id": "348", + "$id": "396", "kind": "lro", "name": "export", "accessibility": "public", @@ -2982,19 +3392,19 @@ ], "doc": "Triggers a job to export a project's data.", "operation": { - "$id": "349", + "$id": "397", "name": "export", "resourceName": "Projects", "doc": "Triggers a job to export a project's data.", "accessibility": "public", "parameters": [ { - "$id": "350", + "$id": "398", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "351", + "$id": "399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3008,9 +3418,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "352", + "$id": "400", "type": { - "$id": "353", + "$id": "401", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3021,11 +3431,11 @@ "skipUrlEncoding": false }, { - "$id": "354", + "$id": "402", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "355", + "$id": "403", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3042,11 +3452,11 @@ "skipUrlEncoding": false }, { - "$id": "356", + "$id": "404", "name": "projectFileVersion", "nameInRequest": "projectFileVersion", "type": { - "$id": "357", + "$id": "405", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3063,24 +3473,11 @@ "skipUrlEncoding": false }, { - "$id": "358", + "$id": "406", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "359", - "kind": "constant", - "name": "exportContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "360", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -3095,23 +3492,23 @@ ], "responses": [ { - "$id": "361", + "$id": "407", "statusCodes": [ 202 ], "headers": [ { - "$id": "362", + "$id": "408", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "363", + "$id": "409", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "364", + "$id": "410", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -3135,11 +3532,11 @@ }, "parameters": [ { - "$id": "365", + "$id": "411", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "366", + "$id": "412", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3156,11 +3553,11 @@ "skipUrlEncoding": false }, { - "$id": "367", + "$id": "413", "name": "projectFileVersion", "nameInRequest": "projectFileVersion", "type": { - "$id": "368", + "$id": "414", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3177,24 +3574,11 @@ "skipUrlEncoding": false }, { - "$id": "369", + "$id": "415", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "370", - "kind": "constant", - "name": "exportContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "371", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -3208,17 +3592,17 @@ } ], "response": { - "$id": "372" + "$id": "416" }, "isOverride": false, "generateConvenient": false, "generateProtocol": true, "crossLanguageDefinitionId": "AuthoringTypeSpec.Projects.export", "lroMetadata": { - "$id": "373", + "$id": "417", "finalStateVia": 3, "finalResponse": { - "$id": "374", + "$id": "418", "statusCodes": [ 200 ] @@ -3226,7 +3610,7 @@ } }, { - "$id": "375", + "$id": "419", "kind": "lro", "name": "importx", "accessibility": "public", @@ -3235,19 +3619,19 @@ ], "doc": "Triggers a job to export a project's data.", "operation": { - "$id": "376", + "$id": "420", "name": "importx", "resourceName": "Projects", "doc": "Triggers a job to export a project's data.", "accessibility": "public", "parameters": [ { - "$id": "377", + "$id": "421", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "378", + "$id": "422", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3261,9 +3645,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "379", + "$id": "423", "type": { - "$id": "380", + "$id": "424", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3274,11 +3658,11 @@ "skipUrlEncoding": false }, { - "$id": "381", + "$id": "425", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "382", + "$id": "426", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3295,24 +3679,11 @@ "skipUrlEncoding": false }, { - "$id": "383", + "$id": "427", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "384", - "kind": "constant", - "name": "importxContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "385", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -3327,23 +3698,23 @@ ], "responses": [ { - "$id": "386", + "$id": "428", "statusCodes": [ 202 ], "headers": [ { - "$id": "387", + "$id": "429", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "388", + "$id": "430", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "389", + "$id": "431", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -3367,11 +3738,11 @@ }, "parameters": [ { - "$id": "390", + "$id": "432", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "391", + "$id": "433", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3388,24 +3759,11 @@ "skipUrlEncoding": false }, { - "$id": "392", + "$id": "434", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "393", - "kind": "constant", - "name": "importxContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "394", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -3419,17 +3777,17 @@ } ], "response": { - "$id": "395" + "$id": "435" }, "isOverride": false, "generateConvenient": false, "generateProtocol": true, "crossLanguageDefinitionId": "AuthoringTypeSpec.Projects.importx", "lroMetadata": { - "$id": "396", + "$id": "436", "finalStateVia": 3, "finalResponse": { - "$id": "397", + "$id": "437", "statusCodes": [ 200 ] @@ -3437,7 +3795,7 @@ } }, { - "$id": "398", + "$id": "438", "kind": "lro", "name": "train", "accessibility": "public", @@ -3446,19 +3804,19 @@ ], "doc": "Triggers a training job for a project.", "operation": { - "$id": "399", + "$id": "439", "name": "train", "resourceName": "Projects", "doc": "Triggers a training job for a project.", "accessibility": "public", "parameters": [ { - "$id": "400", + "$id": "440", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "401", + "$id": "441", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3472,9 +3830,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "402", + "$id": "442", "type": { - "$id": "403", + "$id": "443", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3485,11 +3843,11 @@ "skipUrlEncoding": false }, { - "$id": "404", + "$id": "444", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "405", + "$id": "445", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3506,25 +3864,12 @@ "skipUrlEncoding": false }, { - "$id": "406", + "$id": "446", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "407", - "kind": "constant", - "name": "trainContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "408", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -3537,24 +3882,11 @@ "skipUrlEncoding": false }, { - "$id": "409", + "$id": "447", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "410", - "kind": "constant", - "name": "trainContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "411", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -3567,11 +3899,11 @@ "skipUrlEncoding": false }, { - "$id": "412", + "$id": "448", "name": "body", "nameInRequest": "body", "type": { - "$ref": "200" + "$ref": "264" }, "location": "Body", "isApiVersion": false, @@ -3586,23 +3918,23 @@ ], "responses": [ { - "$id": "413", + "$id": "449", "statusCodes": [ 202 ], "headers": [ { - "$id": "414", + "$id": "450", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "415", + "$id": "451", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "416", + "$id": "452", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -3629,11 +3961,11 @@ }, "parameters": [ { - "$id": "417", + "$id": "453", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "418", + "$id": "454", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3650,11 +3982,11 @@ "skipUrlEncoding": false }, { - "$id": "419", + "$id": "455", "name": "body", "nameInRequest": "body", "type": { - "$ref": "200" + "$ref": "264" }, "location": "Body", "isApiVersion": false, @@ -3667,25 +3999,12 @@ "skipUrlEncoding": false }, { - "$id": "420", + "$id": "456", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "421", - "kind": "constant", - "name": "trainContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "422", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -3698,24 +4017,11 @@ "skipUrlEncoding": false }, { - "$id": "423", + "$id": "457", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "424", - "kind": "constant", - "name": "trainContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "425", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -3729,17 +4035,17 @@ } ], "response": { - "$id": "426" + "$id": "458" }, "isOverride": false, "generateConvenient": false, "generateProtocol": true, "crossLanguageDefinitionId": "AuthoringTypeSpec.Projects.train", "lroMetadata": { - "$id": "427", + "$id": "459", "finalStateVia": 3, "finalResponse": { - "$id": "428", + "$id": "460", "statusCodes": [ 200 ] @@ -3749,11 +4055,11 @@ ], "parameters": [ { - "$id": "429", + "$id": "461", "name": "Endpoint", "nameInRequest": "Endpoint", "type": { - "$id": "430", + "$id": "462", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3774,17 +4080,17 @@ "2022-05-15-preview" ], "parent": { - "$ref": "253" + "$ref": "317" } }, { - "$id": "431", + "$id": "463", "kind": "client", "name": "Deployments", "namespace": "AuthoringTypeSpec", "methods": [ { - "$id": "432", + "$id": "464", "kind": "basic", "name": "getDeployment", "accessibility": "public", @@ -3793,19 +4099,19 @@ ], "doc": "Gets the details of a deployment.", "operation": { - "$id": "433", + "$id": "465", "name": "getDeployment", "resourceName": "Deployment", "doc": "Gets the details of a deployment.", "accessibility": "public", "parameters": [ { - "$id": "434", + "$id": "466", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "435", + "$id": "467", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3819,9 +4125,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "436", + "$id": "468", "type": { - "$id": "437", + "$id": "469", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3832,11 +4138,11 @@ "skipUrlEncoding": false }, { - "$id": "438", + "$id": "470", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "439", + "$id": "471", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3853,11 +4159,11 @@ "skipUrlEncoding": false }, { - "$id": "440", + "$id": "472", "name": "deploymentName", "nameInRequest": "deploymentName", "type": { - "$id": "441", + "$id": "473", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3874,24 +4180,11 @@ "skipUrlEncoding": false }, { - "$id": "442", + "$id": "474", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "443", - "kind": "constant", - "name": "getDeploymentContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "444", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3906,12 +4199,12 @@ ], "responses": [ { - "$id": "445", + "$id": "475", "statusCodes": [ 200 ], "bodyType": { - "$ref": "204" + "$ref": "268" }, "headers": [], "isErrorResponse": false, @@ -3931,11 +4224,11 @@ }, "parameters": [ { - "$id": "446", + "$id": "476", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "447", + "$id": "477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3952,11 +4245,11 @@ "skipUrlEncoding": false }, { - "$id": "448", + "$id": "478", "name": "deploymentName", "nameInRequest": "deploymentName", "type": { - "$id": "449", + "$id": "479", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3973,11 +4266,11 @@ "skipUrlEncoding": false }, { - "$id": "450", + "$id": "480", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "443" + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3991,9 +4284,9 @@ } ], "response": { - "$id": "451", + "$id": "481", "type": { - "$ref": "204" + "$ref": "268" } }, "isOverride": false, @@ -4002,7 +4295,7 @@ "crossLanguageDefinitionId": "AuthoringTypeSpec.Deployments.getDeployment" }, { - "$id": "452", + "$id": "482", "kind": "lro", "name": "deployProject", "accessibility": "public", @@ -4011,19 +4304,19 @@ ], "doc": "Creates a new deployment or replaces an existing one.", "operation": { - "$id": "453", + "$id": "483", "name": "deployProject", "resourceName": "Deployment", "doc": "Creates a new deployment or replaces an existing one.", "accessibility": "public", "parameters": [ { - "$id": "454", + "$id": "484", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "455", + "$id": "485", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4037,9 +4330,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "456", + "$id": "486", "type": { - "$id": "457", + "$id": "487", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4050,11 +4343,11 @@ "skipUrlEncoding": false }, { - "$id": "458", + "$id": "488", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "459", + "$id": "489", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4071,11 +4364,11 @@ "skipUrlEncoding": false }, { - "$id": "460", + "$id": "490", "name": "deploymentName", "nameInRequest": "deploymentName", "type": { - "$id": "461", + "$id": "491", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4092,25 +4385,12 @@ "skipUrlEncoding": false }, { - "$id": "462", + "$id": "492", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "463", - "kind": "constant", - "name": "deployProjectContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "464", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -4123,24 +4403,11 @@ "skipUrlEncoding": false }, { - "$id": "465", + "$id": "493", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "466", - "kind": "constant", - "name": "deployProjectContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "467", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -4153,12 +4420,12 @@ "skipUrlEncoding": false }, { - "$id": "468", + "$id": "494", "name": "resource", "nameInRequest": "resource", "doc": "The resource instance.", "type": { - "$ref": "204" + "$ref": "268" }, "location": "Body", "isApiVersion": false, @@ -4173,26 +4440,26 @@ ], "responses": [ { - "$id": "469", + "$id": "495", "statusCodes": [ 201 ], "bodyType": { - "$ref": "204" + "$ref": "268" }, "headers": [ { - "$id": "470", + "$id": "496", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "471", + "$id": "497", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "472", + "$id": "498", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -4208,26 +4475,26 @@ ] }, { - "$id": "473", + "$id": "499", "statusCodes": [ 200 ], "bodyType": { - "$ref": "204" + "$ref": "268" }, "headers": [ { - "$id": "474", + "$id": "500", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "475", + "$id": "501", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "476", + "$id": "502", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -4257,11 +4524,11 @@ }, "parameters": [ { - "$id": "477", + "$id": "503", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "478", + "$id": "504", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4278,11 +4545,11 @@ "skipUrlEncoding": false }, { - "$id": "479", + "$id": "505", "name": "deploymentName", "nameInRequest": "deploymentName", "type": { - "$id": "480", + "$id": "506", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4299,12 +4566,12 @@ "skipUrlEncoding": false }, { - "$id": "481", + "$id": "507", "name": "resource", "nameInRequest": "resource", "doc": "The resource instance.", "type": { - "$ref": "204" + "$ref": "268" }, "location": "Body", "isApiVersion": false, @@ -4317,25 +4584,12 @@ "skipUrlEncoding": false }, { - "$id": "482", + "$id": "508", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "483", - "kind": "constant", - "name": "deployProjectContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "484", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -4348,24 +4602,11 @@ "skipUrlEncoding": false }, { - "$id": "485", + "$id": "509", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "486", - "kind": "constant", - "name": "deployProjectContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "487", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -4379,9 +4620,9 @@ } ], "response": { - "$id": "488", + "$id": "510", "type": { - "$ref": "204" + "$ref": "268" } }, "isOverride": false, @@ -4389,21 +4630,21 @@ "generateProtocol": true, "crossLanguageDefinitionId": "AuthoringTypeSpec.Deployments.deployProject", "lroMetadata": { - "$id": "489", + "$id": "511", "finalStateVia": 2, "finalResponse": { - "$id": "490", + "$id": "512", "statusCodes": [ 200 ], "bodyType": { - "$ref": "204" + "$ref": "268" } } } }, { - "$id": "491", + "$id": "513", "kind": "lro", "name": "deleteDeployment", "accessibility": "public", @@ -4412,19 +4653,19 @@ ], "doc": "Deletes a project deployment.", "operation": { - "$id": "492", + "$id": "514", "name": "deleteDeployment", "resourceName": "Deployment", "doc": "Deletes a project deployment.", "accessibility": "public", "parameters": [ { - "$id": "493", + "$id": "515", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "494", + "$id": "516", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4438,9 +4679,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "495", + "$id": "517", "type": { - "$id": "496", + "$id": "518", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4451,11 +4692,11 @@ "skipUrlEncoding": false }, { - "$id": "497", + "$id": "519", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "498", + "$id": "520", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4472,11 +4713,11 @@ "skipUrlEncoding": false }, { - "$id": "499", + "$id": "521", "name": "deploymentName", "nameInRequest": "deploymentName", "type": { - "$id": "500", + "$id": "522", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4493,24 +4734,11 @@ "skipUrlEncoding": false }, { - "$id": "501", + "$id": "523", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "502", - "kind": "constant", - "name": "deleteDeploymentContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "503", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "84" }, "location": "Header", "isApiVersion": false, @@ -4525,26 +4753,26 @@ ], "responses": [ { - "$id": "504", + "$id": "524", "statusCodes": [ 202 ], "bodyType": { - "$ref": "184" + "$ref": "248" }, "headers": [ { - "$id": "505", + "$id": "525", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "506", + "$id": "526", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "507", + "$id": "527", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -4571,11 +4799,11 @@ }, "parameters": [ { - "$id": "508", + "$id": "528", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "509", + "$id": "529", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4592,11 +4820,11 @@ "skipUrlEncoding": false }, { - "$id": "510", + "$id": "530", "name": "deploymentName", "nameInRequest": "deploymentName", "type": { - "$id": "511", + "$id": "531", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4613,24 +4841,11 @@ "skipUrlEncoding": false }, { - "$id": "512", + "$id": "532", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "513", - "kind": "constant", - "name": "deleteDeploymentContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "514", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "86" }, "location": "Header", "isApiVersion": false, @@ -4644,17 +4859,17 @@ } ], "response": { - "$id": "515" + "$id": "533" }, "isOverride": false, "generateConvenient": false, "generateProtocol": true, "crossLanguageDefinitionId": "AuthoringTypeSpec.Deployments.deleteDeployment", "lroMetadata": { - "$id": "516", + "$id": "534", "finalStateVia": 3, "finalResponse": { - "$id": "517", + "$id": "535", "statusCodes": [ 204 ] @@ -4662,7 +4877,7 @@ } }, { - "$id": "518", + "$id": "536", "kind": "paging", "name": "list", "accessibility": "public", @@ -4671,19 +4886,19 @@ ], "doc": "Lists the existing deployments.", "operation": { - "$id": "519", + "$id": "537", "name": "list", "resourceName": "Deployment", "doc": "Lists the existing deployments.", "accessibility": "public", "parameters": [ { - "$id": "520", + "$id": "538", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "521", + "$id": "539", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4697,9 +4912,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "522", + "$id": "540", "type": { - "$id": "523", + "$id": "541", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4710,11 +4925,11 @@ "skipUrlEncoding": false }, { - "$id": "524", + "$id": "542", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "525", + "$id": "543", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4731,24 +4946,11 @@ "skipUrlEncoding": false }, { - "$id": "526", + "$id": "544", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "527", - "kind": "constant", - "name": "listContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "528", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -4763,12 +4965,12 @@ ], "responses": [ { - "$id": "529", + "$id": "545", "statusCodes": [ 200 ], "bodyType": { - "$ref": "208" + "$ref": "272" }, "headers": [], "isErrorResponse": false, @@ -4788,11 +4990,11 @@ }, "parameters": [ { - "$id": "530", + "$id": "546", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "531", + "$id": "547", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4809,11 +5011,11 @@ "skipUrlEncoding": false }, { - "$id": "532", + "$id": "548", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "527" + "$ref": "88" }, "location": "Header", "isApiVersion": false, @@ -4827,9 +5029,9 @@ } ], "response": { - "$id": "533", + "$id": "549", "type": { - "$ref": "210" + "$ref": "274" }, "resultSegments": [ "value" @@ -4840,12 +5042,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "AuthoringTypeSpec.Deployments.list", "pagingMetadata": { - "$id": "534", + "$id": "550", "itemPropertySegments": [ "value" ], "nextLink": { - "$id": "535", + "$id": "551", "responseSegments": [ "nextLink" ], @@ -4854,7 +5056,7 @@ } }, { - "$id": "536", + "$id": "552", "kind": "lro", "name": "swapDeployments", "accessibility": "public", @@ -4863,19 +5065,19 @@ ], "doc": "Swaps two existing deployments with each other.", "operation": { - "$id": "537", + "$id": "553", "name": "swapDeployments", "resourceName": "Deployments", "doc": "Swaps two existing deployments with each other.", "accessibility": "public", "parameters": [ { - "$id": "538", + "$id": "554", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "539", + "$id": "555", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4889,9 +5091,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "540", + "$id": "556", "type": { - "$id": "541", + "$id": "557", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4902,11 +5104,11 @@ "skipUrlEncoding": false }, { - "$id": "542", + "$id": "558", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "543", + "$id": "559", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4923,25 +5125,12 @@ "skipUrlEncoding": false }, { - "$id": "544", + "$id": "560", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "545", - "kind": "constant", - "name": "swapDeploymentsContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "546", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "90" }, "location": "Header", "isApiVersion": false, @@ -4954,24 +5143,11 @@ "skipUrlEncoding": false }, { - "$id": "547", + "$id": "561", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "548", - "kind": "constant", - "name": "swapDeploymentsContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "549", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "92" }, "location": "Header", "isApiVersion": false, @@ -4984,12 +5160,12 @@ "skipUrlEncoding": false }, { - "$id": "550", + "$id": "562", "name": "body", "nameInRequest": "body", "doc": "The body schema of the operation.", "type": { - "$ref": "216" + "$ref": "280" }, "location": "Body", "isApiVersion": false, @@ -5004,23 +5180,23 @@ ], "responses": [ { - "$id": "551", + "$id": "563", "statusCodes": [ 202 ], "headers": [ { - "$id": "552", + "$id": "564", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "553", + "$id": "565", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "554", + "$id": "566", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -5047,11 +5223,11 @@ }, "parameters": [ { - "$id": "555", + "$id": "567", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "556", + "$id": "568", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5068,12 +5244,12 @@ "skipUrlEncoding": false }, { - "$id": "557", + "$id": "569", "name": "body", "nameInRequest": "body", "doc": "The body schema of the operation.", "type": { - "$ref": "216" + "$ref": "280" }, "location": "Body", "isApiVersion": false, @@ -5086,25 +5262,12 @@ "skipUrlEncoding": false }, { - "$id": "558", + "$id": "570", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "559", - "kind": "constant", - "name": "swapDeploymentsContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "560", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -5117,24 +5280,11 @@ "skipUrlEncoding": false }, { - "$id": "561", + "$id": "571", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "562", - "kind": "constant", - "name": "swapDeploymentsContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "563", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -5148,17 +5298,17 @@ } ], "response": { - "$id": "564" + "$id": "572" }, "isOverride": false, "generateConvenient": false, "generateProtocol": true, "crossLanguageDefinitionId": "AuthoringTypeSpec.Deployments.swapDeployments", "lroMetadata": { - "$id": "565", + "$id": "573", "finalStateVia": 3, "finalResponse": { - "$id": "566", + "$id": "574", "statusCodes": [ 200 ] @@ -5168,11 +5318,11 @@ ], "parameters": [ { - "$id": "567", + "$id": "575", "name": "Endpoint", "nameInRequest": "Endpoint", "type": { - "$id": "568", + "$id": "576", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5193,17 +5343,17 @@ "2022-05-15-preview" ], "parent": { - "$ref": "253" + "$ref": "317" } }, { - "$id": "569", + "$id": "577", "kind": "client", "name": "Jobs", "namespace": "AuthoringTypeSpec", "methods": [ { - "$id": "570", + "$id": "578", "kind": "basic", "name": "getDeploymentStatus", "accessibility": "public", @@ -5212,19 +5362,19 @@ ], "doc": "Gets the status of an existing deployment job.", "operation": { - "$id": "571", + "$id": "579", "name": "getDeploymentStatus", "resourceName": "DeploymentJob", "doc": "Gets the status of an existing deployment job.", "accessibility": "public", "parameters": [ { - "$id": "572", + "$id": "580", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "573", + "$id": "581", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5238,9 +5388,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "574", + "$id": "582", "type": { - "$id": "575", + "$id": "583", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5251,11 +5401,11 @@ "skipUrlEncoding": false }, { - "$id": "576", + "$id": "584", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "577", + "$id": "585", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5272,11 +5422,11 @@ "skipUrlEncoding": false }, { - "$id": "578", + "$id": "586", "name": "deploymentName", "nameInRequest": "deploymentName", "type": { - "$id": "579", + "$id": "587", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5293,11 +5443,11 @@ "skipUrlEncoding": false }, { - "$id": "580", + "$id": "588", "name": "jobId", "nameInRequest": "jobId", "type": { - "$id": "581", + "$id": "589", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5314,24 +5464,11 @@ "skipUrlEncoding": false }, { - "$id": "582", + "$id": "590", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "583", - "kind": "constant", - "name": "getDeploymentStatusContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "584", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -5346,12 +5483,12 @@ ], "responses": [ { - "$id": "585", + "$id": "591", "statusCodes": [ 200 ], "bodyType": { - "$ref": "42" + "$ref": "106" }, "headers": [], "isErrorResponse": false, @@ -5371,11 +5508,11 @@ }, "parameters": [ { - "$id": "586", + "$id": "592", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "587", + "$id": "593", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5392,11 +5529,11 @@ "skipUrlEncoding": false }, { - "$id": "588", + "$id": "594", "name": "deploymentName", "nameInRequest": "deploymentName", "type": { - "$id": "589", + "$id": "595", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5413,11 +5550,11 @@ "skipUrlEncoding": false }, { - "$id": "590", + "$id": "596", "name": "jobId", "nameInRequest": "jobId", "type": { - "$id": "591", + "$id": "597", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5434,11 +5571,11 @@ "skipUrlEncoding": false }, { - "$id": "592", + "$id": "598", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "583" + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -5452,9 +5589,9 @@ } ], "response": { - "$id": "593", + "$id": "599", "type": { - "$ref": "42" + "$ref": "106" } }, "isOverride": false, @@ -5463,7 +5600,7 @@ "crossLanguageDefinitionId": "AuthoringTypeSpec.Jobs.getDeploymentStatus" }, { - "$id": "594", + "$id": "600", "kind": "basic", "name": "getSwapDeploymentsStatus", "accessibility": "public", @@ -5472,19 +5609,19 @@ ], "doc": "Gets the status of an existing swap deployment job.", "operation": { - "$id": "595", + "$id": "601", "name": "getSwapDeploymentsStatus", "resourceName": "SwapDeploymentsJob", "doc": "Gets the status of an existing swap deployment job.", "accessibility": "public", "parameters": [ { - "$id": "596", + "$id": "602", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "597", + "$id": "603", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5498,9 +5635,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "598", + "$id": "604", "type": { - "$id": "599", + "$id": "605", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5511,11 +5648,11 @@ "skipUrlEncoding": false }, { - "$id": "600", + "$id": "606", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "601", + "$id": "607", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5532,11 +5669,11 @@ "skipUrlEncoding": false }, { - "$id": "602", + "$id": "608", "name": "deploymentName", "nameInRequest": "deploymentName", "type": { - "$id": "603", + "$id": "609", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5553,11 +5690,11 @@ "skipUrlEncoding": false }, { - "$id": "604", + "$id": "610", "name": "jobId", "nameInRequest": "jobId", "type": { - "$id": "605", + "$id": "611", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5574,24 +5711,11 @@ "skipUrlEncoding": false }, { - "$id": "606", + "$id": "612", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "607", - "kind": "constant", - "name": "getSwapDeploymentsStatusContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "608", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -5606,12 +5730,12 @@ ], "responses": [ { - "$id": "609", + "$id": "613", "statusCodes": [ 200 ], "bodyType": { - "$ref": "113" + "$ref": "177" }, "headers": [], "isErrorResponse": false, @@ -5631,11 +5755,11 @@ }, "parameters": [ { - "$id": "610", + "$id": "614", "name": "projectName", "nameInRequest": "projectName", "type": { - "$id": "611", + "$id": "615", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5652,11 +5776,11 @@ "skipUrlEncoding": false }, { - "$id": "612", + "$id": "616", "name": "deploymentName", "nameInRequest": "deploymentName", "type": { - "$id": "613", + "$id": "617", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5673,11 +5797,11 @@ "skipUrlEncoding": false }, { - "$id": "614", + "$id": "618", "name": "jobId", "nameInRequest": "jobId", "type": { - "$id": "615", + "$id": "619", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5694,11 +5818,11 @@ "skipUrlEncoding": false }, { - "$id": "616", + "$id": "620", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "607" + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -5712,9 +5836,9 @@ } ], "response": { - "$id": "617", + "$id": "621", "type": { - "$ref": "113" + "$ref": "177" } }, "isOverride": false, @@ -5725,11 +5849,11 @@ ], "parameters": [ { - "$id": "618", + "$id": "622", "name": "Endpoint", "nameInRequest": "Endpoint", "type": { - "$id": "619", + "$id": "623", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5750,17 +5874,17 @@ "2022-05-15-preview" ], "parent": { - "$ref": "253" + "$ref": "317" } }, { - "$id": "620", + "$id": "624", "kind": "client", "name": "Global", "namespace": "AuthoringTypeSpec", "methods": [ { - "$id": "621", + "$id": "625", "kind": "paging", "name": "getSupportedLanguages", "accessibility": "public", @@ -5768,17 +5892,17 @@ "2022-05-15-preview" ], "operation": { - "$id": "622", + "$id": "626", "name": "getSupportedLanguages", "resourceName": "Global", "accessibility": "public", "parameters": [ { - "$id": "623", + "$id": "627", "name": "top", "nameInRequest": "top", "type": { - "$id": "624", + "$id": "628", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5795,11 +5919,11 @@ "skipUrlEncoding": false }, { - "$id": "625", + "$id": "629", "name": "skip", "nameInRequest": "skip", "type": { - "$id": "626", + "$id": "630", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5816,11 +5940,11 @@ "skipUrlEncoding": false }, { - "$id": "627", + "$id": "631", "name": "maxpagesize", "nameInRequest": "maxpagesize", "type": { - "$id": "628", + "$id": "632", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5837,12 +5961,12 @@ "skipUrlEncoding": false }, { - "$id": "629", + "$id": "633", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "630", + "$id": "634", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5856,9 +5980,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "631", + "$id": "635", "type": { - "$id": "632", + "$id": "636", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5869,24 +5993,11 @@ "skipUrlEncoding": false }, { - "$id": "633", + "$id": "637", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "634", - "kind": "constant", - "name": "getSupportedLanguagesContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "635", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -5901,12 +6012,12 @@ ], "responses": [ { - "$id": "636", + "$id": "638", "statusCodes": [ 200 ], "bodyType": { - "$ref": "223" + "$ref": "287" }, "headers": [], "isErrorResponse": false, @@ -5926,11 +6037,11 @@ }, "parameters": [ { - "$id": "637", + "$id": "639", "name": "top", "nameInRequest": "top", "type": { - "$id": "638", + "$id": "640", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5947,11 +6058,11 @@ "skipUrlEncoding": false }, { - "$id": "639", + "$id": "641", "name": "skip", "nameInRequest": "skip", "type": { - "$id": "640", + "$id": "642", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5968,11 +6079,11 @@ "skipUrlEncoding": false }, { - "$id": "641", + "$id": "643", "name": "maxpagesize", "nameInRequest": "maxpagesize", "type": { - "$id": "642", + "$id": "644", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5989,11 +6100,11 @@ "skipUrlEncoding": false }, { - "$id": "643", + "$id": "645", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "634" + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -6007,9 +6118,9 @@ } ], "response": { - "$id": "644", + "$id": "646", "type": { - "$ref": "225" + "$ref": "289" }, "resultSegments": [ "value" @@ -6020,12 +6131,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "AuthoringTypeSpec.Global.getSupportedLanguages", "pagingMetadata": { - "$id": "645", + "$id": "647", "itemPropertySegments": [ "value" ], "nextLink": { - "$id": "646", + "$id": "648", "responseSegments": [ "nextLink" ], @@ -6034,7 +6145,7 @@ } }, { - "$id": "647", + "$id": "649", "kind": "paging", "name": "listTrainingConfigVersions", "accessibility": "public", @@ -6042,17 +6153,17 @@ "2022-05-15-preview" ], "operation": { - "$id": "648", + "$id": "650", "name": "listTrainingConfigVersions", "resourceName": "Global", "accessibility": "public", "parameters": [ { - "$id": "649", + "$id": "651", "name": "top", "nameInRequest": "top", "type": { - "$id": "650", + "$id": "652", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -6069,11 +6180,11 @@ "skipUrlEncoding": false }, { - "$id": "651", + "$id": "653", "name": "skip", "nameInRequest": "skip", "type": { - "$id": "652", + "$id": "654", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -6090,11 +6201,11 @@ "skipUrlEncoding": false }, { - "$id": "653", + "$id": "655", "name": "maxpagesize", "nameInRequest": "maxpagesize", "type": { - "$id": "654", + "$id": "656", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -6111,12 +6222,12 @@ "skipUrlEncoding": false }, { - "$id": "655", + "$id": "657", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "656", + "$id": "658", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6130,9 +6241,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "657", + "$id": "659", "type": { - "$id": "658", + "$id": "660", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6143,24 +6254,11 @@ "skipUrlEncoding": false }, { - "$id": "659", + "$id": "661", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "660", - "kind": "constant", - "name": "listTrainingConfigVersionsContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "661", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -6180,7 +6278,7 @@ 200 ], "bodyType": { - "$ref": "238" + "$ref": "302" }, "headers": [], "isErrorResponse": false, @@ -6267,7 +6365,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "660" + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -6283,7 +6381,7 @@ "response": { "$id": "670", "type": { - "$ref": "240" + "$ref": "304" }, "resultSegments": [ "value" @@ -6335,7 +6433,7 @@ "2022-05-15-preview" ], "parent": { - "$ref": "253" + "$ref": "317" } } ] diff --git a/test/TestProjects/ConvenienceUpdate-TypeSpec/tspCodeModel.json b/test/TestProjects/ConvenienceUpdate-TypeSpec/tspCodeModel.json index 7a07a8da8ce..5424811f97b 100644 --- a/test/TestProjects/ConvenienceUpdate-TypeSpec/tspCodeModel.json +++ b/test/TestProjects/ConvenienceUpdate-TypeSpec/tspCodeModel.json @@ -3,9 +3,331 @@ "name": "ConvenienceInCadl", "apiVersions": [], "enums": [], - "models": [ + "constants": [ { "$id": "2", + "kind": "constant", + "name": "updateConvenienceContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "4", + "kind": "constant", + "name": "convenienceOptionalBeforeRequiredContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "6", + "kind": "constant", + "name": "noConvenienceContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "noConvenienceRequiredBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "10", + "kind": "constant", + "name": "noConvenienceOptionalBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "12", + "kind": "constant", + "name": "protocolContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "convenienceWithOptionalContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "convenienceWithRequiredContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "protocolOptionalQueryContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "protocolRequiredQueryContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "protocolOptionalModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "protocolRequiredModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "convenienceOptionalQueryWithOptionalContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "convenienceRequiredQueryWithOptionalContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "convenienceOptionalQueryWithRequiredContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "convenienceRequiredQueryWithRequiredContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "convenienceOptionalModelWithOptionalContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "convenienceRequiredModelWithOptionalContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "convenienceOptionalModelWithRequiredContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "protocolOptionalBeforeRequiredContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "42", "kind": "model", "name": "Model", "namespace": "ConvenienceInCadl", @@ -15,12 +337,12 @@ "decorators": [], "properties": [ { - "$id": "3", + "$id": "43", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "4", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33,9 +355,9 @@ "decorators": [], "crossLanguageDefinitionId": "ConvenienceInCadl.Model.id", "serializationOptions": { - "$id": "5", + "$id": "45", "json": { - "$id": "6", + "$id": "46", "name": "id" } } @@ -45,45 +367,32 @@ ], "clients": [ { - "$id": "7", + "$id": "47", "kind": "client", "name": "ConvenienceInCadlClient", "namespace": "ConvenienceInCadl", "doc": "TypeSpec project to test various types of convenience methods.", "methods": [ { - "$id": "8", + "$id": "48", "kind": "basic", "name": "updateConvenience", "accessibility": "public", "apiVersions": [], "doc": "No initial operation methods. In the updated version, we add the protocol method and convenience method.", "operation": { - "$id": "9", + "$id": "49", "name": "updateConvenience", "resourceName": "ConvenienceInCadl", "doc": "No initial operation methods. In the updated version, we add the protocol method and convenience method.", "accessibility": "public", "parameters": [ { - "$id": "10", + "$id": "50", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "11", - "kind": "constant", - "name": "updateConvenienceContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "12", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -98,12 +407,12 @@ ], "responses": [ { - "$id": "13", + "$id": "51", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -123,11 +432,11 @@ }, "parameters": [ { - "$id": "14", + "$id": "52", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "11" + "$ref": "2" }, "location": "Header", "isApiVersion": false, @@ -141,9 +450,9 @@ } ], "response": { - "$id": "15", + "$id": "53", "type": { - "$ref": "2" + "$ref": "42" } }, "isOverride": false, @@ -152,25 +461,25 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.updateConvenience" }, { - "$id": "16", + "$id": "54", "kind": "basic", "name": "convenienceOptionalBeforeRequired", "accessibility": "public", "apiVersions": [], "doc": "No initial operation methods. In the updated version, we add the protocol method and convenience method.", "operation": { - "$id": "17", + "$id": "55", "name": "convenienceOptionalBeforeRequired", "resourceName": "ConvenienceInCadl", "doc": "No initial operation methods. In the updated version, we add the protocol method and convenience method.", "accessibility": "public", "parameters": [ { - "$id": "18", + "$id": "56", "name": "optional", "nameInRequest": "optional", "type": { - "$id": "19", + "$id": "57", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -187,25 +496,12 @@ "skipUrlEncoding": false }, { - "$id": "20", + "$id": "58", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "21", - "kind": "constant", - "name": "convenienceOptionalBeforeRequiredContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -218,11 +514,11 @@ "skipUrlEncoding": false }, { - "$id": "23", + "$id": "59", "name": "required", "nameInRequest": "required", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -237,7 +533,7 @@ ], "responses": [ { - "$id": "24", + "$id": "60", "statusCodes": [ 200 ], @@ -259,11 +555,11 @@ }, "parameters": [ { - "$id": "25", + "$id": "61", "name": "optional", "nameInRequest": "optional", "type": { - "$id": "26", + "$id": "62", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -280,11 +576,11 @@ "skipUrlEncoding": false }, { - "$id": "27", + "$id": "63", "name": "required", "nameInRequest": "required", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -297,12 +593,12 @@ "skipUrlEncoding": false }, { - "$id": "28", + "$id": "64", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "21" + "$ref": "4" }, "location": "Header", "isApiVersion": false, @@ -316,7 +612,7 @@ } ], "response": { - "$id": "29" + "$id": "65" }, "isOverride": false, "generateConvenient": true, @@ -324,38 +620,25 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.convenienceOptionalBeforeRequired" }, { - "$id": "30", + "$id": "66", "kind": "basic", "name": "noConvenience", "accessibility": "public", "apiVersions": [], "doc": "No convenience method. But if we add the convenientAPI decorator, there will be ambiguity.", "operation": { - "$id": "31", + "$id": "67", "name": "noConvenience", "resourceName": "ConvenienceInCadl", "doc": "No convenience method. But if we add the convenientAPI decorator, there will be ambiguity.", "accessibility": "public", "parameters": [ { - "$id": "32", + "$id": "68", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "33", - "kind": "constant", - "name": "noConvenienceContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "34", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -370,12 +653,12 @@ ], "responses": [ { - "$id": "35", + "$id": "69", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -395,11 +678,11 @@ }, "parameters": [ { - "$id": "36", + "$id": "70", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "33" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -413,9 +696,9 @@ } ], "response": { - "$id": "37", + "$id": "71", "type": { - "$ref": "2" + "$ref": "42" } }, "isOverride": false, @@ -424,39 +707,26 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.noConvenience" }, { - "$id": "38", + "$id": "72", "kind": "basic", "name": "noConvenienceRequiredBody", "accessibility": "public", "apiVersions": [], "doc": "No convenience method. But if we add the convenientAPI decorator, there will be no ambiguity.", "operation": { - "$id": "39", + "$id": "73", "name": "noConvenienceRequiredBody", "resourceName": "ConvenienceInCadl", "doc": "No convenience method. But if we add the convenientAPI decorator, there will be no ambiguity.", "accessibility": "public", "parameters": [ { - "$id": "40", + "$id": "74", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "41", - "kind": "constant", - "name": "noConvenienceRequiredBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "42", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -469,11 +739,11 @@ "skipUrlEncoding": false }, { - "$id": "43", + "$id": "75", "name": "required", "nameInRequest": "required", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -488,7 +758,7 @@ ], "responses": [ { - "$id": "44", + "$id": "76", "statusCodes": [ 200 ], @@ -510,11 +780,11 @@ }, "parameters": [ { - "$id": "45", + "$id": "77", "name": "required", "nameInRequest": "required", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -527,12 +797,12 @@ "skipUrlEncoding": false }, { - "$id": "46", + "$id": "78", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "41" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -546,7 +816,7 @@ } ], "response": { - "$id": "47" + "$id": "79" }, "isOverride": false, "generateConvenient": false, @@ -554,39 +824,26 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.noConvenienceRequiredBody" }, { - "$id": "48", + "$id": "80", "kind": "basic", "name": "noConvenienceOptionalBody", "accessibility": "public", "apiVersions": [], "doc": "No convenience method. But if we add the convenientAPI decorator, there will be ambiguity.", "operation": { - "$id": "49", + "$id": "81", "name": "noConvenienceOptionalBody", "resourceName": "ConvenienceInCadl", "doc": "No convenience method. But if we add the convenientAPI decorator, there will be ambiguity.", "accessibility": "public", "parameters": [ { - "$id": "50", + "$id": "82", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "51", - "kind": "constant", - "name": "noConvenienceOptionalBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "52", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -599,11 +856,11 @@ "skipUrlEncoding": false }, { - "$id": "53", + "$id": "83", "name": "optional", "nameInRequest": "optional", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -618,7 +875,7 @@ ], "responses": [ { - "$id": "54", + "$id": "84", "statusCodes": [ 200 ], @@ -640,11 +897,11 @@ }, "parameters": [ { - "$id": "55", + "$id": "85", "name": "optional", "nameInRequest": "optional", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -657,12 +914,12 @@ "skipUrlEncoding": false }, { - "$id": "56", + "$id": "86", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "51" + "$ref": "10" }, "location": "Header", "isApiVersion": false, @@ -676,7 +933,7 @@ } ], "response": { - "$id": "57" + "$id": "87" }, "isOverride": false, "generateConvenient": false, @@ -684,38 +941,25 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.noConvenienceOptionalBody" }, { - "$id": "58", + "$id": "88", "kind": "basic", "name": "protocol", "accessibility": "public", "apiVersions": [], "doc": "Initial operation only has protocol method. In the updated version, we add the convenience method.", "operation": { - "$id": "59", + "$id": "89", "name": "protocol", "resourceName": "ConvenienceInCadl", "doc": "Initial operation only has protocol method. In the updated version, we add the convenience method.", "accessibility": "public", "parameters": [ { - "$id": "60", + "$id": "90", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "61", - "kind": "constant", - "name": "protocolContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "62", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -730,12 +974,12 @@ ], "responses": [ { - "$id": "63", + "$id": "91", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -755,11 +999,11 @@ }, "parameters": [ { - "$id": "64", + "$id": "92", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "61" + "$ref": "12" }, "location": "Header", "isApiVersion": false, @@ -773,9 +1017,9 @@ } ], "response": { - "$id": "65", + "$id": "93", "type": { - "$ref": "2" + "$ref": "42" } }, "isOverride": false, @@ -784,38 +1028,25 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.protocol" }, { - "$id": "66", + "$id": "94", "kind": "basic", "name": "convenienceWithOptional", "accessibility": "public", "apiVersions": [], "doc": "Operation has protocol method with optional RequestContext and convenience method.", "operation": { - "$id": "67", + "$id": "95", "name": "convenienceWithOptional", "resourceName": "ConvenienceInCadl", "doc": "Operation has protocol method with optional RequestContext and convenience method.", "accessibility": "public", "parameters": [ { - "$id": "68", + "$id": "96", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "69", - "kind": "constant", - "name": "convenienceWithOptionalContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "70", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -830,12 +1061,12 @@ ], "responses": [ { - "$id": "71", + "$id": "97", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -855,11 +1086,11 @@ }, "parameters": [ { - "$id": "72", + "$id": "98", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "69" + "$ref": "14" }, "location": "Header", "isApiVersion": false, @@ -873,9 +1104,9 @@ } ], "response": { - "$id": "73", + "$id": "99", "type": { - "$ref": "2" + "$ref": "42" } }, "isOverride": false, @@ -884,38 +1115,25 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.convenienceWithOptional" }, { - "$id": "74", + "$id": "100", "kind": "basic", "name": "convenienceWithRequired", "accessibility": "public", "apiVersions": [], "doc": "Operation has protocol method with required RequestContext and convenience method.", "operation": { - "$id": "75", + "$id": "101", "name": "convenienceWithRequired", "resourceName": "ConvenienceInCadl", "doc": "Operation has protocol method with required RequestContext and convenience method.", "accessibility": "public", "parameters": [ { - "$id": "76", + "$id": "102", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "77", - "kind": "constant", - "name": "convenienceWithRequiredContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "78", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -930,12 +1148,12 @@ ], "responses": [ { - "$id": "79", + "$id": "103", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -955,11 +1173,11 @@ }, "parameters": [ { - "$id": "80", + "$id": "104", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "77" + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -973,9 +1191,9 @@ } ], "response": { - "$id": "81", + "$id": "105", "type": { - "$ref": "2" + "$ref": "42" } }, "isOverride": false, @@ -984,14 +1202,14 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.convenienceWithRequired" }, { - "$id": "82", + "$id": "106", "kind": "basic", "name": "convenienceShouldNotGenerate", "accessibility": "public", "apiVersions": [], "doc": "Operation has protocol method marked with convenience method, but the convenience method should not be generated.", "operation": { - "$id": "83", + "$id": "107", "name": "convenienceShouldNotGenerate", "resourceName": "ConvenienceInCadl", "doc": "Operation has protocol method marked with convenience method, but the convenience method should not be generated.", @@ -999,7 +1217,7 @@ "parameters": [], "responses": [ { - "$id": "84", + "$id": "108", "statusCodes": [ 200 ], @@ -1018,7 +1236,7 @@ }, "parameters": [], "response": { - "$id": "85" + "$id": "109" }, "isOverride": false, "generateConvenient": true, @@ -1026,14 +1244,14 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.convenienceShouldNotGenerate" }, { - "$id": "86", + "$id": "110", "kind": "basic", "name": "protocolShouldNotGenerateConvenience", "accessibility": "public", "apiVersions": [], "doc": "Initial operation only has protocol method, but the convenience method should not be generated even it marks the convenience decorator.", "operation": { - "$id": "87", + "$id": "111", "name": "protocolShouldNotGenerateConvenience", "resourceName": "ConvenienceInCadl", "doc": "Initial operation only has protocol method, but the convenience method should not be generated even it marks the convenience decorator.", @@ -1041,7 +1259,7 @@ "parameters": [], "responses": [ { - "$id": "88", + "$id": "112", "statusCodes": [ 200 ], @@ -1060,7 +1278,7 @@ }, "parameters": [], "response": { - "$id": "89" + "$id": "113" }, "isOverride": false, "generateConvenient": true, @@ -1068,25 +1286,25 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.protocolShouldNotGenerateConvenience" }, { - "$id": "90", + "$id": "114", "kind": "basic", "name": "protocolOptionalQuery", "accessibility": "public", "apiVersions": [], "doc": "Initial operation only has protocol method with optional query parameter. In the updated version, we add the convenience method.", "operation": { - "$id": "91", + "$id": "115", "name": "protocolOptionalQuery", "resourceName": "ConvenienceInCadl", "doc": "Initial operation only has protocol method with optional query parameter. In the updated version, we add the convenience method.", "accessibility": "public", "parameters": [ { - "$id": "92", + "$id": "116", "name": "optional", "nameInRequest": "optional", "type": { - "$id": "93", + "$id": "117", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1103,24 +1321,11 @@ "skipUrlEncoding": false }, { - "$id": "94", + "$id": "118", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "95", - "kind": "constant", - "name": "protocolOptionalQueryContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "96", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1135,12 +1340,12 @@ ], "responses": [ { - "$id": "97", + "$id": "119", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -1160,11 +1365,11 @@ }, "parameters": [ { - "$id": "98", + "$id": "120", "name": "optional", "nameInRequest": "optional", "type": { - "$id": "99", + "$id": "121", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1181,11 +1386,11 @@ "skipUrlEncoding": false }, { - "$id": "100", + "$id": "122", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "95" + "$ref": "18" }, "location": "Header", "isApiVersion": false, @@ -1199,9 +1404,9 @@ } ], "response": { - "$id": "101", + "$id": "123", "type": { - "$ref": "2" + "$ref": "42" } }, "isOverride": false, @@ -1210,25 +1415,25 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.protocolOptionalQuery" }, { - "$id": "102", + "$id": "124", "kind": "basic", "name": "protocolRequiredQuery", "accessibility": "public", "apiVersions": [], "doc": "Initial operation only has protocol method with required query parameter. In the updated version, we add the convenience method.", "operation": { - "$id": "103", + "$id": "125", "name": "protocolRequiredQuery", "resourceName": "ConvenienceInCadl", "doc": "Initial operation only has protocol method with required query parameter. In the updated version, we add the convenience method.", "accessibility": "public", "parameters": [ { - "$id": "104", + "$id": "126", "name": "required", "nameInRequest": "required", "type": { - "$id": "105", + "$id": "127", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1245,24 +1450,11 @@ "skipUrlEncoding": false }, { - "$id": "106", + "$id": "128", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "107", - "kind": "constant", - "name": "protocolRequiredQueryContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "108", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1277,12 +1469,12 @@ ], "responses": [ { - "$id": "109", + "$id": "129", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -1302,11 +1494,11 @@ }, "parameters": [ { - "$id": "110", + "$id": "130", "name": "required", "nameInRequest": "required", "type": { - "$id": "111", + "$id": "131", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1323,11 +1515,11 @@ "skipUrlEncoding": false }, { - "$id": "112", + "$id": "132", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "107" + "$ref": "20" }, "location": "Header", "isApiVersion": false, @@ -1341,9 +1533,9 @@ } ], "response": { - "$id": "113", + "$id": "133", "type": { - "$ref": "2" + "$ref": "42" } }, "isOverride": false, @@ -1352,39 +1544,26 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.protocolRequiredQuery" }, { - "$id": "114", + "$id": "134", "kind": "basic", "name": "protocolOptionalModel", "accessibility": "public", "apiVersions": [], "doc": "Initial operation only has protocol method with optional model parameter. In the updated version, we add the convenience method.", "operation": { - "$id": "115", + "$id": "135", "name": "protocolOptionalModel", "resourceName": "ConvenienceInCadl", "doc": "Initial operation only has protocol method with optional model parameter. In the updated version, we add the convenience method.", "accessibility": "public", "parameters": [ { - "$id": "116", + "$id": "136", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "117", - "kind": "constant", - "name": "protocolOptionalModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "118", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1397,11 +1576,11 @@ "skipUrlEncoding": false }, { - "$id": "119", + "$id": "137", "name": "optional", "nameInRequest": "optional", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -1416,7 +1595,7 @@ ], "responses": [ { - "$id": "120", + "$id": "138", "statusCodes": [ 200 ], @@ -1438,11 +1617,11 @@ }, "parameters": [ { - "$id": "121", + "$id": "139", "name": "optional", "nameInRequest": "optional", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -1455,12 +1634,12 @@ "skipUrlEncoding": false }, { - "$id": "122", + "$id": "140", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "117" + "$ref": "22" }, "location": "Header", "isApiVersion": false, @@ -1474,7 +1653,7 @@ } ], "response": { - "$id": "123" + "$id": "141" }, "isOverride": false, "generateConvenient": true, @@ -1482,39 +1661,26 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.protocolOptionalModel" }, { - "$id": "124", + "$id": "142", "kind": "basic", "name": "protocolRequiredModel", "accessibility": "public", "apiVersions": [], "doc": "Initial operation only has protocol method with required model parameter. In the updated version, we add the convenience method.", "operation": { - "$id": "125", + "$id": "143", "name": "protocolRequiredModel", "resourceName": "ConvenienceInCadl", "doc": "Initial operation only has protocol method with required model parameter. In the updated version, we add the convenience method.", "accessibility": "public", "parameters": [ { - "$id": "126", + "$id": "144", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "127", - "kind": "constant", - "name": "protocolRequiredModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "128", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1527,11 +1693,11 @@ "skipUrlEncoding": false }, { - "$id": "129", + "$id": "145", "name": "required", "nameInRequest": "required", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -1546,7 +1712,7 @@ ], "responses": [ { - "$id": "130", + "$id": "146", "statusCodes": [ 200 ], @@ -1568,11 +1734,11 @@ }, "parameters": [ { - "$id": "131", + "$id": "147", "name": "required", "nameInRequest": "required", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -1585,12 +1751,12 @@ "skipUrlEncoding": false }, { - "$id": "132", + "$id": "148", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "127" + "$ref": "24" }, "location": "Header", "isApiVersion": false, @@ -1604,7 +1770,7 @@ } ], "response": { - "$id": "133" + "$id": "149" }, "isOverride": false, "generateConvenient": true, @@ -1612,25 +1778,25 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.protocolRequiredModel" }, { - "$id": "134", + "$id": "150", "kind": "basic", "name": "convenienceOptionalQueryWithOptional", "accessibility": "public", "apiVersions": [], "doc": "Operation has protocol method with optional query parameter and optional RequestContext and convenience method.", "operation": { - "$id": "135", + "$id": "151", "name": "convenienceOptionalQueryWithOptional", "resourceName": "ConvenienceInCadl", "doc": "Operation has protocol method with optional query parameter and optional RequestContext and convenience method.", "accessibility": "public", "parameters": [ { - "$id": "136", + "$id": "152", "name": "optional", "nameInRequest": "optional", "type": { - "$id": "137", + "$id": "153", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1647,24 +1813,11 @@ "skipUrlEncoding": false }, { - "$id": "138", + "$id": "154", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "139", - "kind": "constant", - "name": "convenienceOptionalQueryWithOptionalContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "140", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1679,12 +1832,12 @@ ], "responses": [ { - "$id": "141", + "$id": "155", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -1704,11 +1857,11 @@ }, "parameters": [ { - "$id": "142", + "$id": "156", "name": "optional", "nameInRequest": "optional", "type": { - "$id": "143", + "$id": "157", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1725,11 +1878,11 @@ "skipUrlEncoding": false }, { - "$id": "144", + "$id": "158", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "139" + "$ref": "26" }, "location": "Header", "isApiVersion": false, @@ -1743,9 +1896,9 @@ } ], "response": { - "$id": "145", + "$id": "159", "type": { - "$ref": "2" + "$ref": "42" } }, "isOverride": false, @@ -1754,25 +1907,25 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.convenienceOptionalQueryWithOptional" }, { - "$id": "146", + "$id": "160", "kind": "basic", "name": "convenienceRequiredQueryWithOptional", "accessibility": "public", "apiVersions": [], "doc": "Operation has protocol method with required query parameter and optional RequestContext and convenience method.", "operation": { - "$id": "147", + "$id": "161", "name": "convenienceRequiredQueryWithOptional", "resourceName": "ConvenienceInCadl", "doc": "Operation has protocol method with required query parameter and optional RequestContext and convenience method.", "accessibility": "public", "parameters": [ { - "$id": "148", + "$id": "162", "name": "required", "nameInRequest": "required", "type": { - "$id": "149", + "$id": "163", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1789,24 +1942,11 @@ "skipUrlEncoding": false }, { - "$id": "150", + "$id": "164", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "151", - "kind": "constant", - "name": "convenienceRequiredQueryWithOptionalContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "152", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -1821,12 +1961,12 @@ ], "responses": [ { - "$id": "153", + "$id": "165", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -1846,11 +1986,11 @@ }, "parameters": [ { - "$id": "154", + "$id": "166", "name": "required", "nameInRequest": "required", "type": { - "$id": "155", + "$id": "167", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1867,11 +2007,11 @@ "skipUrlEncoding": false }, { - "$id": "156", + "$id": "168", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "151" + "$ref": "28" }, "location": "Header", "isApiVersion": false, @@ -1885,9 +2025,9 @@ } ], "response": { - "$id": "157", + "$id": "169", "type": { - "$ref": "2" + "$ref": "42" } }, "isOverride": false, @@ -1896,25 +2036,25 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.convenienceRequiredQueryWithOptional" }, { - "$id": "158", + "$id": "170", "kind": "basic", "name": "convenienceOptionalQueryWithRequired", "accessibility": "public", "apiVersions": [], "doc": "Operation has protocol method with optional query parameter and required RequestContext and convenience method.", "operation": { - "$id": "159", + "$id": "171", "name": "convenienceOptionalQueryWithRequired", "resourceName": "ConvenienceInCadl", "doc": "Operation has protocol method with optional query parameter and required RequestContext and convenience method.", "accessibility": "public", "parameters": [ { - "$id": "160", + "$id": "172", "name": "optional", "nameInRequest": "optional", "type": { - "$id": "161", + "$id": "173", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1931,24 +2071,11 @@ "skipUrlEncoding": false }, { - "$id": "162", + "$id": "174", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "163", - "kind": "constant", - "name": "convenienceOptionalQueryWithRequiredContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "164", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -1963,12 +2090,12 @@ ], "responses": [ { - "$id": "165", + "$id": "175", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -1988,11 +2115,11 @@ }, "parameters": [ { - "$id": "166", + "$id": "176", "name": "optional", "nameInRequest": "optional", "type": { - "$id": "167", + "$id": "177", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2009,11 +2136,11 @@ "skipUrlEncoding": false }, { - "$id": "168", + "$id": "178", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "163" + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -2027,9 +2154,9 @@ } ], "response": { - "$id": "169", + "$id": "179", "type": { - "$ref": "2" + "$ref": "42" } }, "isOverride": false, @@ -2038,25 +2165,25 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.convenienceOptionalQueryWithRequired" }, { - "$id": "170", + "$id": "180", "kind": "basic", "name": "convenienceRequiredQueryWithRequired", "accessibility": "public", "apiVersions": [], "doc": "Operation has protocol method with required query parameter and required RequestContext and convenience method.", "operation": { - "$id": "171", + "$id": "181", "name": "convenienceRequiredQueryWithRequired", "resourceName": "ConvenienceInCadl", "doc": "Operation has protocol method with required query parameter and required RequestContext and convenience method.", "accessibility": "public", "parameters": [ { - "$id": "172", + "$id": "182", "name": "required", "nameInRequest": "required", "type": { - "$id": "173", + "$id": "183", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2073,24 +2200,11 @@ "skipUrlEncoding": false }, { - "$id": "174", + "$id": "184", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "175", - "kind": "constant", - "name": "convenienceRequiredQueryWithRequiredContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "176", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2105,12 +2219,12 @@ ], "responses": [ { - "$id": "177", + "$id": "185", "statusCodes": [ 200 ], "bodyType": { - "$ref": "2" + "$ref": "42" }, "headers": [], "isErrorResponse": false, @@ -2130,11 +2244,11 @@ }, "parameters": [ { - "$id": "178", + "$id": "186", "name": "required", "nameInRequest": "required", "type": { - "$id": "179", + "$id": "187", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2151,11 +2265,11 @@ "skipUrlEncoding": false }, { - "$id": "180", + "$id": "188", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "175" + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -2169,9 +2283,9 @@ } ], "response": { - "$id": "181", + "$id": "189", "type": { - "$ref": "2" + "$ref": "42" } }, "isOverride": false, @@ -2180,39 +2294,26 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.convenienceRequiredQueryWithRequired" }, { - "$id": "182", + "$id": "190", "kind": "basic", "name": "convenienceOptionalModelWithOptional", "accessibility": "public", "apiVersions": [], "doc": "Operation has protocol method with optional body parameter and optional RequestContext and convenience method.", "operation": { - "$id": "183", + "$id": "191", "name": "convenienceOptionalModelWithOptional", "resourceName": "ConvenienceInCadl", "doc": "Operation has protocol method with optional body parameter and optional RequestContext and convenience method.", "accessibility": "public", "parameters": [ { - "$id": "184", + "$id": "192", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "185", - "kind": "constant", - "name": "convenienceOptionalModelWithOptionalContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "186", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2225,11 +2326,11 @@ "skipUrlEncoding": false }, { - "$id": "187", + "$id": "193", "name": "optional", "nameInRequest": "optional", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -2244,7 +2345,7 @@ ], "responses": [ { - "$id": "188", + "$id": "194", "statusCodes": [ 200 ], @@ -2266,11 +2367,11 @@ }, "parameters": [ { - "$id": "189", + "$id": "195", "name": "optional", "nameInRequest": "optional", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -2283,12 +2384,12 @@ "skipUrlEncoding": false }, { - "$id": "190", + "$id": "196", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "185" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -2302,7 +2403,7 @@ } ], "response": { - "$id": "191" + "$id": "197" }, "isOverride": false, "generateConvenient": true, @@ -2310,39 +2411,26 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.convenienceOptionalModelWithOptional" }, { - "$id": "192", + "$id": "198", "kind": "basic", "name": "convenienceRequiredModelWithOptional", "accessibility": "public", "apiVersions": [], "doc": "Operation has protocol method with required body parameter and optional RequestContext and convenience method.", "operation": { - "$id": "193", + "$id": "199", "name": "convenienceRequiredModelWithOptional", "resourceName": "ConvenienceInCadl", "doc": "Operation has protocol method with required body parameter and optional RequestContext and convenience method.", "accessibility": "public", "parameters": [ { - "$id": "194", + "$id": "200", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "195", - "kind": "constant", - "name": "convenienceRequiredModelWithOptionalContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "196", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2355,11 +2443,11 @@ "skipUrlEncoding": false }, { - "$id": "197", + "$id": "201", "name": "required", "nameInRequest": "required", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -2374,7 +2462,7 @@ ], "responses": [ { - "$id": "198", + "$id": "202", "statusCodes": [ 200 ], @@ -2396,11 +2484,11 @@ }, "parameters": [ { - "$id": "199", + "$id": "203", "name": "required", "nameInRequest": "required", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -2413,12 +2501,12 @@ "skipUrlEncoding": false }, { - "$id": "200", + "$id": "204", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "195" + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -2432,7 +2520,7 @@ } ], "response": { - "$id": "201" + "$id": "205" }, "isOverride": false, "generateConvenient": true, @@ -2440,39 +2528,26 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.convenienceRequiredModelWithOptional" }, { - "$id": "202", + "$id": "206", "kind": "basic", "name": "convenienceOptionalModelWithRequired", "accessibility": "public", "apiVersions": [], "doc": "Operation has protocol method with optional body parameter and required RequestContext and convenience method.", "operation": { - "$id": "203", + "$id": "207", "name": "convenienceOptionalModelWithRequired", "resourceName": "ConvenienceInCadl", "doc": "Operation has protocol method with optional body parameter and required RequestContext and convenience method.", "accessibility": "public", "parameters": [ { - "$id": "204", + "$id": "208", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "205", - "kind": "constant", - "name": "convenienceOptionalModelWithRequiredContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "206", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2485,11 +2560,11 @@ "skipUrlEncoding": false }, { - "$id": "207", + "$id": "209", "name": "optional", "nameInRequest": "optional", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -2504,7 +2579,7 @@ ], "responses": [ { - "$id": "208", + "$id": "210", "statusCodes": [ 200 ], @@ -2526,11 +2601,11 @@ }, "parameters": [ { - "$id": "209", + "$id": "211", "name": "optional", "nameInRequest": "optional", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -2543,12 +2618,12 @@ "skipUrlEncoding": false }, { - "$id": "210", + "$id": "212", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "205" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -2562,7 +2637,7 @@ } ], "response": { - "$id": "211" + "$id": "213" }, "isOverride": false, "generateConvenient": true, @@ -2570,25 +2645,25 @@ "crossLanguageDefinitionId": "ConvenienceInCadl.convenienceOptionalModelWithRequired" }, { - "$id": "212", + "$id": "214", "kind": "basic", "name": "protocolOptionalBeforeRequired", "accessibility": "public", "apiVersions": [], "doc": "Initial operation has protocol method with optioanl parameter before required parameter. In the updated version, we add the convenience method.", "operation": { - "$id": "213", + "$id": "215", "name": "protocolOptionalBeforeRequired", "resourceName": "ConvenienceInCadl", "doc": "Initial operation has protocol method with optioanl parameter before required parameter. In the updated version, we add the convenience method.", "accessibility": "public", "parameters": [ { - "$id": "214", + "$id": "216", "name": "optional", "nameInRequest": "optional", "type": { - "$id": "215", + "$id": "217", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2605,25 +2680,12 @@ "skipUrlEncoding": false }, { - "$id": "216", + "$id": "218", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "217", - "kind": "constant", - "name": "protocolOptionalBeforeRequiredContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "218", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -2640,7 +2702,7 @@ "name": "required", "nameInRequest": "required", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -2702,7 +2764,7 @@ "name": "required", "nameInRequest": "required", "type": { - "$ref": "2" + "$ref": "42" }, "location": "Body", "isApiVersion": false, @@ -2720,7 +2782,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "217" + "$ref": "40" }, "location": "Header", "isApiVersion": false, diff --git a/test/TestProjects/Customizations-TypeSpec/tspCodeModel.json b/test/TestProjects/Customizations-TypeSpec/tspCodeModel.json index 5751c02c44c..ba4e902f2df 100644 --- a/test/TestProjects/Customizations-TypeSpec/tspCodeModel.json +++ b/test/TestProjects/Customizations-TypeSpec/tspCodeModel.json @@ -332,9 +332,107 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "38", + "kind": "constant", + "name": "roundTripContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "roundTripContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "fooContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "fooContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "barContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "barContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "50", "kind": "model", "name": "RootModel", "namespace": "CustomizationsInTsp", @@ -344,7 +442,7 @@ "decorators": [], "properties": [ { - "$id": "39", + "$id": "51", "kind": "property", "name": "propertyExtensibleEnum", "serializedName": "propertyExtensibleEnum", @@ -359,21 +457,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.RootModel.propertyExtensibleEnum", "serializationOptions": { - "$id": "40", + "$id": "52", "json": { - "$id": "41", + "$id": "53", "name": "propertyExtensibleEnum" } } }, { - "$id": "42", + "$id": "54", "kind": "property", "name": "propertyModelToMakeInternal", "serializedName": "propertyModelToMakeInternal", "doc": "ModelToMakeInternal", "type": { - "$id": "43", + "$id": "55", "kind": "model", "name": "ModelToMakeInternal", "namespace": "CustomizationsInTsp", @@ -383,13 +481,13 @@ "decorators": [], "properties": [ { - "$id": "44", + "$id": "56", "kind": "property", "name": "requiredInt", "serializedName": "requiredInt", "doc": "Required int", "type": { - "$id": "45", + "$id": "57", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -402,9 +500,9 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelToMakeInternal.requiredInt", "serializationOptions": { - "$id": "46", + "$id": "58", "json": { - "$id": "47", + "$id": "59", "name": "requiredInt" } } @@ -418,21 +516,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.RootModel.propertyModelToMakeInternal", "serializationOptions": { - "$id": "48", + "$id": "60", "json": { - "$id": "49", + "$id": "61", "name": "propertyModelToMakeInternal" } } }, { - "$id": "50", + "$id": "62", "kind": "property", "name": "propertyModelToRename", "serializedName": "propertyModelToRename", "doc": "ModelToRename", "type": { - "$id": "51", + "$id": "63", "kind": "model", "name": "ModelToRename", "namespace": "CustomizationsInTsp", @@ -442,13 +540,13 @@ "decorators": [], "properties": [ { - "$id": "52", + "$id": "64", "kind": "property", "name": "requiredIntOnBase", "serializedName": "requiredIntOnBase", "doc": "Required int", "type": { - "$id": "53", + "$id": "65", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -461,21 +559,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelToRename.requiredIntOnBase", "serializationOptions": { - "$id": "54", + "$id": "66", "json": { - "$id": "55", + "$id": "67", "name": "requiredIntOnBase" } } }, { - "$id": "56", + "$id": "68", "kind": "property", "name": "optionalInt", "serializedName": "optionalInt", "doc": "Optional int", "type": { - "$id": "57", + "$id": "69", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -488,9 +586,9 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelToRename.optionalInt", "serializationOptions": { - "$id": "58", + "$id": "70", "json": { - "$id": "59", + "$id": "71", "name": "optionalInt" } } @@ -504,21 +602,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.RootModel.propertyModelToRename", "serializationOptions": { - "$id": "60", + "$id": "72", "json": { - "$id": "61", + "$id": "73", "name": "propertyModelToRename" } } }, { - "$id": "62", + "$id": "74", "kind": "property", "name": "propertyModelToChangeNamespace", "serializedName": "propertyModelToChangeNamespace", "doc": "ModelToChangeNamespace", "type": { - "$id": "63", + "$id": "75", "kind": "model", "name": "ModelToChangeNamespace", "namespace": "CustomizationsInTsp", @@ -528,13 +626,13 @@ "decorators": [], "properties": [ { - "$id": "64", + "$id": "76", "kind": "property", "name": "requiredInt", "serializedName": "requiredInt", "doc": "Required int", "type": { - "$id": "65", + "$id": "77", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -547,9 +645,9 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelToChangeNamespace.requiredInt", "serializationOptions": { - "$id": "66", + "$id": "78", "json": { - "$id": "67", + "$id": "79", "name": "requiredInt" } } @@ -563,21 +661,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.RootModel.propertyModelToChangeNamespace", "serializationOptions": { - "$id": "68", + "$id": "80", "json": { - "$id": "69", + "$id": "81", "name": "propertyModelToChangeNamespace" } } }, { - "$id": "70", + "$id": "82", "kind": "property", "name": "propertyModelWithCustomizedProperties", "serializedName": "propertyModelWithCustomizedProperties", "doc": "ModelWithCustomizedProperties", "type": { - "$id": "71", + "$id": "83", "kind": "model", "name": "ModelWithCustomizedProperties", "namespace": "CustomizationsInTsp", @@ -587,13 +685,13 @@ "decorators": [], "properties": [ { - "$id": "72", + "$id": "84", "kind": "property", "name": "propertyToMakeInternal", "serializedName": "propertyToMakeInternal", "doc": "Public property made internal", "type": { - "$id": "73", + "$id": "85", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -606,21 +704,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.propertyToMakeInternal", "serializationOptions": { - "$id": "74", + "$id": "86", "json": { - "$id": "75", + "$id": "87", "name": "propertyToMakeInternal" } } }, { - "$id": "76", + "$id": "88", "kind": "property", "name": "propertyToRename", "serializedName": "propertyToRename", "doc": "Renamed property (original name: PropertyToRename)", "type": { - "$id": "77", + "$id": "89", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -633,21 +731,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.propertyToRename", "serializationOptions": { - "$id": "78", + "$id": "90", "json": { - "$id": "79", + "$id": "91", "name": "propertyToRename" } } }, { - "$id": "80", + "$id": "92", "kind": "property", "name": "propertyToMakeFloat", "serializedName": "propertyToMakeFloat", "doc": "Property with type changed to float (original type: int)", "type": { - "$id": "81", + "$id": "93", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -660,21 +758,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.propertyToMakeFloat", "serializationOptions": { - "$id": "82", + "$id": "94", "json": { - "$id": "83", + "$id": "95", "name": "propertyToMakeFloat" } } }, { - "$id": "84", + "$id": "96", "kind": "property", "name": "propertyToMakeInt", "serializedName": "propertyToMakeInt", "doc": "Property with type changed to int (original type: float)", "type": { - "$id": "85", + "$id": "97", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -687,21 +785,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.propertyToMakeInt", "serializationOptions": { - "$id": "86", + "$id": "98", "json": { - "$id": "87", + "$id": "99", "name": "propertyToMakeInt" } } }, { - "$id": "88", + "$id": "100", "kind": "property", "name": "propertyToMakeDuration", "serializedName": "propertyToMakeDuration", "doc": "Property with type changed to duration (original type: string)", "type": { - "$id": "89", + "$id": "101", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -714,26 +812,26 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.propertyToMakeDuration", "serializationOptions": { - "$id": "90", + "$id": "102", "json": { - "$id": "91", + "$id": "103", "name": "propertyToMakeDuration" } } }, { - "$id": "92", + "$id": "104", "kind": "property", "name": "propertyToMakeString", "serializedName": "propertyToMakeString", "doc": "Property with type changed to string (original type: duration)", "type": { - "$id": "93", + "$id": "105", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "94", + "$id": "106", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -749,21 +847,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.propertyToMakeString", "serializationOptions": { - "$id": "95", + "$id": "107", "json": { - "$id": "96", + "$id": "108", "name": "propertyToMakeString" } } }, { - "$id": "97", + "$id": "109", "kind": "property", "name": "propertyToMakeJsonElement", "serializedName": "propertyToMakeJsonElement", "doc": "Property with type changed to JsonElement (original type: string)", "type": { - "$id": "98", + "$id": "110", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -776,21 +874,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.propertyToMakeJsonElement", "serializationOptions": { - "$id": "99", + "$id": "111", "json": { - "$id": "100", + "$id": "112", "name": "propertyToMakeJsonElement" } } }, { - "$id": "101", + "$id": "113", "kind": "property", "name": "propertyToField", "serializedName": "propertyToField", "doc": "Field that replaces property (original name: PropertyToField)", "type": { - "$id": "102", + "$id": "114", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -803,25 +901,25 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.propertyToField", "serializationOptions": { - "$id": "103", + "$id": "115", "json": { - "$id": "104", + "$id": "116", "name": "propertyToField" } } }, { - "$id": "105", + "$id": "117", "kind": "property", "name": "badListName", "serializedName": "badListName", "doc": "Property renamed that is list", "type": { - "$id": "106", + "$id": "118", "kind": "array", "name": "Array", "valueType": { - "$id": "107", + "$id": "119", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -837,31 +935,31 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.badListName", "serializationOptions": { - "$id": "108", + "$id": "120", "json": { - "$id": "109", + "$id": "121", "name": "badListName" } } }, { - "$id": "110", + "$id": "122", "kind": "property", "name": "badDictionaryName", "serializedName": "badDictionaryName", "doc": "Property renamed that is dictionary", "type": { - "$id": "111", + "$id": "123", "kind": "dict", "keyType": { - "$id": "112", + "$id": "124", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "113", + "$id": "125", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -876,25 +974,25 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.badDictionaryName", "serializationOptions": { - "$id": "114", + "$id": "126", "json": { - "$id": "115", + "$id": "127", "name": "badDictionaryName" } } }, { - "$id": "116", + "$id": "128", "kind": "property", "name": "badListOfListName", "serializedName": "badListOfListName", "doc": "Property renamed that is listoflist", "type": { - "$id": "117", + "$id": "129", "kind": "array", "name": "ArrayArray", "valueType": { - "$ref": "106" + "$ref": "118" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -906,25 +1004,25 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.badListOfListName", "serializationOptions": { - "$id": "118", + "$id": "130", "json": { - "$id": "119", + "$id": "131", "name": "badListOfListName" } } }, { - "$id": "120", + "$id": "132", "kind": "property", "name": "badListOfDictionaryName", "serializedName": "badListOfDictionaryName", "doc": "Property renamed that is listofdictionary", "type": { - "$id": "121", + "$id": "133", "kind": "array", "name": "ArrayRecord", "valueType": { - "$ref": "111" + "$ref": "123" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -936,25 +1034,25 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.badListOfDictionaryName", "serializationOptions": { - "$id": "122", + "$id": "134", "json": { - "$id": "123", + "$id": "135", "name": "badListOfDictionaryName" } } }, { - "$id": "124", + "$id": "136", "kind": "property", "name": "vector", "serializedName": "vector", "doc": "Property type changed to ReadOnlyMemory", "type": { - "$id": "125", + "$id": "137", "kind": "array", "name": "Array1", "valueType": { - "$id": "126", + "$id": "138", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -970,21 +1068,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.vector", "serializationOptions": { - "$id": "127", + "$id": "139", "json": { - "$id": "128", + "$id": "140", "name": "vector" } } }, { - "$id": "129", + "$id": "141", "kind": "property", "name": "vectorOptional", "serializedName": "vectorOptional", "doc": "Property type changed to ReadOnlyMemory?", "type": { - "$ref": "125" + "$ref": "137" }, "optional": true, "readOnly": false, @@ -993,24 +1091,24 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.vectorOptional", "serializationOptions": { - "$id": "130", + "$id": "142", "json": { - "$id": "131", + "$id": "143", "name": "vectorOptional" } } }, { - "$id": "132", + "$id": "144", "kind": "property", "name": "vectorNullable", "serializedName": "vectorNullable", "doc": "Property type changed to ReadOnlyMemory?", "type": { - "$id": "133", + "$id": "145", "kind": "nullable", "type": { - "$ref": "125" + "$ref": "137" }, "namespace": "" }, @@ -1021,24 +1119,24 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.vectorNullable", "serializationOptions": { - "$id": "134", + "$id": "146", "json": { - "$id": "135", + "$id": "147", "name": "vectorNullable" } } }, { - "$id": "136", + "$id": "148", "kind": "property", "name": "vectorOptionalNullable", "serializedName": "vectorOptionalNullable", "doc": "Property type changed to ReadOnlyMemory?", "type": { - "$id": "137", + "$id": "149", "kind": "nullable", "type": { - "$ref": "125" + "$ref": "137" }, "namespace": "" }, @@ -1049,21 +1147,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.vectorOptionalNullable", "serializationOptions": { - "$id": "138", + "$id": "150", "json": { - "$id": "139", + "$id": "151", "name": "vectorOptionalNullable" } } }, { - "$id": "140", + "$id": "152", "kind": "property", "name": "vectorReadOnly", "serializedName": "vectorReadOnly", "doc": "Property type changed to ReadOnlyMemory", "type": { - "$ref": "125" + "$ref": "137" }, "optional": false, "readOnly": true, @@ -1072,21 +1170,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.vectorReadOnly", "serializationOptions": { - "$id": "141", + "$id": "153", "json": { - "$id": "142", + "$id": "154", "name": "vectorReadOnly" } } }, { - "$id": "143", + "$id": "155", "kind": "property", "name": "vectorOptionalReadOnly", "serializedName": "vectorOptionalReadOnly", "doc": "Property type changed to ReadOnlyMemory?", "type": { - "$ref": "125" + "$ref": "137" }, "optional": true, "readOnly": true, @@ -1095,24 +1193,24 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.vectorOptionalReadOnly", "serializationOptions": { - "$id": "144", + "$id": "156", "json": { - "$id": "145", + "$id": "157", "name": "vectorOptionalReadOnly" } } }, { - "$id": "146", + "$id": "158", "kind": "property", "name": "vectorNullableReadOnly", "serializedName": "vectorNullableReadOnly", "doc": "Property type changed to ReadOnlyMemory?", "type": { - "$id": "147", + "$id": "159", "kind": "nullable", "type": { - "$ref": "125" + "$ref": "137" }, "namespace": "" }, @@ -1123,24 +1221,24 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.vectorNullableReadOnly", "serializationOptions": { - "$id": "148", + "$id": "160", "json": { - "$id": "149", + "$id": "161", "name": "vectorNullableReadOnly" } } }, { - "$id": "150", + "$id": "162", "kind": "property", "name": "vectorOptionalNullableReadOnly", "serializedName": "vectorOptionalNullableReadOnly", "doc": "Property type changed to ReadOnlyMemory?", "type": { - "$id": "151", + "$id": "163", "kind": "nullable", "type": { - "$ref": "125" + "$ref": "137" }, "namespace": "" }, @@ -1151,9 +1249,9 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelWithCustomizedProperties.vectorOptionalNullableReadOnly", "serializationOptions": { - "$id": "152", + "$id": "164", "json": { - "$id": "153", + "$id": "165", "name": "vectorOptionalNullableReadOnly" } } @@ -1167,15 +1265,15 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.RootModel.propertyModelWithCustomizedProperties", "serializationOptions": { - "$id": "154", + "$id": "166", "json": { - "$id": "155", + "$id": "167", "name": "propertyModelWithCustomizedProperties" } } }, { - "$id": "156", + "$id": "168", "kind": "property", "name": "propertyEnumToRename", "serializedName": "propertyEnumToRename", @@ -1190,15 +1288,15 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.RootModel.propertyEnumToRename", "serializationOptions": { - "$id": "157", + "$id": "169", "json": { - "$id": "158", + "$id": "170", "name": "propertyEnumToRename" } } }, { - "$id": "159", + "$id": "171", "kind": "property", "name": "propertyEnumWithValueToRename", "serializedName": "propertyEnumWithValueToRename", @@ -1213,15 +1311,15 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.RootModel.propertyEnumWithValueToRename", "serializationOptions": { - "$id": "160", + "$id": "172", "json": { - "$id": "161", + "$id": "173", "name": "propertyEnumWithValueToRename" } } }, { - "$id": "162", + "$id": "174", "kind": "property", "name": "propertyEnumToBeMadeExtensible", "serializedName": "propertyEnumToBeMadeExtensible", @@ -1236,21 +1334,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.RootModel.propertyEnumToBeMadeExtensible", "serializationOptions": { - "$id": "163", + "$id": "175", "json": { - "$id": "164", + "$id": "176", "name": "propertyEnumToBeMadeExtensible" } } }, { - "$id": "165", + "$id": "177", "kind": "property", "name": "propertyModelToAddAdditionalSerializableProperty", "serializedName": "propertyModelToAddAdditionalSerializableProperty", "doc": "ModelToAddAdditionalSerializableProperty", "type": { - "$id": "166", + "$id": "178", "kind": "model", "name": "ModelToAddAdditionalSerializableProperty", "namespace": "CustomizationsInTsp", @@ -1259,17 +1357,17 @@ "doc": "Model to add additional serializable property", "decorators": [], "baseModel": { - "$ref": "51" + "$ref": "63" }, "properties": [ { - "$id": "167", + "$id": "179", "kind": "property", "name": "requiredInt", "serializedName": "requiredInt", "doc": "Required int", "type": { - "$id": "168", + "$id": "180", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1282,9 +1380,9 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelToAddAdditionalSerializableProperty.requiredInt", "serializationOptions": { - "$id": "169", + "$id": "181", "json": { - "$id": "170", + "$id": "182", "name": "requiredInt" } } @@ -1298,15 +1396,15 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.RootModel.propertyModelToAddAdditionalSerializableProperty", "serializationOptions": { - "$id": "171", + "$id": "183", "json": { - "$id": "172", + "$id": "184", "name": "propertyModelToAddAdditionalSerializableProperty" } } }, { - "$id": "173", + "$id": "185", "kind": "property", "name": "propertyToMoveToCustomization", "serializedName": "propertyToMoveToCustomization", @@ -1321,21 +1419,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.RootModel.propertyToMoveToCustomization", "serializationOptions": { - "$id": "174", + "$id": "186", "json": { - "$id": "175", + "$id": "187", "name": "propertyToMoveToCustomization" } } }, { - "$id": "176", + "$id": "188", "kind": "property", "name": "propertyModelStruct", "serializedName": "propertyModelStruct", "doc": "ModelStruct", "type": { - "$id": "177", + "$id": "189", "kind": "model", "name": "ModelStruct", "namespace": "CustomizationsInTsp", @@ -1345,13 +1443,13 @@ "decorators": [], "properties": [ { - "$id": "178", + "$id": "190", "kind": "property", "name": "requiredInt", "serializedName": "requiredInt", "doc": "Required int", "type": { - "$id": "179", + "$id": "191", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1364,21 +1462,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelStruct.requiredInt", "serializationOptions": { - "$id": "180", + "$id": "192", "json": { - "$id": "181", + "$id": "193", "name": "requiredInt" } } }, { - "$id": "182", + "$id": "194", "kind": "property", "name": "optionalInt", "serializedName": "optionalInt", "doc": "Optional int", "type": { - "$id": "183", + "$id": "195", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1391,21 +1489,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelStruct.optionalInt", "serializationOptions": { - "$id": "184", + "$id": "196", "json": { - "$id": "185", + "$id": "197", "name": "optionalInt" } } }, { - "$id": "186", + "$id": "198", "kind": "property", "name": "optionalString", "serializedName": "optionalString", "doc": "Optional string", "type": { - "$id": "187", + "$id": "199", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1418,9 +1516,9 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.ModelStruct.optionalString", "serializationOptions": { - "$id": "188", + "$id": "200", "json": { - "$id": "189", + "$id": "201", "name": "optionalString" } } @@ -1434,9 +1532,9 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizationsInTsp.RootModel.propertyModelStruct", "serializationOptions": { - "$id": "190", + "$id": "202", "json": { - "$id": "191", + "$id": "203", "name": "propertyModelStruct" } } @@ -1444,66 +1542,53 @@ ] }, { - "$ref": "43" + "$ref": "55" }, { - "$ref": "51" + "$ref": "63" }, { - "$ref": "63" + "$ref": "75" }, { - "$ref": "71" + "$ref": "83" }, { - "$ref": "166" + "$ref": "178" }, { - "$ref": "177" + "$ref": "189" } ], "clients": [ { - "$id": "192", + "$id": "204", "kind": "client", "name": "CustomizationsInTspClient", "namespace": "CustomizationsInTsp", "doc": "TypeSpec project to test various types of models.", "methods": [ { - "$id": "193", + "$id": "205", "kind": "basic", "name": "roundTrip", "accessibility": "public", "apiVersions": [], "doc": "RoundTrip operation to make RootModel round-trip", "operation": { - "$id": "194", + "$id": "206", "name": "roundTrip", "resourceName": "CustomizationsInTsp", "doc": "RoundTrip operation to make RootModel round-trip", "accessibility": "public", "parameters": [ { - "$id": "195", + "$id": "207", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "196", - "kind": "constant", - "name": "roundTripContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "197", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -1516,24 +1601,11 @@ "skipUrlEncoding": false }, { - "$id": "198", + "$id": "208", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "199", - "kind": "constant", - "name": "roundTripContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "200", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -1546,11 +1618,11 @@ "skipUrlEncoding": false }, { - "$id": "201", + "$id": "209", "name": "input", "nameInRequest": "input", "type": { - "$ref": "38" + "$ref": "50" }, "location": "Body", "isApiVersion": false, @@ -1565,12 +1637,12 @@ ], "responses": [ { - "$id": "202", + "$id": "210", "statusCodes": [ 200 ], "bodyType": { - "$ref": "38" + "$ref": "50" }, "headers": [], "isErrorResponse": false, @@ -1593,11 +1665,11 @@ }, "parameters": [ { - "$id": "203", + "$id": "211", "name": "input", "nameInRequest": "input", "type": { - "$ref": "38" + "$ref": "50" }, "location": "Body", "isApiVersion": false, @@ -1610,12 +1682,12 @@ "skipUrlEncoding": false }, { - "$id": "204", + "$id": "212", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "196" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -1628,11 +1700,11 @@ "skipUrlEncoding": false }, { - "$id": "205", + "$id": "213", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "199" + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -1646,9 +1718,9 @@ } ], "response": { - "$id": "206", + "$id": "214", "type": { - "$ref": "38" + "$ref": "50" } }, "isOverride": false, @@ -1657,39 +1729,26 @@ "crossLanguageDefinitionId": "CustomizationsInTsp.roundTrip" }, { - "$id": "207", + "$id": "215", "kind": "basic", "name": "foo", "accessibility": "public", "apiVersions": [], "doc": "Sample operation with request body of a renamed model", "operation": { - "$id": "208", + "$id": "216", "name": "foo", "resourceName": "CustomizationsInTsp", "doc": "Sample operation with request body of a renamed model", "accessibility": "public", "parameters": [ { - "$id": "209", + "$id": "217", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "210", - "kind": "constant", - "name": "fooContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "211", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -1702,24 +1761,11 @@ "skipUrlEncoding": false }, { - "$id": "212", + "$id": "218", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "213", - "kind": "constant", - "name": "fooContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "214", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -1732,11 +1778,11 @@ "skipUrlEncoding": false }, { - "$id": "215", + "$id": "219", "name": "input", "nameInRequest": "input", "type": { - "$ref": "51" + "$ref": "63" }, "location": "Body", "isApiVersion": false, @@ -1751,12 +1797,12 @@ ], "responses": [ { - "$id": "216", + "$id": "220", "statusCodes": [ 200 ], "bodyType": { - "$ref": "51" + "$ref": "63" }, "headers": [], "isErrorResponse": false, @@ -1779,11 +1825,11 @@ }, "parameters": [ { - "$id": "217", + "$id": "221", "name": "input", "nameInRequest": "input", "type": { - "$ref": "51" + "$ref": "63" }, "location": "Body", "isApiVersion": false, @@ -1796,12 +1842,12 @@ "skipUrlEncoding": false }, { - "$id": "218", + "$id": "222", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "210" + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -1814,11 +1860,11 @@ "skipUrlEncoding": false }, { - "$id": "219", + "$id": "223", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "213" + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -1832,9 +1878,9 @@ } ], "response": { - "$id": "220", + "$id": "224", "type": { - "$ref": "51" + "$ref": "63" } }, "isOverride": false, @@ -1843,39 +1889,26 @@ "crossLanguageDefinitionId": "CustomizationsInTsp.foo" }, { - "$id": "221", + "$id": "225", "kind": "basic", "name": "bar", "accessibility": "public", "apiVersions": [], "doc": "Sample operation with request body using a model parameter with a spread operator.", "operation": { - "$id": "222", + "$id": "226", "name": "bar", "resourceName": "CustomizationsInTsp", "doc": "Sample operation with request body using a model parameter with a spread operator.", "accessibility": "public", "parameters": [ { - "$id": "223", + "$id": "227", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "224", - "kind": "constant", - "name": "barContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "225", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -1888,24 +1921,11 @@ "skipUrlEncoding": false }, { - "$id": "226", + "$id": "228", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "227", - "kind": "constant", - "name": "barContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "228", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -1922,7 +1942,7 @@ "name": "modelToRename", "nameInRequest": "modelToRename", "type": { - "$ref": "51" + "$ref": "63" }, "location": "Body", "isApiVersion": false, @@ -1942,7 +1962,7 @@ 200 ], "bodyType": { - "$ref": "51" + "$ref": "63" }, "headers": [], "isErrorResponse": false, @@ -2014,7 +2034,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "224" + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -2031,7 +2051,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "227" + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -2047,7 +2067,7 @@ "response": { "$id": "237", "type": { - "$ref": "51" + "$ref": "63" } }, "isOverride": false, diff --git a/test/TestProjects/FirstTest-TypeSpec/tspCodeModel.json b/test/TestProjects/FirstTest-TypeSpec/tspCodeModel.json index 33be6eb9ea0..7ed881d1f61 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tspCodeModel.json +++ b/test/TestProjects/FirstTest-TypeSpec/tspCodeModel.json @@ -1061,9 +1061,1059 @@ "decorators": [] } ], + "constants": [ + { + "$id": "116", + "kind": "constant", + "name": "ThingRequiredLiteralString", + "namespace": "FirstTestTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "98" + }, + "value": "accept", + "decorators": [] + }, + { + "$id": "117", + "kind": "constant", + "name": "ThingRequiredLiteralInt", + "namespace": "FirstTestTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "101" + }, + "value": 123, + "decorators": [] + }, + { + "$id": "118", + "kind": "constant", + "name": "ThingRequiredLiteralFloat", + "namespace": "FirstTestTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "104" + }, + "value": 1.23, + "decorators": [] + }, + { + "$id": "119", + "kind": "constant", + "name": "ThingRequiredLiteralBool", + "namespace": "FirstTestTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$id": "120", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": false, + "decorators": [] + }, + { + "$id": "121", + "kind": "constant", + "name": "ThingOptionalLiteralString", + "namespace": "FirstTestTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "107" + }, + "value": "reject", + "decorators": [] + }, + { + "$id": "122", + "kind": "constant", + "name": "ThingOptionalLiteralInt", + "namespace": "FirstTestTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "110" + }, + "value": 456, + "decorators": [] + }, + { + "$id": "123", + "kind": "constant", + "name": "ThingOptionalLiteralFloat", + "namespace": "FirstTestTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "113" + }, + "value": 4.56, + "decorators": [] + }, + { + "$id": "124", + "kind": "constant", + "name": "ThingOptionalLiteralBool", + "namespace": "FirstTestTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$id": "125", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "126", + "kind": "constant", + "name": "topActionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "128", + "kind": "constant", + "name": "topAction2ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "130", + "kind": "constant", + "name": "patchActionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "132", + "kind": "constant", + "name": "patchActionContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "134", + "kind": "constant", + "name": "anonymousBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "136", + "kind": "constant", + "name": "anonymousBodyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "138", + "kind": "constant", + "name": "ThingRequiredLiteralString1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "accept", + "decorators": [] + }, + { + "$id": "140", + "kind": "constant", + "name": "ThingRequiredLiteralInt1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "141", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 123, + "decorators": [] + }, + { + "$id": "142", + "kind": "constant", + "name": "ThingRequiredLiteralFloat1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "143", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "value": 1.23, + "decorators": [] + }, + { + "$id": "144", + "kind": "constant", + "name": "ThingRequiredLiteralBool1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "145", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": false, + "decorators": [] + }, + { + "$id": "146", + "kind": "constant", + "name": "ThingOptionalLiteralString1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "147", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "reject", + "decorators": [] + }, + { + "$id": "148", + "kind": "constant", + "name": "ThingOptionalLiteralInt1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "149", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 456, + "decorators": [] + }, + { + "$id": "150", + "kind": "constant", + "name": "ThingOptionalLiteralFloat1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "151", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "value": 4.56, + "decorators": [] + }, + { + "$id": "152", + "kind": "constant", + "name": "ThingOptionalLiteralBool1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "153", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "154", + "kind": "constant", + "name": "friendlyModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "155", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "156", + "kind": "constant", + "name": "friendlyModelContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "157", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "158", + "kind": "constant", + "name": "stringFormatContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "160", + "kind": "constant", + "name": "projectedNameModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "162", + "kind": "constant", + "name": "projectedNameModelContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "163", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "164", + "kind": "constant", + "name": "returnsAnonymousModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "165", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "166", + "kind": "constant", + "name": "listWithOptionalBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "167", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "168", + "kind": "constant", + "name": "listWithOptionalBodyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "169", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "170", + "kind": "constant", + "name": "stringBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "171", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "172", + "kind": "constant", + "name": "boolBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "173", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "174", + "kind": "constant", + "name": "dateTimeBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "175", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "176", + "kind": "constant", + "name": "returnStringContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "177", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "178", + "kind": "constant", + "name": "returnUnknownContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "179", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "180", + "kind": "constant", + "name": "recursiveExtensionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "181", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "182", + "kind": "constant", + "name": "threeLevelRecursiveContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "183", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "184", + "kind": "constant", + "name": "recursiveModelsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "185", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "186", + "kind": "constant", + "name": "ContainSelfModelsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "187", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "188", + "kind": "constant", + "name": "bodyIsModelWithProjectedEnumContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "189", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "190", + "kind": "constant", + "name": "optionalDictionaryContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "191", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "192", + "kind": "constant", + "name": "azureLocationOpContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "193", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "194", + "kind": "constant", + "name": "sayHiContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "195", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "196", + "kind": "constant", + "name": "HelloAgainRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "197", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "198", + "kind": "constant", + "name": "helloAgainContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "199", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "200", + "kind": "constant", + "name": "HelloAgainRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "201", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "202", + "kind": "constant", + "name": "noContentTypeContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "203", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "204", + "kind": "constant", + "name": "noContentTypeContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "205", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "206", + "kind": "constant", + "name": "helloDemoAgainContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "207", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "208", + "kind": "constant", + "name": "createLiteralContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "209", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "210", + "kind": "constant", + "name": "createLiteralContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "211", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "212", + "kind": "constant", + "name": "HelloLiteralRequestP1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "213", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "test", + "decorators": [] + }, + { + "$id": "214", + "kind": "constant", + "name": "ThingRequiredLiteralInt2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "215", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 123, + "decorators": [] + }, + { + "$id": "216", + "kind": "constant", + "name": "ThingOptionalLiteralBool2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "217", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "218", + "kind": "constant", + "name": "helloLiteralContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "219", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "220", + "kind": "constant", + "name": "HelloLiteralRequestP11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "221", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "test", + "decorators": [] + }, + { + "$id": "222", + "kind": "constant", + "name": "ThingRequiredLiteralInt3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "223", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 123, + "decorators": [] + }, + { + "$id": "224", + "kind": "constant", + "name": "ThingOptionalLiteralBool3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "225", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "226", + "kind": "constant", + "name": "createUnknownValueContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "227", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "228", + "kind": "constant", + "name": "internalProtocolContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "229", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "230", + "kind": "constant", + "name": "internalProtocolContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "231", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "232", + "kind": "constant", + "name": "doSomethingContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "233", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "234", + "kind": "constant", + "name": "doSomethingContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "235", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "236", + "kind": "constant", + "name": "exportContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "237", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "238", + "kind": "constant", + "name": "exportContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "239", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "240", + "kind": "constant", + "name": "exportWContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "241", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "242", + "kind": "constant", + "name": "exportWContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "243", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [ { - "$id": "116", + "$id": "244", "kind": "model", "name": "Thing", "namespace": "FirstTestTypeSpec", @@ -1073,13 +2123,13 @@ "decorators": [], "properties": [ { - "$id": "117", + "$id": "245", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the Thing", "type": { - "$id": "118", + "$id": "246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1092,37 +2142,37 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.name", "serializationOptions": { - "$id": "119", + "$id": "247", "json": { - "$id": "120", + "$id": "248", "name": "name" } } }, { - "$id": "121", + "$id": "249", "kind": "property", "name": "requiredUnion", "serializedName": "requiredUnion", "doc": "required Union", "type": { - "$id": "122", + "$id": "250", "kind": "union", "name": "ThingRequiredUnion", "variantTypes": [ { - "$id": "123", + "$id": "251", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "124", + "$id": "252", "kind": "array", "name": "Array", "valueType": { - "$id": "125", + "$id": "253", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1132,7 +2182,7 @@ "decorators": [] }, { - "$id": "126", + "$id": "254", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1149,30 +2199,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.requiredUnion", "serializationOptions": { - "$id": "127", + "$id": "255", "json": { - "$id": "128", + "$id": "256", "name": "requiredUnion" } } }, { - "$id": "129", + "$id": "257", "kind": "property", "name": "requiredLiteralString", "serializedName": "requiredLiteralString", "doc": "required literal string", "type": { - "$id": "130", - "kind": "constant", - "name": "ThingRequiredLiteralString", - "namespace": "FirstTestTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "98" - }, - "value": "accept", - "decorators": [] + "$ref": "116" }, "optional": false, "readOnly": false, @@ -1181,30 +2222,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.requiredLiteralString", "serializationOptions": { - "$id": "131", + "$id": "258", "json": { - "$id": "132", + "$id": "259", "name": "requiredLiteralString" } } }, { - "$id": "133", + "$id": "260", "kind": "property", "name": "requiredLiteralInt", "serializedName": "requiredLiteralInt", "doc": "required literal int", "type": { - "$id": "134", - "kind": "constant", - "name": "ThingRequiredLiteralInt", - "namespace": "FirstTestTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "101" - }, - "value": 123, - "decorators": [] + "$ref": "117" }, "optional": false, "readOnly": false, @@ -1213,30 +2245,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.requiredLiteralInt", "serializationOptions": { - "$id": "135", + "$id": "261", "json": { - "$id": "136", + "$id": "262", "name": "requiredLiteralInt" } } }, { - "$id": "137", + "$id": "263", "kind": "property", "name": "requiredLiteralFloat", "serializedName": "requiredLiteralFloat", "doc": "required literal float", "type": { - "$id": "138", - "kind": "constant", - "name": "ThingRequiredLiteralFloat", - "namespace": "FirstTestTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "104" - }, - "value": 1.23, - "decorators": [] + "$ref": "118" }, "optional": false, "readOnly": false, @@ -1245,34 +2268,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.requiredLiteralFloat", "serializationOptions": { - "$id": "139", + "$id": "264", "json": { - "$id": "140", + "$id": "265", "name": "requiredLiteralFloat" } } }, { - "$id": "141", + "$id": "266", "kind": "property", "name": "requiredLiteralBool", "serializedName": "requiredLiteralBool", "doc": "required literal bool", "type": { - "$id": "142", - "kind": "constant", - "name": "ThingRequiredLiteralBool", - "namespace": "FirstTestTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$id": "143", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": false, - "decorators": [] + "$ref": "119" }, "optional": false, "readOnly": false, @@ -1281,30 +2291,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.requiredLiteralBool", "serializationOptions": { - "$id": "144", + "$id": "267", "json": { - "$id": "145", + "$id": "268", "name": "requiredLiteralBool" } } }, { - "$id": "146", + "$id": "269", "kind": "property", "name": "optionalLiteralString", "serializedName": "optionalLiteralString", "doc": "optional literal string", "type": { - "$id": "147", - "kind": "constant", - "name": "ThingOptionalLiteralString", - "namespace": "FirstTestTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "107" - }, - "value": "reject", - "decorators": [] + "$ref": "121" }, "optional": true, "readOnly": false, @@ -1313,30 +2314,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.optionalLiteralString", "serializationOptions": { - "$id": "148", + "$id": "270", "json": { - "$id": "149", + "$id": "271", "name": "optionalLiteralString" } } }, { - "$id": "150", + "$id": "272", "kind": "property", "name": "optionalLiteralInt", "serializedName": "optionalLiteralInt", "doc": "optional literal int", "type": { - "$id": "151", - "kind": "constant", - "name": "ThingOptionalLiteralInt", - "namespace": "FirstTestTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "110" - }, - "value": 456, - "decorators": [] + "$ref": "122" }, "optional": true, "readOnly": false, @@ -1345,30 +2337,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.optionalLiteralInt", "serializationOptions": { - "$id": "152", + "$id": "273", "json": { - "$id": "153", + "$id": "274", "name": "optionalLiteralInt" } } }, { - "$id": "154", + "$id": "275", "kind": "property", "name": "optionalLiteralFloat", "serializedName": "optionalLiteralFloat", "doc": "optional literal float", "type": { - "$id": "155", - "kind": "constant", - "name": "ThingOptionalLiteralFloat", - "namespace": "FirstTestTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "113" - }, - "value": 4.56, - "decorators": [] + "$ref": "123" }, "optional": true, "readOnly": false, @@ -1377,34 +2360,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.optionalLiteralFloat", "serializationOptions": { - "$id": "156", + "$id": "276", "json": { - "$id": "157", + "$id": "277", "name": "optionalLiteralFloat" } } }, { - "$id": "158", + "$id": "278", "kind": "property", "name": "optionalLiteralBool", "serializedName": "optionalLiteralBool", "doc": "optional literal bool", "type": { - "$id": "159", - "kind": "constant", - "name": "ThingOptionalLiteralBool", - "namespace": "FirstTestTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$id": "160", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "124" }, "optional": true, "readOnly": false, @@ -1413,21 +2383,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.optionalLiteralBool", "serializationOptions": { - "$id": "161", + "$id": "279", "json": { - "$id": "162", + "$id": "280", "name": "optionalLiteralBool" } } }, { - "$id": "163", + "$id": "281", "kind": "property", "name": "requiredBadDescription", "serializedName": "requiredBadDescription", "doc": "description with xml <|endoftext|>", "type": { - "$id": "164", + "$id": "282", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1440,28 +2410,28 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.requiredBadDescription", "serializationOptions": { - "$id": "165", + "$id": "283", "json": { - "$id": "166", + "$id": "284", "name": "requiredBadDescription" } } }, { - "$id": "167", + "$id": "285", "kind": "property", "name": "optionalNullableList", "serializedName": "optionalNullableList", "doc": "optional nullable collection", "type": { - "$id": "168", + "$id": "286", "kind": "nullable", "type": { - "$id": "169", + "$id": "287", "kind": "array", "name": "Array1", "valueType": { - "$id": "170", + "$id": "288", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1479,24 +2449,24 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.optionalNullableList", "serializationOptions": { - "$id": "171", + "$id": "289", "json": { - "$id": "172", + "$id": "290", "name": "optionalNullableList" } } }, { - "$id": "173", + "$id": "291", "kind": "property", "name": "requiredNullableList", "serializedName": "requiredNullableList", "doc": "required nullable collection", "type": { - "$id": "174", + "$id": "292", "kind": "nullable", "type": { - "$ref": "169" + "$ref": "287" }, "namespace": "" }, @@ -1507,21 +2477,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.requiredNullableList", "serializationOptions": { - "$id": "175", + "$id": "293", "json": { - "$id": "176", + "$id": "294", "name": "requiredNullableList" } } }, { - "$id": "177", + "$id": "295", "kind": "property", "name": "requiredFloatProperty", "serializedName": "requiredFloatProperty", "doc": "required float property", "type": { - "$id": "178", + "$id": "296", "kind": "float", "name": "float", "crossLanguageDefinitionId": "TypeSpec.float", @@ -1534,21 +2504,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.requiredFloatProperty", "serializationOptions": { - "$id": "179", + "$id": "297", "json": { - "$id": "180", + "$id": "298", "name": "requiredFloatProperty" } } }, { - "$id": "181", + "$id": "299", "kind": "property", "name": "optionalFloatProperty", "serializedName": "optionalFloatProperty", "doc": "optional float property", "type": { - "$id": "182", + "$id": "300", "kind": "float", "name": "float", "crossLanguageDefinitionId": "TypeSpec.float", @@ -1561,26 +2531,26 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.optionalFloatProperty", "serializationOptions": { - "$id": "183", + "$id": "301", "json": { - "$id": "184", + "$id": "302", "name": "optionalFloatProperty" } } }, { - "$id": "185", + "$id": "303", "kind": "property", "name": "optionalResourceId", "serializedName": "optionalResourceId", "doc": "optional arm id.", "type": { - "$id": "186", + "$id": "304", "kind": "string", "name": "armResourceIdentifier", "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", "baseType": { - "$id": "187", + "$id": "305", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1595,9 +2565,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Thing.optionalResourceId", "serializationOptions": { - "$id": "188", + "$id": "306", "json": { - "$id": "189", + "$id": "307", "name": "optionalResourceId" } } @@ -1605,7 +2575,7 @@ ] }, { - "$id": "190", + "$id": "308", "kind": "model", "name": "Friend", "namespace": "FirstTestTypeSpec", @@ -1615,13 +2585,13 @@ "decorators": [], "properties": [ { - "$id": "191", + "$id": "309", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the NotFriend", "type": { - "$id": "192", + "$id": "310", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1634,9 +2604,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.NotFriend.name", "serializationOptions": { - "$id": "193", + "$id": "311", "json": { - "$id": "194", + "$id": "312", "name": "name" } } @@ -1644,7 +2614,7 @@ ] }, { - "$id": "195", + "$id": "313", "kind": "model", "name": "ModelWithFormat", "namespace": "FirstTestTypeSpec", @@ -1653,13 +2623,13 @@ "decorators": [], "properties": [ { - "$id": "196", + "$id": "314", "kind": "property", "name": "sourceUrl", "serializedName": "sourceUrl", "doc": "url format", "type": { - "$id": "197", + "$id": "315", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -1672,26 +2642,26 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ModelWithFormat.sourceUrl", "serializationOptions": { - "$id": "198", + "$id": "316", "json": { - "$id": "199", + "$id": "317", "name": "sourceUrl" } } }, { - "$id": "200", + "$id": "318", "kind": "property", "name": "guid", "serializedName": "guid", "doc": "uuid format", "type": { - "$id": "201", + "$id": "319", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "202", + "$id": "320", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1706,9 +2676,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ModelWithFormat.guid", "serializationOptions": { - "$id": "203", + "$id": "321", "json": { - "$id": "204", + "$id": "322", "name": "guid" } } @@ -1716,7 +2686,7 @@ ] }, { - "$id": "205", + "$id": "323", "kind": "model", "name": "ProjectedModel", "namespace": "FirstTestTypeSpec", @@ -1726,13 +2696,13 @@ "decorators": [], "properties": [ { - "$id": "206", + "$id": "324", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the ModelWithProjectedName", "type": { - "$id": "207", + "$id": "325", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1745,9 +2715,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ModelWithProjectedName.name", "serializationOptions": { - "$id": "208", + "$id": "326", "json": { - "$id": "209", + "$id": "327", "name": "name" } } @@ -1755,7 +2725,7 @@ ] }, { - "$id": "210", + "$id": "328", "kind": "model", "name": "ReturnsAnonymousModelResponse", "namespace": "FirstTestTypeSpec", @@ -1765,7 +2735,7 @@ "properties": [] }, { - "$id": "211", + "$id": "329", "kind": "model", "name": "ListBody", "namespace": "FirstTestTypeSpec", @@ -1774,13 +2744,13 @@ "decorators": [], "properties": [ { - "$id": "212", + "$id": "330", "kind": "property", "name": "filter", "serializedName": "filter", "doc": "Metric dimension filter ", "type": { - "$id": "213", + "$id": "331", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1793,9 +2763,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ListBody.filter", "serializationOptions": { - "$id": "214", + "$id": "332", "json": { - "$id": "215", + "$id": "333", "name": "filter" } } @@ -1803,7 +2773,7 @@ ] }, { - "$id": "216", + "$id": "334", "kind": "model", "name": "Extension", "namespace": "FirstTestTypeSpec", @@ -1812,7 +2782,7 @@ "doc": "extension", "decorators": [], "baseModel": { - "$id": "217", + "$id": "335", "kind": "model", "name": "Element", "namespace": "FirstTestTypeSpec", @@ -1822,16 +2792,16 @@ "decorators": [], "properties": [ { - "$id": "218", + "$id": "336", "kind": "property", "name": "extension", "serializedName": "extension", "type": { - "$id": "219", + "$id": "337", "kind": "array", "name": "ArrayExtension", "valueType": { - "$ref": "216" + "$ref": "334" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1843,9 +2813,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Element.extension", "serializationOptions": { - "$id": "220", + "$id": "338", "json": { - "$id": "221", + "$id": "339", "name": "extension" } } @@ -1854,12 +2824,12 @@ }, "properties": [ { - "$id": "222", + "$id": "340", "kind": "property", "name": "level", "serializedName": "level", "type": { - "$id": "223", + "$id": "341", "kind": "int8", "name": "int8", "crossLanguageDefinitionId": "TypeSpec.int8", @@ -1872,9 +2842,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Extension.level", "serializationOptions": { - "$id": "224", + "$id": "342", "json": { - "$id": "225", + "$id": "343", "name": "level" } } @@ -1882,10 +2852,10 @@ ] }, { - "$ref": "217" + "$ref": "335" }, { - "$id": "226", + "$id": "344", "kind": "model", "name": "Extendible", "namespace": "FirstTestTypeSpec", @@ -1895,17 +2865,17 @@ "decorators": [], "properties": [ { - "$id": "227", + "$id": "345", "kind": "property", "name": "extension", "serializedName": "extension", "doc": "Additional Content defined by implementations", "type": { - "$id": "228", + "$id": "346", "kind": "array", "name": "ArrayThereLevelExtension", "valueType": { - "$id": "229", + "$id": "347", "kind": "model", "name": "ThereLevelExtension", "namespace": "FirstTestTypeSpec", @@ -1914,7 +2884,7 @@ "doc": "extension", "decorators": [], "baseModel": { - "$id": "230", + "$id": "348", "kind": "model", "name": "ThereLevelElement", "namespace": "FirstTestTypeSpec", @@ -1924,16 +2894,16 @@ "decorators": [], "properties": [ { - "$id": "231", + "$id": "349", "kind": "property", "name": "extension", "serializedName": "extension", "type": { - "$id": "232", + "$id": "350", "kind": "array", "name": "ArrayThereLevelExtension", "valueType": { - "$ref": "229" + "$ref": "347" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1945,9 +2915,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ThereLevelElement.extension", "serializationOptions": { - "$id": "233", + "$id": "351", "json": { - "$id": "234", + "$id": "352", "name": "extension" } } @@ -1956,12 +2926,12 @@ }, "properties": [ { - "$id": "235", + "$id": "353", "kind": "property", "name": "level", "serializedName": "level", "type": { - "$id": "236", + "$id": "354", "kind": "int8", "name": "int8", "crossLanguageDefinitionId": "TypeSpec.int8", @@ -1974,9 +2944,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ThereLevelExtension.level", "serializationOptions": { - "$id": "237", + "$id": "355", "json": { - "$id": "238", + "$id": "356", "name": "level" } } @@ -1993,9 +2963,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.Extendible.extension", "serializationOptions": { - "$id": "239", + "$id": "357", "json": { - "$id": "240", + "$id": "358", "name": "extension" } } @@ -2003,13 +2973,13 @@ ] }, { - "$ref": "229" + "$ref": "347" }, { - "$ref": "230" + "$ref": "348" }, { - "$id": "241", + "$id": "359", "kind": "model", "name": "ChildModel", "namespace": "FirstTestTypeSpec", @@ -2018,7 +2988,7 @@ "doc": "ChildModel", "decorators": [], "baseModel": { - "$id": "242", + "$id": "360", "kind": "model", "name": "BaseModel", "namespace": "FirstTestTypeSpec", @@ -2028,12 +2998,12 @@ "decorators": [], "properties": [ { - "$id": "243", + "$id": "361", "kind": "property", "name": "level", "serializedName": "level", "type": { - "$id": "244", + "$id": "362", "kind": "int8", "name": "int8", "crossLanguageDefinitionId": "TypeSpec.int8", @@ -2046,9 +3016,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.BaseModel.level", "serializationOptions": { - "$id": "245", + "$id": "363", "json": { - "$id": "246", + "$id": "364", "name": "level" } } @@ -2057,16 +3027,16 @@ }, "properties": [ { - "$id": "247", + "$id": "365", "kind": "property", "name": "parent", "serializedName": "parent", "type": { - "$id": "248", + "$id": "366", "kind": "array", "name": "ArrayBaseModel", "valueType": { - "$ref": "242" + "$ref": "360" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -2078,9 +3048,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ChildModel.parent", "serializationOptions": { - "$id": "249", + "$id": "367", "json": { - "$id": "250", + "$id": "368", "name": "parent" } } @@ -2088,10 +3058,10 @@ ] }, { - "$ref": "242" + "$ref": "360" }, { - "$id": "251", + "$id": "369", "kind": "model", "name": "ContainSelf", "namespace": "FirstTestTypeSpec", @@ -2101,12 +3071,12 @@ "decorators": [], "properties": [ { - "$id": "252", + "$id": "370", "kind": "property", "name": "self", "serializedName": "self", "type": { - "$ref": "251" + "$ref": "369" }, "optional": false, "readOnly": false, @@ -2115,9 +3085,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ContainSelf.self", "serializationOptions": { - "$id": "253", + "$id": "371", "json": { - "$id": "254", + "$id": "372", "name": "self" } } @@ -2125,7 +3095,7 @@ ] }, { - "$id": "255", + "$id": "373", "kind": "model", "name": "ModelWithProjectedEnum", "namespace": "FirstTestTypeSpec", @@ -2134,7 +3104,7 @@ "decorators": [], "properties": [ { - "$id": "256", + "$id": "374", "kind": "property", "name": "enumProperty", "serializedName": "enumProperty", @@ -2149,9 +3119,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ModelWithProjectedEnum.enumProperty", "serializationOptions": { - "$id": "257", + "$id": "375", "json": { - "$id": "258", + "$id": "376", "name": "enumProperty" } } @@ -2159,7 +3129,7 @@ ] }, { - "$id": "259", + "$id": "377", "kind": "model", "name": "AzureLocationModel", "namespace": "FirstTestTypeSpec", @@ -2168,17 +3138,17 @@ "decorators": [], "properties": [ { - "$id": "260", + "$id": "378", "kind": "property", "name": "location", "serializedName": "location", "type": { - "$id": "261", + "$id": "379", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "262", + "$id": "380", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2193,9 +3163,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.AzureLocationModel.location", "serializationOptions": { - "$id": "263", + "$id": "381", "json": { - "$id": "264", + "$id": "382", "name": "location" } } @@ -2203,7 +3173,7 @@ ] }, { - "$id": "265", + "$id": "383", "kind": "model", "name": "RoundTripModel", "namespace": "FirstTestTypeSpec", @@ -2213,13 +3183,13 @@ "decorators": [], "properties": [ { - "$id": "266", + "$id": "384", "kind": "property", "name": "requiredString", "serializedName": "requiredString", "doc": "Required string, illustrating a reference type property.", "type": { - "$id": "267", + "$id": "385", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2232,21 +3202,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.requiredString", "serializationOptions": { - "$id": "268", + "$id": "386", "json": { - "$id": "269", + "$id": "387", "name": "requiredString" } } }, { - "$id": "270", + "$id": "388", "kind": "property", "name": "requiredInt", "serializedName": "requiredInt", "doc": "Required int, illustrating a value type property.", "type": { - "$id": "271", + "$id": "389", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2259,21 +3229,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.requiredInt", "serializationOptions": { - "$id": "272", + "$id": "390", "json": { - "$id": "273", + "$id": "391", "name": "requiredInt" } } }, { - "$id": "274", + "$id": "392", "kind": "property", "name": "requiredCollection", "serializedName": "requiredCollection", "doc": "Required collection of enums", "type": { - "$id": "275", + "$id": "393", "kind": "array", "name": "ArrayStringFixedEnum", "valueType": { @@ -2289,24 +3259,24 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.requiredCollection", "serializationOptions": { - "$id": "276", + "$id": "394", "json": { - "$id": "277", + "$id": "395", "name": "requiredCollection" } } }, { - "$id": "278", + "$id": "396", "kind": "property", "name": "requiredDictionary", "serializedName": "requiredDictionary", "doc": "Required dictionary of enums", "type": { - "$id": "279", + "$id": "397", "kind": "dict", "keyType": { - "$id": "280", + "$id": "398", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2324,21 +3294,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.requiredDictionary", "serializationOptions": { - "$id": "281", + "$id": "399", "json": { - "$id": "282", + "$id": "400", "name": "requiredDictionary" } } }, { - "$id": "283", + "$id": "401", "kind": "property", "name": "requiredModel", "serializedName": "requiredModel", "doc": "Required model", "type": { - "$ref": "116" + "$ref": "244" }, "optional": false, "readOnly": false, @@ -2347,15 +3317,15 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.requiredModel", "serializationOptions": { - "$id": "284", + "$id": "402", "json": { - "$id": "285", + "$id": "403", "name": "requiredModel" } } }, { - "$id": "286", + "$id": "404", "kind": "property", "name": "intExtensibleEnum", "serializedName": "intExtensibleEnum", @@ -2370,21 +3340,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.intExtensibleEnum", "serializationOptions": { - "$id": "287", + "$id": "405", "json": { - "$id": "288", + "$id": "406", "name": "intExtensibleEnum" } } }, { - "$id": "289", + "$id": "407", "kind": "property", "name": "intExtensibleEnumCollection", "serializedName": "intExtensibleEnumCollection", "doc": "this is a collection of int based extensible enum", "type": { - "$id": "290", + "$id": "408", "kind": "array", "name": "ArrayIntExtensibleEnum", "valueType": { @@ -2400,15 +3370,15 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.intExtensibleEnumCollection", "serializationOptions": { - "$id": "291", + "$id": "409", "json": { - "$id": "292", + "$id": "410", "name": "intExtensibleEnumCollection" } } }, { - "$id": "293", + "$id": "411", "kind": "property", "name": "floatExtensibleEnum", "serializedName": "floatExtensibleEnum", @@ -2423,21 +3393,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.floatExtensibleEnum", "serializationOptions": { - "$id": "294", + "$id": "412", "json": { - "$id": "295", + "$id": "413", "name": "floatExtensibleEnum" } } }, { - "$id": "296", + "$id": "414", "kind": "property", "name": "floatExtensibleEnumCollection", "serializedName": "floatExtensibleEnumCollection", "doc": "this is a collection of float based extensible enum", "type": { - "$id": "297", + "$id": "415", "kind": "array", "name": "ArrayFloatExtensibleEnum", "valueType": { @@ -2453,15 +3423,15 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.floatExtensibleEnumCollection", "serializationOptions": { - "$id": "298", + "$id": "416", "json": { - "$id": "299", + "$id": "417", "name": "floatExtensibleEnumCollection" } } }, { - "$id": "300", + "$id": "418", "kind": "property", "name": "floatFixedEnum", "serializedName": "floatFixedEnum", @@ -2476,21 +3446,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.floatFixedEnum", "serializationOptions": { - "$id": "301", + "$id": "419", "json": { - "$id": "302", + "$id": "420", "name": "floatFixedEnum" } } }, { - "$id": "303", + "$id": "421", "kind": "property", "name": "floatFixedEnumCollection", "serializedName": "floatFixedEnumCollection", "doc": "this is a collection of float based fixed enum", "type": { - "$id": "304", + "$id": "422", "kind": "array", "name": "ArrayFloatFixedEnum", "valueType": { @@ -2506,15 +3476,15 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.floatFixedEnumCollection", "serializationOptions": { - "$id": "305", + "$id": "423", "json": { - "$id": "306", + "$id": "424", "name": "floatFixedEnumCollection" } } }, { - "$id": "307", + "$id": "425", "kind": "property", "name": "intFixedEnum", "serializedName": "intFixedEnum", @@ -2529,21 +3499,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.intFixedEnum", "serializationOptions": { - "$id": "308", + "$id": "426", "json": { - "$id": "309", + "$id": "427", "name": "intFixedEnum" } } }, { - "$id": "310", + "$id": "428", "kind": "property", "name": "intFixedEnumCollection", "serializedName": "intFixedEnumCollection", "doc": "this is a collection of int based fixed enum", "type": { - "$id": "311", + "$id": "429", "kind": "array", "name": "ArrayIntFixedEnum", "valueType": { @@ -2559,15 +3529,15 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.intFixedEnumCollection", "serializationOptions": { - "$id": "312", + "$id": "430", "json": { - "$id": "313", + "$id": "431", "name": "intFixedEnumCollection" } } }, { - "$id": "314", + "$id": "432", "kind": "property", "name": "stringFixedEnum", "serializedName": "stringFixedEnum", @@ -2582,21 +3552,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.stringFixedEnum", "serializationOptions": { - "$id": "315", + "$id": "433", "json": { - "$id": "316", + "$id": "434", "name": "stringFixedEnum" } } }, { - "$id": "317", + "$id": "435", "kind": "property", "name": "requiredUnknown", "serializedName": "requiredUnknown", "doc": "required unknown", "type": { - "$id": "318", + "$id": "436", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -2609,21 +3579,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.requiredUnknown", "serializationOptions": { - "$id": "319", + "$id": "437", "json": { - "$id": "320", + "$id": "438", "name": "requiredUnknown" } } }, { - "$id": "321", + "$id": "439", "kind": "property", "name": "optionalUnknown", "serializedName": "optionalUnknown", "doc": "optional unknown", "type": { - "$id": "322", + "$id": "440", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -2636,31 +3606,31 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.optionalUnknown", "serializationOptions": { - "$id": "323", + "$id": "441", "json": { - "$id": "324", + "$id": "442", "name": "optionalUnknown" } } }, { - "$id": "325", + "$id": "443", "kind": "property", "name": "requiredRecordUnknown", "serializedName": "requiredRecordUnknown", "doc": "required record of unknown", "type": { - "$id": "326", + "$id": "444", "kind": "dict", "keyType": { - "$id": "327", + "$id": "445", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "328", + "$id": "446", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -2675,21 +3645,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.requiredRecordUnknown", "serializationOptions": { - "$id": "329", + "$id": "447", "json": { - "$id": "330", + "$id": "448", "name": "requiredRecordUnknown" } } }, { - "$id": "331", + "$id": "449", "kind": "property", "name": "optionalRecordUnknown", "serializedName": "optionalRecordUnknown", "doc": "optional record of unknown", "type": { - "$ref": "326" + "$ref": "444" }, "optional": true, "readOnly": false, @@ -2698,21 +3668,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.optionalRecordUnknown", "serializationOptions": { - "$id": "332", + "$id": "450", "json": { - "$id": "333", + "$id": "451", "name": "optionalRecordUnknown" } } }, { - "$id": "334", + "$id": "452", "kind": "property", "name": "readOnlyRequiredRecordUnknown", "serializedName": "readOnlyRequiredRecordUnknown", "doc": "required readonly record of unknown", "type": { - "$ref": "326" + "$ref": "444" }, "optional": false, "readOnly": true, @@ -2721,21 +3691,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.readOnlyRequiredRecordUnknown", "serializationOptions": { - "$id": "335", + "$id": "453", "json": { - "$id": "336", + "$id": "454", "name": "readOnlyRequiredRecordUnknown" } } }, { - "$id": "337", + "$id": "455", "kind": "property", "name": "readOnlyOptionalRecordUnknown", "serializedName": "readOnlyOptionalRecordUnknown", "doc": "optional readonly record of unknown", "type": { - "$ref": "326" + "$ref": "444" }, "optional": true, "readOnly": true, @@ -2744,21 +3714,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.readOnlyOptionalRecordUnknown", "serializationOptions": { - "$id": "338", + "$id": "456", "json": { - "$id": "339", + "$id": "457", "name": "readOnlyOptionalRecordUnknown" } } }, { - "$id": "340", + "$id": "458", "kind": "property", "name": "modelWithRequiredNullable", "serializedName": "modelWithRequiredNullable", "doc": "this is a model with required nullable properties", "type": { - "$id": "341", + "$id": "459", "kind": "model", "name": "ModelWithRequiredNullableProperties", "namespace": "FirstTestTypeSpec", @@ -2768,16 +3738,16 @@ "decorators": [], "properties": [ { - "$id": "342", + "$id": "460", "kind": "property", "name": "requiredNullablePrimitive", "serializedName": "requiredNullablePrimitive", "doc": "required nullable primitive type", "type": { - "$id": "343", + "$id": "461", "kind": "nullable", "type": { - "$id": "344", + "$id": "462", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2792,21 +3762,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ModelWithRequiredNullableProperties.requiredNullablePrimitive", "serializationOptions": { - "$id": "345", + "$id": "463", "json": { - "$id": "346", + "$id": "464", "name": "requiredNullablePrimitive" } } }, { - "$id": "347", + "$id": "465", "kind": "property", "name": "requiredExtensibleEnum", "serializedName": "requiredExtensibleEnum", "doc": "required nullable extensible enum type", "type": { - "$id": "348", + "$id": "466", "kind": "nullable", "type": { "$ref": "26" @@ -2820,21 +3790,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ModelWithRequiredNullableProperties.requiredExtensibleEnum", "serializationOptions": { - "$id": "349", + "$id": "467", "json": { - "$id": "350", + "$id": "468", "name": "requiredExtensibleEnum" } } }, { - "$id": "351", + "$id": "469", "kind": "property", "name": "requiredFixedEnum", "serializedName": "requiredFixedEnum", "doc": "required nullable fixed enum type", "type": { - "$id": "352", + "$id": "470", "kind": "nullable", "type": { "$ref": "18" @@ -2848,9 +3818,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ModelWithRequiredNullableProperties.requiredFixedEnum", "serializationOptions": { - "$id": "353", + "$id": "471", "json": { - "$id": "354", + "$id": "472", "name": "requiredFixedEnum" } } @@ -2864,44 +3834,44 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.modelWithRequiredNullable", "serializationOptions": { - "$id": "355", + "$id": "473", "json": { - "$id": "356", + "$id": "474", "name": "modelWithRequiredNullable" } } }, { - "$id": "357", + "$id": "475", "kind": "property", "name": "unionList", "serializedName": "unionList", "doc": "this is a list of union types", "type": { - "$id": "358", + "$id": "476", "kind": "array", "name": "Array2", "valueType": { - "$id": "359", + "$id": "477", "kind": "union", "name": "RoundTripModelUnionList", "variantTypes": [ { - "$id": "360", + "$id": "478", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "361", + "$id": "479", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, { - "$id": "362", + "$id": "480", "kind": "model", "name": "ModelForUnion", "namespace": "FirstTestTypeSpec", @@ -2911,13 +3881,13 @@ "decorators": [], "properties": [ { - "$id": "363", + "$id": "481", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the ModelForUnion", "type": { - "$id": "364", + "$id": "482", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2930,21 +3900,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ModelForUnion.name", "serializationOptions": { - "$id": "365", + "$id": "483", "json": { - "$id": "366", + "$id": "484", "name": "name" } } }, { - "$id": "367", + "$id": "485", "kind": "property", "name": "age", "serializedName": "age", "doc": "age of the ModelForUnion", "type": { - "$id": "368", + "$id": "486", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2957,9 +3927,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ModelForUnion.age", "serializationOptions": { - "$id": "369", + "$id": "487", "json": { - "$id": "370", + "$id": "488", "name": "age" } } @@ -2967,11 +3937,11 @@ ] }, { - "$id": "371", + "$id": "489", "kind": "array", "name": "ArrayModelForUnion", "valueType": { - "$ref": "362" + "$ref": "480" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -2990,21 +3960,21 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.unionList", "serializationOptions": { - "$id": "372", + "$id": "490", "json": { - "$id": "373", + "$id": "491", "name": "unionList" } } }, { - "$id": "374", + "$id": "492", "kind": "property", "name": "binaryDataRecord", "serializedName": "binaryDataRecord", "doc": "this is a record of unknown to be changed to BinaryData in customized code", "type": { - "$ref": "326" + "$ref": "444" }, "optional": true, "readOnly": false, @@ -3013,9 +3983,9 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.RoundTripModel.binaryDataRecord", "serializationOptions": { - "$id": "375", + "$id": "493", "json": { - "$id": "376", + "$id": "494", "name": "binaryDataRecord" } } @@ -3023,13 +3993,13 @@ ] }, { - "$ref": "341" + "$ref": "459" }, { - "$ref": "362" + "$ref": "480" }, { - "$id": "377", + "$id": "495", "kind": "model", "name": "PagedThing", "namespace": "Azure.Core", @@ -3039,17 +4009,17 @@ "decorators": [], "properties": [ { - "$id": "378", + "$id": "496", "kind": "property", "name": "value", "serializedName": "value", "doc": "The Thing items on this page", "type": { - "$id": "379", + "$id": "497", "kind": "array", "name": "ArrayThing", "valueType": { - "$ref": "116" + "$ref": "244" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -3061,26 +4031,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Page.value", "serializationOptions": { - "$id": "380", + "$id": "498", "json": { - "$id": "381", + "$id": "499", "name": "value" } } }, { - "$id": "382", + "$id": "500", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "383", + "$id": "501", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "384", + "$id": "502", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -3095,9 +4065,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Page.nextLink", "serializationOptions": { - "$id": "385", + "$id": "503", "json": { - "$id": "386", + "$id": "504", "name": "nextLink" } } @@ -3105,7 +4075,7 @@ ] }, { - "$id": "387", + "$id": "505", "kind": "model", "name": "ResourceOperationStatusResourceExportedResourceError", "namespace": "Azure.Core", @@ -3115,13 +4085,13 @@ "decorators": [], "properties": [ { - "$id": "388", + "$id": "506", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the operation.", "type": { - "$id": "389", + "$id": "507", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3134,11 +4104,11 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.id", "serializationOptions": { - "$id": "390" + "$id": "508" } }, { - "$id": "391", + "$id": "509", "kind": "property", "name": "status", "serializedName": "status", @@ -3153,17 +4123,17 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.status", "serializationOptions": { - "$id": "392" + "$id": "510" } }, { - "$id": "393", + "$id": "511", "kind": "property", "name": "error", "serializedName": "error", "doc": "Error object that describes the error when status is \"Failed\".", "type": { - "$id": "394", + "$id": "512", "kind": "model", "name": "Error", "namespace": "Azure.Core.Foundations", @@ -3173,13 +4143,13 @@ "decorators": [], "properties": [ { - "$id": "395", + "$id": "513", "kind": "property", "name": "code", "serializedName": "code", "doc": "One of a server-defined set of error codes.", "type": { - "$id": "396", + "$id": "514", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3192,21 +4162,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.code", "serializationOptions": { - "$id": "397", + "$id": "515", "json": { - "$id": "398", + "$id": "516", "name": "code" } } }, { - "$id": "399", + "$id": "517", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable representation of the error.", "type": { - "$id": "400", + "$id": "518", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3219,21 +4189,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.message", "serializationOptions": { - "$id": "401", + "$id": "519", "json": { - "$id": "402", + "$id": "520", "name": "message" } } }, { - "$id": "403", + "$id": "521", "kind": "property", "name": "target", "serializedName": "target", "doc": "The target of the error.", "type": { - "$id": "404", + "$id": "522", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3246,25 +4216,25 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.target", "serializationOptions": { - "$id": "405", + "$id": "523", "json": { - "$id": "406", + "$id": "524", "name": "target" } } }, { - "$id": "407", + "$id": "525", "kind": "property", "name": "details", "serializedName": "details", "doc": "An array of details about specific errors that led to this reported error.", "type": { - "$id": "408", + "$id": "526", "kind": "array", "name": "ArrayError", "valueType": { - "$ref": "394" + "$ref": "512" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -3276,21 +4246,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.details", "serializationOptions": { - "$id": "409", + "$id": "527", "json": { - "$id": "410", + "$id": "528", "name": "details" } } }, { - "$id": "411", + "$id": "529", "kind": "property", "name": "innererror", "serializedName": "innererror", "doc": "An object containing more specific information than the current object about the error.", "type": { - "$id": "412", + "$id": "530", "kind": "model", "name": "InnerError", "namespace": "Azure.Core.Foundations", @@ -3300,13 +4270,13 @@ "decorators": [], "properties": [ { - "$id": "413", + "$id": "531", "kind": "property", "name": "code", "serializedName": "code", "doc": "One of a server-defined set of error codes.", "type": { - "$id": "414", + "$id": "532", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3319,21 +4289,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.code", "serializationOptions": { - "$id": "415", + "$id": "533", "json": { - "$id": "416", + "$id": "534", "name": "code" } } }, { - "$id": "417", + "$id": "535", "kind": "property", "name": "innererror", "serializedName": "innererror", "doc": "Inner error.", "type": { - "$ref": "412" + "$ref": "530" }, "optional": true, "readOnly": false, @@ -3342,9 +4312,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.innererror", "serializationOptions": { - "$id": "418", + "$id": "536", "json": { - "$id": "419", + "$id": "537", "name": "innererror" } } @@ -3358,9 +4328,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.innererror", "serializationOptions": { - "$id": "420", + "$id": "538", "json": { - "$id": "421", + "$id": "539", "name": "innererror" } } @@ -3374,17 +4344,17 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.error", "serializationOptions": { - "$id": "422" + "$id": "540" } }, { - "$id": "423", + "$id": "541", "kind": "property", "name": "result", "serializedName": "result", "doc": "The result of the operation.", "type": { - "$id": "424", + "$id": "542", "kind": "model", "name": "ExportedResource", "namespace": "FirstTestTypeSpec", @@ -3393,12 +4363,12 @@ "decorators": [], "properties": [ { - "$id": "425", + "$id": "543", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "426", + "$id": "544", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3411,16 +4381,16 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ExportedResource.id", "serializationOptions": { - "$id": "427" + "$id": "545" } }, { - "$id": "428", + "$id": "546", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "429", + "$id": "547", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3433,7 +4403,7 @@ "decorators": [], "crossLanguageDefinitionId": "FirstTestTypeSpec.ExportedResource.name", "serializationOptions": { - "$id": "430" + "$id": "548" } } ] @@ -3445,31 +4415,31 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.result", "serializationOptions": { - "$id": "431" + "$id": "549" } } ] }, { - "$ref": "394" + "$ref": "512" }, { - "$ref": "412" + "$ref": "530" }, { - "$ref": "424" + "$ref": "542" } ], "clients": [ { - "$id": "432", + "$id": "550", "kind": "client", "name": "FirstTestTypeSpecClient", "namespace": "FirstTestTypeSpec", "doc": "This is a sample typespec project.", "methods": [ { - "$id": "433", + "$id": "551", "kind": "basic", "name": "topAction", "accessibility": "public", @@ -3478,23 +4448,23 @@ ], "doc": "top level method", "operation": { - "$id": "434", + "$id": "552", "name": "topAction", "resourceName": "FirstTestTypeSpec", "doc": "top level method", "accessibility": "public", "parameters": [ { - "$id": "435", + "$id": "553", "name": "action", "nameInRequest": "action", "type": { - "$id": "436", + "$id": "554", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "437", + "$id": "555", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3514,24 +4484,11 @@ "skipUrlEncoding": false }, { - "$id": "438", + "$id": "556", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "439", - "kind": "constant", - "name": "topActionContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "440", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -3546,12 +4503,12 @@ ], "responses": [ { - "$id": "441", + "$id": "557", "statusCodes": [ 200 ], "bodyType": { - "$ref": "116" + "$ref": "244" }, "headers": [], "isErrorResponse": false, @@ -3571,16 +4528,16 @@ }, "parameters": [ { - "$id": "442", + "$id": "558", "name": "action", "nameInRequest": "action", "type": { - "$id": "443", + "$id": "559", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "444", + "$id": "560", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3600,11 +4557,11 @@ "skipUrlEncoding": false }, { - "$id": "445", + "$id": "561", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "439" + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -3618,9 +4575,9 @@ } ], "response": { - "$id": "446", + "$id": "562", "type": { - "$ref": "116" + "$ref": "244" } }, "isOverride": false, @@ -3629,7 +4586,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.topAction" }, { - "$id": "447", + "$id": "563", "kind": "basic", "name": "topAction2", "accessibility": "public", @@ -3638,31 +4595,18 @@ ], "doc": "top level method2", "operation": { - "$id": "448", + "$id": "564", "name": "topAction2", "resourceName": "FirstTestTypeSpec", "doc": "top level method2", "accessibility": "public", "parameters": [ { - "$id": "449", + "$id": "565", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "450", - "kind": "constant", - "name": "topAction2ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "451", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -3677,12 +4621,12 @@ ], "responses": [ { - "$id": "452", + "$id": "566", "statusCodes": [ 200 ], "bodyType": { - "$ref": "116" + "$ref": "244" }, "headers": [], "isErrorResponse": false, @@ -3702,11 +4646,11 @@ }, "parameters": [ { - "$id": "453", + "$id": "567", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "450" + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -3720,9 +4664,9 @@ } ], "response": { - "$id": "454", + "$id": "568", "type": { - "$ref": "116" + "$ref": "244" } }, "isOverride": false, @@ -3731,7 +4675,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.topAction2" }, { - "$id": "455", + "$id": "569", "kind": "basic", "name": "patchAction", "accessibility": "public", @@ -3740,32 +4684,19 @@ ], "doc": "top level patch", "operation": { - "$id": "456", + "$id": "570", "name": "patchAction", "resourceName": "FirstTestTypeSpec", "doc": "top level patch", "accessibility": "public", "parameters": [ { - "$id": "457", + "$id": "571", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "458", - "kind": "constant", - "name": "patchActionContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "459", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -3778,24 +4709,11 @@ "skipUrlEncoding": false }, { - "$id": "460", + "$id": "572", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "461", - "kind": "constant", - "name": "patchActionContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "462", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -3808,11 +4726,11 @@ "skipUrlEncoding": false }, { - "$id": "463", + "$id": "573", "name": "body", "nameInRequest": "body", "type": { - "$ref": "116" + "$ref": "244" }, "location": "Body", "isApiVersion": false, @@ -3827,12 +4745,12 @@ ], "responses": [ { - "$id": "464", + "$id": "574", "statusCodes": [ 200 ], "bodyType": { - "$ref": "116" + "$ref": "244" }, "headers": [], "isErrorResponse": false, @@ -3855,11 +4773,11 @@ }, "parameters": [ { - "$id": "465", + "$id": "575", "name": "body", "nameInRequest": "body", "type": { - "$ref": "116" + "$ref": "244" }, "location": "Body", "isApiVersion": false, @@ -3872,12 +4790,12 @@ "skipUrlEncoding": false }, { - "$id": "466", + "$id": "576", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "458" + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -3890,11 +4808,11 @@ "skipUrlEncoding": false }, { - "$id": "467", + "$id": "577", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "461" + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -3908,9 +4826,9 @@ } ], "response": { - "$id": "468", + "$id": "578", "type": { - "$ref": "116" + "$ref": "244" } }, "isOverride": false, @@ -3919,7 +4837,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.patchAction" }, { - "$id": "469", + "$id": "579", "kind": "basic", "name": "anonymousBody", "accessibility": "public", @@ -3928,32 +4846,19 @@ ], "doc": "body parameter without body decorator", "operation": { - "$id": "470", + "$id": "580", "name": "anonymousBody", "resourceName": "FirstTestTypeSpec", "doc": "body parameter without body decorator", "accessibility": "public", "parameters": [ { - "$id": "471", + "$id": "581", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "472", - "kind": "constant", - "name": "anonymousBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "473", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -3966,24 +4871,11 @@ "skipUrlEncoding": false }, { - "$id": "474", + "$id": "582", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "475", - "kind": "constant", - "name": "anonymousBodyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "476", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -3996,11 +4888,11 @@ "skipUrlEncoding": false }, { - "$id": "477", + "$id": "583", "name": "thing", "nameInRequest": "thing", "type": { - "$ref": "116" + "$ref": "244" }, "location": "Body", "isApiVersion": false, @@ -4015,12 +4907,12 @@ ], "responses": [ { - "$id": "478", + "$id": "584", "statusCodes": [ 200 ], "bodyType": { - "$ref": "116" + "$ref": "244" }, "headers": [], "isErrorResponse": false, @@ -4043,12 +4935,12 @@ }, "parameters": [ { - "$id": "479", + "$id": "585", "name": "name", "nameInRequest": "name", "doc": "name of the Thing", "type": { - "$id": "480", + "$id": "586", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4065,12 +4957,12 @@ "skipUrlEncoding": false }, { - "$id": "481", + "$id": "587", "name": "requiredUnion", "nameInRequest": "requiredUnion", "doc": "required Union", "type": { - "$ref": "122" + "$ref": "250" }, "location": "Body", "isApiVersion": false, @@ -4083,12 +4975,12 @@ "skipUrlEncoding": false }, { - "$id": "482", + "$id": "588", "name": "requiredLiteralString", "nameInRequest": "requiredLiteralString", "doc": "required literal string", "type": { - "$ref": "130" + "$ref": "116" }, "location": "Body", "isApiVersion": false, @@ -4101,12 +4993,12 @@ "skipUrlEncoding": false }, { - "$id": "483", + "$id": "589", "name": "requiredLiteralInt", "nameInRequest": "requiredLiteralInt", "doc": "required literal int", "type": { - "$ref": "134" + "$ref": "117" }, "location": "Body", "isApiVersion": false, @@ -4119,12 +5011,12 @@ "skipUrlEncoding": false }, { - "$id": "484", + "$id": "590", "name": "requiredLiteralFloat", "nameInRequest": "requiredLiteralFloat", "doc": "required literal float", "type": { - "$ref": "138" + "$ref": "118" }, "location": "Body", "isApiVersion": false, @@ -4137,12 +5029,12 @@ "skipUrlEncoding": false }, { - "$id": "485", + "$id": "591", "name": "requiredLiteralBool", "nameInRequest": "requiredLiteralBool", "doc": "required literal bool", "type": { - "$ref": "142" + "$ref": "119" }, "location": "Body", "isApiVersion": false, @@ -4155,12 +5047,12 @@ "skipUrlEncoding": false }, { - "$id": "486", + "$id": "592", "name": "optionalLiteralString", "nameInRequest": "optionalLiteralString", "doc": "optional literal string", "type": { - "$ref": "147" + "$ref": "121" }, "location": "Body", "isApiVersion": false, @@ -4173,12 +5065,12 @@ "skipUrlEncoding": false }, { - "$id": "487", + "$id": "593", "name": "optionalLiteralInt", "nameInRequest": "optionalLiteralInt", "doc": "optional literal int", "type": { - "$ref": "151" + "$ref": "122" }, "location": "Body", "isApiVersion": false, @@ -4191,12 +5083,12 @@ "skipUrlEncoding": false }, { - "$id": "488", + "$id": "594", "name": "optionalLiteralFloat", "nameInRequest": "optionalLiteralFloat", "doc": "optional literal float", "type": { - "$ref": "155" + "$ref": "123" }, "location": "Body", "isApiVersion": false, @@ -4209,12 +5101,12 @@ "skipUrlEncoding": false }, { - "$id": "489", + "$id": "595", "name": "optionalLiteralBool", "nameInRequest": "optionalLiteralBool", "doc": "optional literal bool", "type": { - "$ref": "159" + "$ref": "124" }, "location": "Body", "isApiVersion": false, @@ -4227,12 +5119,12 @@ "skipUrlEncoding": false }, { - "$id": "490", + "$id": "596", "name": "requiredBadDescription", "nameInRequest": "requiredBadDescription", "doc": "description with xml <|endoftext|>", "type": { - "$id": "491", + "$id": "597", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4249,12 +5141,12 @@ "skipUrlEncoding": false }, { - "$id": "492", + "$id": "598", "name": "optionalNullableList", "nameInRequest": "optionalNullableList", "doc": "optional nullable collection", "type": { - "$ref": "168" + "$ref": "286" }, "location": "Body", "isApiVersion": false, @@ -4267,12 +5159,12 @@ "skipUrlEncoding": false }, { - "$id": "493", + "$id": "599", "name": "requiredNullableList", "nameInRequest": "requiredNullableList", "doc": "required nullable collection", "type": { - "$ref": "174" + "$ref": "292" }, "location": "Body", "isApiVersion": false, @@ -4285,12 +5177,12 @@ "skipUrlEncoding": false }, { - "$id": "494", + "$id": "600", "name": "requiredFloatProperty", "nameInRequest": "requiredFloatProperty", "doc": "required float property", "type": { - "$id": "495", + "$id": "601", "kind": "float", "name": "float", "crossLanguageDefinitionId": "TypeSpec.float", @@ -4307,12 +5199,12 @@ "skipUrlEncoding": false }, { - "$id": "496", + "$id": "602", "name": "optionalFloatProperty", "nameInRequest": "optionalFloatProperty", "doc": "optional float property", "type": { - "$id": "497", + "$id": "603", "kind": "float", "name": "float", "crossLanguageDefinitionId": "TypeSpec.float", @@ -4329,17 +5221,17 @@ "skipUrlEncoding": false }, { - "$id": "498", + "$id": "604", "name": "optionalResourceId", "nameInRequest": "optionalResourceId", "doc": "optional arm id.", "type": { - "$id": "499", + "$id": "605", "kind": "string", "name": "armResourceIdentifier", "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", "baseType": { - "$id": "500", + "$id": "606", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4358,12 +5250,12 @@ "skipUrlEncoding": false }, { - "$id": "501", + "$id": "607", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "472" + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -4376,11 +5268,11 @@ "skipUrlEncoding": false }, { - "$id": "502", + "$id": "608", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "475" + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -4394,9 +5286,9 @@ } ], "response": { - "$id": "503", + "$id": "609", "type": { - "$ref": "116" + "$ref": "244" } }, "isOverride": false, @@ -4405,7 +5297,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.anonymousBody" }, { - "$id": "504", + "$id": "610", "kind": "basic", "name": "friendlyModel", "accessibility": "public", @@ -4414,32 +5306,19 @@ ], "doc": "Model can have its friendly name", "operation": { - "$id": "505", + "$id": "611", "name": "friendlyModel", "resourceName": "FirstTestTypeSpec", "doc": "Model can have its friendly name", "accessibility": "public", "parameters": [ { - "$id": "506", + "$id": "612", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "507", - "kind": "constant", - "name": "friendlyModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "508", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "154" }, "location": "Header", "isApiVersion": false, @@ -4452,24 +5331,11 @@ "skipUrlEncoding": false }, { - "$id": "509", + "$id": "613", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "510", - "kind": "constant", - "name": "friendlyModelContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "511", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -4482,11 +5348,11 @@ "skipUrlEncoding": false }, { - "$id": "512", + "$id": "614", "name": "friend", "nameInRequest": "friend", "type": { - "$ref": "190" + "$ref": "308" }, "location": "Body", "isApiVersion": false, @@ -4501,12 +5367,12 @@ ], "responses": [ { - "$id": "513", + "$id": "615", "statusCodes": [ 200 ], "bodyType": { - "$ref": "190" + "$ref": "308" }, "headers": [], "isErrorResponse": false, @@ -4529,12 +5395,12 @@ }, "parameters": [ { - "$id": "514", + "$id": "616", "name": "name", "nameInRequest": "name", "doc": "name of the NotFriend", "type": { - "$id": "515", + "$id": "617", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4551,12 +5417,12 @@ "skipUrlEncoding": false }, { - "$id": "516", + "$id": "618", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "507" + "$ref": "154" }, "location": "Header", "isApiVersion": false, @@ -4569,11 +5435,11 @@ "skipUrlEncoding": false }, { - "$id": "517", + "$id": "619", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "510" + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -4587,9 +5453,9 @@ } ], "response": { - "$id": "518", + "$id": "620", "type": { - "$ref": "190" + "$ref": "308" } }, "isOverride": false, @@ -4598,7 +5464,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.friendlyModel" }, { - "$id": "519", + "$id": "621", "kind": "basic", "name": "addTimeHeader", "accessibility": "public", @@ -4606,22 +5472,22 @@ "2022-05-15-preview" ], "operation": { - "$id": "520", + "$id": "622", "name": "addTimeHeader", "resourceName": "FirstTestTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "521", + "$id": "623", "name": "repeatabilityFirstSent", "nameInRequest": "Repeatability-First-Sent", "type": { - "$id": "522", + "$id": "624", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "523", + "$id": "625", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4643,7 +5509,7 @@ ], "responses": [ { - "$id": "524", + "$id": "626", "statusCodes": [ 204 ], @@ -4662,16 +5528,16 @@ }, "parameters": [ { - "$id": "525", + "$id": "627", "name": "repeatabilityFirstSent", "nameInRequest": "Repeatability-First-Sent", "type": { - "$id": "526", + "$id": "628", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "527", + "$id": "629", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4692,7 +5558,7 @@ } ], "response": { - "$id": "528" + "$id": "630" }, "isOverride": false, "generateConvenient": false, @@ -4700,7 +5566,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.addTimeHeader" }, { - "$id": "529", + "$id": "631", "kind": "basic", "name": "stringFormat", "accessibility": "public", @@ -4709,23 +5575,23 @@ ], "doc": "paramete has string format.", "operation": { - "$id": "530", + "$id": "632", "name": "stringFormat", "resourceName": "FirstTestTypeSpec", "doc": "paramete has string format.", "accessibility": "public", "parameters": [ { - "$id": "531", + "$id": "633", "name": "subscriptionId", "nameInRequest": "subscriptionId", "type": { - "$id": "532", + "$id": "634", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "533", + "$id": "635", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4744,25 +5610,12 @@ "skipUrlEncoding": false }, { - "$id": "534", + "$id": "636", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "535", - "kind": "constant", - "name": "stringFormatContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "536", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -4775,11 +5628,11 @@ "skipUrlEncoding": false }, { - "$id": "537", + "$id": "637", "name": "body", "nameInRequest": "body", "type": { - "$ref": "195" + "$ref": "313" }, "location": "Body", "isApiVersion": false, @@ -4794,7 +5647,7 @@ ], "responses": [ { - "$id": "538", + "$id": "638", "statusCodes": [ 204 ], @@ -4816,16 +5669,16 @@ }, "parameters": [ { - "$id": "539", + "$id": "639", "name": "subscriptionId", "nameInRequest": "subscriptionId", "type": { - "$id": "540", + "$id": "640", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "541", + "$id": "641", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4844,11 +5697,11 @@ "skipUrlEncoding": false }, { - "$id": "542", + "$id": "642", "name": "body", "nameInRequest": "body", "type": { - "$ref": "195" + "$ref": "313" }, "location": "Body", "isApiVersion": false, @@ -4861,12 +5714,12 @@ "skipUrlEncoding": false }, { - "$id": "543", + "$id": "643", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "535" + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -4880,7 +5733,7 @@ } ], "response": { - "$id": "544" + "$id": "644" }, "isOverride": false, "generateConvenient": true, @@ -4888,7 +5741,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.stringFormat" }, { - "$id": "545", + "$id": "645", "kind": "basic", "name": "projectedNameModel", "accessibility": "public", @@ -4897,32 +5750,19 @@ ], "doc": "Model can have its projected name", "operation": { - "$id": "546", + "$id": "646", "name": "projectedNameModel", "resourceName": "FirstTestTypeSpec", "doc": "Model can have its projected name", "accessibility": "public", "parameters": [ { - "$id": "547", + "$id": "647", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "548", - "kind": "constant", - "name": "projectedNameModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "549", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -4935,24 +5775,11 @@ "skipUrlEncoding": false }, { - "$id": "550", + "$id": "648", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "551", - "kind": "constant", - "name": "projectedNameModelContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "552", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "162" }, "location": "Header", "isApiVersion": false, @@ -4965,11 +5792,11 @@ "skipUrlEncoding": false }, { - "$id": "553", + "$id": "649", "name": "projectedModel", "nameInRequest": "projectedModel", "type": { - "$ref": "205" + "$ref": "323" }, "location": "Body", "isApiVersion": false, @@ -4984,12 +5811,12 @@ ], "responses": [ { - "$id": "554", + "$id": "650", "statusCodes": [ 200 ], "bodyType": { - "$ref": "205" + "$ref": "323" }, "headers": [], "isErrorResponse": false, @@ -5012,12 +5839,12 @@ }, "parameters": [ { - "$id": "555", + "$id": "651", "name": "name", "nameInRequest": "name", "doc": "name of the ModelWithProjectedName", "type": { - "$id": "556", + "$id": "652", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5034,12 +5861,12 @@ "skipUrlEncoding": false }, { - "$id": "557", + "$id": "653", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "548" + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -5052,11 +5879,11 @@ "skipUrlEncoding": false }, { - "$id": "558", + "$id": "654", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "551" + "$ref": "162" }, "location": "Header", "isApiVersion": false, @@ -5070,9 +5897,9 @@ } ], "response": { - "$id": "559", + "$id": "655", "type": { - "$ref": "205" + "$ref": "323" } }, "isOverride": false, @@ -5081,7 +5908,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.projectedNameModel" }, { - "$id": "560", + "$id": "656", "kind": "basic", "name": "returnsAnonymousModel", "accessibility": "public", @@ -5090,31 +5917,18 @@ ], "doc": "return anonymous model", "operation": { - "$id": "561", + "$id": "657", "name": "returnsAnonymousModel", "resourceName": "FirstTestTypeSpec", "doc": "return anonymous model", "accessibility": "public", "parameters": [ { - "$id": "562", + "$id": "658", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "563", - "kind": "constant", - "name": "returnsAnonymousModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "564", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "164" }, "location": "Header", "isApiVersion": false, @@ -5129,12 +5943,12 @@ ], "responses": [ { - "$id": "565", + "$id": "659", "statusCodes": [ 200 ], "bodyType": { - "$ref": "210" + "$ref": "328" }, "headers": [], "isErrorResponse": false, @@ -5154,11 +5968,11 @@ }, "parameters": [ { - "$id": "566", + "$id": "660", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "563" + "$ref": "164" }, "location": "Header", "isApiVersion": false, @@ -5172,9 +5986,9 @@ } ], "response": { - "$id": "567", + "$id": "661", "type": { - "$ref": "210" + "$ref": "328" } }, "isOverride": false, @@ -5183,7 +5997,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.returnsAnonymousModel" }, { - "$id": "568", + "$id": "662", "kind": "paging", "name": "listWithOptionalBody", "accessibility": "public", @@ -5193,7 +6007,7 @@ "doc": "List the metric values for a load test run.", "summary": "This is a list operation with an optional body.", "operation": { - "$id": "569", + "$id": "663", "name": "listWithOptionalBody", "resourceName": "FirstTestTypeSpec", "summary": "This is a list operation with an optional body.", @@ -5201,12 +6015,12 @@ "accessibility": "public", "parameters": [ { - "$id": "570", + "$id": "664", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "571", + "$id": "665", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5220,9 +6034,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "572", + "$id": "666", "type": { - "$id": "573", + "$id": "667", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5233,25 +6047,12 @@ "skipUrlEncoding": false }, { - "$id": "574", + "$id": "668", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "575", - "kind": "constant", - "name": "listWithOptionalBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "576", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "166" }, "location": "Header", "isApiVersion": false, @@ -5264,24 +6065,11 @@ "skipUrlEncoding": false }, { - "$id": "577", + "$id": "669", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "578", - "kind": "constant", - "name": "listWithOptionalBodyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "579", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "168" }, "location": "Header", "isApiVersion": false, @@ -5294,12 +6082,12 @@ "skipUrlEncoding": false }, { - "$id": "580", + "$id": "670", "name": "body", "nameInRequest": "body", "doc": "Metric dimension filter ", "type": { - "$ref": "211" + "$ref": "329" }, "location": "Body", "isApiVersion": false, @@ -5314,12 +6102,12 @@ ], "responses": [ { - "$id": "581", + "$id": "671", "statusCodes": [ 200 ], "bodyType": { - "$ref": "377" + "$ref": "495" }, "headers": [], "isErrorResponse": false, @@ -5342,12 +6130,12 @@ }, "parameters": [ { - "$id": "582", + "$id": "672", "name": "body", "nameInRequest": "body", "doc": "Metric dimension filter ", "type": { - "$ref": "211" + "$ref": "329" }, "location": "Body", "isApiVersion": false, @@ -5360,12 +6148,12 @@ "skipUrlEncoding": false }, { - "$id": "583", + "$id": "673", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "575" + "$ref": "166" }, "location": "Header", "isApiVersion": false, @@ -5378,11 +6166,11 @@ "skipUrlEncoding": false }, { - "$id": "584", + "$id": "674", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "578" + "$ref": "168" }, "location": "Header", "isApiVersion": false, @@ -5396,9 +6184,9 @@ } ], "response": { - "$id": "585", + "$id": "675", "type": { - "$ref": "379" + "$ref": "497" }, "resultSegments": [ "value" @@ -5409,12 +6197,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "FirstTestTypeSpec.listWithOptionalBody", "pagingMetadata": { - "$id": "586", + "$id": "676", "itemPropertySegments": [ "value" ], "nextLink": { - "$id": "587", + "$id": "677", "responseSegments": [ "nextLink" ], @@ -5423,7 +6211,7 @@ } }, { - "$id": "588", + "$id": "678", "kind": "basic", "name": "headAsBoolean", "accessibility": "public", @@ -5432,18 +6220,18 @@ ], "doc": "head as boolean.", "operation": { - "$id": "589", + "$id": "679", "name": "headAsBoolean", "resourceName": "FirstTestTypeSpec", "doc": "head as boolean.", "accessibility": "public", "parameters": [ { - "$id": "590", + "$id": "680", "name": "id", "nameInRequest": "id", "type": { - "$id": "591", + "$id": "681", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5462,7 +6250,7 @@ ], "responses": [ { - "$id": "592", + "$id": "682", "statusCodes": [ 204 ], @@ -5481,11 +6269,11 @@ }, "parameters": [ { - "$id": "593", + "$id": "683", "name": "id", "nameInRequest": "id", "type": { - "$id": "594", + "$id": "684", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5503,7 +6291,7 @@ } ], "response": { - "$id": "595" + "$id": "685" }, "isOverride": false, "generateConvenient": true, @@ -5511,7 +6299,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.headAsBoolean" }, { - "$id": "596", + "$id": "686", "kind": "basic", "name": "stringBody", "accessibility": "public", @@ -5520,32 +6308,19 @@ ], "doc": "The body parameter type is string.", "operation": { - "$id": "597", + "$id": "687", "name": "stringBody", "resourceName": "FirstTestTypeSpec", "doc": "The body parameter type is string.", "accessibility": "public", "parameters": [ { - "$id": "598", + "$id": "688", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$id": "599", - "kind": "constant", - "name": "stringBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "600", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "170" }, "location": "Header", "isApiVersion": false, @@ -5558,11 +6333,11 @@ "skipUrlEncoding": false }, { - "$id": "601", + "$id": "689", "name": "body", "nameInRequest": "body", "type": { - "$id": "602", + "$id": "690", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5581,7 +6356,7 @@ ], "responses": [ { - "$id": "603", + "$id": "691", "statusCodes": [ 204 ], @@ -5603,11 +6378,11 @@ }, "parameters": [ { - "$id": "604", + "$id": "692", "name": "body", "nameInRequest": "body", "type": { - "$id": "605", + "$id": "693", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5624,12 +6399,12 @@ "skipUrlEncoding": false }, { - "$id": "606", + "$id": "694", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$ref": "599" + "$ref": "170" }, "location": "Header", "isApiVersion": false, @@ -5643,7 +6418,7 @@ } ], "response": { - "$id": "607" + "$id": "695" }, "isOverride": false, "generateConvenient": true, @@ -5651,7 +6426,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.stringBody" }, { - "$id": "608", + "$id": "696", "kind": "basic", "name": "boolBody", "accessibility": "public", @@ -5660,32 +6435,19 @@ ], "doc": "The body parameter type is bool.", "operation": { - "$id": "609", + "$id": "697", "name": "boolBody", "resourceName": "FirstTestTypeSpec", "doc": "The body parameter type is bool.", "accessibility": "public", "parameters": [ { - "$id": "610", + "$id": "698", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$id": "611", - "kind": "constant", - "name": "boolBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "612", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "172" }, "location": "Header", "isApiVersion": false, @@ -5698,11 +6460,11 @@ "skipUrlEncoding": false }, { - "$id": "613", + "$id": "699", "name": "body", "nameInRequest": "body", "type": { - "$id": "614", + "$id": "700", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -5721,7 +6483,7 @@ ], "responses": [ { - "$id": "615", + "$id": "701", "statusCodes": [ 204 ], @@ -5743,11 +6505,11 @@ }, "parameters": [ { - "$id": "616", + "$id": "702", "name": "body", "nameInRequest": "body", "type": { - "$id": "617", + "$id": "703", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -5764,12 +6526,12 @@ "skipUrlEncoding": false }, { - "$id": "618", + "$id": "704", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$ref": "611" + "$ref": "172" }, "location": "Header", "isApiVersion": false, @@ -5783,7 +6545,7 @@ } ], "response": { - "$id": "619" + "$id": "705" }, "isOverride": false, "generateConvenient": true, @@ -5791,7 +6553,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.boolBody" }, { - "$id": "620", + "$id": "706", "kind": "basic", "name": "dateTimeBody", "accessibility": "public", @@ -5800,32 +6562,19 @@ ], "doc": "The body parameter type is datetime.", "operation": { - "$id": "621", + "$id": "707", "name": "dateTimeBody", "resourceName": "FirstTestTypeSpec", "doc": "The body parameter type is datetime.", "accessibility": "public", "parameters": [ { - "$id": "622", + "$id": "708", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$id": "623", - "kind": "constant", - "name": "dateTimeBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "624", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "174" }, "location": "Header", "isApiVersion": false, @@ -5838,16 +6587,16 @@ "skipUrlEncoding": false }, { - "$id": "625", + "$id": "709", "name": "body", "nameInRequest": "body", "type": { - "$id": "626", + "$id": "710", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "627", + "$id": "711", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5869,7 +6618,7 @@ ], "responses": [ { - "$id": "628", + "$id": "712", "statusCodes": [ 204 ], @@ -5891,16 +6640,16 @@ }, "parameters": [ { - "$id": "629", + "$id": "713", "name": "body", "nameInRequest": "body", "type": { - "$id": "630", + "$id": "714", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "631", + "$id": "715", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5920,12 +6669,12 @@ "skipUrlEncoding": false }, { - "$id": "632", + "$id": "716", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$ref": "623" + "$ref": "174" }, "location": "Header", "isApiVersion": false, @@ -5939,7 +6688,7 @@ } ], "response": { - "$id": "633" + "$id": "717" }, "isOverride": false, "generateConvenient": true, @@ -5947,7 +6696,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.dateTimeBody" }, { - "$id": "634", + "$id": "718", "kind": "basic", "name": "returnString", "accessibility": "public", @@ -5956,31 +6705,18 @@ ], "doc": "The return type is datetime.", "operation": { - "$id": "635", + "$id": "719", "name": "returnString", "resourceName": "FirstTestTypeSpec", "doc": "The return type is datetime.", - "accessibility": "public", - "parameters": [ - { - "$id": "636", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$id": "637", - "kind": "constant", - "name": "returnStringContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "638", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "accessibility": "public", + "parameters": [ + { + "$id": "720", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "176" }, "location": "Header", "isApiVersion": false, @@ -5995,12 +6731,12 @@ ], "responses": [ { - "$id": "639", + "$id": "721", "statusCodes": [ 200 ], "bodyType": { - "$id": "640", + "$id": "722", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6024,11 +6760,11 @@ }, "parameters": [ { - "$id": "641", + "$id": "723", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "637" + "$ref": "176" }, "location": "Header", "isApiVersion": false, @@ -6042,9 +6778,9 @@ } ], "response": { - "$id": "642", + "$id": "724", "type": { - "$ref": "640" + "$ref": "722" } }, "isOverride": false, @@ -6053,7 +6789,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.returnString" }, { - "$id": "643", + "$id": "725", "kind": "basic", "name": "returnUnknown", "accessibility": "public", @@ -6061,30 +6797,17 @@ "2022-05-15-preview" ], "operation": { - "$id": "644", + "$id": "726", "name": "returnUnknown", "resourceName": "FirstTestTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "645", + "$id": "727", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "646", - "kind": "constant", - "name": "returnUnknownContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "647", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "178" }, "location": "Header", "isApiVersion": false, @@ -6099,12 +6822,12 @@ ], "responses": [ { - "$id": "648", + "$id": "728", "statusCodes": [ 200 ], "bodyType": { - "$id": "649", + "$id": "729", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -6128,11 +6851,11 @@ }, "parameters": [ { - "$id": "650", + "$id": "730", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "646" + "$ref": "178" }, "location": "Header", "isApiVersion": false, @@ -6146,9 +6869,9 @@ } ], "response": { - "$id": "651", + "$id": "731", "type": { - "$ref": "649" + "$ref": "729" } }, "isOverride": false, @@ -6157,7 +6880,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.returnUnknown" }, { - "$id": "652", + "$id": "732", "kind": "basic", "name": "recursiveExtension", "accessibility": "public", @@ -6166,32 +6889,19 @@ ], "doc": "test parent reference child", "operation": { - "$id": "653", + "$id": "733", "name": "recursiveExtension", "resourceName": "FirstTestTypeSpec", "doc": "test parent reference child", "accessibility": "public", "parameters": [ { - "$id": "654", + "$id": "734", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "655", - "kind": "constant", - "name": "recursiveExtensionContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "656", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "180" }, "location": "Header", "isApiVersion": false, @@ -6204,11 +6914,11 @@ "skipUrlEncoding": false }, { - "$id": "657", + "$id": "735", "name": "input", "nameInRequest": "input", "type": { - "$ref": "216" + "$ref": "334" }, "location": "Body", "isApiVersion": false, @@ -6223,7 +6933,7 @@ ], "responses": [ { - "$id": "658", + "$id": "736", "statusCodes": [ 204 ], @@ -6245,11 +6955,11 @@ }, "parameters": [ { - "$id": "659", + "$id": "737", "name": "input", "nameInRequest": "input", "type": { - "$ref": "216" + "$ref": "334" }, "location": "Body", "isApiVersion": false, @@ -6262,12 +6972,12 @@ "skipUrlEncoding": false }, { - "$id": "660", + "$id": "738", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "655" + "$ref": "180" }, "location": "Header", "isApiVersion": false, @@ -6281,7 +6991,7 @@ } ], "response": { - "$id": "661" + "$id": "739" }, "isOverride": false, "generateConvenient": true, @@ -6289,7 +6999,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.recursiveExtension" }, { - "$id": "662", + "$id": "740", "kind": "basic", "name": "threeLevelRecursive", "accessibility": "public", @@ -6298,32 +7008,19 @@ ], "doc": "test three level recursive extension", "operation": { - "$id": "663", + "$id": "741", "name": "threeLevelRecursive", "resourceName": "FirstTestTypeSpec", "doc": "test three level recursive extension", "accessibility": "public", "parameters": [ { - "$id": "664", + "$id": "742", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "665", - "kind": "constant", - "name": "threeLevelRecursiveContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "666", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "182" }, "location": "Header", "isApiVersion": false, @@ -6336,11 +7033,11 @@ "skipUrlEncoding": false }, { - "$id": "667", + "$id": "743", "name": "input", "nameInRequest": "input", "type": { - "$ref": "226" + "$ref": "344" }, "location": "Body", "isApiVersion": false, @@ -6355,7 +7052,7 @@ ], "responses": [ { - "$id": "668", + "$id": "744", "statusCodes": [ 204 ], @@ -6377,11 +7074,11 @@ }, "parameters": [ { - "$id": "669", + "$id": "745", "name": "input", "nameInRequest": "input", "type": { - "$ref": "226" + "$ref": "344" }, "location": "Body", "isApiVersion": false, @@ -6394,12 +7091,12 @@ "skipUrlEncoding": false }, { - "$id": "670", + "$id": "746", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "665" + "$ref": "182" }, "location": "Header", "isApiVersion": false, @@ -6413,7 +7110,7 @@ } ], "response": { - "$id": "671" + "$id": "747" }, "isOverride": false, "generateConvenient": true, @@ -6421,7 +7118,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.threeLevelRecursive" }, { - "$id": "672", + "$id": "748", "kind": "basic", "name": "recursiveModels", "accessibility": "public", @@ -6430,32 +7127,19 @@ ], "doc": "test child reference parent", "operation": { - "$id": "673", + "$id": "749", "name": "recursiveModels", "resourceName": "FirstTestTypeSpec", "doc": "test child reference parent", "accessibility": "public", "parameters": [ { - "$id": "674", + "$id": "750", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "675", - "kind": "constant", - "name": "recursiveModelsContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "676", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "184" }, "location": "Header", "isApiVersion": false, @@ -6468,11 +7152,11 @@ "skipUrlEncoding": false }, { - "$id": "677", + "$id": "751", "name": "input", "nameInRequest": "input", "type": { - "$ref": "241" + "$ref": "359" }, "location": "Body", "isApiVersion": false, @@ -6487,7 +7171,7 @@ ], "responses": [ { - "$id": "678", + "$id": "752", "statusCodes": [ 204 ], @@ -6509,11 +7193,11 @@ }, "parameters": [ { - "$id": "679", + "$id": "753", "name": "input", "nameInRequest": "input", "type": { - "$ref": "241" + "$ref": "359" }, "location": "Body", "isApiVersion": false, @@ -6526,12 +7210,12 @@ "skipUrlEncoding": false }, { - "$id": "680", + "$id": "754", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "675" + "$ref": "184" }, "location": "Header", "isApiVersion": false, @@ -6545,7 +7229,7 @@ } ], "response": { - "$id": "681" + "$id": "755" }, "isOverride": false, "generateConvenient": true, @@ -6553,7 +7237,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.recursiveModels" }, { - "$id": "682", + "$id": "756", "kind": "basic", "name": "ContainSelfModels", "accessibility": "public", @@ -6562,32 +7246,19 @@ ], "doc": "test contain self models", "operation": { - "$id": "683", + "$id": "757", "name": "ContainSelfModels", "resourceName": "FirstTestTypeSpec", "doc": "test contain self models", "accessibility": "public", "parameters": [ { - "$id": "684", + "$id": "758", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "685", - "kind": "constant", - "name": "ContainSelfModelsContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "686", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "186" }, "location": "Header", "isApiVersion": false, @@ -6600,11 +7271,11 @@ "skipUrlEncoding": false }, { - "$id": "687", + "$id": "759", "name": "input", "nameInRequest": "input", "type": { - "$ref": "251" + "$ref": "369" }, "location": "Body", "isApiVersion": false, @@ -6619,7 +7290,7 @@ ], "responses": [ { - "$id": "688", + "$id": "760", "statusCodes": [ 204 ], @@ -6641,11 +7312,11 @@ }, "parameters": [ { - "$id": "689", + "$id": "761", "name": "input", "nameInRequest": "input", "type": { - "$ref": "251" + "$ref": "369" }, "location": "Body", "isApiVersion": false, @@ -6658,12 +7329,12 @@ "skipUrlEncoding": false }, { - "$id": "690", + "$id": "762", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "685" + "$ref": "186" }, "location": "Header", "isApiVersion": false, @@ -6677,7 +7348,7 @@ } ], "response": { - "$id": "691" + "$id": "763" }, "isOverride": false, "generateConvenient": true, @@ -6685,7 +7356,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.ContainSelfModels" }, { - "$id": "692", + "$id": "764", "kind": "basic", "name": "enumParameter", "accessibility": "public", @@ -6694,14 +7365,14 @@ ], "doc": "test enum parameter.", "operation": { - "$id": "693", + "$id": "765", "name": "enumParameter", "resourceName": "FirstTestTypeSpec", "doc": "test enum parameter.", "accessibility": "public", "parameters": [ { - "$id": "694", + "$id": "766", "name": "p1", "nameInRequest": "p1", "type": { @@ -6720,7 +7391,7 @@ ], "responses": [ { - "$id": "695", + "$id": "767", "statusCodes": [ 204 ], @@ -6739,7 +7410,7 @@ }, "parameters": [ { - "$id": "696", + "$id": "768", "name": "p1", "nameInRequest": "p1", "type": { @@ -6757,7 +7428,7 @@ } ], "response": { - "$id": "697" + "$id": "769" }, "isOverride": false, "generateConvenient": true, @@ -6765,7 +7436,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.enumParameter" }, { - "$id": "698", + "$id": "770", "kind": "basic", "name": "bodyIsModelWithProjectedEnum", "accessibility": "public", @@ -6774,32 +7445,19 @@ ], "doc": "test enum parameter.", "operation": { - "$id": "699", + "$id": "771", "name": "bodyIsModelWithProjectedEnum", "resourceName": "FirstTestTypeSpec", "doc": "test enum parameter.", "accessibility": "public", "parameters": [ { - "$id": "700", + "$id": "772", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "701", - "kind": "constant", - "name": "bodyIsModelWithProjectedEnumContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "702", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "188" }, "location": "Header", "isApiVersion": false, @@ -6812,11 +7470,11 @@ "skipUrlEncoding": false }, { - "$id": "703", + "$id": "773", "name": "body", "nameInRequest": "body", "type": { - "$ref": "255" + "$ref": "373" }, "location": "Body", "isApiVersion": false, @@ -6831,7 +7489,7 @@ ], "responses": [ { - "$id": "704", + "$id": "774", "statusCodes": [ 204 ], @@ -6853,11 +7511,11 @@ }, "parameters": [ { - "$id": "705", + "$id": "775", "name": "body", "nameInRequest": "body", "type": { - "$ref": "255" + "$ref": "373" }, "location": "Body", "isApiVersion": false, @@ -6870,12 +7528,12 @@ "skipUrlEncoding": false }, { - "$id": "706", + "$id": "776", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "701" + "$ref": "188" }, "location": "Header", "isApiVersion": false, @@ -6889,7 +7547,7 @@ } ], "response": { - "$id": "707" + "$id": "777" }, "isOverride": false, "generateConvenient": true, @@ -6897,7 +7555,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.bodyIsModelWithProjectedEnum" }, { - "$id": "708", + "$id": "778", "kind": "basic", "name": "optionalDictionary", "accessibility": "public", @@ -6906,32 +7564,19 @@ ], "doc": "test optional dictionary.", "operation": { - "$id": "709", + "$id": "779", "name": "optionalDictionary", "resourceName": "FirstTestTypeSpec", "doc": "test optional dictionary.", "accessibility": "public", "parameters": [ { - "$id": "710", + "$id": "780", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "711", - "kind": "constant", - "name": "optionalDictionaryContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "712", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "190" }, "location": "Header", "isApiVersion": false, @@ -6944,21 +7589,21 @@ "skipUrlEncoding": false }, { - "$id": "713", + "$id": "781", "name": "body", "nameInRequest": "body", "type": { - "$id": "714", + "$id": "782", "kind": "dict", "keyType": { - "$id": "715", + "$id": "783", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "716", + "$id": "784", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -6979,7 +7624,7 @@ ], "responses": [ { - "$id": "717", + "$id": "785", "statusCodes": [ 204 ], @@ -7001,11 +7646,11 @@ }, "parameters": [ { - "$id": "718", + "$id": "786", "name": "body", "nameInRequest": "body", "type": { - "$ref": "714" + "$ref": "782" }, "location": "Body", "isApiVersion": false, @@ -7018,12 +7663,12 @@ "skipUrlEncoding": false }, { - "$id": "719", + "$id": "787", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "711" + "$ref": "190" }, "location": "Header", "isApiVersion": false, @@ -7037,7 +7682,7 @@ } ], "response": { - "$id": "720" + "$id": "788" }, "isOverride": false, "generateConvenient": true, @@ -7045,7 +7690,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.optionalDictionary" }, { - "$id": "721", + "$id": "789", "kind": "basic", "name": "azureLocationOp", "accessibility": "public", @@ -7054,23 +7699,23 @@ ], "doc": "test optional dictionary.", "operation": { - "$id": "722", + "$id": "790", "name": "azureLocationOp", "resourceName": "FirstTestTypeSpec", "doc": "test optional dictionary.", "accessibility": "public", "parameters": [ { - "$id": "723", + "$id": "791", "name": "location", "nameInRequest": "location", "type": { - "$id": "724", + "$id": "792", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "725", + "$id": "793", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7089,16 +7734,16 @@ "skipUrlEncoding": false }, { - "$id": "726", + "$id": "794", "name": "regenLocation", "nameInRequest": "regen-location", "type": { - "$id": "727", + "$id": "795", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "728", + "$id": "796", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7117,25 +7762,12 @@ "skipUrlEncoding": false }, { - "$id": "729", + "$id": "797", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "730", - "kind": "constant", - "name": "azureLocationOpContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "731", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "192" }, "location": "Header", "isApiVersion": false, @@ -7148,11 +7780,11 @@ "skipUrlEncoding": false }, { - "$id": "732", + "$id": "798", "name": "body", "nameInRequest": "body", "type": { - "$ref": "259" + "$ref": "377" }, "location": "Body", "isApiVersion": false, @@ -7167,7 +7799,7 @@ ], "responses": [ { - "$id": "733", + "$id": "799", "statusCodes": [ 204 ], @@ -7189,16 +7821,16 @@ }, "parameters": [ { - "$id": "734", + "$id": "800", "name": "location", "nameInRequest": "location", "type": { - "$id": "735", + "$id": "801", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "736", + "$id": "802", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7217,16 +7849,16 @@ "skipUrlEncoding": false }, { - "$id": "737", + "$id": "803", "name": "regenLocation", "nameInRequest": "regen-location", "type": { - "$id": "738", + "$id": "804", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "739", + "$id": "805", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7245,11 +7877,11 @@ "skipUrlEncoding": false }, { - "$id": "740", + "$id": "806", "name": "body", "nameInRequest": "body", "type": { - "$ref": "259" + "$ref": "377" }, "location": "Body", "isApiVersion": false, @@ -7262,12 +7894,12 @@ "skipUrlEncoding": false }, { - "$id": "741", + "$id": "807", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "730" + "$ref": "192" }, "location": "Header", "isApiVersion": false, @@ -7281,7 +7913,7 @@ } ], "response": { - "$id": "742" + "$id": "808" }, "isOverride": false, "generateConvenient": true, @@ -7291,11 +7923,11 @@ ], "parameters": [ { - "$id": "743", + "$id": "809", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "744", + "$id": "810", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7312,12 +7944,12 @@ ], "decorators": [ { - "$id": "745", + "$id": "811", "name": "TypeSpec.@service", "arguments": { - "$id": "746", + "$id": "812", "options": { - "$id": "747", + "$id": "813", "title": "hello world" } } @@ -7329,18 +7961,18 @@ ], "children": [ { - "$id": "748", + "$id": "814", "kind": "client", "name": "Hello", "namespace": "FirstTestTypeSpec.Hello", "methods": [], "parameters": [ { - "$id": "749", + "$id": "815", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "750", + "$id": "816", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7361,18 +7993,18 @@ "2022-05-15-preview" ], "parent": { - "$ref": "432" + "$ref": "550" }, "children": [ { - "$id": "751", + "$id": "817", "kind": "client", "name": "Demo", "namespace": "FirstTestTypeSpec.Hello.Demo", "doc": "Hello world service", "methods": [ { - "$id": "752", + "$id": "818", "kind": "basic", "name": "sayHi", "accessibility": "public", @@ -7381,18 +8013,18 @@ ], "doc": "Return hi", "operation": { - "$id": "753", + "$id": "819", "name": "sayHi", "resourceName": "Demo", "doc": "Return hi", "accessibility": "public", "parameters": [ { - "$id": "754", + "$id": "820", "name": "headParameter", "nameInRequest": "head-parameter", "type": { - "$id": "755", + "$id": "821", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7409,11 +8041,11 @@ "skipUrlEncoding": false }, { - "$id": "756", + "$id": "822", "name": "queryParameter", "nameInRequest": "queryParameter", "type": { - "$id": "757", + "$id": "823", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7430,11 +8062,11 @@ "skipUrlEncoding": false }, { - "$id": "758", + "$id": "824", "name": "optionalQuery", "nameInRequest": "optionalQuery", "type": { - "$id": "759", + "$id": "825", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7451,24 +8083,11 @@ "skipUrlEncoding": false }, { - "$id": "760", + "$id": "826", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "761", - "kind": "constant", - "name": "sayHiContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "762", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "194" }, "location": "Header", "isApiVersion": false, @@ -7483,12 +8102,12 @@ ], "responses": [ { - "$id": "763", + "$id": "827", "statusCodes": [ 200 ], "bodyType": { - "$ref": "116" + "$ref": "244" }, "headers": [], "isErrorResponse": false, @@ -7508,11 +8127,11 @@ }, "parameters": [ { - "$id": "764", + "$id": "828", "name": "headParameter", "nameInRequest": "head-parameter", "type": { - "$id": "765", + "$id": "829", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7529,11 +8148,11 @@ "skipUrlEncoding": false }, { - "$id": "766", + "$id": "830", "name": "queryParameter", "nameInRequest": "queryParameter", "type": { - "$id": "767", + "$id": "831", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7550,11 +8169,11 @@ "skipUrlEncoding": false }, { - "$id": "768", + "$id": "832", "name": "optionalQuery", "nameInRequest": "optionalQuery", "type": { - "$id": "769", + "$id": "833", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7571,11 +8190,11 @@ "skipUrlEncoding": false }, { - "$id": "770", + "$id": "834", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "761" + "$ref": "194" }, "location": "Header", "isApiVersion": false, @@ -7589,9 +8208,9 @@ } ], "response": { - "$id": "771", + "$id": "835", "type": { - "$ref": "116" + "$ref": "244" } }, "isOverride": false, @@ -7602,11 +8221,11 @@ ], "parameters": [ { - "$id": "772", + "$id": "836", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "773", + "$id": "837", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7627,17 +8246,17 @@ "2022-05-15-preview" ], "parent": { - "$ref": "748" + "$ref": "814" } }, { - "$id": "774", + "$id": "838", "kind": "client", "name": "Demo2", "namespace": "FirstTestTypeSpec.Hello.Demo2", "methods": [ { - "$id": "775", + "$id": "839", "kind": "basic", "name": "helloAgain", "accessibility": "public", @@ -7646,18 +8265,18 @@ ], "doc": "Return hi again", "operation": { - "$id": "776", + "$id": "840", "name": "helloAgain", "resourceName": "Demo2", "doc": "Return hi again", "accessibility": "public", "parameters": [ { - "$id": "777", + "$id": "841", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "778", + "$id": "842", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7674,24 +8293,11 @@ "skipUrlEncoding": false }, { - "$id": "779", + "$id": "843", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "780", - "kind": "constant", - "name": "HelloAgainRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "781", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "196" }, "location": "Header", "isApiVersion": false, @@ -7704,11 +8310,11 @@ "skipUrlEncoding": false }, { - "$id": "782", + "$id": "844", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "783", + "$id": "845", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7725,24 +8331,11 @@ "skipUrlEncoding": false }, { - "$id": "784", + "$id": "846", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "785", - "kind": "constant", - "name": "helloAgainContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "786", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "198" }, "location": "Header", "isApiVersion": false, @@ -7755,11 +8348,11 @@ "skipUrlEncoding": false }, { - "$id": "787", + "$id": "847", "name": "action", "nameInRequest": "action", "type": { - "$ref": "265" + "$ref": "383" }, "location": "Body", "isApiVersion": false, @@ -7774,12 +8367,12 @@ ], "responses": [ { - "$id": "788", + "$id": "848", "statusCodes": [ 200 ], "bodyType": { - "$ref": "265" + "$ref": "383" }, "headers": [], "isErrorResponse": false, @@ -7802,11 +8395,11 @@ }, "parameters": [ { - "$id": "789", + "$id": "849", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "790", + "$id": "850", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7823,11 +8416,11 @@ "skipUrlEncoding": false }, { - "$id": "791", + "$id": "851", "name": "action", "nameInRequest": "action", "type": { - "$ref": "265" + "$ref": "383" }, "location": "Body", "isApiVersion": false, @@ -7840,24 +8433,11 @@ "skipUrlEncoding": false }, { - "$id": "792", + "$id": "852", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "793", - "kind": "constant", - "name": "HelloAgainRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "794", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "200" }, "location": "Header", "isApiVersion": false, @@ -7870,11 +8450,11 @@ "skipUrlEncoding": false }, { - "$id": "795", + "$id": "853", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "796", + "$id": "854", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7891,11 +8471,11 @@ "skipUrlEncoding": false }, { - "$id": "797", + "$id": "855", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "785" + "$ref": "198" }, "location": "Header", "isApiVersion": false, @@ -7909,9 +8489,9 @@ } ], "response": { - "$id": "798", + "$id": "856", "type": { - "$ref": "265" + "$ref": "383" } }, "isOverride": false, @@ -7920,7 +8500,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.Hello.Demo2.helloAgain" }, { - "$id": "799", + "$id": "857", "kind": "basic", "name": "noContentType", "accessibility": "public", @@ -7929,18 +8509,18 @@ ], "doc": "Return hi again", "operation": { - "$id": "800", + "$id": "858", "name": "noContentType", "resourceName": "Demo2", "doc": "Return hi again", "accessibility": "public", "parameters": [ { - "$id": "801", + "$id": "859", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "802", + "$id": "860", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7957,11 +8537,11 @@ "skipUrlEncoding": false }, { - "$id": "803", + "$id": "861", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "804", + "$id": "862", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7978,25 +8558,12 @@ "skipUrlEncoding": false }, { - "$id": "805", + "$id": "863", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "806", - "kind": "constant", - "name": "noContentTypeContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "807", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "202" }, "location": "Header", "isApiVersion": false, @@ -8009,24 +8576,11 @@ "skipUrlEncoding": false }, { - "$id": "808", + "$id": "864", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "809", - "kind": "constant", - "name": "noContentTypeContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "810", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "204" }, "location": "Header", "isApiVersion": false, @@ -8039,11 +8593,11 @@ "skipUrlEncoding": false }, { - "$id": "811", + "$id": "865", "name": "action", "nameInRequest": "action", "type": { - "$ref": "265" + "$ref": "383" }, "location": "Body", "isApiVersion": false, @@ -8058,12 +8612,12 @@ ], "responses": [ { - "$id": "812", + "$id": "866", "statusCodes": [ 200 ], "bodyType": { - "$ref": "265" + "$ref": "383" }, "headers": [], "isErrorResponse": false, @@ -8086,11 +8640,11 @@ }, "parameters": [ { - "$id": "813", + "$id": "867", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "814", + "$id": "868", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8107,11 +8661,11 @@ "skipUrlEncoding": false }, { - "$id": "815", + "$id": "869", "name": "action", "nameInRequest": "action", "type": { - "$ref": "265" + "$ref": "383" }, "location": "Body", "isApiVersion": false, @@ -8124,11 +8678,11 @@ "skipUrlEncoding": false }, { - "$id": "816", + "$id": "870", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "817", + "$id": "871", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8145,12 +8699,12 @@ "skipUrlEncoding": false }, { - "$id": "818", + "$id": "872", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "806" + "$ref": "202" }, "location": "Header", "isApiVersion": false, @@ -8163,11 +8717,11 @@ "skipUrlEncoding": false }, { - "$id": "819", + "$id": "873", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "809" + "$ref": "204" }, "location": "Header", "isApiVersion": false, @@ -8181,9 +8735,9 @@ } ], "response": { - "$id": "820", + "$id": "874", "type": { - "$ref": "265" + "$ref": "383" } }, "isOverride": false, @@ -8192,7 +8746,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.Hello.Demo2.noContentType" }, { - "$id": "821", + "$id": "875", "kind": "basic", "name": "helloDemoAgain", "accessibility": "public", @@ -8201,31 +8755,18 @@ ], "doc": "Return hi in demo2", "operation": { - "$id": "822", + "$id": "876", "name": "helloDemoAgain", "resourceName": "Demo2", "doc": "Return hi in demo2", "accessibility": "public", "parameters": [ { - "$id": "823", + "$id": "877", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "824", - "kind": "constant", - "name": "helloDemoAgainContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "825", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "206" }, "location": "Header", "isApiVersion": false, @@ -8240,12 +8781,12 @@ ], "responses": [ { - "$id": "826", + "$id": "878", "statusCodes": [ 200 ], "bodyType": { - "$ref": "116" + "$ref": "244" }, "headers": [], "isErrorResponse": false, @@ -8265,11 +8806,11 @@ }, "parameters": [ { - "$id": "827", + "$id": "879", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "824" + "$ref": "206" }, "location": "Header", "isApiVersion": false, @@ -8283,9 +8824,9 @@ } ], "response": { - "$id": "828", + "$id": "880", "type": { - "$ref": "116" + "$ref": "244" } }, "isOverride": false, @@ -8294,7 +8835,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.Hello.Demo2.helloDemoAgain" }, { - "$id": "829", + "$id": "881", "kind": "basic", "name": "createLiteral", "accessibility": "public", @@ -8303,32 +8844,19 @@ ], "doc": "Create with literal value", "operation": { - "$id": "830", + "$id": "882", "name": "createLiteral", "resourceName": "Demo2", "doc": "Create with literal value", "accessibility": "public", "parameters": [ { - "$id": "831", + "$id": "883", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "832", - "kind": "constant", - "name": "createLiteralContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "833", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "208" }, "location": "Header", "isApiVersion": false, @@ -8341,24 +8869,11 @@ "skipUrlEncoding": false }, { - "$id": "834", + "$id": "884", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "835", - "kind": "constant", - "name": "createLiteralContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "836", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "210" }, "location": "Header", "isApiVersion": false, @@ -8371,11 +8886,11 @@ "skipUrlEncoding": false }, { - "$id": "837", + "$id": "885", "name": "body", "nameInRequest": "body", "type": { - "$ref": "116" + "$ref": "244" }, "location": "Body", "isApiVersion": false, @@ -8390,12 +8905,12 @@ ], "responses": [ { - "$id": "838", + "$id": "886", "statusCodes": [ 200 ], "bodyType": { - "$ref": "116" + "$ref": "244" }, "headers": [], "isErrorResponse": false, @@ -8418,11 +8933,11 @@ }, "parameters": [ { - "$id": "839", + "$id": "887", "name": "body", "nameInRequest": "body", "type": { - "$ref": "116" + "$ref": "244" }, "location": "Body", "isApiVersion": false, @@ -8435,12 +8950,12 @@ "skipUrlEncoding": false }, { - "$id": "840", + "$id": "888", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "832" + "$ref": "208" }, "location": "Header", "isApiVersion": false, @@ -8453,11 +8968,11 @@ "skipUrlEncoding": false }, { - "$id": "841", + "$id": "889", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "835" + "$ref": "210" }, "location": "Header", "isApiVersion": false, @@ -8471,9 +8986,9 @@ } ], "response": { - "$id": "842", + "$id": "890", "type": { - "$ref": "116" + "$ref": "244" } }, "isOverride": false, @@ -8482,7 +8997,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.Hello.Demo2.createLiteral" }, { - "$id": "843", + "$id": "891", "kind": "basic", "name": "helloLiteral", "accessibility": "public", @@ -8491,31 +9006,18 @@ ], "doc": "Send literal parameters", "operation": { - "$id": "844", + "$id": "892", "name": "helloLiteral", "resourceName": "Demo2", "doc": "Send literal parameters", "accessibility": "public", "parameters": [ { - "$id": "845", + "$id": "893", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "846", - "kind": "constant", - "name": "HelloLiteralRequestP1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "847", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "test", - "decorators": [] + "$ref": "212" }, "location": "Header", "isApiVersion": false, @@ -8528,24 +9030,11 @@ "skipUrlEncoding": false }, { - "$id": "848", + "$id": "894", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "849", - "kind": "constant", - "name": "ThingRequiredLiteralInt2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "850", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "value": 123, - "decorators": [] + "$ref": "214" }, "location": "Path", "isApiVersion": false, @@ -8558,24 +9047,11 @@ "skipUrlEncoding": false }, { - "$id": "851", + "$id": "895", "name": "p3", "nameInRequest": "p3", "type": { - "$id": "852", - "kind": "constant", - "name": "ThingOptionalLiteralBool2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "853", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "216" }, "location": "Query", "isApiVersion": false, @@ -8588,24 +9064,11 @@ "skipUrlEncoding": false }, { - "$id": "854", + "$id": "896", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "855", - "kind": "constant", - "name": "helloLiteralContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "856", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "218" }, "location": "Header", "isApiVersion": false, @@ -8620,12 +9083,12 @@ ], "responses": [ { - "$id": "857", + "$id": "897", "statusCodes": [ 200 ], "bodyType": { - "$ref": "116" + "$ref": "244" }, "headers": [], "isErrorResponse": false, @@ -8645,24 +9108,11 @@ }, "parameters": [ { - "$id": "858", + "$id": "898", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "859", - "kind": "constant", - "name": "HelloLiteralRequestP11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "860", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "test", - "decorators": [] + "$ref": "220" }, "location": "Header", "isApiVersion": false, @@ -8675,24 +9125,11 @@ "skipUrlEncoding": false }, { - "$id": "861", + "$id": "899", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "862", - "kind": "constant", - "name": "ThingRequiredLiteralInt3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "863", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "value": 123, - "decorators": [] + "$ref": "222" }, "location": "Path", "isApiVersion": false, @@ -8705,24 +9142,11 @@ "skipUrlEncoding": false }, { - "$id": "864", + "$id": "900", "name": "p3", "nameInRequest": "p3", "type": { - "$id": "865", - "kind": "constant", - "name": "ThingOptionalLiteralBool3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "866", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "224" }, "location": "Query", "isApiVersion": false, @@ -8735,11 +9159,11 @@ "skipUrlEncoding": false }, { - "$id": "867", + "$id": "901", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "855" + "$ref": "218" }, "location": "Header", "isApiVersion": false, @@ -8753,9 +9177,9 @@ } ], "response": { - "$id": "868", + "$id": "902", "type": { - "$ref": "116" + "$ref": "244" } }, "isOverride": false, @@ -8766,11 +9190,11 @@ ], "parameters": [ { - "$id": "869", + "$id": "903", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "870", + "$id": "904", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8791,19 +9215,19 @@ "2022-05-15-preview" ], "parent": { - "$ref": "748" + "$ref": "814" } } ] }, { - "$id": "871", + "$id": "905", "kind": "client", "name": "EnumTest", "namespace": "FirstTestTypeSpec.EnumTest", "methods": [ { - "$id": "872", + "$id": "906", "kind": "basic", "name": "createUnknownValue", "accessibility": "public", @@ -8812,32 +9236,19 @@ ], "doc": "get extensible enum", "operation": { - "$id": "873", + "$id": "907", "name": "createUnknownValue", "resourceName": "EnumTest", "doc": "get extensible enum", "accessibility": "public", "parameters": [ { - "$id": "874", + "$id": "908", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$id": "875", - "kind": "constant", - "name": "createUnknownValueContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "876", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "226" }, "location": "Header", "isApiVersion": false, @@ -8850,7 +9261,7 @@ "skipUrlEncoding": false }, { - "$id": "877", + "$id": "909", "name": "input", "nameInRequest": "input", "type": { @@ -8869,7 +9280,7 @@ ], "responses": [ { - "$id": "878", + "$id": "910", "statusCodes": [ 204 ], @@ -8891,7 +9302,7 @@ }, "parameters": [ { - "$id": "879", + "$id": "911", "name": "input", "nameInRequest": "input", "type": { @@ -8908,12 +9319,12 @@ "skipUrlEncoding": false }, { - "$id": "880", + "$id": "912", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$ref": "875" + "$ref": "226" }, "location": "Header", "isApiVersion": false, @@ -8927,7 +9338,7 @@ } ], "response": { - "$id": "881" + "$id": "913" }, "isOverride": false, "generateConvenient": false, @@ -8937,11 +9348,11 @@ ], "parameters": [ { - "$id": "882", + "$id": "914", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "883", + "$id": "915", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8962,17 +9373,17 @@ "2022-05-15-preview" ], "parent": { - "$ref": "432" + "$ref": "550" } }, { - "$id": "884", + "$id": "916", "kind": "client", "name": "ProtocolAndConvenient", "namespace": "FirstTestTypeSpec.ProtocolAndConvenient", "methods": [ { - "$id": "885", + "$id": "917", "kind": "basic", "name": "internalProtocol", "accessibility": "public", @@ -8981,32 +9392,19 @@ ], "doc": "When set protocol false and convenient true, then the protocol method should be internal", "operation": { - "$id": "886", + "$id": "918", "name": "internalProtocol", "resourceName": "ProtocolAndConvenient", "doc": "When set protocol false and convenient true, then the protocol method should be internal", "accessibility": "public", "parameters": [ { - "$id": "887", + "$id": "919", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "888", - "kind": "constant", - "name": "internalProtocolContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "889", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "228" }, "location": "Header", "isApiVersion": false, @@ -9019,24 +9417,11 @@ "skipUrlEncoding": false }, { - "$id": "890", + "$id": "920", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "891", - "kind": "constant", - "name": "internalProtocolContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "892", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "230" }, "location": "Header", "isApiVersion": false, @@ -9049,11 +9434,11 @@ "skipUrlEncoding": false }, { - "$id": "893", + "$id": "921", "name": "body", "nameInRequest": "body", "type": { - "$ref": "116" + "$ref": "244" }, "location": "Body", "isApiVersion": false, @@ -9068,12 +9453,12 @@ ], "responses": [ { - "$id": "894", + "$id": "922", "statusCodes": [ 200 ], "bodyType": { - "$ref": "116" + "$ref": "244" }, "headers": [], "isErrorResponse": false, @@ -9096,11 +9481,11 @@ }, "parameters": [ { - "$id": "895", + "$id": "923", "name": "body", "nameInRequest": "body", "type": { - "$ref": "116" + "$ref": "244" }, "location": "Body", "isApiVersion": false, @@ -9113,12 +9498,12 @@ "skipUrlEncoding": false }, { - "$id": "896", + "$id": "924", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "888" + "$ref": "228" }, "location": "Header", "isApiVersion": false, @@ -9131,11 +9516,11 @@ "skipUrlEncoding": false }, { - "$id": "897", + "$id": "925", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "891" + "$ref": "230" }, "location": "Header", "isApiVersion": false, @@ -9149,9 +9534,9 @@ } ], "response": { - "$id": "898", + "$id": "926", "type": { - "$ref": "116" + "$ref": "244" } }, "isOverride": false, @@ -9160,7 +9545,7 @@ "crossLanguageDefinitionId": "FirstTestTypeSpec.ProtocolAndConvenient.internalProtocol" }, { - "$id": "899", + "$id": "927", "kind": "basic", "name": "stillConvenient", "accessibility": "public", @@ -9169,7 +9554,7 @@ ], "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", "operation": { - "$id": "900", + "$id": "928", "name": "stillConvenient", "resourceName": "ProtocolAndConvenient", "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", @@ -9177,7 +9562,7 @@ "parameters": [], "responses": [ { - "$id": "901", + "$id": "929", "statusCodes": [ 204 ], @@ -9196,7 +9581,7 @@ }, "parameters": [], "response": { - "$id": "902" + "$id": "930" }, "isOverride": false, "generateConvenient": true, @@ -9206,11 +9591,11 @@ ], "parameters": [ { - "$id": "903", + "$id": "931", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "904", + "$id": "932", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9231,17 +9616,17 @@ "2022-05-15-preview" ], "parent": { - "$ref": "432" + "$ref": "550" } }, { - "$id": "905", + "$id": "933", "kind": "client", "name": "Entity", "namespace": "FirstTestTypeSpec", "methods": [ { - "$id": "906", + "$id": "934", "kind": "basic", "name": "doSomething", "accessibility": "public", @@ -9250,18 +9635,18 @@ ], "doc": "doSomething for entity", "operation": { - "$id": "907", + "$id": "935", "name": "doSomething", "resourceName": "Entity", "doc": "doSomething for entity", "accessibility": "public", "parameters": [ { - "$id": "908", + "$id": "936", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "909", + "$id": "937", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9278,24 +9663,11 @@ "skipUrlEncoding": false }, { - "$id": "910", + "$id": "938", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "911", - "kind": "constant", - "name": "doSomethingContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "912", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "232" }, "location": "Header", "isApiVersion": false, @@ -9310,12 +9682,12 @@ ], "responses": [ { - "$id": "913", + "$id": "939", "statusCodes": [ 200 ], "bodyType": { - "$ref": "116" + "$ref": "244" }, "headers": [], "isErrorResponse": false, @@ -9335,11 +9707,11 @@ }, "parameters": [ { - "$id": "914", + "$id": "940", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "915", + "$id": "941", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9356,11 +9728,11 @@ "skipUrlEncoding": false }, { - "$id": "916", + "$id": "942", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "911" + "$ref": "232" }, "location": "Header", "isApiVersion": false, @@ -9374,9 +9746,9 @@ } ], "response": { - "$id": "917", + "$id": "943", "type": { - "$ref": "116" + "$ref": "244" } }, "isOverride": false, @@ -9387,11 +9759,11 @@ ], "parameters": [ { - "$id": "918", + "$id": "944", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "919", + "$id": "945", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9412,17 +9784,17 @@ "2022-05-15-preview" ], "parent": { - "$ref": "432" + "$ref": "550" } }, { - "$id": "920", + "$id": "946", "kind": "client", "name": "Glossary", "namespace": "FirstTestTypeSpec", "methods": [ { - "$id": "921", + "$id": "947", "kind": "basic", "name": "doSomething", "accessibility": "public", @@ -9431,18 +9803,18 @@ ], "doc": "doSomething for glossary", "operation": { - "$id": "922", + "$id": "948", "name": "doSomething", "resourceName": "Glossary", "doc": "doSomething for glossary", "accessibility": "public", "parameters": [ { - "$id": "923", + "$id": "949", "name": "id", "nameInRequest": "id", "type": { - "$id": "924", + "$id": "950", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9459,11 +9831,11 @@ "skipUrlEncoding": false }, { - "$id": "925", + "$id": "951", "name": "h1", "nameInRequest": "h1", "type": { - "$id": "926", + "$id": "952", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9480,24 +9852,11 @@ "skipUrlEncoding": false }, { - "$id": "927", + "$id": "953", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "928", - "kind": "constant", - "name": "doSomethingContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "929", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "234" }, "location": "Header", "isApiVersion": false, @@ -9512,12 +9871,12 @@ ], "responses": [ { - "$id": "930", + "$id": "954", "statusCodes": [ 200 ], "bodyType": { - "$ref": "116" + "$ref": "244" }, "headers": [], "isErrorResponse": false, @@ -9537,11 +9896,11 @@ }, "parameters": [ { - "$id": "931", + "$id": "955", "name": "id", "nameInRequest": "id", "type": { - "$id": "932", + "$id": "956", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9558,11 +9917,11 @@ "skipUrlEncoding": false }, { - "$id": "933", + "$id": "957", "name": "h1", "nameInRequest": "h1", "type": { - "$id": "934", + "$id": "958", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9579,11 +9938,11 @@ "skipUrlEncoding": false }, { - "$id": "935", + "$id": "959", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "928" + "$ref": "234" }, "location": "Header", "isApiVersion": false, @@ -9597,9 +9956,9 @@ } ], "response": { - "$id": "936", + "$id": "960", "type": { - "$ref": "116" + "$ref": "244" } }, "isOverride": false, @@ -9610,11 +9969,11 @@ ], "parameters": [ { - "$id": "937", + "$id": "961", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "938", + "$id": "962", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9635,22 +9994,22 @@ "2022-05-15-preview" ], "parent": { - "$ref": "432" + "$ref": "550" } }, { - "$id": "939", + "$id": "963", "kind": "client", "name": "ResourceOperations", "namespace": "FirstTestTypeSpec", "methods": [], "parameters": [ { - "$id": "940", + "$id": "964", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "941", + "$id": "965", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9671,17 +10030,17 @@ "2022-05-15-preview" ], "parent": { - "$ref": "432" + "$ref": "550" } }, { - "$id": "942", + "$id": "966", "kind": "client", "name": "VersioningOp", "namespace": "FirstTestTypeSpec", "methods": [ { - "$id": "943", + "$id": "967", "kind": "lro", "name": "export", "accessibility": "public", @@ -9690,19 +10049,19 @@ ], "doc": "Long-running resource action operation template.", "operation": { - "$id": "944", + "$id": "968", "name": "export", "resourceName": "VersioningOp", "doc": "Long-running resource action operation template.", "accessibility": "public", "parameters": [ { - "$id": "945", + "$id": "969", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "946", + "$id": "970", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9716,9 +10075,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "947", + "$id": "971", "type": { - "$id": "948", + "$id": "972", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9729,11 +10088,11 @@ "skipUrlEncoding": false }, { - "$id": "949", + "$id": "973", "name": "name", "nameInRequest": "name", "type": { - "$id": "950", + "$id": "974", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9750,11 +10109,11 @@ "skipUrlEncoding": false }, { - "$id": "951", + "$id": "975", "name": "projectFileVersion", "nameInRequest": "projectFileVersion", "type": { - "$id": "952", + "$id": "976", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9771,24 +10130,11 @@ "skipUrlEncoding": false }, { - "$id": "953", + "$id": "977", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "954", - "kind": "constant", - "name": "exportContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "955", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "236" }, "location": "Header", "isApiVersion": false, @@ -9803,26 +10149,26 @@ ], "responses": [ { - "$id": "956", + "$id": "978", "statusCodes": [ 202 ], "bodyType": { - "$ref": "387" + "$ref": "505" }, "headers": [ { - "$id": "957", + "$id": "979", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "958", + "$id": "980", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "959", + "$id": "981", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -9849,11 +10195,11 @@ }, "parameters": [ { - "$id": "960", + "$id": "982", "name": "name", "nameInRequest": "name", "type": { - "$id": "961", + "$id": "983", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9870,11 +10216,11 @@ "skipUrlEncoding": false }, { - "$id": "962", + "$id": "984", "name": "projectFileVersion", "nameInRequest": "projectFileVersion", "type": { - "$id": "963", + "$id": "985", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9891,24 +10237,11 @@ "skipUrlEncoding": false }, { - "$id": "964", + "$id": "986", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "965", - "kind": "constant", - "name": "exportContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "966", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "238" }, "location": "Header", "isApiVersion": false, @@ -9922,9 +10255,9 @@ } ], "response": { - "$id": "967", + "$id": "987", "type": { - "$ref": "424" + "$ref": "542" }, "resultSegments": [ "result" @@ -9935,22 +10268,22 @@ "generateProtocol": true, "crossLanguageDefinitionId": "FirstTestTypeSpec.VersioningOp.export", "lroMetadata": { - "$id": "968", + "$id": "988", "finalStateVia": 3, "finalResponse": { - "$id": "969", + "$id": "989", "statusCodes": [ 200 ], "bodyType": { - "$ref": "387" + "$ref": "505" } }, "resultPath": "result" } }, { - "$id": "970", + "$id": "990", "kind": "lro", "name": "exportW", "accessibility": "public", @@ -9959,19 +10292,19 @@ ], "doc": "Long-running resource action operation template.", "operation": { - "$id": "971", + "$id": "991", "name": "exportW", "resourceName": "VersioningOp", "doc": "Long-running resource action operation template.", "accessibility": "public", "parameters": [ { - "$id": "972", + "$id": "992", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "973", + "$id": "993", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9985,9 +10318,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "974", + "$id": "994", "type": { - "$id": "975", + "$id": "995", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9998,11 +10331,11 @@ "skipUrlEncoding": false }, { - "$id": "976", + "$id": "996", "name": "name", "nameInRequest": "name", "type": { - "$id": "977", + "$id": "997", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10019,11 +10352,11 @@ "skipUrlEncoding": false }, { - "$id": "978", + "$id": "998", "name": "projectFileVersion", "nameInRequest": "projectFileVersion", "type": { - "$id": "979", + "$id": "999", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10040,24 +10373,11 @@ "skipUrlEncoding": false }, { - "$id": "980", + "$id": "1000", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "981", - "kind": "constant", - "name": "exportWContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "982", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "240" }, "location": "Header", "isApiVersion": false, @@ -10072,26 +10392,26 @@ ], "responses": [ { - "$id": "983", + "$id": "1001", "statusCodes": [ 202 ], "bodyType": { - "$ref": "387" + "$ref": "505" }, "headers": [ { - "$id": "984", + "$id": "1002", "name": "operationLocation", "nameInResponse": "Operation-Location", "doc": "The location for monitoring the operation state.", "type": { - "$id": "985", + "$id": "1003", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "986", + "$id": "1004", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -10118,11 +10438,11 @@ }, "parameters": [ { - "$id": "987", + "$id": "1005", "name": "name", "nameInRequest": "name", "type": { - "$id": "988", + "$id": "1006", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10139,11 +10459,11 @@ "skipUrlEncoding": false }, { - "$id": "989", + "$id": "1007", "name": "projectFileVersion", "nameInRequest": "projectFileVersion", "type": { - "$id": "990", + "$id": "1008", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10160,24 +10480,11 @@ "skipUrlEncoding": false }, { - "$id": "991", + "$id": "1009", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "992", - "kind": "constant", - "name": "exportWContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "993", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "242" }, "location": "Header", "isApiVersion": false, @@ -10191,9 +10498,9 @@ } ], "response": { - "$id": "994", + "$id": "1010", "type": { - "$ref": "424" + "$ref": "542" }, "resultSegments": [ "result" @@ -10204,15 +10511,15 @@ "generateProtocol": true, "crossLanguageDefinitionId": "FirstTestTypeSpec.VersioningOp.exportW", "lroMetadata": { - "$id": "995", + "$id": "1011", "finalStateVia": 3, "finalResponse": { - "$id": "996", + "$id": "1012", "statusCodes": [ 200 ], "bodyType": { - "$ref": "387" + "$ref": "505" } }, "resultPath": "result" @@ -10221,11 +10528,11 @@ ], "parameters": [ { - "$id": "997", + "$id": "1013", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "998", + "$id": "1014", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -10246,22 +10553,22 @@ "2022-05-15-preview" ], "parent": { - "$ref": "432" + "$ref": "550" } } ] } ], "auth": { - "$id": "999", + "$id": "1015", "oAuth2": { - "$id": "1000", + "$id": "1016", "scopes": [ "https://api.example.com/.default" ] }, "apiKey": { - "$id": "1001", + "$id": "1017", "name": "x-ms-api-key", "in": "header" } diff --git a/test/TestProjects/MediaTypes-TypeSpec/tspCodeModel.json b/test/TestProjects/MediaTypes-TypeSpec/tspCodeModel.json index 998b5d5c153..010a84be372 100644 --- a/test/TestProjects/MediaTypes-TypeSpec/tspCodeModel.json +++ b/test/TestProjects/MediaTypes-TypeSpec/tspCodeModel.json @@ -129,9 +129,43 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "16", + "kind": "constant", + "name": "OneStringBodyThreeContentTypesRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "OneStringBodyThreeContentTypesRequestContentType11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "20", "kind": "model", "name": "Body", "namespace": "MultipleMediaTypes", @@ -140,12 +174,12 @@ "decorators": [], "properties": [ { - "$id": "17", + "$id": "21", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "18", + "$id": "22", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -158,9 +192,9 @@ "decorators": [], "crossLanguageDefinitionId": "MultipleMediaTypes.Body.id", "serializationOptions": { - "$id": "19", + "$id": "23", "json": { - "$id": "20", + "$id": "24", "name": "id" } } @@ -170,26 +204,26 @@ ], "clients": [ { - "$id": "21", + "$id": "25", "kind": "client", "name": "MultipleMediaTypesClient", "namespace": "MultipleMediaTypes", "doc": "Play with produces/consumes and media-types in general.", "methods": [ { - "$id": "22", + "$id": "26", "kind": "basic", "name": "oneBinaryBodyTwoContentTypes", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "23", + "$id": "27", "name": "oneBinaryBodyTwoContentTypes", "resourceName": "MultipleMediaTypes", "accessibility": "public", "parameters": [ { - "$id": "24", + "$id": "28", "name": "contentType", "nameInRequest": "Content-Type", "type": { @@ -206,11 +240,11 @@ "skipUrlEncoding": false }, { - "$id": "25", + "$id": "29", "name": "body", "nameInRequest": "body", "type": { - "$id": "26", + "$id": "30", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -230,7 +264,7 @@ ], "responses": [ { - "$id": "27", + "$id": "31", "statusCodes": [ 204 ], @@ -253,11 +287,11 @@ }, "parameters": [ { - "$id": "28", + "$id": "32", "name": "body", "nameInRequest": "body", "type": { - "$id": "29", + "$id": "33", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -275,7 +309,7 @@ "skipUrlEncoding": false }, { - "$id": "30", + "$id": "34", "name": "contentType", "nameInRequest": "content-type", "type": { @@ -293,7 +327,7 @@ } ], "response": { - "$id": "31" + "$id": "35" }, "isOverride": false, "generateConvenient": true, @@ -301,19 +335,19 @@ "crossLanguageDefinitionId": "MultipleMediaTypes.oneBinaryBodyTwoContentTypes" }, { - "$id": "32", + "$id": "36", "kind": "basic", "name": "oneStringBodyThreeContentTypes", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "33", + "$id": "37", "name": "oneStringBodyThreeContentTypes", "resourceName": "MultipleMediaTypes", "accessibility": "public", "parameters": [ { - "$id": "34", + "$id": "38", "name": "contentType", "nameInRequest": "Content-Type", "type": { @@ -330,11 +364,11 @@ "skipUrlEncoding": false }, { - "$id": "35", + "$id": "39", "name": "body", "nameInRequest": "body", "type": { - "$id": "36", + "$id": "40", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -353,7 +387,7 @@ ], "responses": [ { - "$id": "37", + "$id": "41", "statusCodes": [ 204 ], @@ -377,11 +411,11 @@ }, "parameters": [ { - "$id": "38", + "$id": "42", "name": "body", "nameInRequest": "body", "type": { - "$id": "39", + "$id": "43", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -398,7 +432,7 @@ "skipUrlEncoding": false }, { - "$id": "40", + "$id": "44", "name": "contentType", "nameInRequest": "content-type", "type": { @@ -416,7 +450,7 @@ } ], "response": { - "$id": "41" + "$id": "45" }, "isOverride": false, "generateConvenient": true, @@ -424,36 +458,23 @@ "crossLanguageDefinitionId": "MultipleMediaTypes.oneStringBodyThreeContentTypes" }, { - "$id": "42", + "$id": "46", "kind": "basic", "name": "oneModelBodyOneContentType", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "43", + "$id": "47", "name": "oneModelBodyOneContentType", "resourceName": "MultipleMediaTypes", "accessibility": "public", "parameters": [ { - "$id": "44", + "$id": "48", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "45", - "kind": "constant", - "name": "OneStringBodyThreeContentTypesRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "46", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "16" }, "location": "Header", "isApiVersion": false, @@ -466,11 +487,11 @@ "skipUrlEncoding": false }, { - "$id": "47", + "$id": "49", "name": "body", "nameInRequest": "body", "type": { - "$ref": "16" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -485,7 +506,7 @@ ], "responses": [ { - "$id": "48", + "$id": "50", "statusCodes": [ 204 ], @@ -507,11 +528,11 @@ }, "parameters": [ { - "$id": "49", + "$id": "51", "name": "body", "nameInRequest": "body", "type": { - "$ref": "16" + "$ref": "20" }, "location": "Body", "isApiVersion": false, @@ -524,24 +545,11 @@ "skipUrlEncoding": false }, { - "$id": "50", + "$id": "52", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "51", - "kind": "constant", - "name": "OneStringBodyThreeContentTypesRequestContentType11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "52", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "18" }, "location": "Header", "isApiVersion": false, diff --git a/test/TestProjects/MgmtTypeSpec/tspCodeModel.json b/test/TestProjects/MgmtTypeSpec/tspCodeModel.json index 1990d3a59d8..0184dc2bb18 100644 --- a/test/TestProjects/MgmtTypeSpec/tspCodeModel.json +++ b/test/TestProjects/MgmtTypeSpec/tspCodeModel.json @@ -477,9 +477,235 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "52", + "kind": "constant", + "name": "listContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "listByMongoClusterContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "startContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "startContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "startContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "startContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "createOrUpdateContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "createOrUpdateContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "createOrUpdateContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "70", + "kind": "constant", + "name": "createOrUpdateContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "72", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "74", + "kind": "constant", + "name": "deleteContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "76", + "kind": "constant", + "name": "deleteContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "78", + "kind": "constant", + "name": "listContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "80", "kind": "model", "name": "OperationListResult", "namespace": "MgmtTypeSpec", @@ -489,17 +715,17 @@ "decorators": [], "properties": [ { - "$id": "53", + "$id": "81", "kind": "property", "name": "value", "serializedName": "value", "doc": "The Operation items on this page", "type": { - "$id": "54", + "$id": "82", "kind": "array", "name": "ArrayOperation", "valueType": { - "$id": "55", + "$id": "83", "kind": "model", "name": "Operation", "namespace": "MgmtTypeSpec", @@ -510,13 +736,13 @@ "decorators": [], "properties": [ { - "$id": "56", + "$id": "84", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"", "type": { - "$id": "57", + "$id": "85", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -529,21 +755,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.name", "serializationOptions": { - "$id": "58", + "$id": "86", "json": { - "$id": "59", + "$id": "87", "name": "name" } } }, { - "$id": "60", + "$id": "88", "kind": "property", "name": "isDataAction", "serializedName": "isDataAction", "doc": "Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations.", "type": { - "$id": "61", + "$id": "89", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -556,21 +782,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.isDataAction", "serializationOptions": { - "$id": "62", + "$id": "90", "json": { - "$id": "63", + "$id": "91", "name": "isDataAction" } } }, { - "$id": "64", + "$id": "92", "kind": "property", "name": "display", "serializedName": "display", "doc": "Localized display information for this particular operation.", "type": { - "$id": "65", + "$id": "93", "kind": "model", "name": "OperationDisplay", "namespace": "MgmtTypeSpec", @@ -580,13 +806,13 @@ "decorators": [], "properties": [ { - "$id": "66", + "$id": "94", "kind": "property", "name": "provider", "serializedName": "provider", "doc": "The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".", "type": { - "$id": "67", + "$id": "95", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -599,21 +825,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.provider", "serializationOptions": { - "$id": "68", + "$id": "96", "json": { - "$id": "69", + "$id": "97", "name": "provider" } } }, { - "$id": "70", + "$id": "98", "kind": "property", "name": "resource", "serializedName": "resource", "doc": "The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".", "type": { - "$id": "71", + "$id": "99", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -626,21 +852,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.resource", "serializationOptions": { - "$id": "72", + "$id": "100", "json": { - "$id": "73", + "$id": "101", "name": "resource" } } }, { - "$id": "74", + "$id": "102", "kind": "property", "name": "operation", "serializedName": "operation", "doc": "The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".", "type": { - "$id": "75", + "$id": "103", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -653,21 +879,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.operation", "serializationOptions": { - "$id": "76", + "$id": "104", "json": { - "$id": "77", + "$id": "105", "name": "operation" } } }, { - "$id": "78", + "$id": "106", "kind": "property", "name": "description", "serializedName": "description", "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.", "type": { - "$id": "79", + "$id": "107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -680,9 +906,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.description", "serializationOptions": { - "$id": "80", + "$id": "108", "json": { - "$id": "81", + "$id": "109", "name": "description" } } @@ -696,15 +922,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display", "serializationOptions": { - "$id": "82", + "$id": "110", "json": { - "$id": "83", + "$id": "111", "name": "display" } } }, { - "$id": "84", + "$id": "112", "kind": "property", "name": "origin", "serializedName": "origin", @@ -719,15 +945,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.origin", "serializationOptions": { - "$id": "85", + "$id": "113", "json": { - "$id": "86", + "$id": "114", "name": "origin" } } }, { - "$id": "87", + "$id": "115", "kind": "property", "name": "actionType", "serializedName": "actionType", @@ -742,9 +968,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.actionType", "serializationOptions": { - "$id": "88", + "$id": "116", "json": { - "$id": "89", + "$id": "117", "name": "actionType" } } @@ -761,26 +987,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.value", "serializationOptions": { - "$id": "90", + "$id": "118", "json": { - "$id": "91", + "$id": "119", "name": "value" } } }, { - "$id": "92", + "$id": "120", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "93", + "$id": "121", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "94", + "$id": "122", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -795,9 +1021,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.nextLink", "serializationOptions": { - "$id": "95", + "$id": "123", "json": { - "$id": "96", + "$id": "124", "name": "nextLink" } } @@ -805,13 +1031,13 @@ ] }, { - "$ref": "55" + "$ref": "83" }, { - "$ref": "65" + "$ref": "93" }, { - "$id": "97", + "$id": "125", "kind": "model", "name": "ErrorResponse", "namespace": "MgmtTypeSpec", @@ -822,13 +1048,13 @@ "decorators": [], "properties": [ { - "$id": "98", + "$id": "126", "kind": "property", "name": "error", "serializedName": "error", "doc": "The error object.", "type": { - "$id": "99", + "$id": "127", "kind": "model", "name": "ErrorDetail", "namespace": "MgmtTypeSpec", @@ -838,13 +1064,13 @@ "decorators": [], "properties": [ { - "$id": "100", + "$id": "128", "kind": "property", "name": "code", "serializedName": "code", "doc": "The error code.", "type": { - "$id": "101", + "$id": "129", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -857,21 +1083,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code", "serializationOptions": { - "$id": "102", + "$id": "130", "json": { - "$id": "103", + "$id": "131", "name": "code" } } }, { - "$id": "104", + "$id": "132", "kind": "property", "name": "message", "serializedName": "message", "doc": "The error message.", "type": { - "$id": "105", + "$id": "133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -884,21 +1110,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message", "serializationOptions": { - "$id": "106", + "$id": "134", "json": { - "$id": "107", + "$id": "135", "name": "message" } } }, { - "$id": "108", + "$id": "136", "kind": "property", "name": "target", "serializedName": "target", "doc": "The error target.", "type": { - "$id": "109", + "$id": "137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -911,25 +1137,25 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target", "serializationOptions": { - "$id": "110", + "$id": "138", "json": { - "$id": "111", + "$id": "139", "name": "target" } } }, { - "$id": "112", + "$id": "140", "kind": "property", "name": "details", "serializedName": "details", "doc": "The error details.", "type": { - "$id": "113", + "$id": "141", "kind": "array", "name": "ArrayErrorDetail", "valueType": { - "$ref": "99" + "$ref": "127" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -941,25 +1167,25 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details", "serializationOptions": { - "$id": "114", + "$id": "142", "json": { - "$id": "115", + "$id": "143", "name": "details" } } }, { - "$id": "116", + "$id": "144", "kind": "property", "name": "additionalInfo", "serializedName": "additionalInfo", "doc": "The error additional info.", "type": { - "$id": "117", + "$id": "145", "kind": "array", "name": "ArrayErrorAdditionalInfo", "valueType": { - "$id": "118", + "$id": "146", "kind": "model", "name": "ErrorAdditionalInfo", "namespace": "MgmtTypeSpec", @@ -969,13 +1195,13 @@ "decorators": [], "properties": [ { - "$id": "119", + "$id": "147", "kind": "property", "name": "type", "serializedName": "type", "doc": "The additional info type.", "type": { - "$id": "120", + "$id": "148", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -988,21 +1214,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type", "serializationOptions": { - "$id": "121", + "$id": "149", "json": { - "$id": "122", + "$id": "150", "name": "type" } } }, { - "$id": "123", + "$id": "151", "kind": "property", "name": "info", "serializedName": "info", "doc": "The additional info.", "type": { - "$id": "124", + "$id": "152", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1015,9 +1241,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info", "serializationOptions": { - "$id": "125", + "$id": "153", "json": { - "$id": "126", + "$id": "154", "name": "info" } } @@ -1034,9 +1260,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo", "serializationOptions": { - "$id": "127", + "$id": "155", "json": { - "$id": "128", + "$id": "156", "name": "additionalInfo" } } @@ -1050,9 +1276,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error", "serializationOptions": { - "$id": "129", + "$id": "157", "json": { - "$id": "130", + "$id": "158", "name": "error" } } @@ -1060,13 +1286,13 @@ ] }, { - "$ref": "99" + "$ref": "127" }, { - "$ref": "118" + "$ref": "146" }, { - "$id": "131", + "$id": "159", "kind": "model", "name": "PrivateLinkResourceListResult", "namespace": "MgmtTypeSpec", @@ -1076,17 +1302,17 @@ "decorators": [], "properties": [ { - "$id": "132", + "$id": "160", "kind": "property", "name": "value", "serializedName": "value", "doc": "The PrivateLinkResource items on this page", "type": { - "$id": "133", + "$id": "161", "kind": "array", "name": "ArrayPrivateLinkResource", "valueType": { - "$id": "134", + "$id": "162", "kind": "model", "name": "PrivateLinkResource", "namespace": "MgmtTypeSpec", @@ -1095,7 +1321,7 @@ "doc": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", "decorators": [], "baseModel": { - "$id": "135", + "$id": "163", "kind": "model", "name": "ProxyResource", "namespace": "MgmtTypeSpec", @@ -1105,7 +1331,7 @@ "summary": "Proxy Resource", "decorators": [], "baseModel": { - "$id": "136", + "$id": "164", "kind": "model", "name": "Resource", "namespace": "MgmtTypeSpec", @@ -1116,18 +1342,18 @@ "decorators": [], "properties": [ { - "$id": "137", + "$id": "165", "kind": "property", "name": "id", "serializedName": "id", "doc": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", "type": { - "$id": "138", + "$id": "166", "kind": "string", "name": "armResourceIdentifier", "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", "baseType": { - "$id": "139", + "$id": "167", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1142,21 +1368,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.id", "serializationOptions": { - "$id": "140", + "$id": "168", "json": { - "$id": "141", + "$id": "169", "name": "id" } } }, { - "$id": "142", + "$id": "170", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the resource", "type": { - "$id": "143", + "$id": "171", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1169,26 +1395,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.name", "serializationOptions": { - "$id": "144", + "$id": "172", "json": { - "$id": "145", + "$id": "173", "name": "name" } } }, { - "$id": "146", + "$id": "174", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", "type": { - "$id": "147", + "$id": "175", "kind": "string", "name": "armResourceType", "crossLanguageDefinitionId": "Azure.Core.armResourceType", "baseType": { - "$id": "148", + "$id": "176", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1203,21 +1429,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.type", "serializationOptions": { - "$id": "149", + "$id": "177", "json": { - "$id": "150", + "$id": "178", "name": "type" } } }, { - "$id": "151", + "$id": "179", "kind": "property", "name": "systemData", "serializedName": "systemData", "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", "type": { - "$id": "152", + "$id": "180", "kind": "model", "name": "SystemData", "namespace": "MgmtTypeSpec", @@ -1227,13 +1453,13 @@ "decorators": [], "properties": [ { - "$id": "153", + "$id": "181", "kind": "property", "name": "createdBy", "serializedName": "createdBy", "doc": "The identity that created the resource.", "type": { - "$id": "154", + "$id": "182", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1246,15 +1472,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdBy", "serializationOptions": { - "$id": "155", + "$id": "183", "json": { - "$id": "156", + "$id": "184", "name": "createdBy" } } }, { - "$id": "157", + "$id": "185", "kind": "property", "name": "createdByType", "serializedName": "createdByType", @@ -1269,26 +1495,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType", "serializationOptions": { - "$id": "158", + "$id": "186", "json": { - "$id": "159", + "$id": "187", "name": "createdByType" } } }, { - "$id": "160", + "$id": "188", "kind": "property", "name": "createdAt", "serializedName": "createdAt", "doc": "The timestamp of resource creation (UTC).", "type": { - "$id": "161", + "$id": "189", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "162", + "$id": "190", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1304,21 +1530,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdAt", "serializationOptions": { - "$id": "163", + "$id": "191", "json": { - "$id": "164", + "$id": "192", "name": "createdAt" } } }, { - "$id": "165", + "$id": "193", "kind": "property", "name": "lastModifiedBy", "serializedName": "lastModifiedBy", "doc": "The identity that last modified the resource.", "type": { - "$id": "166", + "$id": "194", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1331,15 +1557,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedBy", "serializationOptions": { - "$id": "167", + "$id": "195", "json": { - "$id": "168", + "$id": "196", "name": "lastModifiedBy" } } }, { - "$id": "169", + "$id": "197", "kind": "property", "name": "lastModifiedByType", "serializedName": "lastModifiedByType", @@ -1354,26 +1580,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType", "serializationOptions": { - "$id": "170", + "$id": "198", "json": { - "$id": "171", + "$id": "199", "name": "lastModifiedByType" } } }, { - "$id": "172", + "$id": "200", "kind": "property", "name": "lastModifiedAt", "serializedName": "lastModifiedAt", "doc": "The timestamp of resource last modification (UTC)", "type": { - "$id": "173", + "$id": "201", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "174", + "$id": "202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1389,9 +1615,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedAt", "serializationOptions": { - "$id": "175", + "$id": "203", "json": { - "$id": "176", + "$id": "204", "name": "lastModifiedAt" } } @@ -1405,9 +1631,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData", "serializationOptions": { - "$id": "177", + "$id": "205", "json": { - "$id": "178", + "$id": "206", "name": "systemData" } } @@ -1418,13 +1644,13 @@ }, "properties": [ { - "$id": "179", + "$id": "207", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "180", + "$id": "208", "kind": "model", "name": "PrivateLinkResourceProperties", "namespace": "MgmtTypeSpec", @@ -1434,13 +1660,13 @@ "decorators": [], "properties": [ { - "$id": "181", + "$id": "209", "kind": "property", "name": "groupId", "serializedName": "groupId", "doc": "The private link resource group id.", "type": { - "$id": "182", + "$id": "210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1453,25 +1679,25 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties.groupId", "serializationOptions": { - "$id": "183", + "$id": "211", "json": { - "$id": "184", + "$id": "212", "name": "groupId" } } }, { - "$id": "185", + "$id": "213", "kind": "property", "name": "requiredMembers", "serializedName": "requiredMembers", "doc": "The private link resource required member names.", "type": { - "$id": "186", + "$id": "214", "kind": "array", "name": "Array", "valueType": { - "$id": "187", + "$id": "215", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1487,21 +1713,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties.requiredMembers", "serializationOptions": { - "$id": "188", + "$id": "216", "json": { - "$id": "189", + "$id": "217", "name": "requiredMembers" } } }, { - "$id": "190", + "$id": "218", "kind": "property", "name": "requiredZoneNames", "serializedName": "requiredZoneNames", "doc": "The private link resource private link DNS zone name.", "type": { - "$ref": "186" + "$ref": "214" }, "optional": true, "readOnly": false, @@ -1510,9 +1736,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties.requiredZoneNames", "serializationOptions": { - "$id": "191", + "$id": "219", "json": { - "$id": "192", + "$id": "220", "name": "requiredZoneNames" } } @@ -1526,21 +1752,21 @@ "decorators": [], "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource.properties", "serializationOptions": { - "$id": "193", + "$id": "221", "json": { - "$id": "194", + "$id": "222", "name": "properties" } } }, { - "$id": "195", + "$id": "223", "kind": "path", "name": "name", "serializedName": "name", "doc": "The name of the private link associated with the Azure resource.", "type": { - "$id": "196", + "$id": "224", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1556,13 +1782,13 @@ "correspondingMethodParams": [] }, { - "$id": "197", + "$id": "225", "kind": "property", "name": "identity", "serializedName": "identity", "doc": "The managed service identities assigned to this resource.", "type": { - "$id": "198", + "$id": "226", "kind": "model", "name": "ManagedServiceIdentity", "namespace": "MgmtTypeSpec", @@ -1572,18 +1798,18 @@ "decorators": [], "properties": [ { - "$id": "199", + "$id": "227", "kind": "property", "name": "principalId", "serializedName": "principalId", "doc": "The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.", "type": { - "$id": "200", + "$id": "228", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "201", + "$id": "229", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1598,26 +1824,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.principalId", "serializationOptions": { - "$id": "202", + "$id": "230", "json": { - "$id": "203", + "$id": "231", "name": "principalId" } } }, { - "$id": "204", + "$id": "232", "kind": "property", "name": "tenantId", "serializedName": "tenantId", "doc": "The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.", "type": { - "$id": "205", + "$id": "233", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "206", + "$id": "234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1632,15 +1858,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.tenantId", "serializationOptions": { - "$id": "207", + "$id": "235", "json": { - "$id": "208", + "$id": "236", "name": "tenantId" } } }, { - "$id": "209", + "$id": "237", "kind": "property", "name": "type", "serializedName": "type", @@ -1655,34 +1881,34 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.type", "serializationOptions": { - "$id": "210", + "$id": "238", "json": { - "$id": "211", + "$id": "239", "name": "type" } } }, { - "$id": "212", + "$id": "240", "kind": "property", "name": "userAssignedIdentities", "serializedName": "userAssignedIdentities", "doc": "The identities assigned to this resource by the user.", "type": { - "$id": "213", + "$id": "241", "kind": "dict", "keyType": { - "$id": "214", + "$id": "242", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "215", + "$id": "243", "kind": "nullable", "type": { - "$id": "216", + "$id": "244", "kind": "model", "name": "UserAssignedIdentity", "namespace": "MgmtTypeSpec", @@ -1692,18 +1918,18 @@ "decorators": [], "properties": [ { - "$id": "217", + "$id": "245", "kind": "property", "name": "principalId", "serializedName": "principalId", "doc": "The principal ID of the assigned identity.", "type": { - "$id": "218", + "$id": "246", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "219", + "$id": "247", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1718,26 +1944,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.principalId", "serializationOptions": { - "$id": "220", + "$id": "248", "json": { - "$id": "221", + "$id": "249", "name": "principalId" } } }, { - "$id": "222", + "$id": "250", "kind": "property", "name": "clientId", "serializedName": "clientId", "doc": "The client ID of the assigned identity.", "type": { - "$id": "223", + "$id": "251", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "224", + "$id": "252", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1752,9 +1978,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.clientId", "serializationOptions": { - "$id": "225", + "$id": "253", "json": { - "$id": "226", + "$id": "254", "name": "clientId" } } @@ -1772,9 +1998,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.userAssignedIdentities", "serializationOptions": { - "$id": "227", + "$id": "255", "json": { - "$id": "228", + "$id": "256", "name": "userAssignedIdentities" } } @@ -1788,9 +2014,9 @@ "decorators": [], "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource.identity", "serializationOptions": { - "$id": "229", + "$id": "257", "json": { - "$id": "230", + "$id": "258", "name": "identity" } } @@ -1807,26 +2033,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", "serializationOptions": { - "$id": "231", + "$id": "259", "json": { - "$id": "232", + "$id": "260", "name": "value" } } }, { - "$id": "233", + "$id": "261", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "234", + "$id": "262", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "235", + "$id": "263", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -1841,9 +2067,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", "serializationOptions": { - "$id": "236", + "$id": "264", "json": { - "$id": "237", + "$id": "265", "name": "nextLink" } } @@ -1851,28 +2077,28 @@ ] }, { - "$ref": "134" + "$ref": "162" }, { - "$ref": "180" + "$ref": "208" }, { - "$ref": "198" + "$ref": "226" }, { - "$ref": "216" + "$ref": "244" }, { - "$ref": "135" + "$ref": "163" }, { - "$ref": "136" + "$ref": "164" }, { - "$ref": "152" + "$ref": "180" }, { - "$id": "238", + "$id": "266", "kind": "model", "name": "StartParameterBody", "namespace": "MgmtTypeSpec", @@ -1882,7 +2108,7 @@ "properties": [] }, { - "$id": "239", + "$id": "267", "kind": "model", "name": "StartRequest", "namespace": "MgmtTypeSpec", @@ -1892,13 +2118,13 @@ "decorators": [], "properties": [ { - "$id": "240", + "$id": "268", "kind": "property", "name": "startVm", "serializedName": "startVm", "doc": "The boolean value indicates whether to start the virtual machines before starting the SAP instances.", "type": { - "$id": "241", + "$id": "269", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1911,9 +2137,9 @@ "decorators": [], "crossLanguageDefinitionId": "MgmtTypeSpec.StartRequest.startVm", "serializationOptions": { - "$id": "242", + "$id": "270", "json": { - "$id": "243", + "$id": "271", "name": "startVm" } } @@ -1921,7 +2147,7 @@ ] }, { - "$id": "244", + "$id": "272", "kind": "model", "name": "OperationStatusResult", "namespace": "MgmtTypeSpec", @@ -1931,18 +2157,18 @@ "decorators": [], "properties": [ { - "$id": "245", + "$id": "273", "kind": "property", "name": "id", "serializedName": "id", "doc": "Fully qualified ID for the async operation.", "type": { - "$id": "246", + "$id": "274", "kind": "string", "name": "armResourceIdentifier", "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", "baseType": { - "$id": "247", + "$id": "275", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1957,21 +2183,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.id", "serializationOptions": { - "$id": "248", + "$id": "276", "json": { - "$id": "249", + "$id": "277", "name": "id" } } }, { - "$id": "250", + "$id": "278", "kind": "property", "name": "name", "serializedName": "name", "doc": "Name of the async operation.", "type": { - "$id": "251", + "$id": "279", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1984,21 +2210,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.name", "serializationOptions": { - "$id": "252", + "$id": "280", "json": { - "$id": "253", + "$id": "281", "name": "name" } } }, { - "$id": "254", + "$id": "282", "kind": "property", "name": "status", "serializedName": "status", "doc": "Operation status.", "type": { - "$id": "255", + "$id": "283", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2011,21 +2237,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.status", "serializationOptions": { - "$id": "256", + "$id": "284", "json": { - "$id": "257", + "$id": "285", "name": "status" } } }, { - "$id": "258", + "$id": "286", "kind": "property", "name": "percentComplete", "serializedName": "percentComplete", "doc": "Percent of the operation that is complete.", "type": { - "$id": "259", + "$id": "287", "kind": "float64", "name": "float64", "crossLanguageDefinitionId": "TypeSpec.float64", @@ -2038,26 +2264,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.percentComplete", "serializationOptions": { - "$id": "260", + "$id": "288", "json": { - "$id": "261", + "$id": "289", "name": "percentComplete" } } }, { - "$id": "262", + "$id": "290", "kind": "property", "name": "startTime", "serializedName": "startTime", "doc": "The start time of the operation.", "type": { - "$id": "263", + "$id": "291", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "264", + "$id": "292", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2073,26 +2299,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.startTime", "serializationOptions": { - "$id": "265", + "$id": "293", "json": { - "$id": "266", + "$id": "294", "name": "startTime" } } }, { - "$id": "267", + "$id": "295", "kind": "property", "name": "endTime", "serializedName": "endTime", "doc": "The end time of the operation.", "type": { - "$id": "268", + "$id": "296", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "269", + "$id": "297", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2108,25 +2334,25 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.endTime", "serializationOptions": { - "$id": "270", + "$id": "298", "json": { - "$id": "271", + "$id": "299", "name": "endTime" } } }, { - "$id": "272", + "$id": "300", "kind": "property", "name": "operations", "serializedName": "operations", "doc": "The operations list.", "type": { - "$id": "273", + "$id": "301", "kind": "array", "name": "ArrayOperationStatusResult", "valueType": { - "$ref": "244" + "$ref": "272" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -2138,21 +2364,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.operations", "serializationOptions": { - "$id": "274", + "$id": "302", "json": { - "$id": "275", + "$id": "303", "name": "operations" } } }, { - "$id": "276", + "$id": "304", "kind": "property", "name": "error", "serializedName": "error", "doc": "If present, details of the operation error.", "type": { - "$ref": "99" + "$ref": "127" }, "optional": true, "readOnly": false, @@ -2161,26 +2387,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.error", "serializationOptions": { - "$id": "277", + "$id": "305", "json": { - "$id": "278", + "$id": "306", "name": "error" } } }, { - "$id": "279", + "$id": "307", "kind": "property", "name": "resourceId", "serializedName": "resourceId", "doc": "Fully qualified ID of the resource against which the original async operation was started.", "type": { - "$id": "280", + "$id": "308", "kind": "string", "name": "armResourceIdentifier", "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", "baseType": { - "$id": "281", + "$id": "309", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2195,9 +2421,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.resourceId", "serializationOptions": { - "$id": "282", + "$id": "310", "json": { - "$id": "283", + "$id": "311", "name": "resourceId" } } @@ -2205,7 +2431,7 @@ ] }, { - "$id": "284", + "$id": "312", "kind": "model", "name": "ArmOperationStatusResourceProvisioningState", "namespace": "MgmtTypeSpec", @@ -2215,7 +2441,7 @@ "decorators": [], "properties": [ { - "$id": "285", + "$id": "313", "kind": "property", "name": "status", "serializedName": "status", @@ -2230,21 +2456,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.status", "serializationOptions": { - "$id": "286", + "$id": "314", "json": { - "$id": "287", + "$id": "315", "name": "status" } } }, { - "$id": "288", + "$id": "316", "kind": "path", "name": "id", "serializedName": "id", "doc": "The unique identifier for the operationStatus resource", "type": { - "$id": "289", + "$id": "317", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2260,13 +2486,13 @@ "correspondingMethodParams": [] }, { - "$id": "290", + "$id": "318", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the operationStatus resource", "type": { - "$id": "291", + "$id": "319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2279,26 +2505,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.name", "serializationOptions": { - "$id": "292", + "$id": "320", "json": { - "$id": "293", + "$id": "321", "name": "name" } } }, { - "$id": "294", + "$id": "322", "kind": "property", "name": "startTime", "serializedName": "startTime", "doc": "Operation start time", "type": { - "$id": "295", + "$id": "323", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "296", + "$id": "324", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2314,26 +2540,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.startTime", "serializationOptions": { - "$id": "297", + "$id": "325", "json": { - "$id": "298", + "$id": "326", "name": "startTime" } } }, { - "$id": "299", + "$id": "327", "kind": "property", "name": "endTime", "serializedName": "endTime", "doc": "Operation complete time", "type": { - "$id": "300", + "$id": "328", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "301", + "$id": "329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2349,21 +2575,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.endTime", "serializationOptions": { - "$id": "302", + "$id": "330", "json": { - "$id": "303", + "$id": "331", "name": "endTime" } } }, { - "$id": "304", + "$id": "332", "kind": "property", "name": "percentComplete", "serializedName": "percentComplete", "doc": "The progress made toward completing the operation", "type": { - "$id": "305", + "$id": "333", "kind": "float64", "name": "float64", "crossLanguageDefinitionId": "TypeSpec.float64", @@ -2376,21 +2602,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.percentComplete", "serializationOptions": { - "$id": "306", + "$id": "334", "json": { - "$id": "307", + "$id": "335", "name": "percentComplete" } } }, { - "$id": "308", + "$id": "336", "kind": "property", "name": "error", "serializedName": "error", "doc": "Errors that occurred if the operation ended with Canceled or Failed status", "type": { - "$ref": "99" + "$ref": "127" }, "optional": true, "readOnly": true, @@ -2399,9 +2625,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.error", "serializationOptions": { - "$id": "309", + "$id": "337", "json": { - "$id": "310", + "$id": "338", "name": "error" } } @@ -2409,7 +2635,7 @@ ] }, { - "$id": "311", + "$id": "339", "kind": "model", "name": "Foo", "namespace": "MgmtTypeSpec", @@ -2418,7 +2644,7 @@ "doc": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", "decorators": [], "baseModel": { - "$id": "312", + "$id": "340", "kind": "model", "name": "TrackedResource", "namespace": "MgmtTypeSpec", @@ -2428,27 +2654,27 @@ "summary": "Tracked Resource", "decorators": [], "baseModel": { - "$ref": "136" + "$ref": "164" }, "properties": [ { - "$id": "313", + "$id": "341", "kind": "property", "name": "tags", "serializedName": "tags", "doc": "Resource tags.", "type": { - "$id": "314", + "$id": "342", "kind": "dict", "keyType": { - "$id": "315", + "$id": "343", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "316", + "$id": "344", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2463,21 +2689,21 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.tags", "serializationOptions": { - "$id": "317", + "$id": "345", "json": { - "$id": "318", + "$id": "346", "name": "tags" } } }, { - "$id": "319", + "$id": "347", "kind": "property", "name": "location", "serializedName": "location", "doc": "The geo-location where the resource lives", "type": { - "$id": "320", + "$id": "348", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2490,9 +2716,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location", "serializationOptions": { - "$id": "321", + "$id": "349", "json": { - "$id": "322", + "$id": "350", "name": "location" } } @@ -2501,13 +2727,13 @@ }, "properties": [ { - "$id": "323", + "$id": "351", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "324", + "$id": "352", "kind": "model", "name": "FooProperties", "namespace": "MgmtTypeSpec", @@ -2515,23 +2741,23 @@ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", "decorators": [ { - "$id": "325", + "$id": "353", "name": "Azure.ClientGenerator.Core.@useSystemTextJsonConverter", "arguments": { - "$id": "326", + "$id": "354", "scope": "csharp" } } ], "properties": [ { - "$id": "327", + "$id": "355", "kind": "property", "name": "serviceUrl", "serializedName": "serviceUrl", "doc": "the service url", "type": { - "$id": "328", + "$id": "356", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2543,30 +2769,30 @@ "flatten": false, "decorators": [ { - "$id": "329", + "$id": "357", "name": "Azure.ClientGenerator.Core.@deserializeEmptyStringAsNull", "arguments": { - "$id": "330" + "$id": "358" } } ], "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.serviceUrl", "serializationOptions": { - "$id": "331", + "$id": "359", "json": { - "$id": "332", + "$id": "360", "name": "serviceUrl" } } }, { - "$id": "333", + "$id": "361", "kind": "property", "name": "something", "serializedName": "something", "doc": "something", "type": { - "$id": "334", + "$id": "362", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2579,21 +2805,21 @@ "decorators": [], "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.something", "serializationOptions": { - "$id": "335", + "$id": "363", "json": { - "$id": "336", + "$id": "364", "name": "something" } } }, { - "$id": "337", + "$id": "365", "kind": "property", "name": "boolValue", "serializedName": "boolValue", "doc": "boolean value", "type": { - "$id": "338", + "$id": "366", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -2606,21 +2832,21 @@ "decorators": [], "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.boolValue", "serializationOptions": { - "$id": "339", + "$id": "367", "json": { - "$id": "340", + "$id": "368", "name": "boolValue" } } }, { - "$id": "341", + "$id": "369", "kind": "property", "name": "floatValue", "serializedName": "floatValue", "doc": "float value", "type": { - "$id": "342", + "$id": "370", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -2633,21 +2859,21 @@ "decorators": [], "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.floatValue", "serializationOptions": { - "$id": "343", + "$id": "371", "json": { - "$id": "344", + "$id": "372", "name": "floatValue" } } }, { - "$id": "345", + "$id": "373", "kind": "property", "name": "doubleValue", "serializedName": "doubleValue", "doc": "double value", "type": { - "$id": "346", + "$id": "374", "kind": "float64", "name": "float64", "crossLanguageDefinitionId": "TypeSpec.float64", @@ -2660,25 +2886,25 @@ "decorators": [], "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.doubleValue", "serializationOptions": { - "$id": "347", + "$id": "375", "json": { - "$id": "348", + "$id": "376", "name": "doubleValue" } } }, { - "$id": "349", + "$id": "377", "kind": "property", "name": "testResource", "serializedName": "testResource", "type": { - "$id": "350", + "$id": "378", "kind": "string", "name": "armResourceType", "crossLanguageDefinitionId": "Azure.Core.armResourceType", "baseType": { - "$id": "351", + "$id": "379", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2693,9 +2919,9 @@ "decorators": [], "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.testResource", "serializationOptions": { - "$id": "352", + "$id": "380", "json": { - "$id": "353", + "$id": "381", "name": "testResource" } } @@ -2709,21 +2935,21 @@ "decorators": [], "crossLanguageDefinitionId": "MgmtTypeSpec.Foo.properties", "serializationOptions": { - "$id": "354", + "$id": "382", "json": { - "$id": "355", + "$id": "383", "name": "properties" } } }, { - "$id": "356", + "$id": "384", "kind": "path", "name": "name", "serializedName": "name", "doc": "The name of the Foo", "type": { - "$id": "357", + "$id": "385", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2739,12 +2965,12 @@ "correspondingMethodParams": [] }, { - "$id": "358", + "$id": "386", "kind": "property", "name": "extendedLocation", "serializedName": "extendedLocation", "type": { - "$id": "359", + "$id": "387", "kind": "model", "name": "ExtendedLocation", "namespace": "MgmtTypeSpec", @@ -2754,13 +2980,13 @@ "decorators": [], "properties": [ { - "$id": "360", + "$id": "388", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the extended location.", "type": { - "$id": "361", + "$id": "389", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2773,15 +2999,15 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtendedLocation.name", "serializationOptions": { - "$id": "362", + "$id": "390", "json": { - "$id": "363", + "$id": "391", "name": "name" } } }, { - "$id": "364", + "$id": "392", "kind": "property", "name": "type", "serializedName": "type", @@ -2796,9 +3022,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtendedLocation.type", "serializationOptions": { - "$id": "365", + "$id": "393", "json": { - "$id": "366", + "$id": "394", "name": "type" } } @@ -2812,9 +3038,9 @@ "decorators": [], "crossLanguageDefinitionId": "MgmtTypeSpec.Foo.extendedLocation", "serializationOptions": { - "$id": "367", + "$id": "395", "json": { - "$id": "368", + "$id": "396", "name": "extendedLocation" } } @@ -2822,16 +3048,16 @@ ] }, { - "$ref": "324" + "$ref": "352" }, { - "$ref": "359" + "$ref": "387" }, { - "$ref": "312" + "$ref": "340" }, { - "$id": "369", + "$id": "397", "kind": "model", "name": "FooListResult", "namespace": "MgmtTypeSpec", @@ -2841,17 +3067,17 @@ "decorators": [], "properties": [ { - "$id": "370", + "$id": "398", "kind": "property", "name": "value", "serializedName": "value", "doc": "The Foo items on this page", "type": { - "$id": "371", + "$id": "399", "kind": "array", "name": "ArrayFoo", "valueType": { - "$ref": "311" + "$ref": "339" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -2863,26 +3089,26 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", "serializationOptions": { - "$id": "372", + "$id": "400", "json": { - "$id": "373", + "$id": "401", "name": "value" } } }, { - "$id": "374", + "$id": "402", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "375", + "$id": "403", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "376", + "$id": "404", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2897,9 +3123,9 @@ "decorators": [], "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", "serializationOptions": { - "$id": "377", + "$id": "405", "json": { - "$id": "378", + "$id": "406", "name": "nextLink" } } @@ -2909,19 +3135,19 @@ ], "clients": [ { - "$id": "379", + "$id": "407", "kind": "client", "name": "MgmtTypeSpecClient", "namespace": "MgmtTypeSpec", "methods": [], "parameters": [ { - "$id": "380", + "$id": "408", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "381", + "$id": "409", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2935,9 +3161,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "382", + "$id": "410", "type": { - "$id": "383", + "$id": "411", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2948,12 +3174,12 @@ ], "decorators": [ { - "$id": "384", + "$id": "412", "name": "TypeSpec.@service", "arguments": { - "$id": "385", + "$id": "413", "options": { - "$id": "386", + "$id": "414", "title": "MgmtTestClient" } } @@ -2965,13 +3191,13 @@ ], "children": [ { - "$id": "387", + "$id": "415", "kind": "client", "name": "Operations", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "388", + "$id": "416", "kind": "paging", "name": "list", "accessibility": "public", @@ -2980,19 +3206,19 @@ ], "doc": "List the operations for the provider", "operation": { - "$id": "389", + "$id": "417", "name": "list", "resourceName": "Operations", "doc": "List the operations for the provider", "accessibility": "public", "parameters": [ { - "$id": "390", + "$id": "418", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "391", + "$id": "419", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3006,9 +3232,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "392", + "$id": "420", "type": { - "$id": "393", + "$id": "421", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3019,24 +3245,11 @@ "skipUrlEncoding": false }, { - "$id": "394", + "$id": "422", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "395", - "kind": "constant", - "name": "listContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "396", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -3051,12 +3264,12 @@ ], "responses": [ { - "$id": "397", + "$id": "423", "statusCodes": [ 200 ], "bodyType": { - "$ref": "52" + "$ref": "80" }, "headers": [], "isErrorResponse": false, @@ -3076,11 +3289,11 @@ }, "parameters": [ { - "$id": "398", + "$id": "424", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "395" + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -3094,9 +3307,9 @@ } ], "response": { - "$id": "399", + "$id": "425", "type": { - "$ref": "54" + "$ref": "82" }, "resultSegments": [ "value" @@ -3107,12 +3320,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", "pagingMetadata": { - "$id": "400", + "$id": "426", "itemPropertySegments": [ "value" ], "nextLink": { - "$id": "401", + "$id": "427", "responseSegments": [ "nextLink" ], @@ -3123,12 +3336,12 @@ ], "parameters": [ { - "$id": "402", + "$id": "428", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "403", + "$id": "429", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3142,9 +3355,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "404", + "$id": "430", "type": { - "$id": "405", + "$id": "431", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3159,17 +3372,17 @@ "2024-05-01" ], "parent": { - "$ref": "379" + "$ref": "407" } }, { - "$id": "406", + "$id": "432", "kind": "client", "name": "PrivateLinks", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "407", + "$id": "433", "kind": "paging", "name": "GetAllPrivateLinkResources", "accessibility": "public", @@ -3178,19 +3391,19 @@ ], "doc": "list private links on the given resource", "operation": { - "$id": "408", + "$id": "434", "name": "GetAllPrivateLinkResources", "resourceName": "PrivateLinkResource", "doc": "list private links on the given resource", "accessibility": "public", "parameters": [ { - "$id": "409", + "$id": "435", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "410", + "$id": "436", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3204,9 +3417,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "411", + "$id": "437", "type": { - "$id": "412", + "$id": "438", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3217,17 +3430,17 @@ "skipUrlEncoding": false }, { - "$id": "413", + "$id": "439", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "414", + "$id": "440", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "415", + "$id": "441", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3246,12 +3459,12 @@ "skipUrlEncoding": false }, { - "$id": "416", + "$id": "442", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "417", + "$id": "443", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3268,24 +3481,11 @@ "skipUrlEncoding": false }, { - "$id": "418", + "$id": "444", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "419", - "kind": "constant", - "name": "listByMongoClusterContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "420", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -3300,12 +3500,12 @@ ], "responses": [ { - "$id": "421", + "$id": "445", "statusCodes": [ 200 ], "bodyType": { - "$ref": "131" + "$ref": "159" }, "headers": [], "isErrorResponse": false, @@ -3325,12 +3525,12 @@ }, "parameters": [ { - "$id": "422", + "$id": "446", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "423", + "$id": "447", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3347,11 +3547,11 @@ "skipUrlEncoding": false }, { - "$id": "424", + "$id": "448", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "419" + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -3365,9 +3565,9 @@ } ], "response": { - "$id": "425", + "$id": "449", "type": { - "$ref": "133" + "$ref": "161" }, "resultSegments": [ "value" @@ -3378,12 +3578,12 @@ "generateProtocol": true, "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.listByMongoCluster", "pagingMetadata": { - "$id": "426", + "$id": "450", "itemPropertySegments": [ "value" ], "nextLink": { - "$id": "427", + "$id": "451", "responseSegments": [ "nextLink" ], @@ -3392,7 +3592,7 @@ } }, { - "$id": "428", + "$id": "452", "kind": "lro", "name": "start", "accessibility": "public", @@ -3401,19 +3601,19 @@ ], "doc": "Starts the SAP Application Server Instance.", "operation": { - "$id": "429", + "$id": "453", "name": "start", "resourceName": "PrivateLinks", "doc": "Starts the SAP Application Server Instance.", "accessibility": "public", "parameters": [ { - "$id": "430", + "$id": "454", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "431", + "$id": "455", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3427,9 +3627,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "432", + "$id": "456", "type": { - "$id": "433", + "$id": "457", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3440,17 +3640,17 @@ "skipUrlEncoding": false }, { - "$id": "434", + "$id": "458", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "435", + "$id": "459", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "436", + "$id": "460", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3469,12 +3669,12 @@ "skipUrlEncoding": false }, { - "$id": "437", + "$id": "461", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "438", + "$id": "462", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3491,12 +3691,12 @@ "skipUrlEncoding": false }, { - "$id": "439", + "$id": "463", "name": "privateLinkResourceName", "nameInRequest": "privateLinkResourceName", "doc": "The name of the private link associated with the Azure resource.", "type": { - "$id": "440", + "$id": "464", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3513,25 +3713,12 @@ "skipUrlEncoding": false }, { - "$id": "441", + "$id": "465", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "442", - "kind": "constant", - "name": "startContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "443", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -3544,24 +3731,11 @@ "skipUrlEncoding": false }, { - "$id": "444", + "$id": "466", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "445", - "kind": "constant", - "name": "startContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "446", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -3574,12 +3748,12 @@ "skipUrlEncoding": false }, { - "$id": "447", + "$id": "467", "name": "body", "nameInRequest": "body", "doc": "SAP Application server instance start request body.", "type": { - "$ref": "239" + "$ref": "267" }, "location": "Body", "isApiVersion": false, @@ -3594,18 +3768,18 @@ ], "responses": [ { - "$id": "448", + "$id": "468", "statusCodes": [ 202 ], "headers": [ { - "$id": "449", + "$id": "469", "name": "location", "nameInResponse": "Location", "doc": "The Location header contains the URL where the status of the long running operation can be checked.", "type": { - "$id": "450", + "$id": "470", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3613,12 +3787,12 @@ } }, { - "$id": "451", + "$id": "471", "name": "retryAfter", "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "452", + "$id": "472", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -3629,12 +3803,12 @@ "isErrorResponse": false }, { - "$id": "453", + "$id": "473", "statusCodes": [ 200 ], "bodyType": { - "$ref": "244" + "$ref": "272" }, "headers": [], "isErrorResponse": false, @@ -3657,12 +3831,12 @@ }, "parameters": [ { - "$id": "454", + "$id": "474", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "455", + "$id": "475", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3679,12 +3853,12 @@ "skipUrlEncoding": false }, { - "$id": "456", + "$id": "476", "name": "privateLinkResourceName", "nameInRequest": "privateLinkResourceName", "doc": "The name of the private link associated with the Azure resource.", "type": { - "$id": "457", + "$id": "477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3701,12 +3875,12 @@ "skipUrlEncoding": false }, { - "$id": "458", + "$id": "478", "name": "body", "nameInRequest": "body", "doc": "The content of the action request", "type": { - "$ref": "238" + "$ref": "266" }, "location": "", "isApiVersion": false, @@ -3719,25 +3893,12 @@ "skipUrlEncoding": false }, { - "$id": "459", + "$id": "479", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "460", - "kind": "constant", - "name": "startContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "461", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -3750,24 +3911,11 @@ "skipUrlEncoding": false }, { - "$id": "462", + "$id": "480", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "463", - "kind": "constant", - "name": "startContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "464", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -3781,9 +3929,9 @@ } ], "response": { - "$id": "465", + "$id": "481", "type": { - "$ref": "244" + "$ref": "272" } }, "isOverride": false, @@ -3791,15 +3939,15 @@ "generateProtocol": true, "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.start", "lroMetadata": { - "$id": "466", + "$id": "482", "finalStateVia": 1, "finalResponse": { - "$id": "467", + "$id": "483", "statusCodes": [ 200 ], "bodyType": { - "$ref": "244" + "$ref": "272" } } } @@ -3807,12 +3955,12 @@ ], "parameters": [ { - "$id": "468", + "$id": "484", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "469", + "$id": "485", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3826,9 +3974,9 @@ "explode": false, "kind": "Client", "defaultValue": { - "$id": "470", + "$id": "486", "type": { - "$id": "471", + "$id": "487", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3839,10 +3987,10 @@ ], "decorators": [ { - "$id": "472", + "$id": "488", "name": "Azure.ResourceManager.@armResourceOperations", "arguments": { - "$id": "473" + "$id": "489" } } ], @@ -3851,17 +3999,17 @@ "2024-05-01" ], "parent": { - "$ref": "379" + "$ref": "407" } }, { - "$id": "474", + "$id": "490", "kind": "client", "name": "Foos", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "475", + "$id": "491", "kind": "lro", "name": "createOrUpdate", "accessibility": "public", @@ -3870,19 +4018,19 @@ ], "doc": "Create a Foo", "operation": { - "$id": "476", + "$id": "492", "name": "createOrUpdate", "resourceName": "Foo", "doc": "Create a Foo", "accessibility": "public", "parameters": [ { - "$id": "477", + "$id": "493", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "478", + "$id": "494", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3896,9 +4044,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "479", + "$id": "495", "type": { - "$id": "480", + "$id": "496", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3909,17 +4057,17 @@ "skipUrlEncoding": false }, { - "$id": "481", + "$id": "497", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "482", + "$id": "498", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "483", + "$id": "499", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3938,12 +4086,12 @@ "skipUrlEncoding": false }, { - "$id": "484", + "$id": "500", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "485", + "$id": "501", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3960,12 +4108,12 @@ "skipUrlEncoding": false }, { - "$id": "486", + "$id": "502", "name": "fooName", "nameInRequest": "fooName", "doc": "The name of the Foo", "type": { - "$id": "487", + "$id": "503", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3982,25 +4130,12 @@ "skipUrlEncoding": false }, { - "$id": "488", + "$id": "504", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "489", - "kind": "constant", - "name": "createOrUpdateContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "490", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -4013,24 +4148,11 @@ "skipUrlEncoding": false }, { - "$id": "491", + "$id": "505", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "492", - "kind": "constant", - "name": "createOrUpdateContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "493", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -4043,12 +4165,12 @@ "skipUrlEncoding": false }, { - "$id": "494", + "$id": "506", "name": "resource", "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "311" + "$ref": "339" }, "location": "Body", "isApiVersion": false, @@ -4063,12 +4185,12 @@ ], "responses": [ { - "$id": "495", + "$id": "507", "statusCodes": [ 200 ], "bodyType": { - "$ref": "311" + "$ref": "339" }, "headers": [], "isErrorResponse": false, @@ -4077,21 +4199,21 @@ ] }, { - "$id": "496", + "$id": "508", "statusCodes": [ 201 ], "bodyType": { - "$ref": "311" + "$ref": "339" }, "headers": [ { - "$id": "497", + "$id": "509", "name": "azureAsyncOperation", "nameInResponse": "Azure-AsyncOperation", "doc": "A link to the status monitor", "type": { - "$id": "498", + "$id": "510", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4099,12 +4221,12 @@ } }, { - "$id": "499", + "$id": "511", "name": "retryAfter", "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "500", + "$id": "512", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4131,112 +4253,112 @@ "decorators": [], "examples": [ { - "$id": "501", + "$id": "513", "kind": "http", "name": "Create a foo", "description": "Create a foo", "filePath": "2024-05-01/Foos_CreateOrUpdate.json", "parameters": [ { - "$id": "502", + "$id": "514", "parameter": { - "$ref": "481" + "$ref": "497" }, "value": { - "$id": "503", + "$id": "515", "kind": "string", "type": { - "$ref": "482" + "$ref": "498" }, "value": "00000000-0000-0000-0000-000000000000" } }, { - "$id": "504", + "$id": "516", "parameter": { - "$ref": "484" + "$ref": "500" }, "value": { - "$id": "505", + "$id": "517", "kind": "string", "type": { - "$ref": "485" + "$ref": "501" }, "value": "myRg" } }, { - "$id": "506", + "$id": "518", "parameter": { - "$ref": "486" + "$ref": "502" }, "value": { - "$id": "507", + "$id": "519", "kind": "string", "type": { - "$ref": "487" + "$ref": "503" }, "value": "myFoo" } }, { - "$id": "508", + "$id": "520", "parameter": { - "$ref": "494" + "$ref": "506" }, "value": { - "$id": "509", + "$id": "521", "kind": "model", "type": { - "$ref": "311" + "$ref": "339" }, "value": { - "$id": "510", + "$id": "522", "properties": { - "$id": "511", + "$id": "523", "kind": "model", "type": { - "$ref": "324" + "$ref": "352" }, "value": { - "$id": "512", + "$id": "524", "serviceUrl": { - "$id": "513", + "$id": "525", "kind": "string", "type": { - "$ref": "328" + "$ref": "356" }, "value": "https://myService.com" }, "something": { - "$id": "514", + "$id": "526", "kind": "string", "type": { - "$ref": "334" + "$ref": "362" }, "value": "for test only" }, "boolValue": { - "$id": "515", + "$id": "527", "kind": "boolean", "type": { - "$ref": "338" + "$ref": "366" }, "value": true }, "floatValue": { - "$id": "516", + "$id": "528", "kind": "number", "type": { - "$ref": "342" + "$ref": "370" }, "value": 1.2 }, "doubleValue": { - "$id": "517", + "$id": "529", "kind": "number", "type": { - "$ref": "346" + "$ref": "374" }, "value": 1.2 } @@ -4248,88 +4370,88 @@ ], "responses": [ { - "$id": "518", + "$id": "530", "response": { - "$ref": "495" + "$ref": "507" }, "statusCode": 200, "bodyValue": { - "$id": "519", + "$id": "531", "kind": "model", "type": { - "$ref": "311" + "$ref": "339" }, "value": { - "$id": "520", + "$id": "532", "id": { - "$id": "521", + "$id": "533", "kind": "string", "type": { - "$ref": "138" + "$ref": "166" }, "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRg/providers/MgmtTypeSpec/foos/myFoo" }, "name": { - "$id": "522", + "$id": "534", "kind": "string", "type": { - "$ref": "143" + "$ref": "171" }, "value": "myFoo" }, "type": { - "$id": "523", + "$id": "535", "kind": "string", "type": { - "$ref": "147" + "$ref": "175" }, "value": "MgmtTypeSpec/foos" }, "properties": { - "$id": "524", + "$id": "536", "kind": "model", "type": { - "$ref": "324" + "$ref": "352" }, "value": { - "$id": "525", + "$id": "537", "serviceUrl": { - "$id": "526", + "$id": "538", "kind": "string", "type": { - "$ref": "328" + "$ref": "356" }, "value": "https://myService.com" }, "something": { - "$id": "527", + "$id": "539", "kind": "string", "type": { - "$ref": "334" + "$ref": "362" }, "value": "for test only" }, "boolValue": { - "$id": "528", + "$id": "540", "kind": "boolean", "type": { - "$ref": "338" + "$ref": "366" }, "value": true }, "floatValue": { - "$id": "529", + "$id": "541", "kind": "number", "type": { - "$ref": "342" + "$ref": "370" }, "value": 1.2 }, "doubleValue": { - "$id": "530", + "$id": "542", "kind": "number", "type": { - "$ref": "346" + "$ref": "374" }, "value": 1.2 } @@ -4344,12 +4466,12 @@ }, "parameters": [ { - "$id": "531", + "$id": "543", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "532", + "$id": "544", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4366,12 +4488,12 @@ "skipUrlEncoding": false }, { - "$id": "533", + "$id": "545", "name": "fooName", "nameInRequest": "fooName", "doc": "The name of the Foo", "type": { - "$id": "534", + "$id": "546", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4388,12 +4510,12 @@ "skipUrlEncoding": false }, { - "$id": "535", + "$id": "547", "name": "resource", "nameInRequest": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "311" + "$ref": "339" }, "location": "Body", "isApiVersion": false, @@ -4406,25 +4528,12 @@ "skipUrlEncoding": false }, { - "$id": "536", + "$id": "548", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "537", - "kind": "constant", - "name": "createOrUpdateContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "538", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -4437,24 +4546,11 @@ "skipUrlEncoding": false }, { - "$id": "539", + "$id": "549", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "540", - "kind": "constant", - "name": "createOrUpdateContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "541", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -4468,9 +4564,9 @@ } ], "response": { - "$id": "542", + "$id": "550", "type": { - "$ref": "311" + "$ref": "339" } }, "isOverride": false, @@ -4478,21 +4574,21 @@ "generateProtocol": true, "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.createOrUpdate", "lroMetadata": { - "$id": "543", + "$id": "551", "finalStateVia": 0, "finalResponse": { - "$id": "544", + "$id": "552", "statusCodes": [ 200 ], "bodyType": { - "$ref": "311" + "$ref": "339" } } } }, { - "$id": "545", + "$id": "553", "kind": "basic", "name": "get", "accessibility": "public", @@ -4501,19 +4597,19 @@ ], "doc": "Get a Foo", "operation": { - "$id": "546", + "$id": "554", "name": "get", "resourceName": "Foo", "doc": "Get a Foo", "accessibility": "public", "parameters": [ { - "$id": "547", + "$id": "555", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "548", + "$id": "556", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4527,9 +4623,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "549", + "$id": "557", "type": { - "$id": "550", + "$id": "558", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4540,17 +4636,17 @@ "skipUrlEncoding": false }, { - "$id": "551", + "$id": "559", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "552", + "$id": "560", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "553", + "$id": "561", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4569,12 +4665,12 @@ "skipUrlEncoding": false }, { - "$id": "554", + "$id": "562", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "555", + "$id": "563", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4591,12 +4687,12 @@ "skipUrlEncoding": false }, { - "$id": "556", + "$id": "564", "name": "fooName", "nameInRequest": "fooName", "doc": "The name of the Foo", "type": { - "$id": "557", + "$id": "565", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4613,24 +4709,11 @@ "skipUrlEncoding": false }, { - "$id": "558", + "$id": "566", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "559", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "560", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -4645,12 +4728,12 @@ ], "responses": [ { - "$id": "561", + "$id": "567", "statusCodes": [ 200 ], "bodyType": { - "$ref": "311" + "$ref": "339" }, "headers": [], "isErrorResponse": false, @@ -4669,50 +4752,50 @@ "decorators": [], "examples": [ { - "$id": "562", + "$id": "568", "kind": "http", "name": "Get a foo", "description": "Get a foo", "filePath": "2024-05-01/Foos_Get.json", "parameters": [ { - "$id": "563", + "$id": "569", "parameter": { - "$ref": "551" + "$ref": "559" }, "value": { - "$id": "564", + "$id": "570", "kind": "string", "type": { - "$ref": "552" + "$ref": "560" }, "value": "00000000-0000-0000-0000-000000000000" } }, { - "$id": "565", + "$id": "571", "parameter": { - "$ref": "554" + "$ref": "562" }, "value": { - "$id": "566", + "$id": "572", "kind": "string", "type": { - "$ref": "555" + "$ref": "563" }, "value": "myRg" } }, { - "$id": "567", + "$id": "573", "parameter": { - "$ref": "556" + "$ref": "564" }, "value": { - "$id": "568", + "$id": "574", "kind": "string", "type": { - "$ref": "557" + "$ref": "565" }, "value": "myFoo" } @@ -4720,64 +4803,64 @@ ], "responses": [ { - "$id": "569", + "$id": "575", "response": { - "$ref": "561" + "$ref": "567" }, "statusCode": 200, "bodyValue": { - "$id": "570", + "$id": "576", "kind": "model", "type": { - "$ref": "311" + "$ref": "339" }, "value": { - "$id": "571", + "$id": "577", "id": { - "$id": "572", + "$id": "578", "kind": "string", "type": { - "$ref": "138" + "$ref": "166" }, "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRg/providers/MgmtTypeSpec/foos/myFoo" }, "name": { - "$id": "573", + "$id": "579", "kind": "string", "type": { - "$ref": "143" + "$ref": "171" }, "value": "myFoo" }, "type": { - "$id": "574", + "$id": "580", "kind": "string", "type": { - "$ref": "147" + "$ref": "175" }, "value": "MgmtTypeSpec/foos" }, "properties": { - "$id": "575", + "$id": "581", "kind": "model", "type": { - "$ref": "324" + "$ref": "352" }, "value": { - "$id": "576", + "$id": "582", "serviceUrl": { - "$id": "577", + "$id": "583", "kind": "string", "type": { - "$ref": "328" + "$ref": "356" }, "value": "https://myService.com" }, "something": { - "$id": "578", + "$id": "584", "kind": "string", "type": { - "$ref": "334" + "$ref": "362" }, "value": "for test only" } @@ -4792,12 +4875,12 @@ }, "parameters": [ { - "$id": "579", + "$id": "585", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "580", + "$id": "586", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4814,12 +4897,12 @@ "skipUrlEncoding": false }, { - "$id": "581", + "$id": "587", "name": "fooName", "nameInRequest": "fooName", "doc": "The name of the Foo", "type": { - "$id": "582", + "$id": "588", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4836,11 +4919,11 @@ "skipUrlEncoding": false }, { - "$id": "583", + "$id": "589", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "559" + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -4854,9 +4937,9 @@ } ], "response": { - "$id": "584", + "$id": "590", "type": { - "$ref": "311" + "$ref": "339" } }, "isOverride": false, @@ -4865,7 +4948,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.get" }, { - "$id": "585", + "$id": "591", "kind": "lro", "name": "delete", "accessibility": "public", @@ -4874,19 +4957,19 @@ ], "doc": "Delete a Foo", "operation": { - "$id": "586", + "$id": "592", "name": "delete", "resourceName": "Foo", "doc": "Delete a Foo", "accessibility": "public", "parameters": [ { - "$id": "587", + "$id": "593", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "588", + "$id": "594", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4900,9 +4983,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "589", + "$id": "595", "type": { - "$id": "590", + "$id": "596", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4913,17 +4996,17 @@ "skipUrlEncoding": false }, { - "$id": "591", + "$id": "597", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "592", + "$id": "598", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "593", + "$id": "599", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4942,12 +5025,12 @@ "skipUrlEncoding": false }, { - "$id": "594", + "$id": "600", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "595", + "$id": "601", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4964,12 +5047,12 @@ "skipUrlEncoding": false }, { - "$id": "596", + "$id": "602", "name": "fooName", "nameInRequest": "fooName", "doc": "The name of the Foo", "type": { - "$id": "597", + "$id": "603", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4986,24 +5069,11 @@ "skipUrlEncoding": false }, { - "$id": "598", + "$id": "604", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "599", - "kind": "constant", - "name": "deleteContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "600", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -5018,18 +5088,18 @@ ], "responses": [ { - "$id": "601", + "$id": "605", "statusCodes": [ 202 ], "headers": [ { - "$id": "602", + "$id": "606", "name": "location", "nameInResponse": "Location", "doc": "The Location header contains the URL where the status of the long running operation can be checked.", "type": { - "$id": "603", + "$id": "607", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5037,12 +5107,12 @@ } }, { - "$id": "604", + "$id": "608", "name": "retryAfter", "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "605", + "$id": "609", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5053,7 +5123,7 @@ "isErrorResponse": false }, { - "$id": "606", + "$id": "610", "statusCodes": [ 204 ], @@ -5072,12 +5142,12 @@ }, "parameters": [ { - "$id": "607", + "$id": "611", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "608", + "$id": "612", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5094,12 +5164,12 @@ "skipUrlEncoding": false }, { - "$id": "609", + "$id": "613", "name": "fooName", "nameInRequest": "fooName", "doc": "The name of the Foo", "type": { - "$id": "610", + "$id": "614", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5116,24 +5186,11 @@ "skipUrlEncoding": false }, { - "$id": "611", + "$id": "615", "name": "accept", "nameInRequest": "accept", "type": { - "$id": "612", - "kind": "constant", - "name": "deleteContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "613", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -5147,17 +5204,17 @@ } ], "response": { - "$id": "614" + "$id": "616" }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.delete", "lroMetadata": { - "$id": "615", + "$id": "617", "finalStateVia": 1, "finalResponse": { - "$id": "616", + "$id": "618", "statusCodes": [ 204 ] @@ -5165,7 +5222,7 @@ } }, { - "$id": "617", + "$id": "619", "kind": "paging", "name": "list", "accessibility": "public", @@ -5174,19 +5231,19 @@ ], "doc": "List Foo resources by resource group", "operation": { - "$id": "618", + "$id": "620", "name": "list", "resourceName": "Foo", "doc": "List Foo resources by resource group", "accessibility": "public", "parameters": [ { - "$id": "619", + "$id": "621", "name": "apiVersion", "nameInRequest": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "620", + "$id": "622", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5200,9 +5257,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "621", + "$id": "623", "type": { - "$id": "622", + "$id": "624", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5213,17 +5270,17 @@ "skipUrlEncoding": false }, { - "$id": "623", + "$id": "625", "name": "subscriptionId", "nameInRequest": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "624", + "$id": "626", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "625", + "$id": "627", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5242,12 +5299,12 @@ "skipUrlEncoding": false }, { - "$id": "626", + "$id": "628", "name": "resourceGroupName", "nameInRequest": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "627", + "$id": "629", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5264,24 +5321,11 @@ "skipUrlEncoding": false }, { - "$id": "628", + "$id": "630", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "629", - "kind": "constant", - "name": "listContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "630", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -5301,7 +5345,7 @@ 200 ], "bodyType": { - "$ref": "369" + "$ref": "397" }, "headers": [], "isErrorResponse": false, @@ -5347,7 +5391,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "629" + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -5363,7 +5407,7 @@ "response": { "$id": "635", "type": { - "$ref": "371" + "$ref": "399" }, "resultSegments": [ "value" @@ -5434,7 +5478,7 @@ "2024-05-01" ], "parent": { - "$ref": "379" + "$ref": "407" } } ] diff --git a/test/TestProjects/ModelReaderWriterValidation-TypeSpec/tspCodeModel.json b/test/TestProjects/ModelReaderWriterValidation-TypeSpec/tspCodeModel.json index 089b0e7ccff..2971a8c0c52 100644 --- a/test/TestProjects/ModelReaderWriterValidation-TypeSpec/tspCodeModel.json +++ b/test/TestProjects/ModelReaderWriterValidation-TypeSpec/tspCodeModel.json @@ -451,9 +451,283 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "50", + "kind": "constant", + "name": "ModelXKind", + "namespace": "ModelReaderWriterValidationTypeSpec", + "usage": "Input,Output,Json", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "X", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "ModelYKind", + "namespace": "ModelReaderWriterValidationTypeSpec", + "usage": "Input,Output,Json", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "Y", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "op1ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "op1ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "op2ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "op2ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "op3ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "op3ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "op4ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "op4ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "70", + "kind": "constant", + "name": "op5ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "72", + "kind": "constant", + "name": "op6ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "74", + "kind": "constant", + "name": "op6ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "76", + "kind": "constant", + "name": "op7ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "78", + "kind": "constant", + "name": "op7ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "80", + "kind": "constant", + "name": "op8ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "82", + "kind": "constant", + "name": "op8ContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "84", "kind": "model", "name": "ModelAsStruct", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -463,13 +737,13 @@ "decorators": [], "properties": [ { - "$id": "51", + "$id": "85", "kind": "property", "name": "id", "serializedName": "id", "doc": "The id property.", "type": { - "$id": "52", + "$id": "86", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -482,9 +756,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelAsStruct.id", "serializationOptions": { - "$id": "53", + "$id": "87", "json": { - "$id": "54", + "$id": "88", "name": "id" } } @@ -492,7 +766,7 @@ ] }, { - "$id": "55", + "$id": "89", "kind": "model", "name": "ModelWithPersistableOnly", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -501,13 +775,13 @@ "decorators": [], "properties": [ { - "$id": "56", + "$id": "90", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name.", "type": { - "$id": "57", + "$id": "91", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -520,25 +794,25 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelWithPersistableOnly.name", "serializationOptions": { - "$id": "58", + "$id": "92", "json": { - "$id": "59", + "$id": "93", "name": "name" } } }, { - "$id": "60", + "$id": "94", "kind": "property", "name": "fields", "serializedName": "fields", "doc": "The fields property.", "type": { - "$id": "61", + "$id": "95", "kind": "array", "name": "Array", "valueType": { - "$id": "62", + "$id": "96", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -554,21 +828,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelWithPersistableOnly.fields", "serializationOptions": { - "$id": "63", + "$id": "97", "json": { - "$id": "64", + "$id": "98", "name": "fields" } } }, { - "$id": "65", + "$id": "99", "kind": "property", "name": "nullProperty", "serializedName": "nullProperty", "doc": "The nullable property.", "type": { - "$id": "66", + "$id": "100", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -581,31 +855,31 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelWithPersistableOnly.nullProperty", "serializationOptions": { - "$id": "67", + "$id": "101", "json": { - "$id": "68", + "$id": "102", "name": "nullProperty" } } }, { - "$id": "69", + "$id": "103", "kind": "property", "name": "keyValuePairs", "serializedName": "keyValuePairs", "doc": "The key value pairs property.", "type": { - "$id": "70", + "$id": "104", "kind": "dict", "keyType": { - "$id": "71", + "$id": "105", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "72", + "$id": "106", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -620,21 +894,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelWithPersistableOnly.keyValuePairs", "serializationOptions": { - "$id": "73", + "$id": "107", "json": { - "$id": "74", + "$id": "108", "name": "keyValuePairs" } } }, { - "$id": "75", + "$id": "109", "kind": "property", "name": "xProperty", "serializedName": "xProperty", "doc": "The x property.", "type": { - "$id": "76", + "$id": "110", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -647,9 +921,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelWithPersistableOnly.xProperty", "serializationOptions": { - "$id": "77", + "$id": "111", "json": { - "$id": "78", + "$id": "112", "name": "xProperty" } } @@ -657,7 +931,7 @@ ] }, { - "$id": "79", + "$id": "113", "kind": "model", "name": "BaseModel", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -666,13 +940,13 @@ "doc": "The BaseModel in the discriminated set", "decorators": [], "discriminatorProperty": { - "$id": "80", + "$id": "114", "kind": "property", "name": "kind", "serializedName": "kind", "doc": "The kind", "type": { - "$id": "81", + "$id": "115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -685,25 +959,25 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.BaseModel.kind", "serializationOptions": { - "$id": "82", + "$id": "116", "json": { - "$id": "83", + "$id": "117", "name": "kind" } } }, "properties": [ { - "$ref": "80" + "$ref": "114" }, { - "$id": "84", + "$id": "118", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property.", "type": { - "$id": "85", + "$id": "119", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -716,18 +990,18 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.BaseModel.name", "serializationOptions": { - "$id": "86", + "$id": "120", "json": { - "$id": "87", + "$id": "121", "name": "name" } } } ], "discriminatedSubtypes": { - "$id": "88", + "$id": "122", "X": { - "$id": "89", + "$id": "123", "kind": "model", "name": "ModelX", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -737,29 +1011,16 @@ "discriminatorValue": "X", "decorators": [], "baseModel": { - "$ref": "79" + "$ref": "113" }, "properties": [ { - "$id": "90", + "$id": "124", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "91", - "kind": "constant", - "name": "ModelXKind", - "namespace": "ModelReaderWriterValidationTypeSpec", - "usage": "Input,Output,Json", - "valueType": { - "$id": "92", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "X", - "decorators": [] + "$ref": "50" }, "optional": false, "readOnly": false, @@ -768,21 +1029,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelX.kind", "serializationOptions": { - "$id": "93", + "$id": "125", "json": { - "$id": "94", + "$id": "126", "name": "kind" } } }, { - "$id": "95", + "$id": "127", "kind": "property", "name": "fields", "serializedName": "fields", "doc": "Optional list.", "type": { - "$ref": "61" + "$ref": "95" }, "optional": true, "readOnly": false, @@ -791,21 +1052,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelX.fields", "serializationOptions": { - "$id": "96", + "$id": "128", "json": { - "$id": "97", + "$id": "129", "name": "fields" } } }, { - "$id": "98", + "$id": "130", "kind": "property", "name": "nullProperty", "serializedName": "nullProperty", "doc": "Nullable integer.", "type": { - "$id": "99", + "$id": "131", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -818,21 +1079,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelX.nullProperty", "serializationOptions": { - "$id": "100", + "$id": "132", "json": { - "$id": "101", + "$id": "133", "name": "nullProperty" } } }, { - "$id": "102", + "$id": "134", "kind": "property", "name": "keyValuePairs", "serializedName": "keyValuePairs", "doc": "Optional dictionary.", "type": { - "$ref": "70" + "$ref": "104" }, "optional": true, "readOnly": false, @@ -841,21 +1102,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelX.keyValuePairs", "serializationOptions": { - "$id": "103", + "$id": "135", "json": { - "$id": "104", + "$id": "136", "name": "keyValuePairs" } } }, { - "$id": "105", + "$id": "137", "kind": "property", "name": "xProperty", "serializedName": "xProperty", "doc": "The XProperty property.", "type": { - "$id": "106", + "$id": "138", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -868,9 +1129,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelX.xProperty", "serializationOptions": { - "$id": "107", + "$id": "139", "json": { - "$id": "108", + "$id": "140", "name": "xProperty" } } @@ -878,7 +1139,7 @@ ] }, "Y": { - "$id": "109", + "$id": "141", "kind": "model", "name": "ModelY", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -888,29 +1149,16 @@ "discriminatorValue": "Y", "decorators": [], "baseModel": { - "$ref": "79" + "$ref": "113" }, "properties": [ { - "$id": "110", + "$id": "142", "kind": "property", "name": "kind", "serializedName": "kind", "type": { - "$id": "111", - "kind": "constant", - "name": "ModelYKind", - "namespace": "ModelReaderWriterValidationTypeSpec", - "usage": "Input,Output,Json", - "valueType": { - "$id": "112", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "Y", - "decorators": [] + "$ref": "52" }, "optional": false, "readOnly": false, @@ -919,21 +1167,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelY.kind", "serializationOptions": { - "$id": "113", + "$id": "143", "json": { - "$id": "114", + "$id": "144", "name": "kind" } } }, { - "$id": "115", + "$id": "145", "kind": "property", "name": "yProperty", "serializedName": "yProperty", "doc": "The YProperty property.", "type": { - "$id": "116", + "$id": "146", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -946,9 +1194,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelY.yProperty", "serializationOptions": { - "$id": "117", + "$id": "147", "json": { - "$id": "118", + "$id": "148", "name": "yProperty" } } @@ -958,13 +1206,13 @@ } }, { - "$ref": "89" + "$ref": "123" }, { - "$ref": "109" + "$ref": "141" }, { - "$id": "119", + "$id": "149", "kind": "model", "name": "AvailabilitySetData", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -973,7 +1221,7 @@ "doc": "The availability set data", "decorators": [], "baseModel": { - "$id": "120", + "$id": "150", "kind": "model", "name": "TrackedResourceData", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -983,13 +1231,13 @@ "decorators": [], "properties": [ { - "$id": "121", + "$id": "151", "kind": "property", "name": "id", "serializedName": "id", "doc": "The id property.", "type": { - "$id": "122", + "$id": "152", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1002,21 +1250,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.TrackedResourceData.id", "serializationOptions": { - "$id": "123", + "$id": "153", "json": { - "$id": "124", + "$id": "154", "name": "id" } } }, { - "$id": "125", + "$id": "155", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property.", "type": { - "$id": "126", + "$id": "156", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1029,21 +1277,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.TrackedResourceData.name", "serializationOptions": { - "$id": "127", + "$id": "157", "json": { - "$id": "128", + "$id": "158", "name": "name" } } }, { - "$id": "129", + "$id": "159", "kind": "property", "name": "resourceType", "serializedName": "type", "doc": "The resource type.", "type": { - "$id": "130", + "$id": "160", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1056,21 +1304,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.TrackedResourceData.type", "serializationOptions": { - "$id": "131", + "$id": "161", "json": { - "$id": "132", + "$id": "162", "name": "type" } } }, { - "$id": "133", + "$id": "163", "kind": "property", "name": "location", "serializedName": "location", "doc": "The location property.", "type": { - "$id": "134", + "$id": "164", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1083,21 +1331,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.TrackedResourceData.location", "serializationOptions": { - "$id": "135", + "$id": "165", "json": { - "$id": "136", + "$id": "166", "name": "location" } } }, { - "$id": "137", + "$id": "167", "kind": "property", "name": "tags", "serializedName": "tags", "doc": "The tags property.", "type": { - "$ref": "70" + "$ref": "104" }, "optional": true, "readOnly": false, @@ -1106,9 +1354,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.TrackedResourceData.tags", "serializationOptions": { - "$id": "138", + "$id": "168", "json": { - "$id": "139", + "$id": "169", "name": "tags" } } @@ -1117,13 +1365,13 @@ }, "properties": [ { - "$id": "140", + "$id": "170", "kind": "property", "name": "sku", "serializedName": "sku", "doc": "The sku.", "type": { - "$id": "141", + "$id": "171", "kind": "model", "name": "ComputeSku", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -1132,13 +1380,13 @@ "decorators": [], "properties": [ { - "$id": "142", + "$id": "172", "kind": "property", "name": "name", "serializedName": "name", "doc": "The sku name.", "type": { - "$id": "143", + "$id": "173", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1151,21 +1399,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ComputeSku.name", "serializationOptions": { - "$id": "144", + "$id": "174", "json": { - "$id": "145", + "$id": "175", "name": "name" } } }, { - "$id": "146", + "$id": "176", "kind": "property", "name": "tier", "serializedName": "tier", "doc": "Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> **Standard**<br /><br /> **Basic**.", "type": { - "$id": "147", + "$id": "177", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1178,21 +1426,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ComputeSku.tier", "serializationOptions": { - "$id": "148", + "$id": "178", "json": { - "$id": "149", + "$id": "179", "name": "tier" } } }, { - "$id": "150", + "$id": "180", "kind": "property", "name": "capacity", "serializedName": "capacity", "doc": "Specifies the number of virtual machines in the scale set.", "type": { - "$id": "151", + "$id": "181", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -1205,9 +1453,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ComputeSku.capacity", "serializationOptions": { - "$id": "152", + "$id": "182", "json": { - "$id": "153", + "$id": "183", "name": "capacity" } } @@ -1221,21 +1469,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.AvailabilitySetData.sku", "serializationOptions": { - "$id": "154", + "$id": "184", "json": { - "$id": "155", + "$id": "185", "name": "sku" } } }, { - "$id": "156", + "$id": "186", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The properties property.", "type": { - "$id": "157", + "$id": "187", "kind": "model", "name": "AvailabilitySetProperties", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -1245,17 +1493,17 @@ "decorators": [], "properties": [ { - "$id": "158", + "$id": "188", "kind": "property", "name": "virtualMachines", "serializedName": "virtualMachines", "doc": "The virtual machines.", "type": { - "$id": "159", + "$id": "189", "kind": "array", "name": "ArrayWritableSubResource", "valueType": { - "$id": "160", + "$id": "190", "kind": "model", "name": "WritableSubResource", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -1265,13 +1513,13 @@ "decorators": [], "properties": [ { - "$id": "161", + "$id": "191", "kind": "property", "name": "id", "serializedName": "id", "doc": "The resource id", "type": { - "$id": "162", + "$id": "192", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1284,9 +1532,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.WritableSubResource.id", "serializationOptions": { - "$id": "163", + "$id": "193", "json": { - "$id": "164", + "$id": "194", "name": "id" } } @@ -1303,21 +1551,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.AvailabilitySetProperties.virtualMachines", "serializationOptions": { - "$id": "165", + "$id": "195", "json": { - "$id": "166", + "$id": "196", "name": "virtualMachines" } } }, { - "$id": "167", + "$id": "197", "kind": "property", "name": "platformFaultDomainCount", "serializedName": "platformFaultDomainCount", "doc": "The platform fault domain count property.", "type": { - "$id": "168", + "$id": "198", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1330,21 +1578,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.AvailabilitySetProperties.platformFaultDomainCount", "serializationOptions": { - "$id": "169", + "$id": "199", "json": { - "$id": "170", + "$id": "200", "name": "platformFaultDomainCount" } } }, { - "$id": "171", + "$id": "201", "kind": "property", "name": "platformUpdateDomainCount", "serializedName": "platformUpdateDomainCount", "doc": "The platform update domain count property.", "type": { - "$id": "172", + "$id": "202", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1357,9 +1605,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.AvailabilitySetProperties.platformUpdateDomainCount", "serializationOptions": { - "$id": "173", + "$id": "203", "json": { - "$id": "174", + "$id": "204", "name": "platformUpdateDomainCount" } } @@ -1373,9 +1621,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.AvailabilitySetData.properties", "serializationOptions": { - "$id": "175", + "$id": "205", "json": { - "$id": "176", + "$id": "206", "name": "properties" } } @@ -1383,19 +1631,19 @@ ] }, { - "$ref": "141" + "$ref": "171" }, { - "$ref": "157" + "$ref": "187" }, { - "$ref": "160" + "$ref": "190" }, { - "$ref": "120" + "$ref": "150" }, { - "$id": "177", + "$id": "207", "kind": "model", "name": "ResourceProviderData", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -1405,13 +1653,13 @@ "decorators": [], "properties": [ { - "$id": "178", + "$id": "208", "kind": "property", "name": "id", "serializedName": "id", "doc": "The provider ID.", "type": { - "$id": "179", + "$id": "209", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1424,21 +1672,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceProviderData.id", "serializationOptions": { - "$id": "180", + "$id": "210", "json": { - "$id": "181", + "$id": "211", "name": "id" } } }, { - "$id": "182", + "$id": "212", "kind": "property", "name": "namespace", "serializedName": "namespace", "doc": "The namespace of the resource provider.", "type": { - "$id": "183", + "$id": "213", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1451,21 +1699,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceProviderData.namespace", "serializationOptions": { - "$id": "184", + "$id": "214", "json": { - "$id": "185", + "$id": "215", "name": "namespace" } } }, { - "$id": "186", + "$id": "216", "kind": "property", "name": "registrationState", "serializedName": "registrationState", "doc": "The registration state of the resource provider.", "type": { - "$id": "187", + "$id": "217", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1478,21 +1726,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceProviderData.registrationState", "serializationOptions": { - "$id": "188", + "$id": "218", "json": { - "$id": "189", + "$id": "219", "name": "registrationState" } } }, { - "$id": "190", + "$id": "220", "kind": "property", "name": "registrationPolicy", "serializedName": "registrationPolicy", "doc": "The registration policy of the resource provider.", "type": { - "$id": "191", + "$id": "221", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1505,25 +1753,25 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceProviderData.registrationPolicy", "serializationOptions": { - "$id": "192", + "$id": "222", "json": { - "$id": "193", + "$id": "223", "name": "registrationPolicy" } } }, { - "$id": "194", + "$id": "224", "kind": "property", "name": "resourceTypes", "serializedName": "resourceTypes", "doc": "The collection of provider resource types.", "type": { - "$id": "195", + "$id": "225", "kind": "array", "name": "ArrayProviderResourceType", "valueType": { - "$id": "196", + "$id": "226", "kind": "model", "name": "ProviderResourceType", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -1532,13 +1780,13 @@ "decorators": [], "properties": [ { - "$id": "197", + "$id": "227", "kind": "property", "name": "resourceType", "serializedName": "resourceType", "doc": "The resource type.", "type": { - "$id": "198", + "$id": "228", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1551,21 +1799,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ProviderResourceType.resourceType", "serializationOptions": { - "$id": "199", + "$id": "229", "json": { - "$id": "200", + "$id": "230", "name": "resourceType" } } }, { - "$id": "201", + "$id": "231", "kind": "property", "name": "locations", "serializedName": "locations", "doc": "The collection of locations where this resource type can be created.", "type": { - "$ref": "61" + "$ref": "95" }, "optional": true, "readOnly": false, @@ -1574,25 +1822,25 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ProviderResourceType.locations", "serializationOptions": { - "$id": "202", + "$id": "232", "json": { - "$id": "203", + "$id": "233", "name": "locations" } } }, { - "$id": "204", + "$id": "234", "kind": "property", "name": "locationMappings", "serializedName": "locationMappings", "doc": "The location mappings that are supported by this resource type.", "type": { - "$id": "205", + "$id": "235", "kind": "array", "name": "ArrayProviderExtendedLocation", "valueType": { - "$id": "206", + "$id": "236", "kind": "model", "name": "ProviderExtendedLocation", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -1602,13 +1850,13 @@ "decorators": [], "properties": [ { - "$id": "207", + "$id": "237", "kind": "property", "name": "location", "serializedName": "location", "doc": "The azure location.", "type": { - "$id": "208", + "$id": "238", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1621,21 +1869,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ProviderExtendedLocation.location", "serializationOptions": { - "$id": "209", + "$id": "239", "json": { - "$id": "210", + "$id": "240", "name": "location" } } }, { - "$id": "211", + "$id": "241", "kind": "property", "name": "providerExtendedLocationType", "serializedName": "type", "doc": "The extended location type.", "type": { - "$id": "212", + "$id": "242", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1648,21 +1896,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ProviderExtendedLocation.type", "serializationOptions": { - "$id": "213", + "$id": "243", "json": { - "$id": "214", + "$id": "244", "name": "type" } } }, { - "$id": "215", + "$id": "245", "kind": "property", "name": "extendedLocations", "serializedName": "extendedLocations", "doc": "The extended locations for the azure location.", "type": { - "$ref": "61" + "$ref": "95" }, "optional": true, "readOnly": false, @@ -1671,9 +1919,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ProviderExtendedLocation.extendedLocations", "serializationOptions": { - "$id": "216", + "$id": "246", "json": { - "$id": "217", + "$id": "247", "name": "extendedLocations" } } @@ -1690,25 +1938,25 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ProviderResourceType.locationMappings", "serializationOptions": { - "$id": "218", + "$id": "248", "json": { - "$id": "219", + "$id": "249", "name": "locationMappings" } } }, { - "$id": "220", + "$id": "250", "kind": "property", "name": "aliases", "serializedName": "aliases", "doc": "The aliases that are supported by this resource type.", "type": { - "$id": "221", + "$id": "251", "kind": "array", "name": "ArrayResourceTypeAlias", "valueType": { - "$id": "222", + "$id": "252", "kind": "model", "name": "ResourceTypeAlias", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -1718,13 +1966,13 @@ "decorators": [], "properties": [ { - "$id": "223", + "$id": "253", "kind": "property", "name": "name", "serializedName": "name", "doc": "The alias name.", "type": { - "$id": "224", + "$id": "254", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1737,25 +1985,25 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceTypeAlias.name", "serializationOptions": { - "$id": "225", + "$id": "255", "json": { - "$id": "226", + "$id": "256", "name": "name" } } }, { - "$id": "227", + "$id": "257", "kind": "property", "name": "paths", "serializedName": "paths", "doc": "The paths for an alias.", "type": { - "$id": "228", + "$id": "258", "kind": "array", "name": "ArrayResourceTypeAliasPath", "valueType": { - "$id": "229", + "$id": "259", "kind": "model", "name": "ResourceTypeAliasPath", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -1765,13 +2013,13 @@ "decorators": [], "properties": [ { - "$id": "230", + "$id": "260", "kind": "property", "name": "path", "serializedName": "path", "doc": "The path of an alias.", "type": { - "$id": "231", + "$id": "261", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1784,21 +2032,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceTypeAliasPath.path", "serializationOptions": { - "$id": "232", + "$id": "262", "json": { - "$id": "233", + "$id": "263", "name": "path" } } }, { - "$id": "234", + "$id": "264", "kind": "property", "name": "apiVersions", "serializedName": "apiVersions", "doc": "The API versions.", "type": { - "$ref": "61" + "$ref": "95" }, "optional": true, "readOnly": false, @@ -1807,21 +2055,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceTypeAliasPath.apiVersions", "serializationOptions": { - "$id": "235", + "$id": "265", "json": { - "$id": "236", + "$id": "266", "name": "apiVersions" } } }, { - "$id": "237", + "$id": "267", "kind": "property", "name": "pattern", "serializedName": "pattern", "doc": "The pattern for an alias path.", "type": { - "$id": "238", + "$id": "268", "kind": "model", "name": "ResourceTypeAliasPattern", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -1831,13 +2079,13 @@ "decorators": [], "properties": [ { - "$id": "239", + "$id": "269", "kind": "property", "name": "phrase", "serializedName": "phrase", "doc": "The alias pattern phrase.", "type": { - "$id": "240", + "$id": "270", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1850,21 +2098,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceTypeAliasPattern.phrase", "serializationOptions": { - "$id": "241", + "$id": "271", "json": { - "$id": "242", + "$id": "272", "name": "phrase" } } }, { - "$id": "243", + "$id": "273", "kind": "property", "name": "variable", "serializedName": "variable", "doc": "The alias pattern variable.", "type": { - "$id": "244", + "$id": "274", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1877,15 +2125,15 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceTypeAliasPattern.variable", "serializationOptions": { - "$id": "245", + "$id": "275", "json": { - "$id": "246", + "$id": "276", "name": "variable" } } }, { - "$id": "247", + "$id": "277", "kind": "property", "name": "patternType", "serializedName": "patternType", @@ -1900,9 +2148,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceTypeAliasPattern.patternType", "serializationOptions": { - "$id": "248", + "$id": "278", "json": { - "$id": "249", + "$id": "279", "name": "patternType" } } @@ -1916,21 +2164,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceTypeAliasPath.pattern", "serializationOptions": { - "$id": "250", + "$id": "280", "json": { - "$id": "251", + "$id": "281", "name": "pattern" } } }, { - "$id": "252", + "$id": "282", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "The metadata of the alias path. If missing, fall back to the default metadata of the alias.", "type": { - "$id": "253", + "$id": "283", "kind": "model", "name": "ResourceTypeAliasPathMetadata", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -1940,7 +2188,7 @@ "decorators": [], "properties": [ { - "$id": "254", + "$id": "284", "kind": "property", "name": "tokenType", "serializedName": "tokenType", @@ -1955,15 +2203,15 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceTypeAliasPathMetadata.tokenType", "serializationOptions": { - "$id": "255", + "$id": "285", "json": { - "$id": "256", + "$id": "286", "name": "tokenType" } } }, { - "$id": "257", + "$id": "287", "kind": "property", "name": "attributes", "serializedName": "attributes", @@ -1978,9 +2226,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceTypeAliasPathMetadata.attributes", "serializationOptions": { - "$id": "258", + "$id": "288", "json": { - "$id": "259", + "$id": "289", "name": "attributes" } } @@ -1994,9 +2242,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceTypeAliasPath.metadata", "serializationOptions": { - "$id": "260", + "$id": "290", "json": { - "$id": "261", + "$id": "291", "name": "metadata" } } @@ -2013,15 +2261,15 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceTypeAlias.paths", "serializationOptions": { - "$id": "262", + "$id": "292", "json": { - "$id": "263", + "$id": "293", "name": "paths" } } }, { - "$id": "264", + "$id": "294", "kind": "property", "name": "aliasType", "serializedName": "aliasType", @@ -2036,21 +2284,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceTypeAlias.aliasType", "serializationOptions": { - "$id": "265", + "$id": "295", "json": { - "$id": "266", + "$id": "296", "name": "aliasType" } } }, { - "$id": "267", + "$id": "297", "kind": "property", "name": "defaultPath", "serializedName": "defaultPath", "doc": "The default path for an alias.", "type": { - "$id": "268", + "$id": "298", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2063,21 +2311,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceTypeAlias.defaultPath", "serializationOptions": { - "$id": "269", + "$id": "299", "json": { - "$id": "270", + "$id": "300", "name": "defaultPath" } } }, { - "$id": "271", + "$id": "301", "kind": "property", "name": "defaultPattern", "serializedName": "defaultPattern", "doc": "The default pattern for an alias.", "type": { - "$ref": "238" + "$ref": "268" }, "optional": true, "readOnly": false, @@ -2086,21 +2334,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceTypeAlias.defaultPattern", "serializationOptions": { - "$id": "272", + "$id": "302", "json": { - "$id": "273", + "$id": "303", "name": "defaultPattern" } } }, { - "$id": "274", + "$id": "304", "kind": "property", "name": "defaultMetadata", "serializedName": "defaultMetadata", "doc": "The default alias path metadata. Applies to the default path and to any alias path that doesn't have metadata.", "type": { - "$ref": "253" + "$ref": "283" }, "optional": true, "readOnly": false, @@ -2109,9 +2357,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceTypeAlias.defaultMetadata", "serializationOptions": { - "$id": "275", + "$id": "305", "json": { - "$id": "276", + "$id": "306", "name": "defaultMetadata" } } @@ -2128,21 +2376,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ProviderResourceType.aliases", "serializationOptions": { - "$id": "277", + "$id": "307", "json": { - "$id": "278", + "$id": "308", "name": "aliases" } } }, { - "$id": "279", + "$id": "309", "kind": "property", "name": "apiVersions", "serializedName": "apiVersions", "doc": "The API version.", "type": { - "$ref": "61" + "$ref": "95" }, "optional": true, "readOnly": false, @@ -2151,21 +2399,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ProviderResourceType.apiVersions", "serializationOptions": { - "$id": "280", + "$id": "310", "json": { - "$id": "281", + "$id": "311", "name": "apiVersions" } } }, { - "$id": "282", + "$id": "312", "kind": "property", "name": "defaultApiVersion", "serializedName": "defaultApiVersion", "doc": "The default API version.", "type": { - "$id": "283", + "$id": "313", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2178,25 +2426,25 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ProviderResourceType.defaultApiVersion", "serializationOptions": { - "$id": "284", + "$id": "314", "json": { - "$id": "285", + "$id": "315", "name": "defaultApiVersion" } } }, { - "$id": "286", + "$id": "316", "kind": "property", "name": "zoneMappings", "serializedName": "zoneMappings", "doc": "Gets the zone mappings.", "type": { - "$id": "287", + "$id": "317", "kind": "array", "name": "ArrayZoneMapping", "valueType": { - "$id": "288", + "$id": "318", "kind": "model", "name": "ZoneMapping", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -2206,13 +2454,13 @@ "decorators": [], "properties": [ { - "$id": "289", + "$id": "319", "kind": "property", "name": "location", "serializedName": "location", "doc": "The location of the zone mapping.", "type": { - "$id": "290", + "$id": "320", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2225,21 +2473,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ZoneMapping.location", "serializationOptions": { - "$id": "291", + "$id": "321", "json": { - "$id": "292", + "$id": "322", "name": "location" } } }, { - "$id": "293", + "$id": "323", "kind": "property", "name": "zones", "serializedName": "zones", "doc": "The zones.", "type": { - "$ref": "61" + "$ref": "95" }, "optional": true, "readOnly": false, @@ -2248,9 +2496,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ZoneMapping.zones", "serializationOptions": { - "$id": "294", + "$id": "324", "json": { - "$id": "295", + "$id": "325", "name": "zones" } } @@ -2267,25 +2515,25 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ProviderResourceType.zoneMappings", "serializationOptions": { - "$id": "296", + "$id": "326", "json": { - "$id": "297", + "$id": "327", "name": "zoneMappings" } } }, { - "$id": "298", + "$id": "328", "kind": "property", "name": "apiProfiles", "serializedName": "apiProfiles", "doc": "The API profiles for the resource provider.", "type": { - "$id": "299", + "$id": "329", "kind": "array", "name": "ArrayApiProfile", "valueType": { - "$id": "300", + "$id": "330", "kind": "model", "name": "ApiProfile", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -2294,13 +2542,13 @@ "decorators": [], "properties": [ { - "$id": "301", + "$id": "331", "kind": "property", "name": "profileVersion", "serializedName": "profileVersion", "doc": "The profile version.", "type": { - "$id": "302", + "$id": "332", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2313,21 +2561,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ApiProfile.profileVersion", "serializationOptions": { - "$id": "303", + "$id": "333", "json": { - "$id": "304", + "$id": "334", "name": "profileVersion" } } }, { - "$id": "305", + "$id": "335", "kind": "property", "name": "apiVersion", "serializedName": "apiVersion", "doc": "The API version.", "type": { - "$id": "306", + "$id": "336", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2340,9 +2588,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ApiProfile.apiVersion", "serializationOptions": { - "$id": "307", + "$id": "337", "json": { - "$id": "308", + "$id": "338", "name": "apiVersion" } } @@ -2359,21 +2607,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ProviderResourceType.apiProfiles", "serializationOptions": { - "$id": "309", + "$id": "339", "json": { - "$id": "310", + "$id": "340", "name": "apiProfiles" } } }, { - "$id": "311", + "$id": "341", "kind": "property", "name": "capabilities", "serializedName": "capabilities", "doc": "The additional capabilities offered by this resource type.", "type": { - "$id": "312", + "$id": "342", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2386,21 +2634,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ProviderResourceType.capabilities", "serializationOptions": { - "$id": "313", + "$id": "343", "json": { - "$id": "314", + "$id": "344", "name": "capabilities" } } }, { - "$id": "315", + "$id": "345", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The properties.", "type": { - "$ref": "70" + "$ref": "104" }, "optional": true, "readOnly": false, @@ -2409,9 +2657,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ProviderResourceType.properties", "serializationOptions": { - "$id": "316", + "$id": "346", "json": { - "$id": "317", + "$id": "347", "name": "properties" } } @@ -2428,15 +2676,15 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceProviderData.resourceTypes", "serializationOptions": { - "$id": "318", + "$id": "348", "json": { - "$id": "319", + "$id": "349", "name": "resourceTypes" } } }, { - "$id": "320", + "$id": "350", "kind": "property", "name": "providerAuthorizationConsentState", "serializedName": "providerAuthorizationConsentState", @@ -2451,9 +2699,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ResourceProviderData.providerAuthorizationConsentState", "serializationOptions": { - "$id": "321", + "$id": "351", "json": { - "$id": "322", + "$id": "352", "name": "providerAuthorizationConsentState" } } @@ -2461,31 +2709,31 @@ ] }, { - "$ref": "196" + "$ref": "226" }, { - "$ref": "206" + "$ref": "236" }, { - "$ref": "222" + "$ref": "252" }, { - "$ref": "229" + "$ref": "259" }, { - "$ref": "238" + "$ref": "268" }, { - "$ref": "253" + "$ref": "283" }, { - "$ref": "288" + "$ref": "318" }, { - "$ref": "300" + "$ref": "330" }, { - "$id": "323", + "$id": "353", "kind": "model", "name": "ModelWithStringAdditionalProperties", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -2493,7 +2741,7 @@ "usage": "Input,Output,Json", "decorators": [], "additionalProperties": { - "$id": "324", + "$id": "354", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2501,13 +2749,13 @@ }, "properties": [ { - "$id": "325", + "$id": "355", "kind": "property", "name": "id", "serializedName": "id", "doc": "The id property.", "type": { - "$id": "326", + "$id": "356", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2520,21 +2768,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelWithStringAdditionalProperties.id", "serializationOptions": { - "$id": "327", + "$id": "357", "json": { - "$id": "328", + "$id": "358", "name": "id" } } }, { - "$id": "329", + "$id": "359", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property.", "type": { - "$id": "330", + "$id": "360", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2547,21 +2795,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelWithStringAdditionalProperties.name", "serializationOptions": { - "$id": "331", + "$id": "361", "json": { - "$id": "332", + "$id": "362", "name": "name" } } }, { - "$id": "333", + "$id": "363", "kind": "property", "name": "age", "serializedName": "age", "doc": "The age property.", "type": { - "$id": "334", + "$id": "364", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2574,9 +2822,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelWithStringAdditionalProperties.age", "serializationOptions": { - "$id": "335", + "$id": "365", "json": { - "$id": "336", + "$id": "366", "name": "age" } } @@ -2584,7 +2832,7 @@ ] }, { - "$id": "337", + "$id": "367", "kind": "model", "name": "ModelWithArrayAdditionalProperties", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -2592,24 +2840,24 @@ "usage": "Input,Output,Json", "decorators": [], "additionalProperties": { - "$id": "338", + "$id": "368", "kind": "array", "name": "ArrayResourceTypeAliasPathMetadata", "valueType": { - "$ref": "253" + "$ref": "283" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, "properties": [ { - "$id": "339", + "$id": "369", "kind": "property", "name": "id", "serializedName": "id", "doc": "The id property.", "type": { - "$id": "340", + "$id": "370", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2622,21 +2870,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelWithArrayAdditionalProperties.id", "serializationOptions": { - "$id": "341", + "$id": "371", "json": { - "$id": "342", + "$id": "372", "name": "id" } } }, { - "$id": "343", + "$id": "373", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property.", "type": { - "$id": "344", + "$id": "374", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2649,21 +2897,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelWithArrayAdditionalProperties.name", "serializationOptions": { - "$id": "345", + "$id": "375", "json": { - "$id": "346", + "$id": "376", "name": "name" } } }, { - "$id": "347", + "$id": "377", "kind": "property", "name": "age", "serializedName": "age", "doc": "The age property.", "type": { - "$id": "348", + "$id": "378", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2676,9 +2924,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelWithArrayAdditionalProperties.age", "serializationOptions": { - "$id": "349", + "$id": "379", "json": { - "$id": "350", + "$id": "380", "name": "age" } } @@ -2686,7 +2934,7 @@ ] }, { - "$id": "351", + "$id": "381", "kind": "model", "name": "ModelWithUnknownAdditionalProperties", "namespace": "ModelReaderWriterValidationTypeSpec", @@ -2694,7 +2942,7 @@ "usage": "Input,Output,Json", "decorators": [], "additionalProperties": { - "$id": "352", + "$id": "382", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -2702,13 +2950,13 @@ }, "properties": [ { - "$id": "353", + "$id": "383", "kind": "property", "name": "id", "serializedName": "id", "doc": "The id property.", "type": { - "$id": "354", + "$id": "384", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2721,21 +2969,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelWithUnknownAdditionalProperties.id", "serializationOptions": { - "$id": "355", + "$id": "385", "json": { - "$id": "356", + "$id": "386", "name": "id" } } }, { - "$id": "357", + "$id": "387", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name property.", "type": { - "$id": "358", + "$id": "388", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2748,21 +2996,21 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelWithUnknownAdditionalProperties.name", "serializationOptions": { - "$id": "359", + "$id": "389", "json": { - "$id": "360", + "$id": "390", "name": "name" } } }, { - "$id": "361", + "$id": "391", "kind": "property", "name": "age", "serializedName": "age", "doc": "The age property.", "type": { - "$id": "362", + "$id": "392", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2775,9 +3023,9 @@ "decorators": [], "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.ModelWithUnknownAdditionalProperties.age", "serializationOptions": { - "$id": "363", + "$id": "393", "json": { - "$id": "364", + "$id": "394", "name": "age" } } @@ -2787,44 +3035,31 @@ ], "clients": [ { - "$id": "365", + "$id": "395", "kind": "client", "name": "ModelReaderWriterValidationTypeSpecClient", "namespace": "ModelReaderWriterValidationTypeSpec", "doc": "This is a typespec project to validation the model reader writer functionalities.", "methods": [ { - "$id": "366", + "$id": "396", "kind": "basic", "name": "op1", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "367", + "$id": "397", "name": "op1", "resourceName": "ModelReaderWriterValidationTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "368", + "$id": "398", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "369", - "kind": "constant", - "name": "op1ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "370", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -2837,24 +3072,11 @@ "skipUrlEncoding": false }, { - "$id": "371", + "$id": "399", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "372", - "kind": "constant", - "name": "op1ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "373", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -2867,11 +3089,11 @@ "skipUrlEncoding": false }, { - "$id": "374", + "$id": "400", "name": "body", "nameInRequest": "body", "type": { - "$ref": "50" + "$ref": "84" }, "location": "Body", "isApiVersion": false, @@ -2886,12 +3108,12 @@ ], "responses": [ { - "$id": "375", + "$id": "401", "statusCodes": [ 200 ], "bodyType": { - "$ref": "50" + "$ref": "84" }, "headers": [], "isErrorResponse": false, @@ -2914,11 +3136,11 @@ }, "parameters": [ { - "$id": "376", + "$id": "402", "name": "body", "nameInRequest": "body", "type": { - "$ref": "50" + "$ref": "84" }, "location": "Body", "isApiVersion": false, @@ -2931,12 +3153,12 @@ "skipUrlEncoding": false }, { - "$id": "377", + "$id": "403", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "369" + "$ref": "54" }, "location": "Header", "isApiVersion": false, @@ -2949,11 +3171,11 @@ "skipUrlEncoding": false }, { - "$id": "378", + "$id": "404", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "372" + "$ref": "56" }, "location": "Header", "isApiVersion": false, @@ -2967,9 +3189,9 @@ } ], "response": { - "$id": "379", + "$id": "405", "type": { - "$ref": "50" + "$ref": "84" } }, "isOverride": false, @@ -2978,37 +3200,24 @@ "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.op1" }, { - "$id": "380", + "$id": "406", "kind": "basic", "name": "op2", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "381", + "$id": "407", "name": "op2", "resourceName": "ModelReaderWriterValidationTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "382", + "$id": "408", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "383", - "kind": "constant", - "name": "op2ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "384", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -3021,24 +3230,11 @@ "skipUrlEncoding": false }, { - "$id": "385", + "$id": "409", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "386", - "kind": "constant", - "name": "op2ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "387", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -3051,11 +3247,11 @@ "skipUrlEncoding": false }, { - "$id": "388", + "$id": "410", "name": "body", "nameInRequest": "body", "type": { - "$ref": "55" + "$ref": "89" }, "location": "Body", "isApiVersion": false, @@ -3070,12 +3266,12 @@ ], "responses": [ { - "$id": "389", + "$id": "411", "statusCodes": [ 200 ], "bodyType": { - "$ref": "55" + "$ref": "89" }, "headers": [], "isErrorResponse": false, @@ -3098,11 +3294,11 @@ }, "parameters": [ { - "$id": "390", + "$id": "412", "name": "body", "nameInRequest": "body", "type": { - "$ref": "55" + "$ref": "89" }, "location": "Body", "isApiVersion": false, @@ -3115,12 +3311,12 @@ "skipUrlEncoding": false }, { - "$id": "391", + "$id": "413", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "383" + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -3133,11 +3329,11 @@ "skipUrlEncoding": false }, { - "$id": "392", + "$id": "414", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "386" + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -3151,9 +3347,9 @@ } ], "response": { - "$id": "393", + "$id": "415", "type": { - "$ref": "55" + "$ref": "89" } }, "isOverride": false, @@ -3162,37 +3358,24 @@ "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.op2" }, { - "$id": "394", + "$id": "416", "kind": "basic", "name": "op3", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "395", + "$id": "417", "name": "op3", "resourceName": "ModelReaderWriterValidationTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "396", + "$id": "418", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "397", - "kind": "constant", - "name": "op3ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "398", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -3205,24 +3388,11 @@ "skipUrlEncoding": false }, { - "$id": "399", + "$id": "419", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "400", - "kind": "constant", - "name": "op3ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "401", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -3235,11 +3405,11 @@ "skipUrlEncoding": false }, { - "$id": "402", + "$id": "420", "name": "body", "nameInRequest": "body", "type": { - "$ref": "79" + "$ref": "113" }, "location": "Body", "isApiVersion": false, @@ -3254,12 +3424,12 @@ ], "responses": [ { - "$id": "403", + "$id": "421", "statusCodes": [ 200 ], "bodyType": { - "$ref": "79" + "$ref": "113" }, "headers": [], "isErrorResponse": false, @@ -3282,11 +3452,11 @@ }, "parameters": [ { - "$id": "404", + "$id": "422", "name": "body", "nameInRequest": "body", "type": { - "$ref": "79" + "$ref": "113" }, "location": "Body", "isApiVersion": false, @@ -3299,12 +3469,12 @@ "skipUrlEncoding": false }, { - "$id": "405", + "$id": "423", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "397" + "$ref": "62" }, "location": "Header", "isApiVersion": false, @@ -3317,11 +3487,11 @@ "skipUrlEncoding": false }, { - "$id": "406", + "$id": "424", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "400" + "$ref": "64" }, "location": "Header", "isApiVersion": false, @@ -3335,9 +3505,9 @@ } ], "response": { - "$id": "407", + "$id": "425", "type": { - "$ref": "79" + "$ref": "113" } }, "isOverride": false, @@ -3346,37 +3516,24 @@ "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.op3" }, { - "$id": "408", + "$id": "426", "kind": "basic", "name": "op4", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "409", + "$id": "427", "name": "op4", "resourceName": "ModelReaderWriterValidationTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "410", + "$id": "428", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "411", - "kind": "constant", - "name": "op4ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "412", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -3389,24 +3546,11 @@ "skipUrlEncoding": false }, { - "$id": "413", + "$id": "429", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "414", - "kind": "constant", - "name": "op4ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "415", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -3419,11 +3563,11 @@ "skipUrlEncoding": false }, { - "$id": "416", + "$id": "430", "name": "body", "nameInRequest": "body", "type": { - "$ref": "119" + "$ref": "149" }, "location": "Body", "isApiVersion": false, @@ -3438,12 +3582,12 @@ ], "responses": [ { - "$id": "417", + "$id": "431", "statusCodes": [ 200 ], "bodyType": { - "$ref": "119" + "$ref": "149" }, "headers": [], "isErrorResponse": false, @@ -3466,11 +3610,11 @@ }, "parameters": [ { - "$id": "418", + "$id": "432", "name": "body", "nameInRequest": "body", "type": { - "$ref": "119" + "$ref": "149" }, "location": "Body", "isApiVersion": false, @@ -3483,12 +3627,12 @@ "skipUrlEncoding": false }, { - "$id": "419", + "$id": "433", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "411" + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -3501,11 +3645,11 @@ "skipUrlEncoding": false }, { - "$id": "420", + "$id": "434", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "414" + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -3519,9 +3663,9 @@ } ], "response": { - "$id": "421", + "$id": "435", "type": { - "$ref": "119" + "$ref": "149" } }, "isOverride": false, @@ -3530,36 +3674,23 @@ "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.op4" }, { - "$id": "422", + "$id": "436", "kind": "basic", "name": "op5", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "423", + "$id": "437", "name": "op5", "resourceName": "ModelReaderWriterValidationTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "424", + "$id": "438", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "425", - "kind": "constant", - "name": "op5ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "426", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -3574,12 +3705,12 @@ ], "responses": [ { - "$id": "427", + "$id": "439", "statusCodes": [ 200 ], "bodyType": { - "$ref": "177" + "$ref": "207" }, "headers": [], "isErrorResponse": false, @@ -3599,11 +3730,11 @@ }, "parameters": [ { - "$id": "428", + "$id": "440", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "425" + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -3617,9 +3748,9 @@ } ], "response": { - "$id": "429", + "$id": "441", "type": { - "$ref": "177" + "$ref": "207" } }, "isOverride": false, @@ -3628,37 +3759,24 @@ "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.op5" }, { - "$id": "430", + "$id": "442", "kind": "basic", "name": "op6", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "431", + "$id": "443", "name": "op6", "resourceName": "ModelReaderWriterValidationTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "432", + "$id": "444", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "433", - "kind": "constant", - "name": "op6ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "434", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -3671,24 +3789,11 @@ "skipUrlEncoding": false }, { - "$id": "435", + "$id": "445", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "436", - "kind": "constant", - "name": "op6ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "437", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3701,11 +3806,11 @@ "skipUrlEncoding": false }, { - "$id": "438", + "$id": "446", "name": "body", "nameInRequest": "body", "type": { - "$ref": "323" + "$ref": "353" }, "location": "Body", "isApiVersion": false, @@ -3720,12 +3825,12 @@ ], "responses": [ { - "$id": "439", + "$id": "447", "statusCodes": [ 200 ], "bodyType": { - "$ref": "323" + "$ref": "353" }, "headers": [], "isErrorResponse": false, @@ -3748,11 +3853,11 @@ }, "parameters": [ { - "$id": "440", + "$id": "448", "name": "body", "nameInRequest": "body", "type": { - "$ref": "323" + "$ref": "353" }, "location": "Body", "isApiVersion": false, @@ -3765,12 +3870,12 @@ "skipUrlEncoding": false }, { - "$id": "441", + "$id": "449", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "433" + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -3783,11 +3888,11 @@ "skipUrlEncoding": false }, { - "$id": "442", + "$id": "450", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "436" + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3801,9 +3906,9 @@ } ], "response": { - "$id": "443", + "$id": "451", "type": { - "$ref": "323" + "$ref": "353" } }, "isOverride": false, @@ -3812,37 +3917,24 @@ "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.op6" }, { - "$id": "444", + "$id": "452", "kind": "basic", "name": "op7", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "445", + "$id": "453", "name": "op7", "resourceName": "ModelReaderWriterValidationTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "446", + "$id": "454", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "447", - "kind": "constant", - "name": "op7ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "448", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -3855,24 +3947,11 @@ "skipUrlEncoding": false }, { - "$id": "449", + "$id": "455", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "450", - "kind": "constant", - "name": "op7ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "451", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -3885,11 +3964,11 @@ "skipUrlEncoding": false }, { - "$id": "452", + "$id": "456", "name": "body", "nameInRequest": "body", "type": { - "$ref": "337" + "$ref": "367" }, "location": "Body", "isApiVersion": false, @@ -3904,12 +3983,12 @@ ], "responses": [ { - "$id": "453", + "$id": "457", "statusCodes": [ 200 ], "bodyType": { - "$ref": "337" + "$ref": "367" }, "headers": [], "isErrorResponse": false, @@ -3932,11 +4011,11 @@ }, "parameters": [ { - "$id": "454", + "$id": "458", "name": "body", "nameInRequest": "body", "type": { - "$ref": "337" + "$ref": "367" }, "location": "Body", "isApiVersion": false, @@ -3949,12 +4028,12 @@ "skipUrlEncoding": false }, { - "$id": "455", + "$id": "459", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "447" + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -3967,11 +4046,11 @@ "skipUrlEncoding": false }, { - "$id": "456", + "$id": "460", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "450" + "$ref": "78" }, "location": "Header", "isApiVersion": false, @@ -3985,9 +4064,9 @@ } ], "response": { - "$id": "457", + "$id": "461", "type": { - "$ref": "337" + "$ref": "367" } }, "isOverride": false, @@ -3996,37 +4075,24 @@ "crossLanguageDefinitionId": "ModelReaderWriterValidationTypeSpec.op7" }, { - "$id": "458", + "$id": "462", "kind": "basic", "name": "op8", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "459", + "$id": "463", "name": "op8", "resourceName": "ModelReaderWriterValidationTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "460", + "$id": "464", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "461", - "kind": "constant", - "name": "op8ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "462", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -4039,24 +4105,11 @@ "skipUrlEncoding": false }, { - "$id": "463", + "$id": "465", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "464", - "kind": "constant", - "name": "op8ContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "465", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -4073,7 +4126,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "351" + "$ref": "381" }, "location": "Body", "isApiVersion": false, @@ -4093,7 +4146,7 @@ 200 ], "bodyType": { - "$ref": "351" + "$ref": "381" }, "headers": [], "isErrorResponse": false, @@ -4120,7 +4173,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "351" + "$ref": "381" }, "location": "Body", "isApiVersion": false, @@ -4138,7 +4191,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "461" + "$ref": "80" }, "location": "Header", "isApiVersion": false, @@ -4155,7 +4208,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "464" + "$ref": "82" }, "location": "Header", "isApiVersion": false, @@ -4171,7 +4224,7 @@ "response": { "$id": "471", "type": { - "$ref": "351" + "$ref": "381" } }, "isOverride": false, diff --git a/test/TestProjects/NoDocs-TypeSpec/NoDocs-TypeSpec.tsp b/test/TestProjects/NoDocs-TypeSpec/NoDocs-TypeSpec.tsp index 922ac53682a..92d9f69ecd6 100644 --- a/test/TestProjects/NoDocs-TypeSpec/NoDocs-TypeSpec.tsp +++ b/test/TestProjects/NoDocs-TypeSpec/NoDocs-TypeSpec.tsp @@ -331,13 +331,12 @@ op addTimeHeader( @convenientAPI(true) op projectedNameModel(...ModelWithProjectedName): ModelWithProjectedName; -@route("/retunsAnonymousModel") +@route("/returnsAnonymousModel") @doc("return anonymous model") @post @convenientAPI(true) op returnsAnonymousModel(): {@body body:{}}; -// TODO: https://github.com/Azure/typespec-azure/issues/509 namespace EnumTest { @put @route("/unknown-value") diff --git a/test/TestProjects/NoDocs-TypeSpec/src/Generated/NoDocsTypeSpecClient.cs b/test/TestProjects/NoDocs-TypeSpec/src/Generated/NoDocsTypeSpecClient.cs index 1ff6ad3e313..5f54ce1b60c 100644 --- a/test/TestProjects/NoDocs-TypeSpec/src/Generated/NoDocsTypeSpecClient.cs +++ b/test/TestProjects/NoDocs-TypeSpec/src/Generated/NoDocsTypeSpecClient.cs @@ -1249,7 +1249,7 @@ internal HttpMessage CreateReturnsAnonymousModelRequest(RequestContext context) request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); - uri.AppendPath("/retunsAnonymousModel", false); + uri.AppendPath("/returnsAnonymousModel", false); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; diff --git a/test/TestProjects/NoDocs-TypeSpec/tspCodeModel.json b/test/TestProjects/NoDocs-TypeSpec/tspCodeModel.json index c15fd9b4364..92fb5a76326 100644 --- a/test/TestProjects/NoDocs-TypeSpec/tspCodeModel.json +++ b/test/TestProjects/NoDocs-TypeSpec/tspCodeModel.json @@ -950,9 +950,931 @@ "decorators": [] } ], + "constants": [ + { + "$id": "104", + "kind": "constant", + "name": "ThingRequiredLiteralString", + "namespace": "NoDocsTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "86" + }, + "value": "accept", + "decorators": [] + }, + { + "$id": "105", + "kind": "constant", + "name": "ThingRequiredLiteralInt", + "namespace": "NoDocsTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "89" + }, + "value": 123, + "decorators": [] + }, + { + "$id": "106", + "kind": "constant", + "name": "ThingRequiredLiteralFloat", + "namespace": "NoDocsTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "92" + }, + "value": 1.23, + "decorators": [] + }, + { + "$id": "107", + "kind": "constant", + "name": "ThingRequiredLiteralBool", + "namespace": "NoDocsTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$id": "108", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": false, + "decorators": [] + }, + { + "$id": "109", + "kind": "constant", + "name": "ThingOptionalLiteralString", + "namespace": "NoDocsTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "95" + }, + "value": "reject", + "decorators": [] + }, + { + "$id": "110", + "kind": "constant", + "name": "ThingOptionalLiteralInt", + "namespace": "NoDocsTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "98" + }, + "value": 456, + "decorators": [] + }, + { + "$id": "111", + "kind": "constant", + "name": "ThingOptionalLiteralFloat", + "namespace": "NoDocsTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "101" + }, + "value": 4.56, + "decorators": [] + }, + { + "$id": "112", + "kind": "constant", + "name": "ThingOptionalLiteralBool", + "namespace": "NoDocsTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$id": "113", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "114", + "kind": "constant", + "name": "topActionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "116", + "kind": "constant", + "name": "patchActionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "118", + "kind": "constant", + "name": "patchActionContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "119", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "120", + "kind": "constant", + "name": "anonymousBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "121", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "122", + "kind": "constant", + "name": "anonymousBodyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "124", + "kind": "constant", + "name": "ThingRequiredLiteralString1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "accept", + "decorators": [] + }, + { + "$id": "126", + "kind": "constant", + "name": "ThingRequiredLiteralInt1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "127", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 123, + "decorators": [] + }, + { + "$id": "128", + "kind": "constant", + "name": "ThingRequiredLiteralFloat1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "129", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "value": 1.23, + "decorators": [] + }, + { + "$id": "130", + "kind": "constant", + "name": "ThingRequiredLiteralBool1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "131", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": false, + "decorators": [] + }, + { + "$id": "132", + "kind": "constant", + "name": "ThingOptionalLiteralString1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "reject", + "decorators": [] + }, + { + "$id": "134", + "kind": "constant", + "name": "ThingOptionalLiteralInt1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "135", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 456, + "decorators": [] + }, + { + "$id": "136", + "kind": "constant", + "name": "ThingOptionalLiteralFloat1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "137", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "value": 4.56, + "decorators": [] + }, + { + "$id": "138", + "kind": "constant", + "name": "ThingOptionalLiteralBool1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "139", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "140", + "kind": "constant", + "name": "friendlyModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "142", + "kind": "constant", + "name": "friendlyModelContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "143", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "144", + "kind": "constant", + "name": "projectedNameModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "145", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "146", + "kind": "constant", + "name": "projectedNameModelContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "147", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "148", + "kind": "constant", + "name": "returnsAnonymousModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "149", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "150", + "kind": "constant", + "name": "stringBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "151", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "152", + "kind": "constant", + "name": "boolBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "153", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "154", + "kind": "constant", + "name": "dateTimeBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "155", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "156", + "kind": "constant", + "name": "returnStringContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "157", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "158", + "kind": "constant", + "name": "returnUnknownContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "160", + "kind": "constant", + "name": "recursiveExtensionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "162", + "kind": "constant", + "name": "threeLevelRecursiveContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "163", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "164", + "kind": "constant", + "name": "recursiveModelsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "165", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "166", + "kind": "constant", + "name": "ContainSelfModelsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "167", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "168", + "kind": "constant", + "name": "bodyIsModelWithProjectedEnumContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "169", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "170", + "kind": "constant", + "name": "optionalDictionaryContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "171", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "172", + "kind": "constant", + "name": "azureLocationOpContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "173", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "174", + "kind": "constant", + "name": "sayHiContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "175", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "176", + "kind": "constant", + "name": "HelloAgainRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "177", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "178", + "kind": "constant", + "name": "helloAgainContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "179", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "180", + "kind": "constant", + "name": "HelloAgainRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "181", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "182", + "kind": "constant", + "name": "noContentTypeContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "183", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "184", + "kind": "constant", + "name": "noContentTypeContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "185", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "186", + "kind": "constant", + "name": "helloDemoAgainContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "187", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "188", + "kind": "constant", + "name": "createLiteralContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "189", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "190", + "kind": "constant", + "name": "createLiteralContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "191", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "192", + "kind": "constant", + "name": "HelloLiteralRequestP1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "193", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "test", + "decorators": [] + }, + { + "$id": "194", + "kind": "constant", + "name": "ThingRequiredLiteralInt2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "195", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 123, + "decorators": [] + }, + { + "$id": "196", + "kind": "constant", + "name": "ThingOptionalLiteralBool2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "197", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "198", + "kind": "constant", + "name": "helloLiteralContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "199", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "200", + "kind": "constant", + "name": "HelloLiteralRequestP11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "201", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "test", + "decorators": [] + }, + { + "$id": "202", + "kind": "constant", + "name": "ThingRequiredLiteralInt3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "203", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 123, + "decorators": [] + }, + { + "$id": "204", + "kind": "constant", + "name": "ThingOptionalLiteralBool3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "205", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "206", + "kind": "constant", + "name": "createUnknownValueContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "207", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "208", + "kind": "constant", + "name": "internalProtocolContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "209", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "210", + "kind": "constant", + "name": "internalProtocolContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "211", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "212", + "kind": "constant", + "name": "doSomethingContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "213", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "214", + "kind": "constant", + "name": "doSomethingContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "215", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [ { - "$id": "104", + "$id": "216", "kind": "model", "name": "Thing", "namespace": "NoDocsTypeSpec", @@ -962,13 +1884,13 @@ "decorators": [], "properties": [ { - "$id": "105", + "$id": "217", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the Thing", "type": { - "$id": "106", + "$id": "218", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -981,37 +1903,37 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Thing.name", "serializationOptions": { - "$id": "107", + "$id": "219", "json": { - "$id": "108", + "$id": "220", "name": "name" } } }, { - "$id": "109", + "$id": "221", "kind": "property", "name": "requiredUnion", "serializedName": "requiredUnion", "doc": "required Union", "type": { - "$id": "110", + "$id": "222", "kind": "union", "name": "ThingRequiredUnion", "variantTypes": [ { - "$id": "111", + "$id": "223", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "112", + "$id": "224", "kind": "array", "name": "Array", "valueType": { - "$id": "113", + "$id": "225", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1021,7 +1943,7 @@ "decorators": [] }, { - "$id": "114", + "$id": "226", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1038,30 +1960,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Thing.requiredUnion", "serializationOptions": { - "$id": "115", + "$id": "227", "json": { - "$id": "116", + "$id": "228", "name": "requiredUnion" } } }, { - "$id": "117", + "$id": "229", "kind": "property", "name": "requiredLiteralString", "serializedName": "requiredLiteralString", "doc": "required literal string", "type": { - "$id": "118", - "kind": "constant", - "name": "ThingRequiredLiteralString", - "namespace": "NoDocsTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "86" - }, - "value": "accept", - "decorators": [] + "$ref": "104" }, "optional": false, "readOnly": false, @@ -1070,30 +1983,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Thing.requiredLiteralString", "serializationOptions": { - "$id": "119", + "$id": "230", "json": { - "$id": "120", + "$id": "231", "name": "requiredLiteralString" } } }, { - "$id": "121", + "$id": "232", "kind": "property", "name": "requiredLiteralInt", "serializedName": "requiredLiteralInt", "doc": "required literal int", "type": { - "$id": "122", - "kind": "constant", - "name": "ThingRequiredLiteralInt", - "namespace": "NoDocsTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "89" - }, - "value": 123, - "decorators": [] + "$ref": "105" }, "optional": false, "readOnly": false, @@ -1102,30 +2006,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Thing.requiredLiteralInt", "serializationOptions": { - "$id": "123", + "$id": "233", "json": { - "$id": "124", + "$id": "234", "name": "requiredLiteralInt" } } }, { - "$id": "125", + "$id": "235", "kind": "property", "name": "requiredLiteralFloat", "serializedName": "requiredLiteralFloat", "doc": "required literal float", "type": { - "$id": "126", - "kind": "constant", - "name": "ThingRequiredLiteralFloat", - "namespace": "NoDocsTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "92" - }, - "value": 1.23, - "decorators": [] + "$ref": "106" }, "optional": false, "readOnly": false, @@ -1134,34 +2029,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Thing.requiredLiteralFloat", "serializationOptions": { - "$id": "127", + "$id": "236", "json": { - "$id": "128", + "$id": "237", "name": "requiredLiteralFloat" } } }, { - "$id": "129", + "$id": "238", "kind": "property", "name": "requiredLiteralBool", "serializedName": "requiredLiteralBool", "doc": "required literal bool", "type": { - "$id": "130", - "kind": "constant", - "name": "ThingRequiredLiteralBool", - "namespace": "NoDocsTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$id": "131", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": false, - "decorators": [] + "$ref": "107" }, "optional": false, "readOnly": false, @@ -1170,30 +2052,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Thing.requiredLiteralBool", "serializationOptions": { - "$id": "132", + "$id": "239", "json": { - "$id": "133", + "$id": "240", "name": "requiredLiteralBool" } } }, { - "$id": "134", + "$id": "241", "kind": "property", "name": "optionalLiteralString", "serializedName": "optionalLiteralString", "doc": "optional literal string", "type": { - "$id": "135", - "kind": "constant", - "name": "ThingOptionalLiteralString", - "namespace": "NoDocsTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "95" - }, - "value": "reject", - "decorators": [] + "$ref": "109" }, "optional": true, "readOnly": false, @@ -1202,30 +2075,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Thing.optionalLiteralString", "serializationOptions": { - "$id": "136", + "$id": "242", "json": { - "$id": "137", + "$id": "243", "name": "optionalLiteralString" } } }, { - "$id": "138", + "$id": "244", "kind": "property", "name": "optionalLiteralInt", "serializedName": "optionalLiteralInt", "doc": "optional literal int", "type": { - "$id": "139", - "kind": "constant", - "name": "ThingOptionalLiteralInt", - "namespace": "NoDocsTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "98" - }, - "value": 456, - "decorators": [] + "$ref": "110" }, "optional": true, "readOnly": false, @@ -1234,30 +2098,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Thing.optionalLiteralInt", "serializationOptions": { - "$id": "140", + "$id": "245", "json": { - "$id": "141", + "$id": "246", "name": "optionalLiteralInt" } } }, { - "$id": "142", + "$id": "247", "kind": "property", "name": "optionalLiteralFloat", "serializedName": "optionalLiteralFloat", "doc": "optional literal float", "type": { - "$id": "143", - "kind": "constant", - "name": "ThingOptionalLiteralFloat", - "namespace": "NoDocsTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "101" - }, - "value": 4.56, - "decorators": [] + "$ref": "111" }, "optional": true, "readOnly": false, @@ -1266,34 +2121,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Thing.optionalLiteralFloat", "serializationOptions": { - "$id": "144", + "$id": "248", "json": { - "$id": "145", + "$id": "249", "name": "optionalLiteralFloat" } } }, { - "$id": "146", + "$id": "250", "kind": "property", "name": "optionalLiteralBool", "serializedName": "optionalLiteralBool", "doc": "optional literal bool", "type": { - "$id": "147", - "kind": "constant", - "name": "ThingOptionalLiteralBool", - "namespace": "NoDocsTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$id": "148", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "112" }, "optional": true, "readOnly": false, @@ -1302,21 +2144,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Thing.optionalLiteralBool", "serializationOptions": { - "$id": "149", + "$id": "251", "json": { - "$id": "150", + "$id": "252", "name": "optionalLiteralBool" } } }, { - "$id": "151", + "$id": "253", "kind": "property", "name": "requiredBadDescription", "serializedName": "requiredBadDescription", "doc": "description with xml <|endoftext|>", "type": { - "$id": "152", + "$id": "254", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1329,28 +2171,28 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Thing.requiredBadDescription", "serializationOptions": { - "$id": "153", + "$id": "255", "json": { - "$id": "154", + "$id": "256", "name": "requiredBadDescription" } } }, { - "$id": "155", + "$id": "257", "kind": "property", "name": "optionalNullableList", "serializedName": "optionalNullableList", "doc": "optional nullable collection", "type": { - "$id": "156", + "$id": "258", "kind": "nullable", "type": { - "$id": "157", + "$id": "259", "kind": "array", "name": "Array1", "valueType": { - "$id": "158", + "$id": "260", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1368,24 +2210,24 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Thing.optionalNullableList", "serializationOptions": { - "$id": "159", + "$id": "261", "json": { - "$id": "160", + "$id": "262", "name": "optionalNullableList" } } }, { - "$id": "161", + "$id": "263", "kind": "property", "name": "requiredNullableList", "serializedName": "requiredNullableList", "doc": "required nullable collection", "type": { - "$id": "162", + "$id": "264", "kind": "nullable", "type": { - "$ref": "157" + "$ref": "259" }, "namespace": "" }, @@ -1396,9 +2238,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Thing.requiredNullableList", "serializationOptions": { - "$id": "163", + "$id": "265", "json": { - "$id": "164", + "$id": "266", "name": "requiredNullableList" } } @@ -1406,7 +2248,7 @@ ] }, { - "$id": "165", + "$id": "267", "kind": "model", "name": "Friend", "namespace": "NoDocsTypeSpec", @@ -1416,13 +2258,13 @@ "decorators": [], "properties": [ { - "$id": "166", + "$id": "268", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the NotFriend", "type": { - "$id": "167", + "$id": "269", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1435,9 +2277,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.NotFriend.name", "serializationOptions": { - "$id": "168", + "$id": "270", "json": { - "$id": "169", + "$id": "271", "name": "name" } } @@ -1445,7 +2287,7 @@ ] }, { - "$id": "170", + "$id": "272", "kind": "model", "name": "ProjectedModel", "namespace": "NoDocsTypeSpec", @@ -1455,13 +2297,13 @@ "decorators": [], "properties": [ { - "$id": "171", + "$id": "273", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the ModelWithProjectedName", "type": { - "$id": "172", + "$id": "274", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1474,9 +2316,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.ModelWithProjectedName.name", "serializationOptions": { - "$id": "173", + "$id": "275", "json": { - "$id": "174", + "$id": "276", "name": "name" } } @@ -1484,7 +2326,7 @@ ] }, { - "$id": "175", + "$id": "277", "kind": "model", "name": "ReturnsAnonymousModelResponse", "namespace": "NoDocsTypeSpec", @@ -1494,7 +2336,7 @@ "properties": [] }, { - "$id": "176", + "$id": "278", "kind": "model", "name": "Extension", "namespace": "NoDocsTypeSpec", @@ -1503,7 +2345,7 @@ "doc": "extension", "decorators": [], "baseModel": { - "$id": "177", + "$id": "279", "kind": "model", "name": "Element", "namespace": "NoDocsTypeSpec", @@ -1513,16 +2355,16 @@ "decorators": [], "properties": [ { - "$id": "178", + "$id": "280", "kind": "property", "name": "extension", "serializedName": "extension", "type": { - "$id": "179", + "$id": "281", "kind": "array", "name": "ArrayExtension", "valueType": { - "$ref": "176" + "$ref": "278" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1534,9 +2376,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Element.extension", "serializationOptions": { - "$id": "180", + "$id": "282", "json": { - "$id": "181", + "$id": "283", "name": "extension" } } @@ -1545,12 +2387,12 @@ }, "properties": [ { - "$id": "182", + "$id": "284", "kind": "property", "name": "level", "serializedName": "level", "type": { - "$id": "183", + "$id": "285", "kind": "int8", "name": "int8", "crossLanguageDefinitionId": "TypeSpec.int8", @@ -1563,9 +2405,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Extension.level", "serializationOptions": { - "$id": "184", + "$id": "286", "json": { - "$id": "185", + "$id": "287", "name": "level" } } @@ -1573,10 +2415,10 @@ ] }, { - "$ref": "177" + "$ref": "279" }, { - "$id": "186", + "$id": "288", "kind": "model", "name": "Extendible", "namespace": "NoDocsTypeSpec", @@ -1586,17 +2428,17 @@ "decorators": [], "properties": [ { - "$id": "187", + "$id": "289", "kind": "property", "name": "extension", "serializedName": "extension", "doc": "Additional Content defined by implementations", "type": { - "$id": "188", + "$id": "290", "kind": "array", "name": "ArrayThereLevelExtension", "valueType": { - "$id": "189", + "$id": "291", "kind": "model", "name": "ThereLevelExtension", "namespace": "NoDocsTypeSpec", @@ -1605,7 +2447,7 @@ "doc": "extension", "decorators": [], "baseModel": { - "$id": "190", + "$id": "292", "kind": "model", "name": "ThereLevelElement", "namespace": "NoDocsTypeSpec", @@ -1615,16 +2457,16 @@ "decorators": [], "properties": [ { - "$id": "191", + "$id": "293", "kind": "property", "name": "extension", "serializedName": "extension", "type": { - "$id": "192", + "$id": "294", "kind": "array", "name": "ArrayThereLevelExtension", "valueType": { - "$ref": "189" + "$ref": "291" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1636,9 +2478,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.ThereLevelElement.extension", "serializationOptions": { - "$id": "193", + "$id": "295", "json": { - "$id": "194", + "$id": "296", "name": "extension" } } @@ -1647,12 +2489,12 @@ }, "properties": [ { - "$id": "195", + "$id": "297", "kind": "property", "name": "level", "serializedName": "level", "type": { - "$id": "196", + "$id": "298", "kind": "int8", "name": "int8", "crossLanguageDefinitionId": "TypeSpec.int8", @@ -1665,9 +2507,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.ThereLevelExtension.level", "serializationOptions": { - "$id": "197", + "$id": "299", "json": { - "$id": "198", + "$id": "300", "name": "level" } } @@ -1684,9 +2526,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.Extendible.extension", "serializationOptions": { - "$id": "199", + "$id": "301", "json": { - "$id": "200", + "$id": "302", "name": "extension" } } @@ -1694,13 +2536,13 @@ ] }, { - "$ref": "189" + "$ref": "291" }, { - "$ref": "190" + "$ref": "292" }, { - "$id": "201", + "$id": "303", "kind": "model", "name": "ChildModel", "namespace": "NoDocsTypeSpec", @@ -1709,7 +2551,7 @@ "doc": "ChildModel", "decorators": [], "baseModel": { - "$id": "202", + "$id": "304", "kind": "model", "name": "BaseModel", "namespace": "NoDocsTypeSpec", @@ -1719,12 +2561,12 @@ "decorators": [], "properties": [ { - "$id": "203", + "$id": "305", "kind": "property", "name": "level", "serializedName": "level", "type": { - "$id": "204", + "$id": "306", "kind": "int8", "name": "int8", "crossLanguageDefinitionId": "TypeSpec.int8", @@ -1737,9 +2579,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.BaseModel.level", "serializationOptions": { - "$id": "205", + "$id": "307", "json": { - "$id": "206", + "$id": "308", "name": "level" } } @@ -1748,16 +2590,16 @@ }, "properties": [ { - "$id": "207", + "$id": "309", "kind": "property", "name": "parent", "serializedName": "parent", "type": { - "$id": "208", + "$id": "310", "kind": "array", "name": "ArrayBaseModel", "valueType": { - "$ref": "202" + "$ref": "304" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1769,9 +2611,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.ChildModel.parent", "serializationOptions": { - "$id": "209", + "$id": "311", "json": { - "$id": "210", + "$id": "312", "name": "parent" } } @@ -1779,10 +2621,10 @@ ] }, { - "$ref": "202" + "$ref": "304" }, { - "$id": "211", + "$id": "313", "kind": "model", "name": "ContainSelf", "namespace": "NoDocsTypeSpec", @@ -1792,12 +2634,12 @@ "decorators": [], "properties": [ { - "$id": "212", + "$id": "314", "kind": "property", "name": "self", "serializedName": "self", "type": { - "$ref": "211" + "$ref": "313" }, "optional": false, "readOnly": false, @@ -1806,9 +2648,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.ContainSelf.self", "serializationOptions": { - "$id": "213", + "$id": "315", "json": { - "$id": "214", + "$id": "316", "name": "self" } } @@ -1816,7 +2658,7 @@ ] }, { - "$id": "215", + "$id": "317", "kind": "model", "name": "ModelWithProjectedEnum", "namespace": "NoDocsTypeSpec", @@ -1825,7 +2667,7 @@ "decorators": [], "properties": [ { - "$id": "216", + "$id": "318", "kind": "property", "name": "enumProperty", "serializedName": "enumProperty", @@ -1840,9 +2682,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.ModelWithProjectedEnum.enumProperty", "serializationOptions": { - "$id": "217", + "$id": "319", "json": { - "$id": "218", + "$id": "320", "name": "enumProperty" } } @@ -1850,7 +2692,7 @@ ] }, { - "$id": "219", + "$id": "321", "kind": "model", "name": "AzureLocationModel", "namespace": "NoDocsTypeSpec", @@ -1859,17 +2701,17 @@ "decorators": [], "properties": [ { - "$id": "220", + "$id": "322", "kind": "property", "name": "location", "serializedName": "location", "type": { - "$id": "221", + "$id": "323", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "222", + "$id": "324", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1884,9 +2726,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.AzureLocationModel.location", "serializationOptions": { - "$id": "223", + "$id": "325", "json": { - "$id": "224", + "$id": "326", "name": "location" } } @@ -1894,7 +2736,7 @@ ] }, { - "$id": "225", + "$id": "327", "kind": "model", "name": "RoundTripModel", "namespace": "NoDocsTypeSpec", @@ -1904,13 +2746,13 @@ "decorators": [], "properties": [ { - "$id": "226", + "$id": "328", "kind": "property", "name": "requiredString", "serializedName": "requiredString", "doc": "Required string, illustrating a reference type property.", "type": { - "$id": "227", + "$id": "329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1923,21 +2765,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.requiredString", "serializationOptions": { - "$id": "228", + "$id": "330", "json": { - "$id": "229", + "$id": "331", "name": "requiredString" } } }, { - "$id": "230", + "$id": "332", "kind": "property", "name": "requiredInt", "serializedName": "requiredInt", "doc": "Required int, illustrating a value type property.", "type": { - "$id": "231", + "$id": "333", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1950,21 +2792,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.requiredInt", "serializationOptions": { - "$id": "232", + "$id": "334", "json": { - "$id": "233", + "$id": "335", "name": "requiredInt" } } }, { - "$id": "234", + "$id": "336", "kind": "property", "name": "requiredCollection", "serializedName": "requiredCollection", "doc": "Required collection of enums", "type": { - "$id": "235", + "$id": "337", "kind": "array", "name": "ArrayStringFixedEnum", "valueType": { @@ -1980,24 +2822,24 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.requiredCollection", "serializationOptions": { - "$id": "236", + "$id": "338", "json": { - "$id": "237", + "$id": "339", "name": "requiredCollection" } } }, { - "$id": "238", + "$id": "340", "kind": "property", "name": "requiredDictionary", "serializedName": "requiredDictionary", "doc": "Required dictionary of enums", "type": { - "$id": "239", + "$id": "341", "kind": "dict", "keyType": { - "$id": "240", + "$id": "342", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2015,21 +2857,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.requiredDictionary", "serializationOptions": { - "$id": "241", + "$id": "343", "json": { - "$id": "242", + "$id": "344", "name": "requiredDictionary" } } }, { - "$id": "243", + "$id": "345", "kind": "property", "name": "requiredModel", "serializedName": "requiredModel", "doc": "Required model", "type": { - "$ref": "104" + "$ref": "216" }, "optional": false, "readOnly": false, @@ -2038,15 +2880,15 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.requiredModel", "serializationOptions": { - "$id": "244", + "$id": "346", "json": { - "$id": "245", + "$id": "347", "name": "requiredModel" } } }, { - "$id": "246", + "$id": "348", "kind": "property", "name": "intExtensibleEnum", "serializedName": "intExtensibleEnum", @@ -2061,21 +2903,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.intExtensibleEnum", "serializationOptions": { - "$id": "247", + "$id": "349", "json": { - "$id": "248", + "$id": "350", "name": "intExtensibleEnum" } } }, { - "$id": "249", + "$id": "351", "kind": "property", "name": "intExtensibleEnumCollection", "serializedName": "intExtensibleEnumCollection", "doc": "this is a collection of int based extensible enum", "type": { - "$id": "250", + "$id": "352", "kind": "array", "name": "ArrayIntExtensibleEnum", "valueType": { @@ -2091,15 +2933,15 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.intExtensibleEnumCollection", "serializationOptions": { - "$id": "251", + "$id": "353", "json": { - "$id": "252", + "$id": "354", "name": "intExtensibleEnumCollection" } } }, { - "$id": "253", + "$id": "355", "kind": "property", "name": "floatExtensibleEnum", "serializedName": "floatExtensibleEnum", @@ -2114,21 +2956,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.floatExtensibleEnum", "serializationOptions": { - "$id": "254", + "$id": "356", "json": { - "$id": "255", + "$id": "357", "name": "floatExtensibleEnum" } } }, { - "$id": "256", + "$id": "358", "kind": "property", "name": "floatExtensibleEnumCollection", "serializedName": "floatExtensibleEnumCollection", "doc": "this is a collection of float based extensible enum", "type": { - "$id": "257", + "$id": "359", "kind": "array", "name": "ArrayFloatExtensibleEnum", "valueType": { @@ -2144,15 +2986,15 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.floatExtensibleEnumCollection", "serializationOptions": { - "$id": "258", + "$id": "360", "json": { - "$id": "259", + "$id": "361", "name": "floatExtensibleEnumCollection" } } }, { - "$id": "260", + "$id": "362", "kind": "property", "name": "floatFixedEnum", "serializedName": "floatFixedEnum", @@ -2167,21 +3009,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.floatFixedEnum", "serializationOptions": { - "$id": "261", + "$id": "363", "json": { - "$id": "262", + "$id": "364", "name": "floatFixedEnum" } } }, { - "$id": "263", + "$id": "365", "kind": "property", "name": "floatFixedEnumCollection", "serializedName": "floatFixedEnumCollection", "doc": "this is a collection of float based fixed enum", "type": { - "$id": "264", + "$id": "366", "kind": "array", "name": "ArrayFloatFixedEnum", "valueType": { @@ -2197,15 +3039,15 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.floatFixedEnumCollection", "serializationOptions": { - "$id": "265", + "$id": "367", "json": { - "$id": "266", + "$id": "368", "name": "floatFixedEnumCollection" } } }, { - "$id": "267", + "$id": "369", "kind": "property", "name": "intFixedEnum", "serializedName": "intFixedEnum", @@ -2220,21 +3062,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.intFixedEnum", "serializationOptions": { - "$id": "268", + "$id": "370", "json": { - "$id": "269", + "$id": "371", "name": "intFixedEnum" } } }, { - "$id": "270", + "$id": "372", "kind": "property", "name": "intFixedEnumCollection", "serializedName": "intFixedEnumCollection", "doc": "this is a collection of int based fixed enum", "type": { - "$id": "271", + "$id": "373", "kind": "array", "name": "ArrayIntFixedEnum", "valueType": { @@ -2250,15 +3092,15 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.intFixedEnumCollection", "serializationOptions": { - "$id": "272", + "$id": "374", "json": { - "$id": "273", + "$id": "375", "name": "intFixedEnumCollection" } } }, { - "$id": "274", + "$id": "376", "kind": "property", "name": "stringFixedEnum", "serializedName": "stringFixedEnum", @@ -2273,21 +3115,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.stringFixedEnum", "serializationOptions": { - "$id": "275", + "$id": "377", "json": { - "$id": "276", + "$id": "378", "name": "stringFixedEnum" } } }, { - "$id": "277", + "$id": "379", "kind": "property", "name": "requiredUnknown", "serializedName": "requiredUnknown", "doc": "required unknown", "type": { - "$id": "278", + "$id": "380", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -2300,21 +3142,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.requiredUnknown", "serializationOptions": { - "$id": "279", + "$id": "381", "json": { - "$id": "280", + "$id": "382", "name": "requiredUnknown" } } }, { - "$id": "281", + "$id": "383", "kind": "property", "name": "optionalUnknown", "serializedName": "optionalUnknown", "doc": "optional unknown", "type": { - "$id": "282", + "$id": "384", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -2327,31 +3169,31 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.optionalUnknown", "serializationOptions": { - "$id": "283", + "$id": "385", "json": { - "$id": "284", + "$id": "386", "name": "optionalUnknown" } } }, { - "$id": "285", + "$id": "387", "kind": "property", "name": "requiredRecordUnknown", "serializedName": "requiredRecordUnknown", "doc": "required record of unknown", "type": { - "$id": "286", + "$id": "388", "kind": "dict", "keyType": { - "$id": "287", + "$id": "389", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "288", + "$id": "390", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -2366,21 +3208,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.requiredRecordUnknown", "serializationOptions": { - "$id": "289", + "$id": "391", "json": { - "$id": "290", + "$id": "392", "name": "requiredRecordUnknown" } } }, { - "$id": "291", + "$id": "393", "kind": "property", "name": "optionalRecordUnknown", "serializedName": "optionalRecordUnknown", "doc": "optional record of unknown", "type": { - "$ref": "286" + "$ref": "388" }, "optional": true, "readOnly": false, @@ -2389,21 +3231,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.optionalRecordUnknown", "serializationOptions": { - "$id": "292", + "$id": "394", "json": { - "$id": "293", + "$id": "395", "name": "optionalRecordUnknown" } } }, { - "$id": "294", + "$id": "396", "kind": "property", "name": "readOnlyRequiredRecordUnknown", "serializedName": "readOnlyRequiredRecordUnknown", "doc": "required readonly record of unknown", "type": { - "$ref": "286" + "$ref": "388" }, "optional": false, "readOnly": true, @@ -2412,21 +3254,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.readOnlyRequiredRecordUnknown", "serializationOptions": { - "$id": "295", + "$id": "397", "json": { - "$id": "296", + "$id": "398", "name": "readOnlyRequiredRecordUnknown" } } }, { - "$id": "297", + "$id": "399", "kind": "property", "name": "readOnlyOptionalRecordUnknown", "serializedName": "readOnlyOptionalRecordUnknown", "doc": "optional readonly record of unknown", "type": { - "$ref": "286" + "$ref": "388" }, "optional": true, "readOnly": true, @@ -2435,21 +3277,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.readOnlyOptionalRecordUnknown", "serializationOptions": { - "$id": "298", + "$id": "400", "json": { - "$id": "299", + "$id": "401", "name": "readOnlyOptionalRecordUnknown" } } }, { - "$id": "300", + "$id": "402", "kind": "property", "name": "modelWithRequiredNullable", "serializedName": "modelWithRequiredNullable", "doc": "this is a model with required nullable properties", "type": { - "$id": "301", + "$id": "403", "kind": "model", "name": "ModelWithRequiredNullableProperties", "namespace": "NoDocsTypeSpec", @@ -2459,16 +3301,16 @@ "decorators": [], "properties": [ { - "$id": "302", + "$id": "404", "kind": "property", "name": "requiredNullablePrimitive", "serializedName": "requiredNullablePrimitive", "doc": "required nullable primitive type", "type": { - "$id": "303", + "$id": "405", "kind": "nullable", "type": { - "$id": "304", + "$id": "406", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2483,21 +3325,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.ModelWithRequiredNullableProperties.requiredNullablePrimitive", "serializationOptions": { - "$id": "305", + "$id": "407", "json": { - "$id": "306", + "$id": "408", "name": "requiredNullablePrimitive" } } }, { - "$id": "307", + "$id": "409", "kind": "property", "name": "requiredExtensibleEnum", "serializedName": "requiredExtensibleEnum", "doc": "required nullable extensible enum type", "type": { - "$id": "308", + "$id": "410", "kind": "nullable", "type": { "$ref": "26" @@ -2511,21 +3353,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.ModelWithRequiredNullableProperties.requiredExtensibleEnum", "serializationOptions": { - "$id": "309", + "$id": "411", "json": { - "$id": "310", + "$id": "412", "name": "requiredExtensibleEnum" } } }, { - "$id": "311", + "$id": "413", "kind": "property", "name": "requiredFixedEnum", "serializedName": "requiredFixedEnum", "doc": "required nullable fixed enum type", "type": { - "$id": "312", + "$id": "414", "kind": "nullable", "type": { "$ref": "18" @@ -2539,9 +3381,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.ModelWithRequiredNullableProperties.requiredFixedEnum", "serializationOptions": { - "$id": "313", + "$id": "415", "json": { - "$id": "314", + "$id": "416", "name": "requiredFixedEnum" } } @@ -2555,44 +3397,44 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.modelWithRequiredNullable", "serializationOptions": { - "$id": "315", + "$id": "417", "json": { - "$id": "316", + "$id": "418", "name": "modelWithRequiredNullable" } } }, { - "$id": "317", + "$id": "419", "kind": "property", "name": "unionList", "serializedName": "unionList", "doc": "this is a list of union types", "type": { - "$id": "318", + "$id": "420", "kind": "array", "name": "Array2", "valueType": { - "$id": "319", + "$id": "421", "kind": "union", "name": "RoundTripModelUnionList", "variantTypes": [ { - "$id": "320", + "$id": "422", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "321", + "$id": "423", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, { - "$id": "322", + "$id": "424", "kind": "model", "name": "ModelForUnion", "namespace": "NoDocsTypeSpec", @@ -2602,13 +3444,13 @@ "decorators": [], "properties": [ { - "$id": "323", + "$id": "425", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the ModelForUnion", "type": { - "$id": "324", + "$id": "426", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2621,21 +3463,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.ModelForUnion.name", "serializationOptions": { - "$id": "325", + "$id": "427", "json": { - "$id": "326", + "$id": "428", "name": "name" } } }, { - "$id": "327", + "$id": "429", "kind": "property", "name": "age", "serializedName": "age", "doc": "age of the ModelForUnion", "type": { - "$id": "328", + "$id": "430", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2648,9 +3490,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.ModelForUnion.age", "serializationOptions": { - "$id": "329", + "$id": "431", "json": { - "$id": "330", + "$id": "432", "name": "age" } } @@ -2658,11 +3500,11 @@ ] }, { - "$id": "331", + "$id": "433", "kind": "array", "name": "ArrayModelForUnion", "valueType": { - "$ref": "322" + "$ref": "424" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -2681,9 +3523,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsTypeSpec.RoundTripModel.unionList", "serializationOptions": { - "$id": "332", + "$id": "434", "json": { - "$id": "333", + "$id": "435", "name": "unionList" } } @@ -2691,22 +3533,22 @@ ] }, { - "$ref": "301" + "$ref": "403" }, { - "$ref": "322" + "$ref": "424" } ], "clients": [ { - "$id": "334", + "$id": "436", "kind": "client", "name": "NoDocsTypeSpecClient", "namespace": "NoDocsTypeSpec", "doc": "This is a sample typespec project.", "methods": [ { - "$id": "335", + "$id": "437", "kind": "basic", "name": "topAction", "accessibility": "public", @@ -2715,31 +3557,18 @@ ], "doc": "top level method", "operation": { - "$id": "336", + "$id": "438", "name": "topAction", "resourceName": "NoDocsTypeSpec", "doc": "top level method", "accessibility": "public", "parameters": [ { - "$id": "337", + "$id": "439", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "338", - "kind": "constant", - "name": "topActionContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "339", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -2754,12 +3583,12 @@ ], "responses": [ { - "$id": "340", + "$id": "440", "statusCodes": [ 200 ], "bodyType": { - "$ref": "104" + "$ref": "216" }, "headers": [], "isErrorResponse": false, @@ -2779,11 +3608,11 @@ }, "parameters": [ { - "$id": "341", + "$id": "441", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "338" + "$ref": "114" }, "location": "Header", "isApiVersion": false, @@ -2797,9 +3626,9 @@ } ], "response": { - "$id": "342", + "$id": "442", "type": { - "$ref": "104" + "$ref": "216" } }, "isOverride": false, @@ -2808,7 +3637,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.topAction" }, { - "$id": "343", + "$id": "443", "kind": "basic", "name": "patchAction", "accessibility": "public", @@ -2817,32 +3646,19 @@ ], "doc": "top level patch", "operation": { - "$id": "344", + "$id": "444", "name": "patchAction", "resourceName": "NoDocsTypeSpec", "doc": "top level patch", "accessibility": "public", "parameters": [ { - "$id": "345", + "$id": "445", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "346", - "kind": "constant", - "name": "patchActionContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "347", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -2855,24 +3671,11 @@ "skipUrlEncoding": false }, { - "$id": "348", + "$id": "446", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "349", - "kind": "constant", - "name": "patchActionContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "350", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -2885,11 +3688,11 @@ "skipUrlEncoding": false }, { - "$id": "351", + "$id": "447", "name": "body", "nameInRequest": "body", "type": { - "$ref": "104" + "$ref": "216" }, "location": "Body", "isApiVersion": false, @@ -2904,12 +3707,12 @@ ], "responses": [ { - "$id": "352", + "$id": "448", "statusCodes": [ 200 ], "bodyType": { - "$ref": "104" + "$ref": "216" }, "headers": [], "isErrorResponse": false, @@ -2932,11 +3735,11 @@ }, "parameters": [ { - "$id": "353", + "$id": "449", "name": "body", "nameInRequest": "body", "type": { - "$ref": "104" + "$ref": "216" }, "location": "Body", "isApiVersion": false, @@ -2949,12 +3752,12 @@ "skipUrlEncoding": false }, { - "$id": "354", + "$id": "450", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "346" + "$ref": "116" }, "location": "Header", "isApiVersion": false, @@ -2967,11 +3770,11 @@ "skipUrlEncoding": false }, { - "$id": "355", + "$id": "451", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "349" + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -2985,9 +3788,9 @@ } ], "response": { - "$id": "356", + "$id": "452", "type": { - "$ref": "104" + "$ref": "216" } }, "isOverride": false, @@ -2996,7 +3799,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.patchAction" }, { - "$id": "357", + "$id": "453", "kind": "basic", "name": "anonymousBody", "accessibility": "public", @@ -3005,32 +3808,19 @@ ], "doc": "body parameter without body decorator", "operation": { - "$id": "358", + "$id": "454", "name": "anonymousBody", "resourceName": "NoDocsTypeSpec", "doc": "body parameter without body decorator", "accessibility": "public", "parameters": [ { - "$id": "359", + "$id": "455", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "360", - "kind": "constant", - "name": "anonymousBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "361", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -3043,24 +3833,11 @@ "skipUrlEncoding": false }, { - "$id": "362", + "$id": "456", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "363", - "kind": "constant", - "name": "anonymousBodyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "364", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -3073,11 +3850,11 @@ "skipUrlEncoding": false }, { - "$id": "365", + "$id": "457", "name": "thing", "nameInRequest": "thing", "type": { - "$ref": "104" + "$ref": "216" }, "location": "Body", "isApiVersion": false, @@ -3092,12 +3869,12 @@ ], "responses": [ { - "$id": "366", + "$id": "458", "statusCodes": [ 200 ], "bodyType": { - "$ref": "104" + "$ref": "216" }, "headers": [], "isErrorResponse": false, @@ -3120,12 +3897,12 @@ }, "parameters": [ { - "$id": "367", + "$id": "459", "name": "name", "nameInRequest": "name", "doc": "name of the Thing", "type": { - "$id": "368", + "$id": "460", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3142,12 +3919,12 @@ "skipUrlEncoding": false }, { - "$id": "369", + "$id": "461", "name": "requiredUnion", "nameInRequest": "requiredUnion", "doc": "required Union", "type": { - "$ref": "110" + "$ref": "222" }, "location": "Body", "isApiVersion": false, @@ -3160,12 +3937,12 @@ "skipUrlEncoding": false }, { - "$id": "370", + "$id": "462", "name": "requiredLiteralString", "nameInRequest": "requiredLiteralString", "doc": "required literal string", "type": { - "$ref": "118" + "$ref": "104" }, "location": "Body", "isApiVersion": false, @@ -3178,12 +3955,12 @@ "skipUrlEncoding": false }, { - "$id": "371", + "$id": "463", "name": "requiredLiteralInt", "nameInRequest": "requiredLiteralInt", "doc": "required literal int", "type": { - "$ref": "122" + "$ref": "105" }, "location": "Body", "isApiVersion": false, @@ -3196,12 +3973,12 @@ "skipUrlEncoding": false }, { - "$id": "372", + "$id": "464", "name": "requiredLiteralFloat", "nameInRequest": "requiredLiteralFloat", "doc": "required literal float", "type": { - "$ref": "126" + "$ref": "106" }, "location": "Body", "isApiVersion": false, @@ -3214,12 +3991,12 @@ "skipUrlEncoding": false }, { - "$id": "373", + "$id": "465", "name": "requiredLiteralBool", "nameInRequest": "requiredLiteralBool", "doc": "required literal bool", "type": { - "$ref": "130" + "$ref": "107" }, "location": "Body", "isApiVersion": false, @@ -3232,12 +4009,12 @@ "skipUrlEncoding": false }, { - "$id": "374", + "$id": "466", "name": "optionalLiteralString", "nameInRequest": "optionalLiteralString", "doc": "optional literal string", "type": { - "$ref": "135" + "$ref": "109" }, "location": "Body", "isApiVersion": false, @@ -3250,12 +4027,12 @@ "skipUrlEncoding": false }, { - "$id": "375", + "$id": "467", "name": "optionalLiteralInt", "nameInRequest": "optionalLiteralInt", "doc": "optional literal int", "type": { - "$ref": "139" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -3268,12 +4045,12 @@ "skipUrlEncoding": false }, { - "$id": "376", + "$id": "468", "name": "optionalLiteralFloat", "nameInRequest": "optionalLiteralFloat", "doc": "optional literal float", "type": { - "$ref": "143" + "$ref": "111" }, "location": "Body", "isApiVersion": false, @@ -3286,12 +4063,12 @@ "skipUrlEncoding": false }, { - "$id": "377", + "$id": "469", "name": "optionalLiteralBool", "nameInRequest": "optionalLiteralBool", "doc": "optional literal bool", "type": { - "$ref": "147" + "$ref": "112" }, "location": "Body", "isApiVersion": false, @@ -3304,12 +4081,12 @@ "skipUrlEncoding": false }, { - "$id": "378", + "$id": "470", "name": "requiredBadDescription", "nameInRequest": "requiredBadDescription", "doc": "description with xml <|endoftext|>", "type": { - "$id": "379", + "$id": "471", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3326,12 +4103,12 @@ "skipUrlEncoding": false }, { - "$id": "380", + "$id": "472", "name": "optionalNullableList", "nameInRequest": "optionalNullableList", "doc": "optional nullable collection", "type": { - "$ref": "156" + "$ref": "258" }, "location": "Body", "isApiVersion": false, @@ -3344,12 +4121,12 @@ "skipUrlEncoding": false }, { - "$id": "381", + "$id": "473", "name": "requiredNullableList", "nameInRequest": "requiredNullableList", "doc": "required nullable collection", "type": { - "$ref": "162" + "$ref": "264" }, "location": "Body", "isApiVersion": false, @@ -3362,12 +4139,12 @@ "skipUrlEncoding": false }, { - "$id": "382", + "$id": "474", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "360" + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -3380,11 +4157,11 @@ "skipUrlEncoding": false }, { - "$id": "383", + "$id": "475", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "363" + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -3398,9 +4175,9 @@ } ], "response": { - "$id": "384", + "$id": "476", "type": { - "$ref": "104" + "$ref": "216" } }, "isOverride": false, @@ -3409,7 +4186,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.anonymousBody" }, { - "$id": "385", + "$id": "477", "kind": "basic", "name": "friendlyModel", "accessibility": "public", @@ -3418,32 +4195,19 @@ ], "doc": "Model can have its friendly name", "operation": { - "$id": "386", + "$id": "478", "name": "friendlyModel", "resourceName": "NoDocsTypeSpec", "doc": "Model can have its friendly name", "accessibility": "public", "parameters": [ { - "$id": "387", + "$id": "479", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "388", - "kind": "constant", - "name": "friendlyModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "389", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -3456,24 +4220,11 @@ "skipUrlEncoding": false }, { - "$id": "390", + "$id": "480", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "391", - "kind": "constant", - "name": "friendlyModelContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "392", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "142" }, "location": "Header", "isApiVersion": false, @@ -3486,11 +4237,11 @@ "skipUrlEncoding": false }, { - "$id": "393", + "$id": "481", "name": "friend", "nameInRequest": "friend", "type": { - "$ref": "165" + "$ref": "267" }, "location": "Body", "isApiVersion": false, @@ -3505,12 +4256,12 @@ ], "responses": [ { - "$id": "394", + "$id": "482", "statusCodes": [ 200 ], "bodyType": { - "$ref": "165" + "$ref": "267" }, "headers": [], "isErrorResponse": false, @@ -3533,12 +4284,12 @@ }, "parameters": [ { - "$id": "395", + "$id": "483", "name": "name", "nameInRequest": "name", "doc": "name of the NotFriend", "type": { - "$id": "396", + "$id": "484", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3555,12 +4306,12 @@ "skipUrlEncoding": false }, { - "$id": "397", + "$id": "485", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "388" + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -3573,11 +4324,11 @@ "skipUrlEncoding": false }, { - "$id": "398", + "$id": "486", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "391" + "$ref": "142" }, "location": "Header", "isApiVersion": false, @@ -3591,9 +4342,9 @@ } ], "response": { - "$id": "399", + "$id": "487", "type": { - "$ref": "165" + "$ref": "267" } }, "isOverride": false, @@ -3602,7 +4353,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.friendlyModel" }, { - "$id": "400", + "$id": "488", "kind": "basic", "name": "addTimeHeader", "accessibility": "public", @@ -3610,22 +4361,22 @@ "2022-05-15-preview" ], "operation": { - "$id": "401", + "$id": "489", "name": "addTimeHeader", "resourceName": "NoDocsTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "402", + "$id": "490", "name": "repeatabilityFirstSent", "nameInRequest": "Repeatability-First-Sent", "type": { - "$id": "403", + "$id": "491", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "404", + "$id": "492", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3647,7 +4398,7 @@ ], "responses": [ { - "$id": "405", + "$id": "493", "statusCodes": [ 204 ], @@ -3666,16 +4417,16 @@ }, "parameters": [ { - "$id": "406", + "$id": "494", "name": "repeatabilityFirstSent", "nameInRequest": "Repeatability-First-Sent", "type": { - "$id": "407", + "$id": "495", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "408", + "$id": "496", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3696,7 +4447,7 @@ } ], "response": { - "$id": "409" + "$id": "497" }, "isOverride": false, "generateConvenient": false, @@ -3704,7 +4455,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.addTimeHeader" }, { - "$id": "410", + "$id": "498", "kind": "basic", "name": "projectedNameModel", "accessibility": "public", @@ -3713,32 +4464,19 @@ ], "doc": "Model can have its projected name", "operation": { - "$id": "411", + "$id": "499", "name": "projectedNameModel", "resourceName": "NoDocsTypeSpec", "doc": "Model can have its projected name", "accessibility": "public", "parameters": [ { - "$id": "412", + "$id": "500", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "413", - "kind": "constant", - "name": "projectedNameModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "414", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "144" }, "location": "Header", "isApiVersion": false, @@ -3751,24 +4489,11 @@ "skipUrlEncoding": false }, { - "$id": "415", + "$id": "501", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "416", - "kind": "constant", - "name": "projectedNameModelContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "417", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "146" }, "location": "Header", "isApiVersion": false, @@ -3781,11 +4506,11 @@ "skipUrlEncoding": false }, { - "$id": "418", + "$id": "502", "name": "projectedModel", "nameInRequest": "projectedModel", "type": { - "$ref": "170" + "$ref": "272" }, "location": "Body", "isApiVersion": false, @@ -3800,12 +4525,12 @@ ], "responses": [ { - "$id": "419", + "$id": "503", "statusCodes": [ 200 ], "bodyType": { - "$ref": "170" + "$ref": "272" }, "headers": [], "isErrorResponse": false, @@ -3828,12 +4553,12 @@ }, "parameters": [ { - "$id": "420", + "$id": "504", "name": "name", "nameInRequest": "name", "doc": "name of the ModelWithProjectedName", "type": { - "$id": "421", + "$id": "505", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3850,12 +4575,12 @@ "skipUrlEncoding": false }, { - "$id": "422", + "$id": "506", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "413" + "$ref": "144" }, "location": "Header", "isApiVersion": false, @@ -3868,11 +4593,11 @@ "skipUrlEncoding": false }, { - "$id": "423", + "$id": "507", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "416" + "$ref": "146" }, "location": "Header", "isApiVersion": false, @@ -3886,9 +4611,9 @@ } ], "response": { - "$id": "424", + "$id": "508", "type": { - "$ref": "170" + "$ref": "272" } }, "isOverride": false, @@ -3897,7 +4622,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.projectedNameModel" }, { - "$id": "425", + "$id": "509", "kind": "basic", "name": "returnsAnonymousModel", "accessibility": "public", @@ -3906,31 +4631,18 @@ ], "doc": "return anonymous model", "operation": { - "$id": "426", + "$id": "510", "name": "returnsAnonymousModel", "resourceName": "NoDocsTypeSpec", "doc": "return anonymous model", "accessibility": "public", "parameters": [ { - "$id": "427", + "$id": "511", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "428", - "kind": "constant", - "name": "returnsAnonymousModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "429", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "148" }, "location": "Header", "isApiVersion": false, @@ -3945,12 +4657,12 @@ ], "responses": [ { - "$id": "430", + "$id": "512", "statusCodes": [ 200 ], "bodyType": { - "$ref": "175" + "$ref": "277" }, "headers": [], "isErrorResponse": false, @@ -3961,7 +4673,7 @@ ], "httpMethod": "POST", "uri": "{endpoint}", - "path": "/retunsAnonymousModel", + "path": "/returnsAnonymousModel", "bufferResponse": true, "generateProtocolMethod": true, "generateConvenienceMethod": true, @@ -3970,11 +4682,11 @@ }, "parameters": [ { - "$id": "431", + "$id": "513", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "428" + "$ref": "148" }, "location": "Header", "isApiVersion": false, @@ -3988,9 +4700,9 @@ } ], "response": { - "$id": "432", + "$id": "514", "type": { - "$ref": "175" + "$ref": "277" } }, "isOverride": false, @@ -3999,7 +4711,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.returnsAnonymousModel" }, { - "$id": "433", + "$id": "515", "kind": "basic", "name": "headAsBoolean", "accessibility": "public", @@ -4008,18 +4720,18 @@ ], "doc": "head as boolean.", "operation": { - "$id": "434", + "$id": "516", "name": "headAsBoolean", "resourceName": "NoDocsTypeSpec", "doc": "head as boolean.", "accessibility": "public", "parameters": [ { - "$id": "435", + "$id": "517", "name": "id", "nameInRequest": "id", "type": { - "$id": "436", + "$id": "518", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4038,7 +4750,7 @@ ], "responses": [ { - "$id": "437", + "$id": "519", "statusCodes": [ 204 ], @@ -4057,11 +4769,11 @@ }, "parameters": [ { - "$id": "438", + "$id": "520", "name": "id", "nameInRequest": "id", "type": { - "$id": "439", + "$id": "521", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4079,7 +4791,7 @@ } ], "response": { - "$id": "440" + "$id": "522" }, "isOverride": false, "generateConvenient": true, @@ -4087,7 +4799,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.headAsBoolean" }, { - "$id": "441", + "$id": "523", "kind": "basic", "name": "stringBody", "accessibility": "public", @@ -4096,32 +4808,19 @@ ], "doc": "The body parameter type is string.", "operation": { - "$id": "442", + "$id": "524", "name": "stringBody", "resourceName": "NoDocsTypeSpec", "doc": "The body parameter type is string.", "accessibility": "public", "parameters": [ - { - "$id": "443", - "name": "contentType", - "nameInRequest": "Content-Type", - "doc": "Body parameter's content type. Known values are text/plain", - "type": { - "$id": "444", - "kind": "constant", - "name": "stringBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "445", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + { + "$id": "525", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are text/plain", + "type": { + "$ref": "150" }, "location": "Header", "isApiVersion": false, @@ -4134,11 +4833,11 @@ "skipUrlEncoding": false }, { - "$id": "446", + "$id": "526", "name": "body", "nameInRequest": "body", "type": { - "$id": "447", + "$id": "527", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4157,7 +4856,7 @@ ], "responses": [ { - "$id": "448", + "$id": "528", "statusCodes": [ 204 ], @@ -4179,11 +4878,11 @@ }, "parameters": [ { - "$id": "449", + "$id": "529", "name": "body", "nameInRequest": "body", "type": { - "$id": "450", + "$id": "530", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4200,12 +4899,12 @@ "skipUrlEncoding": false }, { - "$id": "451", + "$id": "531", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$ref": "444" + "$ref": "150" }, "location": "Header", "isApiVersion": false, @@ -4219,7 +4918,7 @@ } ], "response": { - "$id": "452" + "$id": "532" }, "isOverride": false, "generateConvenient": true, @@ -4227,7 +4926,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.stringBody" }, { - "$id": "453", + "$id": "533", "kind": "basic", "name": "boolBody", "accessibility": "public", @@ -4236,32 +4935,19 @@ ], "doc": "The body parameter type is bool.", "operation": { - "$id": "454", + "$id": "534", "name": "boolBody", "resourceName": "NoDocsTypeSpec", "doc": "The body parameter type is bool.", "accessibility": "public", "parameters": [ { - "$id": "455", + "$id": "535", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$id": "456", - "kind": "constant", - "name": "boolBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "457", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "152" }, "location": "Header", "isApiVersion": false, @@ -4274,11 +4960,11 @@ "skipUrlEncoding": false }, { - "$id": "458", + "$id": "536", "name": "body", "nameInRequest": "body", "type": { - "$id": "459", + "$id": "537", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -4297,7 +4983,7 @@ ], "responses": [ { - "$id": "460", + "$id": "538", "statusCodes": [ 204 ], @@ -4319,11 +5005,11 @@ }, "parameters": [ { - "$id": "461", + "$id": "539", "name": "body", "nameInRequest": "body", "type": { - "$id": "462", + "$id": "540", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -4340,12 +5026,12 @@ "skipUrlEncoding": false }, { - "$id": "463", + "$id": "541", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$ref": "456" + "$ref": "152" }, "location": "Header", "isApiVersion": false, @@ -4359,7 +5045,7 @@ } ], "response": { - "$id": "464" + "$id": "542" }, "isOverride": false, "generateConvenient": true, @@ -4367,7 +5053,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.boolBody" }, { - "$id": "465", + "$id": "543", "kind": "basic", "name": "dateTimeBody", "accessibility": "public", @@ -4376,32 +5062,19 @@ ], "doc": "The body parameter type is datetime.", "operation": { - "$id": "466", + "$id": "544", "name": "dateTimeBody", "resourceName": "NoDocsTypeSpec", "doc": "The body parameter type is datetime.", "accessibility": "public", "parameters": [ { - "$id": "467", + "$id": "545", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$id": "468", - "kind": "constant", - "name": "dateTimeBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "469", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "154" }, "location": "Header", "isApiVersion": false, @@ -4414,16 +5087,16 @@ "skipUrlEncoding": false }, { - "$id": "470", + "$id": "546", "name": "body", "nameInRequest": "body", "type": { - "$id": "471", + "$id": "547", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "472", + "$id": "548", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4445,7 +5118,7 @@ ], "responses": [ { - "$id": "473", + "$id": "549", "statusCodes": [ 204 ], @@ -4467,16 +5140,16 @@ }, "parameters": [ { - "$id": "474", + "$id": "550", "name": "body", "nameInRequest": "body", "type": { - "$id": "475", + "$id": "551", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "476", + "$id": "552", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4496,12 +5169,12 @@ "skipUrlEncoding": false }, { - "$id": "477", + "$id": "553", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$ref": "468" + "$ref": "154" }, "location": "Header", "isApiVersion": false, @@ -4515,7 +5188,7 @@ } ], "response": { - "$id": "478" + "$id": "554" }, "isOverride": false, "generateConvenient": true, @@ -4523,7 +5196,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.dateTimeBody" }, { - "$id": "479", + "$id": "555", "kind": "basic", "name": "returnString", "accessibility": "public", @@ -4532,31 +5205,18 @@ ], "doc": "The return type is datetime.", "operation": { - "$id": "480", + "$id": "556", "name": "returnString", "resourceName": "NoDocsTypeSpec", "doc": "The return type is datetime.", "accessibility": "public", "parameters": [ { - "$id": "481", + "$id": "557", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "482", - "kind": "constant", - "name": "returnStringContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "483", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -4571,12 +5231,12 @@ ], "responses": [ { - "$id": "484", + "$id": "558", "statusCodes": [ 200 ], "bodyType": { - "$id": "485", + "$id": "559", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4600,11 +5260,11 @@ }, "parameters": [ { - "$id": "486", + "$id": "560", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "482" + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -4618,9 +5278,9 @@ } ], "response": { - "$id": "487", + "$id": "561", "type": { - "$ref": "485" + "$ref": "559" } }, "isOverride": false, @@ -4629,7 +5289,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.returnString" }, { - "$id": "488", + "$id": "562", "kind": "basic", "name": "returnUnknown", "accessibility": "public", @@ -4637,30 +5297,17 @@ "2022-05-15-preview" ], "operation": { - "$id": "489", + "$id": "563", "name": "returnUnknown", "resourceName": "NoDocsTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "490", + "$id": "564", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "491", - "kind": "constant", - "name": "returnUnknownContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "492", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -4675,12 +5322,12 @@ ], "responses": [ { - "$id": "493", + "$id": "565", "statusCodes": [ 200 ], "bodyType": { - "$id": "494", + "$id": "566", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -4704,11 +5351,11 @@ }, "parameters": [ { - "$id": "495", + "$id": "567", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "491" + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -4722,9 +5369,9 @@ } ], "response": { - "$id": "496", + "$id": "568", "type": { - "$ref": "494" + "$ref": "566" } }, "isOverride": false, @@ -4733,7 +5380,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.returnUnknown" }, { - "$id": "497", + "$id": "569", "kind": "basic", "name": "recursiveExtension", "accessibility": "public", @@ -4742,32 +5389,19 @@ ], "doc": "test parent reference child", "operation": { - "$id": "498", + "$id": "570", "name": "recursiveExtension", "resourceName": "NoDocsTypeSpec", "doc": "test parent reference child", "accessibility": "public", "parameters": [ { - "$id": "499", + "$id": "571", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "500", - "kind": "constant", - "name": "recursiveExtensionContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "501", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -4780,11 +5414,11 @@ "skipUrlEncoding": false }, { - "$id": "502", + "$id": "572", "name": "input", "nameInRequest": "input", "type": { - "$ref": "176" + "$ref": "278" }, "location": "Body", "isApiVersion": false, @@ -4799,7 +5433,7 @@ ], "responses": [ { - "$id": "503", + "$id": "573", "statusCodes": [ 204 ], @@ -4821,11 +5455,11 @@ }, "parameters": [ { - "$id": "504", + "$id": "574", "name": "input", "nameInRequest": "input", "type": { - "$ref": "176" + "$ref": "278" }, "location": "Body", "isApiVersion": false, @@ -4838,12 +5472,12 @@ "skipUrlEncoding": false }, { - "$id": "505", + "$id": "575", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "500" + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -4857,7 +5491,7 @@ } ], "response": { - "$id": "506" + "$id": "576" }, "isOverride": false, "generateConvenient": true, @@ -4865,7 +5499,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.recursiveExtension" }, { - "$id": "507", + "$id": "577", "kind": "basic", "name": "threeLevelRecursive", "accessibility": "public", @@ -4874,32 +5508,19 @@ ], "doc": "test three level recursive extension", "operation": { - "$id": "508", + "$id": "578", "name": "threeLevelRecursive", "resourceName": "NoDocsTypeSpec", "doc": "test three level recursive extension", "accessibility": "public", "parameters": [ { - "$id": "509", + "$id": "579", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "510", - "kind": "constant", - "name": "threeLevelRecursiveContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "511", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "162" }, "location": "Header", "isApiVersion": false, @@ -4912,11 +5533,11 @@ "skipUrlEncoding": false }, { - "$id": "512", + "$id": "580", "name": "input", "nameInRequest": "input", "type": { - "$ref": "186" + "$ref": "288" }, "location": "Body", "isApiVersion": false, @@ -4931,7 +5552,7 @@ ], "responses": [ { - "$id": "513", + "$id": "581", "statusCodes": [ 204 ], @@ -4953,11 +5574,11 @@ }, "parameters": [ { - "$id": "514", + "$id": "582", "name": "input", "nameInRequest": "input", "type": { - "$ref": "186" + "$ref": "288" }, "location": "Body", "isApiVersion": false, @@ -4970,12 +5591,12 @@ "skipUrlEncoding": false }, { - "$id": "515", + "$id": "583", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "510" + "$ref": "162" }, "location": "Header", "isApiVersion": false, @@ -4989,7 +5610,7 @@ } ], "response": { - "$id": "516" + "$id": "584" }, "isOverride": false, "generateConvenient": true, @@ -4997,7 +5618,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.threeLevelRecursive" }, { - "$id": "517", + "$id": "585", "kind": "basic", "name": "recursiveModels", "accessibility": "public", @@ -5006,32 +5627,19 @@ ], "doc": "test child reference parent", "operation": { - "$id": "518", + "$id": "586", "name": "recursiveModels", "resourceName": "NoDocsTypeSpec", "doc": "test child reference parent", "accessibility": "public", "parameters": [ { - "$id": "519", + "$id": "587", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "520", - "kind": "constant", - "name": "recursiveModelsContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "521", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "164" }, "location": "Header", "isApiVersion": false, @@ -5044,11 +5652,11 @@ "skipUrlEncoding": false }, { - "$id": "522", + "$id": "588", "name": "input", "nameInRequest": "input", "type": { - "$ref": "201" + "$ref": "303" }, "location": "Body", "isApiVersion": false, @@ -5063,7 +5671,7 @@ ], "responses": [ { - "$id": "523", + "$id": "589", "statusCodes": [ 204 ], @@ -5085,11 +5693,11 @@ }, "parameters": [ { - "$id": "524", + "$id": "590", "name": "input", "nameInRequest": "input", "type": { - "$ref": "201" + "$ref": "303" }, "location": "Body", "isApiVersion": false, @@ -5102,12 +5710,12 @@ "skipUrlEncoding": false }, { - "$id": "525", + "$id": "591", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "520" + "$ref": "164" }, "location": "Header", "isApiVersion": false, @@ -5121,7 +5729,7 @@ } ], "response": { - "$id": "526" + "$id": "592" }, "isOverride": false, "generateConvenient": true, @@ -5129,7 +5737,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.recursiveModels" }, { - "$id": "527", + "$id": "593", "kind": "basic", "name": "ContainSelfModels", "accessibility": "public", @@ -5138,32 +5746,19 @@ ], "doc": "test contain self models", "operation": { - "$id": "528", + "$id": "594", "name": "ContainSelfModels", "resourceName": "NoDocsTypeSpec", "doc": "test contain self models", "accessibility": "public", "parameters": [ { - "$id": "529", + "$id": "595", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "530", - "kind": "constant", - "name": "ContainSelfModelsContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "531", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "166" }, "location": "Header", "isApiVersion": false, @@ -5176,11 +5771,11 @@ "skipUrlEncoding": false }, { - "$id": "532", + "$id": "596", "name": "input", "nameInRequest": "input", "type": { - "$ref": "211" + "$ref": "313" }, "location": "Body", "isApiVersion": false, @@ -5195,7 +5790,7 @@ ], "responses": [ { - "$id": "533", + "$id": "597", "statusCodes": [ 204 ], @@ -5217,11 +5812,11 @@ }, "parameters": [ { - "$id": "534", + "$id": "598", "name": "input", "nameInRequest": "input", "type": { - "$ref": "211" + "$ref": "313" }, "location": "Body", "isApiVersion": false, @@ -5234,12 +5829,12 @@ "skipUrlEncoding": false }, { - "$id": "535", + "$id": "599", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "530" + "$ref": "166" }, "location": "Header", "isApiVersion": false, @@ -5253,7 +5848,7 @@ } ], "response": { - "$id": "536" + "$id": "600" }, "isOverride": false, "generateConvenient": true, @@ -5261,7 +5856,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.ContainSelfModels" }, { - "$id": "537", + "$id": "601", "kind": "basic", "name": "enumParameter", "accessibility": "public", @@ -5270,14 +5865,14 @@ ], "doc": "test enum parameter.", "operation": { - "$id": "538", + "$id": "602", "name": "enumParameter", "resourceName": "NoDocsTypeSpec", "doc": "test enum parameter.", "accessibility": "public", "parameters": [ { - "$id": "539", + "$id": "603", "name": "p1", "nameInRequest": "p1", "type": { @@ -5296,7 +5891,7 @@ ], "responses": [ { - "$id": "540", + "$id": "604", "statusCodes": [ 204 ], @@ -5315,7 +5910,7 @@ }, "parameters": [ { - "$id": "541", + "$id": "605", "name": "p1", "nameInRequest": "p1", "type": { @@ -5333,7 +5928,7 @@ } ], "response": { - "$id": "542" + "$id": "606" }, "isOverride": false, "generateConvenient": true, @@ -5341,7 +5936,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.enumParameter" }, { - "$id": "543", + "$id": "607", "kind": "basic", "name": "bodyIsModelWithProjectedEnum", "accessibility": "public", @@ -5350,32 +5945,19 @@ ], "doc": "test enum parameter.", "operation": { - "$id": "544", + "$id": "608", "name": "bodyIsModelWithProjectedEnum", "resourceName": "NoDocsTypeSpec", "doc": "test enum parameter.", "accessibility": "public", "parameters": [ { - "$id": "545", + "$id": "609", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "546", - "kind": "constant", - "name": "bodyIsModelWithProjectedEnumContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "547", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "168" }, "location": "Header", "isApiVersion": false, @@ -5388,11 +5970,11 @@ "skipUrlEncoding": false }, { - "$id": "548", + "$id": "610", "name": "body", "nameInRequest": "body", "type": { - "$ref": "215" + "$ref": "317" }, "location": "Body", "isApiVersion": false, @@ -5407,7 +5989,7 @@ ], "responses": [ { - "$id": "549", + "$id": "611", "statusCodes": [ 204 ], @@ -5429,11 +6011,11 @@ }, "parameters": [ { - "$id": "550", + "$id": "612", "name": "body", "nameInRequest": "body", "type": { - "$ref": "215" + "$ref": "317" }, "location": "Body", "isApiVersion": false, @@ -5446,12 +6028,12 @@ "skipUrlEncoding": false }, { - "$id": "551", + "$id": "613", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "546" + "$ref": "168" }, "location": "Header", "isApiVersion": false, @@ -5465,7 +6047,7 @@ } ], "response": { - "$id": "552" + "$id": "614" }, "isOverride": false, "generateConvenient": true, @@ -5473,7 +6055,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.bodyIsModelWithProjectedEnum" }, { - "$id": "553", + "$id": "615", "kind": "basic", "name": "optionalDictionary", "accessibility": "public", @@ -5482,32 +6064,19 @@ ], "doc": "test optional dictionary.", "operation": { - "$id": "554", + "$id": "616", "name": "optionalDictionary", "resourceName": "NoDocsTypeSpec", "doc": "test optional dictionary.", "accessibility": "public", "parameters": [ { - "$id": "555", + "$id": "617", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "556", - "kind": "constant", - "name": "optionalDictionaryContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "557", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "170" }, "location": "Header", "isApiVersion": false, @@ -5520,21 +6089,21 @@ "skipUrlEncoding": false }, { - "$id": "558", + "$id": "618", "name": "body", "nameInRequest": "body", "type": { - "$id": "559", + "$id": "619", "kind": "dict", "keyType": { - "$id": "560", + "$id": "620", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "561", + "$id": "621", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5555,7 +6124,7 @@ ], "responses": [ { - "$id": "562", + "$id": "622", "statusCodes": [ 204 ], @@ -5577,11 +6146,11 @@ }, "parameters": [ { - "$id": "563", + "$id": "623", "name": "body", "nameInRequest": "body", "type": { - "$ref": "559" + "$ref": "619" }, "location": "Body", "isApiVersion": false, @@ -5594,12 +6163,12 @@ "skipUrlEncoding": false }, { - "$id": "564", + "$id": "624", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "556" + "$ref": "170" }, "location": "Header", "isApiVersion": false, @@ -5613,7 +6182,7 @@ } ], "response": { - "$id": "565" + "$id": "625" }, "isOverride": false, "generateConvenient": true, @@ -5621,7 +6190,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.optionalDictionary" }, { - "$id": "566", + "$id": "626", "kind": "basic", "name": "azureLocationOp", "accessibility": "public", @@ -5630,23 +6199,23 @@ ], "doc": "test optional dictionary.", "operation": { - "$id": "567", + "$id": "627", "name": "azureLocationOp", "resourceName": "NoDocsTypeSpec", "doc": "test optional dictionary.", "accessibility": "public", "parameters": [ { - "$id": "568", + "$id": "628", "name": "location", "nameInRequest": "location", "type": { - "$id": "569", + "$id": "629", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "570", + "$id": "630", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5665,16 +6234,16 @@ "skipUrlEncoding": false }, { - "$id": "571", + "$id": "631", "name": "regenLocation", "nameInRequest": "regen-location", "type": { - "$id": "572", + "$id": "632", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "573", + "$id": "633", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5693,25 +6262,12 @@ "skipUrlEncoding": false }, { - "$id": "574", + "$id": "634", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "575", - "kind": "constant", - "name": "azureLocationOpContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "576", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "172" }, "location": "Header", "isApiVersion": false, @@ -5724,11 +6280,11 @@ "skipUrlEncoding": false }, { - "$id": "577", + "$id": "635", "name": "body", "nameInRequest": "body", "type": { - "$ref": "219" + "$ref": "321" }, "location": "Body", "isApiVersion": false, @@ -5743,7 +6299,7 @@ ], "responses": [ { - "$id": "578", + "$id": "636", "statusCodes": [ 204 ], @@ -5765,16 +6321,16 @@ }, "parameters": [ { - "$id": "579", + "$id": "637", "name": "location", "nameInRequest": "location", "type": { - "$id": "580", + "$id": "638", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "581", + "$id": "639", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5793,16 +6349,16 @@ "skipUrlEncoding": false }, { - "$id": "582", + "$id": "640", "name": "regenLocation", "nameInRequest": "regen-location", "type": { - "$id": "583", + "$id": "641", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "584", + "$id": "642", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5821,11 +6377,11 @@ "skipUrlEncoding": false }, { - "$id": "585", + "$id": "643", "name": "body", "nameInRequest": "body", "type": { - "$ref": "219" + "$ref": "321" }, "location": "Body", "isApiVersion": false, @@ -5838,12 +6394,12 @@ "skipUrlEncoding": false }, { - "$id": "586", + "$id": "644", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "575" + "$ref": "172" }, "location": "Header", "isApiVersion": false, @@ -5857,7 +6413,7 @@ } ], "response": { - "$id": "587" + "$id": "645" }, "isOverride": false, "generateConvenient": true, @@ -5867,11 +6423,11 @@ ], "parameters": [ { - "$id": "588", + "$id": "646", "name": "endpoint", "nameInRequest": "endpoint", "type": { - "$id": "589", + "$id": "647", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5888,12 +6444,12 @@ ], "decorators": [ { - "$id": "590", + "$id": "648", "name": "TypeSpec.@service", "arguments": { - "$id": "591", + "$id": "649", "options": { - "$id": "592", + "$id": "650", "title": "hello world" } } @@ -5905,18 +6461,18 @@ ], "children": [ { - "$id": "593", + "$id": "651", "kind": "client", "name": "Hello", "namespace": "NoDocsTypeSpec.Hello", "methods": [], "parameters": [ { - "$id": "594", + "$id": "652", "name": "endpoint", "nameInRequest": "endpoint", "type": { - "$id": "595", + "$id": "653", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5937,18 +6493,18 @@ "2022-05-15-preview" ], "parent": { - "$ref": "334" + "$ref": "436" }, "children": [ { - "$id": "596", + "$id": "654", "kind": "client", "name": "Demo", "namespace": "NoDocsTypeSpec.Hello.Demo", "doc": "Hello world service", "methods": [ { - "$id": "597", + "$id": "655", "kind": "basic", "name": "sayHi", "accessibility": "public", @@ -5957,18 +6513,18 @@ ], "doc": "Return hi", "operation": { - "$id": "598", + "$id": "656", "name": "sayHi", "resourceName": "Demo", "doc": "Return hi", "accessibility": "public", "parameters": [ { - "$id": "599", + "$id": "657", "name": "headParameter", "nameInRequest": "head-parameter", "type": { - "$id": "600", + "$id": "658", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5985,11 +6541,11 @@ "skipUrlEncoding": false }, { - "$id": "601", + "$id": "659", "name": "queryParameter", "nameInRequest": "queryParameter", "type": { - "$id": "602", + "$id": "660", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6006,11 +6562,11 @@ "skipUrlEncoding": false }, { - "$id": "603", + "$id": "661", "name": "optionalQuery", "nameInRequest": "optionalQuery", "type": { - "$id": "604", + "$id": "662", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6027,24 +6583,11 @@ "skipUrlEncoding": false }, { - "$id": "605", + "$id": "663", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "606", - "kind": "constant", - "name": "sayHiContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "607", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "174" }, "location": "Header", "isApiVersion": false, @@ -6059,12 +6602,12 @@ ], "responses": [ { - "$id": "608", + "$id": "664", "statusCodes": [ 200 ], "bodyType": { - "$ref": "104" + "$ref": "216" }, "headers": [], "isErrorResponse": false, @@ -6084,11 +6627,11 @@ }, "parameters": [ { - "$id": "609", + "$id": "665", "name": "headParameter", "nameInRequest": "head-parameter", "type": { - "$id": "610", + "$id": "666", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6105,11 +6648,11 @@ "skipUrlEncoding": false }, { - "$id": "611", + "$id": "667", "name": "queryParameter", "nameInRequest": "queryParameter", "type": { - "$id": "612", + "$id": "668", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6126,11 +6669,11 @@ "skipUrlEncoding": false }, { - "$id": "613", + "$id": "669", "name": "optionalQuery", "nameInRequest": "optionalQuery", "type": { - "$id": "614", + "$id": "670", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6147,11 +6690,11 @@ "skipUrlEncoding": false }, { - "$id": "615", + "$id": "671", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "606" + "$ref": "174" }, "location": "Header", "isApiVersion": false, @@ -6165,9 +6708,9 @@ } ], "response": { - "$id": "616", + "$id": "672", "type": { - "$ref": "104" + "$ref": "216" } }, "isOverride": false, @@ -6178,11 +6721,11 @@ ], "parameters": [ { - "$id": "617", + "$id": "673", "name": "endpoint", "nameInRequest": "endpoint", "type": { - "$id": "618", + "$id": "674", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6203,17 +6746,17 @@ "2022-05-15-preview" ], "parent": { - "$ref": "593" + "$ref": "651" } }, { - "$id": "619", + "$id": "675", "kind": "client", "name": "Demo2", "namespace": "NoDocsTypeSpec.Hello.Demo2", "methods": [ { - "$id": "620", + "$id": "676", "kind": "basic", "name": "helloAgain", "accessibility": "public", @@ -6222,18 +6765,18 @@ ], "doc": "Return hi again", "operation": { - "$id": "621", + "$id": "677", "name": "helloAgain", "resourceName": "Demo2", "doc": "Return hi again", "accessibility": "public", "parameters": [ { - "$id": "622", + "$id": "678", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "623", + "$id": "679", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6250,24 +6793,11 @@ "skipUrlEncoding": false }, { - "$id": "624", + "$id": "680", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "625", - "kind": "constant", - "name": "HelloAgainRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "626", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "176" }, "location": "Header", "isApiVersion": false, @@ -6280,11 +6810,11 @@ "skipUrlEncoding": false }, { - "$id": "627", + "$id": "681", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "628", + "$id": "682", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6301,24 +6831,11 @@ "skipUrlEncoding": false }, { - "$id": "629", + "$id": "683", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "630", - "kind": "constant", - "name": "helloAgainContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "631", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "178" }, "location": "Header", "isApiVersion": false, @@ -6331,11 +6848,11 @@ "skipUrlEncoding": false }, { - "$id": "632", + "$id": "684", "name": "action", "nameInRequest": "action", "type": { - "$ref": "225" + "$ref": "327" }, "location": "Body", "isApiVersion": false, @@ -6350,12 +6867,12 @@ ], "responses": [ { - "$id": "633", + "$id": "685", "statusCodes": [ 200 ], "bodyType": { - "$ref": "225" + "$ref": "327" }, "headers": [], "isErrorResponse": false, @@ -6378,11 +6895,11 @@ }, "parameters": [ { - "$id": "634", + "$id": "686", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "635", + "$id": "687", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6399,11 +6916,11 @@ "skipUrlEncoding": false }, { - "$id": "636", + "$id": "688", "name": "action", "nameInRequest": "action", "type": { - "$ref": "225" + "$ref": "327" }, "location": "Body", "isApiVersion": false, @@ -6416,24 +6933,11 @@ "skipUrlEncoding": false }, { - "$id": "637", + "$id": "689", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "638", - "kind": "constant", - "name": "HelloAgainRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "639", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "180" }, "location": "Header", "isApiVersion": false, @@ -6446,11 +6950,11 @@ "skipUrlEncoding": false }, { - "$id": "640", + "$id": "690", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "641", + "$id": "691", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6467,11 +6971,11 @@ "skipUrlEncoding": false }, { - "$id": "642", + "$id": "692", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "630" + "$ref": "178" }, "location": "Header", "isApiVersion": false, @@ -6485,9 +6989,9 @@ } ], "response": { - "$id": "643", + "$id": "693", "type": { - "$ref": "225" + "$ref": "327" } }, "isOverride": false, @@ -6496,7 +7000,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.Hello.Demo2.helloAgain" }, { - "$id": "644", + "$id": "694", "kind": "basic", "name": "noContentType", "accessibility": "public", @@ -6505,18 +7009,18 @@ ], "doc": "Return hi again", "operation": { - "$id": "645", + "$id": "695", "name": "noContentType", "resourceName": "Demo2", "doc": "Return hi again", "accessibility": "public", "parameters": [ { - "$id": "646", + "$id": "696", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "647", + "$id": "697", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6533,11 +7037,11 @@ "skipUrlEncoding": false }, { - "$id": "648", + "$id": "698", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "649", + "$id": "699", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6554,25 +7058,12 @@ "skipUrlEncoding": false }, { - "$id": "650", + "$id": "700", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "651", - "kind": "constant", - "name": "noContentTypeContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "652", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "182" }, "location": "Header", "isApiVersion": false, @@ -6585,24 +7076,11 @@ "skipUrlEncoding": false }, { - "$id": "653", + "$id": "701", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "654", - "kind": "constant", - "name": "noContentTypeContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "655", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "184" }, "location": "Header", "isApiVersion": false, @@ -6615,11 +7093,11 @@ "skipUrlEncoding": false }, { - "$id": "656", + "$id": "702", "name": "action", "nameInRequest": "action", "type": { - "$ref": "225" + "$ref": "327" }, "location": "Body", "isApiVersion": false, @@ -6634,12 +7112,12 @@ ], "responses": [ { - "$id": "657", + "$id": "703", "statusCodes": [ 200 ], "bodyType": { - "$ref": "225" + "$ref": "327" }, "headers": [], "isErrorResponse": false, @@ -6662,11 +7140,11 @@ }, "parameters": [ { - "$id": "658", + "$id": "704", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "659", + "$id": "705", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6683,11 +7161,11 @@ "skipUrlEncoding": false }, { - "$id": "660", + "$id": "706", "name": "action", "nameInRequest": "action", "type": { - "$ref": "225" + "$ref": "327" }, "location": "Body", "isApiVersion": false, @@ -6700,11 +7178,11 @@ "skipUrlEncoding": false }, { - "$id": "661", + "$id": "707", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "662", + "$id": "708", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6721,12 +7199,12 @@ "skipUrlEncoding": false }, { - "$id": "663", + "$id": "709", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "651" + "$ref": "182" }, "location": "Header", "isApiVersion": false, @@ -6739,11 +7217,11 @@ "skipUrlEncoding": false }, { - "$id": "664", + "$id": "710", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "654" + "$ref": "184" }, "location": "Header", "isApiVersion": false, @@ -6757,9 +7235,9 @@ } ], "response": { - "$id": "665", + "$id": "711", "type": { - "$ref": "225" + "$ref": "327" } }, "isOverride": false, @@ -6768,7 +7246,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.Hello.Demo2.noContentType" }, { - "$id": "666", + "$id": "712", "kind": "basic", "name": "helloDemoAgain", "accessibility": "public", @@ -6777,31 +7255,18 @@ ], "doc": "Return hi in demo2", "operation": { - "$id": "667", + "$id": "713", "name": "helloDemoAgain", "resourceName": "Demo2", "doc": "Return hi in demo2", "accessibility": "public", "parameters": [ { - "$id": "668", + "$id": "714", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "669", - "kind": "constant", - "name": "helloDemoAgainContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "670", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "186" }, "location": "Header", "isApiVersion": false, @@ -6816,12 +7281,12 @@ ], "responses": [ { - "$id": "671", + "$id": "715", "statusCodes": [ 200 ], "bodyType": { - "$ref": "104" + "$ref": "216" }, "headers": [], "isErrorResponse": false, @@ -6841,11 +7306,11 @@ }, "parameters": [ { - "$id": "672", + "$id": "716", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "669" + "$ref": "186" }, "location": "Header", "isApiVersion": false, @@ -6859,9 +7324,9 @@ } ], "response": { - "$id": "673", + "$id": "717", "type": { - "$ref": "104" + "$ref": "216" } }, "isOverride": false, @@ -6870,7 +7335,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.Hello.Demo2.helloDemoAgain" }, { - "$id": "674", + "$id": "718", "kind": "basic", "name": "createLiteral", "accessibility": "public", @@ -6879,32 +7344,19 @@ ], "doc": "Create with literal value", "operation": { - "$id": "675", + "$id": "719", "name": "createLiteral", "resourceName": "Demo2", "doc": "Create with literal value", "accessibility": "public", "parameters": [ { - "$id": "676", + "$id": "720", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "677", - "kind": "constant", - "name": "createLiteralContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "678", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "188" }, "location": "Header", "isApiVersion": false, @@ -6917,24 +7369,11 @@ "skipUrlEncoding": false }, { - "$id": "679", + "$id": "721", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "680", - "kind": "constant", - "name": "createLiteralContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "681", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "190" }, "location": "Header", "isApiVersion": false, @@ -6947,11 +7386,11 @@ "skipUrlEncoding": false }, { - "$id": "682", + "$id": "722", "name": "body", "nameInRequest": "body", "type": { - "$ref": "104" + "$ref": "216" }, "location": "Body", "isApiVersion": false, @@ -6966,12 +7405,12 @@ ], "responses": [ { - "$id": "683", + "$id": "723", "statusCodes": [ 200 ], "bodyType": { - "$ref": "104" + "$ref": "216" }, "headers": [], "isErrorResponse": false, @@ -6994,11 +7433,11 @@ }, "parameters": [ { - "$id": "684", + "$id": "724", "name": "body", "nameInRequest": "body", "type": { - "$ref": "104" + "$ref": "216" }, "location": "Body", "isApiVersion": false, @@ -7011,12 +7450,12 @@ "skipUrlEncoding": false }, { - "$id": "685", + "$id": "725", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "677" + "$ref": "188" }, "location": "Header", "isApiVersion": false, @@ -7029,11 +7468,11 @@ "skipUrlEncoding": false }, { - "$id": "686", + "$id": "726", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "680" + "$ref": "190" }, "location": "Header", "isApiVersion": false, @@ -7047,9 +7486,9 @@ } ], "response": { - "$id": "687", + "$id": "727", "type": { - "$ref": "104" + "$ref": "216" } }, "isOverride": false, @@ -7058,7 +7497,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.Hello.Demo2.createLiteral" }, { - "$id": "688", + "$id": "728", "kind": "basic", "name": "helloLiteral", "accessibility": "public", @@ -7067,31 +7506,18 @@ ], "doc": "Send literal parameters", "operation": { - "$id": "689", + "$id": "729", "name": "helloLiteral", "resourceName": "Demo2", "doc": "Send literal parameters", "accessibility": "public", "parameters": [ { - "$id": "690", + "$id": "730", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "691", - "kind": "constant", - "name": "HelloLiteralRequestP1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "692", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "test", - "decorators": [] + "$ref": "192" }, "location": "Header", "isApiVersion": false, @@ -7104,24 +7530,11 @@ "skipUrlEncoding": false }, { - "$id": "693", + "$id": "731", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "694", - "kind": "constant", - "name": "ThingRequiredLiteralInt2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "695", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "value": 123, - "decorators": [] + "$ref": "194" }, "location": "Path", "isApiVersion": false, @@ -7134,24 +7547,11 @@ "skipUrlEncoding": false }, { - "$id": "696", + "$id": "732", "name": "p3", "nameInRequest": "p3", "type": { - "$id": "697", - "kind": "constant", - "name": "ThingOptionalLiteralBool2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "698", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "196" }, "location": "Query", "isApiVersion": false, @@ -7164,24 +7564,11 @@ "skipUrlEncoding": false }, { - "$id": "699", + "$id": "733", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "700", - "kind": "constant", - "name": "helloLiteralContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "701", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "198" }, "location": "Header", "isApiVersion": false, @@ -7196,12 +7583,12 @@ ], "responses": [ { - "$id": "702", + "$id": "734", "statusCodes": [ 200 ], "bodyType": { - "$ref": "104" + "$ref": "216" }, "headers": [], "isErrorResponse": false, @@ -7221,24 +7608,11 @@ }, "parameters": [ { - "$id": "703", + "$id": "735", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "704", - "kind": "constant", - "name": "HelloLiteralRequestP11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "705", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "test", - "decorators": [] + "$ref": "200" }, "location": "Header", "isApiVersion": false, @@ -7251,24 +7625,11 @@ "skipUrlEncoding": false }, { - "$id": "706", + "$id": "736", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "707", - "kind": "constant", - "name": "ThingRequiredLiteralInt3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "708", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "value": 123, - "decorators": [] + "$ref": "202" }, "location": "Path", "isApiVersion": false, @@ -7281,24 +7642,11 @@ "skipUrlEncoding": false }, { - "$id": "709", + "$id": "737", "name": "p3", "nameInRequest": "p3", "type": { - "$id": "710", - "kind": "constant", - "name": "ThingOptionalLiteralBool3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "711", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "204" }, "location": "Query", "isApiVersion": false, @@ -7311,11 +7659,11 @@ "skipUrlEncoding": false }, { - "$id": "712", + "$id": "738", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "700" + "$ref": "198" }, "location": "Header", "isApiVersion": false, @@ -7329,9 +7677,9 @@ } ], "response": { - "$id": "713", + "$id": "739", "type": { - "$ref": "104" + "$ref": "216" } }, "isOverride": false, @@ -7342,11 +7690,11 @@ ], "parameters": [ { - "$id": "714", + "$id": "740", "name": "endpoint", "nameInRequest": "endpoint", "type": { - "$id": "715", + "$id": "741", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7367,19 +7715,19 @@ "2022-05-15-preview" ], "parent": { - "$ref": "593" + "$ref": "651" } } ] }, { - "$id": "716", + "$id": "742", "kind": "client", "name": "EnumTest", "namespace": "NoDocsTypeSpec.EnumTest", "methods": [ { - "$id": "717", + "$id": "743", "kind": "basic", "name": "createUnknownValue", "accessibility": "public", @@ -7388,32 +7736,19 @@ ], "doc": "get extensible enum", "operation": { - "$id": "718", + "$id": "744", "name": "createUnknownValue", "resourceName": "EnumTest", "doc": "get extensible enum", "accessibility": "public", "parameters": [ { - "$id": "719", + "$id": "745", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$id": "720", - "kind": "constant", - "name": "createUnknownValueContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "721", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "206" }, "location": "Header", "isApiVersion": false, @@ -7426,7 +7761,7 @@ "skipUrlEncoding": false }, { - "$id": "722", + "$id": "746", "name": "input", "nameInRequest": "input", "type": { @@ -7445,7 +7780,7 @@ ], "responses": [ { - "$id": "723", + "$id": "747", "statusCodes": [ 204 ], @@ -7467,7 +7802,7 @@ }, "parameters": [ { - "$id": "724", + "$id": "748", "name": "input", "nameInRequest": "input", "type": { @@ -7484,12 +7819,12 @@ "skipUrlEncoding": false }, { - "$id": "725", + "$id": "749", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$ref": "720" + "$ref": "206" }, "location": "Header", "isApiVersion": false, @@ -7503,7 +7838,7 @@ } ], "response": { - "$id": "726" + "$id": "750" }, "isOverride": false, "generateConvenient": false, @@ -7513,11 +7848,11 @@ ], "parameters": [ { - "$id": "727", + "$id": "751", "name": "endpoint", "nameInRequest": "endpoint", "type": { - "$id": "728", + "$id": "752", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7538,17 +7873,17 @@ "2022-05-15-preview" ], "parent": { - "$ref": "334" + "$ref": "436" } }, { - "$id": "729", + "$id": "753", "kind": "client", "name": "ProtocolAndConvenient", "namespace": "NoDocsTypeSpec.ProtocolAndConvenient", "methods": [ { - "$id": "730", + "$id": "754", "kind": "basic", "name": "internalProtocol", "accessibility": "public", @@ -7557,32 +7892,19 @@ ], "doc": "When set protocol false and convenient true, then the protocol method should be internal", "operation": { - "$id": "731", + "$id": "755", "name": "internalProtocol", "resourceName": "ProtocolAndConvenient", "doc": "When set protocol false and convenient true, then the protocol method should be internal", "accessibility": "public", "parameters": [ { - "$id": "732", + "$id": "756", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "733", - "kind": "constant", - "name": "internalProtocolContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "734", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "208" }, "location": "Header", "isApiVersion": false, @@ -7595,24 +7917,11 @@ "skipUrlEncoding": false }, { - "$id": "735", + "$id": "757", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "736", - "kind": "constant", - "name": "internalProtocolContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "737", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "210" }, "location": "Header", "isApiVersion": false, @@ -7625,11 +7934,11 @@ "skipUrlEncoding": false }, { - "$id": "738", + "$id": "758", "name": "body", "nameInRequest": "body", "type": { - "$ref": "104" + "$ref": "216" }, "location": "Body", "isApiVersion": false, @@ -7644,12 +7953,12 @@ ], "responses": [ { - "$id": "739", + "$id": "759", "statusCodes": [ 200 ], "bodyType": { - "$ref": "104" + "$ref": "216" }, "headers": [], "isErrorResponse": false, @@ -7672,11 +7981,11 @@ }, "parameters": [ { - "$id": "740", + "$id": "760", "name": "body", "nameInRequest": "body", "type": { - "$ref": "104" + "$ref": "216" }, "location": "Body", "isApiVersion": false, @@ -7689,12 +7998,12 @@ "skipUrlEncoding": false }, { - "$id": "741", + "$id": "761", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "733" + "$ref": "208" }, "location": "Header", "isApiVersion": false, @@ -7707,11 +8016,11 @@ "skipUrlEncoding": false }, { - "$id": "742", + "$id": "762", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "736" + "$ref": "210" }, "location": "Header", "isApiVersion": false, @@ -7725,9 +8034,9 @@ } ], "response": { - "$id": "743", + "$id": "763", "type": { - "$ref": "104" + "$ref": "216" } }, "isOverride": false, @@ -7736,7 +8045,7 @@ "crossLanguageDefinitionId": "NoDocsTypeSpec.ProtocolAndConvenient.internalProtocol" }, { - "$id": "744", + "$id": "764", "kind": "basic", "name": "stillConvenient", "accessibility": "public", @@ -7745,7 +8054,7 @@ ], "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", "operation": { - "$id": "745", + "$id": "765", "name": "stillConvenient", "resourceName": "ProtocolAndConvenient", "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", @@ -7753,7 +8062,7 @@ "parameters": [], "responses": [ { - "$id": "746", + "$id": "766", "statusCodes": [ 204 ], @@ -7772,7 +8081,7 @@ }, "parameters": [], "response": { - "$id": "747" + "$id": "767" }, "isOverride": false, "generateConvenient": true, @@ -7782,11 +8091,11 @@ ], "parameters": [ { - "$id": "748", + "$id": "768", "name": "endpoint", "nameInRequest": "endpoint", "type": { - "$id": "749", + "$id": "769", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7807,17 +8116,17 @@ "2022-05-15-preview" ], "parent": { - "$ref": "334" + "$ref": "436" } }, { - "$id": "750", + "$id": "770", "kind": "client", "name": "Entity", "namespace": "NoDocsTypeSpec", "methods": [ { - "$id": "751", + "$id": "771", "kind": "basic", "name": "doSomething", "accessibility": "public", @@ -7826,18 +8135,18 @@ ], "doc": "doSomething for entity", "operation": { - "$id": "752", + "$id": "772", "name": "doSomething", "resourceName": "Entity", "doc": "doSomething for entity", "accessibility": "public", "parameters": [ { - "$id": "753", + "$id": "773", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "754", + "$id": "774", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7854,24 +8163,11 @@ "skipUrlEncoding": false }, { - "$id": "755", + "$id": "775", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "756", - "kind": "constant", - "name": "doSomethingContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "757", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "212" }, "location": "Header", "isApiVersion": false, @@ -7886,12 +8182,12 @@ ], "responses": [ { - "$id": "758", + "$id": "776", "statusCodes": [ 200 ], "bodyType": { - "$ref": "104" + "$ref": "216" }, "headers": [], "isErrorResponse": false, @@ -7911,11 +8207,11 @@ }, "parameters": [ { - "$id": "759", + "$id": "777", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "760", + "$id": "778", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7932,11 +8228,11 @@ "skipUrlEncoding": false }, { - "$id": "761", + "$id": "779", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "756" + "$ref": "212" }, "location": "Header", "isApiVersion": false, @@ -7950,9 +8246,9 @@ } ], "response": { - "$id": "762", + "$id": "780", "type": { - "$ref": "104" + "$ref": "216" } }, "isOverride": false, @@ -7963,11 +8259,11 @@ ], "parameters": [ { - "$id": "763", + "$id": "781", "name": "endpoint", "nameInRequest": "endpoint", "type": { - "$id": "764", + "$id": "782", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7988,17 +8284,17 @@ "2022-05-15-preview" ], "parent": { - "$ref": "334" + "$ref": "436" } }, { - "$id": "765", + "$id": "783", "kind": "client", "name": "Glossary", "namespace": "NoDocsTypeSpec", "methods": [ { - "$id": "766", + "$id": "784", "kind": "basic", "name": "doSomething", "accessibility": "public", @@ -8007,18 +8303,18 @@ ], "doc": "doSomething for glossary", "operation": { - "$id": "767", + "$id": "785", "name": "doSomething", "resourceName": "Glossary", "doc": "doSomething for glossary", "accessibility": "public", "parameters": [ { - "$id": "768", + "$id": "786", "name": "id", "nameInRequest": "id", "type": { - "$id": "769", + "$id": "787", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8035,11 +8331,11 @@ "skipUrlEncoding": false }, { - "$id": "770", + "$id": "788", "name": "h1", "nameInRequest": "h1", "type": { - "$id": "771", + "$id": "789", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8056,24 +8352,11 @@ "skipUrlEncoding": false }, { - "$id": "772", + "$id": "790", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "773", - "kind": "constant", - "name": "doSomethingContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "774", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "214" }, "location": "Header", "isApiVersion": false, @@ -8088,12 +8371,12 @@ ], "responses": [ { - "$id": "775", + "$id": "791", "statusCodes": [ 200 ], "bodyType": { - "$ref": "104" + "$ref": "216" }, "headers": [], "isErrorResponse": false, @@ -8113,11 +8396,11 @@ }, "parameters": [ { - "$id": "776", + "$id": "792", "name": "id", "nameInRequest": "id", "type": { - "$id": "777", + "$id": "793", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8134,11 +8417,11 @@ "skipUrlEncoding": false }, { - "$id": "778", + "$id": "794", "name": "h1", "nameInRequest": "h1", "type": { - "$id": "779", + "$id": "795", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8155,11 +8438,11 @@ "skipUrlEncoding": false }, { - "$id": "780", + "$id": "796", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "773" + "$ref": "214" }, "location": "Header", "isApiVersion": false, @@ -8173,9 +8456,9 @@ } ], "response": { - "$id": "781", + "$id": "797", "type": { - "$ref": "104" + "$ref": "216" } }, "isOverride": false, @@ -8186,11 +8469,11 @@ ], "parameters": [ { - "$id": "782", + "$id": "798", "name": "endpoint", "nameInRequest": "endpoint", "type": { - "$id": "783", + "$id": "799", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -8211,22 +8494,22 @@ "2022-05-15-preview" ], "parent": { - "$ref": "334" + "$ref": "436" } } ] } ], "auth": { - "$id": "784", + "$id": "800", "oAuth2": { - "$id": "785", + "$id": "801", "scopes": [ "https://api.example.com/.default" ] }, "apiKey": { - "$id": "786", + "$id": "802", "name": "x-ms-api-key", "in": "header" } diff --git a/test/TestProjects/Parameters-TypeSpec/tspCodeModel.json b/test/TestProjects/Parameters-TypeSpec/tspCodeModel.json index aed19420593..07776ea1d55 100644 --- a/test/TestProjects/Parameters-TypeSpec/tspCodeModel.json +++ b/test/TestProjects/Parameters-TypeSpec/tspCodeModel.json @@ -43,9 +43,43 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "6", + "kind": "constant", + "name": "OperationContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "8", + "kind": "constant", + "name": "Operation2ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "10", "kind": "model", "name": "Result", "namespace": "ParametersTypeSpec.ParameterOrders", @@ -54,12 +88,12 @@ "decorators": [], "properties": [ { - "$id": "7", + "$id": "11", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "8", + "$id": "12", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72,9 +106,9 @@ "decorators": [], "crossLanguageDefinitionId": "ParametersTypeSpec.ParameterOrders.Result.id", "serializationOptions": { - "$id": "9", + "$id": "13", "json": { - "$id": "10", + "$id": "14", "name": "id" } } @@ -84,19 +118,19 @@ ], "clients": [ { - "$id": "11", + "$id": "15", "kind": "client", "name": "ParametersTypeSpecClient", "namespace": "ParametersTypeSpec", "methods": [], "parameters": [ { - "$id": "12", + "$id": "16", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "13", + "$id": "17", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -113,12 +147,12 @@ ], "decorators": [ { - "$id": "14", + "$id": "18", "name": "TypeSpec.@service", "arguments": { - "$id": "15", + "$id": "19", "options": { - "$id": "16", + "$id": "20", "title": "This service does not define an endpoint. The generated code will add one." } } @@ -130,13 +164,13 @@ ], "children": [ { - "$id": "17", + "$id": "21", "kind": "client", "name": "ParameterOrders", "namespace": "ParametersTypeSpec.ParameterOrders", "methods": [ { - "$id": "18", + "$id": "22", "kind": "basic", "name": "Operation", "accessibility": "public", @@ -144,17 +178,17 @@ "2022-05-15-preview" ], "operation": { - "$id": "19", + "$id": "23", "name": "Operation", "resourceName": "ParameterOrders", "accessibility": "public", "parameters": [ { - "$id": "20", + "$id": "24", "name": "start", "nameInRequest": "start", "type": { - "$id": "21", + "$id": "25", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -171,11 +205,11 @@ "skipUrlEncoding": false }, { - "$id": "22", + "$id": "26", "name": "end", "nameInRequest": "end", "type": { - "$id": "23", + "$id": "27", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -192,11 +226,11 @@ "skipUrlEncoding": false }, { - "$id": "24", + "$id": "28", "name": "apiVersion", "nameInRequest": "api-version", "type": { - "$id": "25", + "$id": "29", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -210,9 +244,9 @@ "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "26", + "$id": "30", "type": { - "$id": "27", + "$id": "31", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -223,24 +257,11 @@ "skipUrlEncoding": false }, { - "$id": "28", + "$id": "32", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "29", - "kind": "constant", - "name": "OperationContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "30", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -255,12 +276,12 @@ ], "responses": [ { - "$id": "31", + "$id": "33", "statusCodes": [ 200 ], "bodyType": { - "$ref": "6" + "$ref": "10" }, "headers": [], "isErrorResponse": false, @@ -280,11 +301,11 @@ }, "parameters": [ { - "$id": "32", + "$id": "34", "name": "start", "nameInRequest": "start", "type": { - "$id": "33", + "$id": "35", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -301,11 +322,11 @@ "skipUrlEncoding": false }, { - "$id": "34", + "$id": "36", "name": "end", "nameInRequest": "end", "type": { - "$id": "35", + "$id": "37", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -322,11 +343,11 @@ "skipUrlEncoding": false }, { - "$id": "36", + "$id": "38", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "29" + "$ref": "6" }, "location": "Header", "isApiVersion": false, @@ -340,9 +361,9 @@ } ], "response": { - "$id": "37", + "$id": "39", "type": { - "$ref": "6" + "$ref": "10" } }, "isOverride": false, @@ -351,7 +372,7 @@ "crossLanguageDefinitionId": "ParametersTypeSpec.ParameterOrders.Operation" }, { - "$id": "38", + "$id": "40", "kind": "basic", "name": "Operation2", "accessibility": "public", @@ -359,17 +380,17 @@ "2022-05-15-preview" ], "operation": { - "$id": "39", + "$id": "41", "name": "Operation2", "resourceName": "ParameterOrders", "accessibility": "public", "parameters": [ { - "$id": "40", + "$id": "42", "name": "start", "nameInRequest": "start", "type": { - "$id": "41", + "$id": "43", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -386,11 +407,11 @@ "skipUrlEncoding": false }, { - "$id": "42", + "$id": "44", "name": "end", "nameInRequest": "end", "type": { - "$id": "43", + "$id": "45", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -407,24 +428,11 @@ "skipUrlEncoding": false }, { - "$id": "44", + "$id": "46", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "45", - "kind": "constant", - "name": "Operation2ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "46", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -444,7 +452,7 @@ 200 ], "bodyType": { - "$ref": "6" + "$ref": "10" }, "headers": [], "isErrorResponse": false, @@ -510,7 +518,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "45" + "$ref": "8" }, "location": "Header", "isApiVersion": false, @@ -526,7 +534,7 @@ "response": { "$id": "53", "type": { - "$ref": "6" + "$ref": "10" } }, "isOverride": false, @@ -563,7 +571,7 @@ "2022-05-15-preview" ], "parent": { - "$ref": "11" + "$ref": "15" } } ] diff --git a/test/TestProjects/sdk/newprojecttypespec/Azure.NewProject.TypeSpec/tspCodeModel.json b/test/TestProjects/sdk/newprojecttypespec/Azure.NewProject.TypeSpec/tspCodeModel.json index fa1b02f856b..f3dd3183ebb 100644 --- a/test/TestProjects/sdk/newprojecttypespec/Azure.NewProject.TypeSpec/tspCodeModel.json +++ b/test/TestProjects/sdk/newprojecttypespec/Azure.NewProject.TypeSpec/tspCodeModel.json @@ -767,9 +767,659 @@ "decorators": [] } ], + "constants": [ + { + "$id": "84", + "kind": "constant", + "name": "ThingRequiredLiteralString", + "namespace": "Azure.NewProject.TypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "66" + }, + "value": "accept", + "decorators": [] + }, + { + "$id": "85", + "kind": "constant", + "name": "ThingRequiredLiteralInt", + "namespace": "Azure.NewProject.TypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "69" + }, + "value": 123, + "decorators": [] + }, + { + "$id": "86", + "kind": "constant", + "name": "ThingRequiredLiteralFloat", + "namespace": "Azure.NewProject.TypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "72" + }, + "value": 1.23, + "decorators": [] + }, + { + "$id": "87", + "kind": "constant", + "name": "ThingRequiredLiteralBool", + "namespace": "Azure.NewProject.TypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$id": "88", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": false, + "decorators": [] + }, + { + "$id": "89", + "kind": "constant", + "name": "ThingOptionalLiteralString", + "namespace": "Azure.NewProject.TypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "75" + }, + "value": "reject", + "decorators": [] + }, + { + "$id": "90", + "kind": "constant", + "name": "ThingOptionalLiteralInt", + "namespace": "Azure.NewProject.TypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "78" + }, + "value": 456, + "decorators": [] + }, + { + "$id": "91", + "kind": "constant", + "name": "ThingOptionalLiteralFloat", + "namespace": "Azure.NewProject.TypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "81" + }, + "value": 4.56, + "decorators": [] + }, + { + "$id": "92", + "kind": "constant", + "name": "ThingOptionalLiteralBool", + "namespace": "Azure.NewProject.TypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$id": "93", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "94", + "kind": "constant", + "name": "topActionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "96", + "kind": "constant", + "name": "topAction2ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "98", + "kind": "constant", + "name": "patchActionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "100", + "kind": "constant", + "name": "patchActionContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "102", + "kind": "constant", + "name": "anonymousBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "104", + "kind": "constant", + "name": "anonymousBodyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "106", + "kind": "constant", + "name": "ThingRequiredLiteralString1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "107", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "accept", + "decorators": [] + }, + { + "$id": "108", + "kind": "constant", + "name": "ThingRequiredLiteralInt1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "109", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 123, + "decorators": [] + }, + { + "$id": "110", + "kind": "constant", + "name": "ThingRequiredLiteralFloat1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "111", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "value": 1.23, + "decorators": [] + }, + { + "$id": "112", + "kind": "constant", + "name": "ThingRequiredLiteralBool1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "113", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": false, + "decorators": [] + }, + { + "$id": "114", + "kind": "constant", + "name": "ThingOptionalLiteralString1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "reject", + "decorators": [] + }, + { + "$id": "116", + "kind": "constant", + "name": "ThingOptionalLiteralInt1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "117", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 456, + "decorators": [] + }, + { + "$id": "118", + "kind": "constant", + "name": "ThingOptionalLiteralFloat1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "119", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "value": 4.56, + "decorators": [] + }, + { + "$id": "120", + "kind": "constant", + "name": "ThingOptionalLiteralBool1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "121", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "122", + "kind": "constant", + "name": "friendlyModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "124", + "kind": "constant", + "name": "friendlyModelContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "126", + "kind": "constant", + "name": "sayHiContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "128", + "kind": "constant", + "name": "HelloAgainRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "130", + "kind": "constant", + "name": "helloAgainContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "132", + "kind": "constant", + "name": "HelloAgainRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "134", + "kind": "constant", + "name": "noContentTypeContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "136", + "kind": "constant", + "name": "noContentTypeContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "138", + "kind": "constant", + "name": "createLiteralContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "140", + "kind": "constant", + "name": "createLiteralContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "142", + "kind": "constant", + "name": "HelloLiteralRequestP1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "143", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "test", + "decorators": [] + }, + { + "$id": "144", + "kind": "constant", + "name": "ThingRequiredLiteralInt2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "145", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 123, + "decorators": [] + }, + { + "$id": "146", + "kind": "constant", + "name": "ThingOptionalLiteralBool2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "147", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "148", + "kind": "constant", + "name": "helloLiteralContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "149", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "150", + "kind": "constant", + "name": "HelloLiteralRequestP11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "151", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "test", + "decorators": [] + }, + { + "$id": "152", + "kind": "constant", + "name": "ThingRequiredLiteralInt3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "153", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 123, + "decorators": [] + }, + { + "$id": "154", + "kind": "constant", + "name": "ThingOptionalLiteralBool3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "155", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "156", + "kind": "constant", + "name": "getUnknownValueContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "157", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "158", + "kind": "constant", + "name": "internalProtocolContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "160", + "kind": "constant", + "name": "internalProtocolContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [ { - "$id": "84", + "$id": "162", "kind": "model", "name": "Thing", "namespace": "Azure.NewProject.TypeSpec", @@ -779,13 +1429,13 @@ "decorators": [], "properties": [ { - "$id": "85", + "$id": "163", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the Thing", "type": { - "$id": "86", + "$id": "164", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -798,37 +1448,37 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.Thing.name", "serializationOptions": { - "$id": "87", + "$id": "165", "json": { - "$id": "88", + "$id": "166", "name": "name" } } }, { - "$id": "89", + "$id": "167", "kind": "property", "name": "requiredUnion", "serializedName": "requiredUnion", "doc": "required Union", "type": { - "$id": "90", + "$id": "168", "kind": "union", "name": "ThingRequiredUnion", "variantTypes": [ { - "$id": "91", + "$id": "169", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "92", + "$id": "170", "kind": "array", "name": "Array", "valueType": { - "$id": "93", + "$id": "171", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -838,7 +1488,7 @@ "decorators": [] }, { - "$id": "94", + "$id": "172", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -855,30 +1505,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.Thing.requiredUnion", "serializationOptions": { - "$id": "95", + "$id": "173", "json": { - "$id": "96", + "$id": "174", "name": "requiredUnion" } } }, { - "$id": "97", + "$id": "175", "kind": "property", "name": "requiredLiteralString", "serializedName": "requiredLiteralString", "doc": "required literal string", "type": { - "$id": "98", - "kind": "constant", - "name": "ThingRequiredLiteralString", - "namespace": "Azure.NewProject.TypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "66" - }, - "value": "accept", - "decorators": [] + "$ref": "84" }, "optional": false, "readOnly": false, @@ -887,30 +1528,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.Thing.requiredLiteralString", "serializationOptions": { - "$id": "99", + "$id": "176", "json": { - "$id": "100", + "$id": "177", "name": "requiredLiteralString" } } }, { - "$id": "101", + "$id": "178", "kind": "property", "name": "requiredLiteralInt", "serializedName": "requiredLiteralInt", "doc": "required literal int", "type": { - "$id": "102", - "kind": "constant", - "name": "ThingRequiredLiteralInt", - "namespace": "Azure.NewProject.TypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "69" - }, - "value": 123, - "decorators": [] + "$ref": "85" }, "optional": false, "readOnly": false, @@ -919,30 +1551,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.Thing.requiredLiteralInt", "serializationOptions": { - "$id": "103", + "$id": "179", "json": { - "$id": "104", + "$id": "180", "name": "requiredLiteralInt" } } }, { - "$id": "105", + "$id": "181", "kind": "property", "name": "requiredLiteralFloat", "serializedName": "requiredLiteralFloat", "doc": "required literal float", "type": { - "$id": "106", - "kind": "constant", - "name": "ThingRequiredLiteralFloat", - "namespace": "Azure.NewProject.TypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "72" - }, - "value": 1.23, - "decorators": [] + "$ref": "86" }, "optional": false, "readOnly": false, @@ -951,34 +1574,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.Thing.requiredLiteralFloat", "serializationOptions": { - "$id": "107", + "$id": "182", "json": { - "$id": "108", + "$id": "183", "name": "requiredLiteralFloat" } } }, { - "$id": "109", + "$id": "184", "kind": "property", "name": "requiredLiteralBool", "serializedName": "requiredLiteralBool", "doc": "required literal bool", "type": { - "$id": "110", - "kind": "constant", - "name": "ThingRequiredLiteralBool", - "namespace": "Azure.NewProject.TypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$id": "111", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": false, - "decorators": [] + "$ref": "87" }, "optional": false, "readOnly": false, @@ -987,30 +1597,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.Thing.requiredLiteralBool", "serializationOptions": { - "$id": "112", + "$id": "185", "json": { - "$id": "113", + "$id": "186", "name": "requiredLiteralBool" } } }, { - "$id": "114", + "$id": "187", "kind": "property", "name": "optionalLiteralString", "serializedName": "optionalLiteralString", "doc": "optional literal string", "type": { - "$id": "115", - "kind": "constant", - "name": "ThingOptionalLiteralString", - "namespace": "Azure.NewProject.TypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "75" - }, - "value": "reject", - "decorators": [] + "$ref": "89" }, "optional": true, "readOnly": false, @@ -1019,30 +1620,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.Thing.optionalLiteralString", "serializationOptions": { - "$id": "116", + "$id": "188", "json": { - "$id": "117", + "$id": "189", "name": "optionalLiteralString" } } }, { - "$id": "118", + "$id": "190", "kind": "property", "name": "optionalLiteralInt", "serializedName": "optionalLiteralInt", "doc": "optional literal int", "type": { - "$id": "119", - "kind": "constant", - "name": "ThingOptionalLiteralInt", - "namespace": "Azure.NewProject.TypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "78" - }, - "value": 456, - "decorators": [] + "$ref": "90" }, "optional": true, "readOnly": false, @@ -1051,30 +1643,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.Thing.optionalLiteralInt", "serializationOptions": { - "$id": "120", + "$id": "191", "json": { - "$id": "121", + "$id": "192", "name": "optionalLiteralInt" } } }, { - "$id": "122", + "$id": "193", "kind": "property", "name": "optionalLiteralFloat", "serializedName": "optionalLiteralFloat", "doc": "optional literal float", "type": { - "$id": "123", - "kind": "constant", - "name": "ThingOptionalLiteralFloat", - "namespace": "Azure.NewProject.TypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "81" - }, - "value": 4.56, - "decorators": [] + "$ref": "91" }, "optional": true, "readOnly": false, @@ -1083,34 +1666,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.Thing.optionalLiteralFloat", "serializationOptions": { - "$id": "124", + "$id": "194", "json": { - "$id": "125", + "$id": "195", "name": "optionalLiteralFloat" } } }, { - "$id": "126", + "$id": "196", "kind": "property", "name": "optionalLiteralBool", "serializedName": "optionalLiteralBool", "doc": "optional literal bool", "type": { - "$id": "127", - "kind": "constant", - "name": "ThingOptionalLiteralBool", - "namespace": "Azure.NewProject.TypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$id": "128", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "92" }, "optional": true, "readOnly": false, @@ -1119,21 +1689,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.Thing.optionalLiteralBool", "serializationOptions": { - "$id": "129", + "$id": "197", "json": { - "$id": "130", + "$id": "198", "name": "optionalLiteralBool" } } }, { - "$id": "131", + "$id": "199", "kind": "property", "name": "requiredBadDescription", "serializedName": "requiredBadDescription", "doc": "description with xml <|endoftext|>", "type": { - "$id": "132", + "$id": "200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1146,9 +1716,9 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.Thing.requiredBadDescription", "serializationOptions": { - "$id": "133", + "$id": "201", "json": { - "$id": "134", + "$id": "202", "name": "requiredBadDescription" } } @@ -1156,7 +1726,7 @@ ] }, { - "$id": "135", + "$id": "203", "kind": "model", "name": "Friend", "namespace": "Azure.NewProject.TypeSpec", @@ -1166,13 +1736,13 @@ "decorators": [], "properties": [ { - "$id": "136", + "$id": "204", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the NotFriend", "type": { - "$id": "137", + "$id": "205", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1185,9 +1755,9 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.NotFriend.name", "serializationOptions": { - "$id": "138", + "$id": "206", "json": { - "$id": "139", + "$id": "207", "name": "name" } } @@ -1195,7 +1765,7 @@ ] }, { - "$id": "140", + "$id": "208", "kind": "model", "name": "RoundTripModel", "namespace": "Azure.NewProject.TypeSpec", @@ -1205,13 +1775,13 @@ "decorators": [], "properties": [ { - "$id": "141", + "$id": "209", "kind": "property", "name": "requiredString", "serializedName": "requiredString", "doc": "Required string, illustrating a reference type property.", "type": { - "$id": "142", + "$id": "210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1224,21 +1794,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.requiredString", "serializationOptions": { - "$id": "143", + "$id": "211", "json": { - "$id": "144", + "$id": "212", "name": "requiredString" } } }, { - "$id": "145", + "$id": "213", "kind": "property", "name": "requiredInt", "serializedName": "requiredInt", "doc": "Required int, illustrating a value type property.", "type": { - "$id": "146", + "$id": "214", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1251,21 +1821,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.requiredInt", "serializationOptions": { - "$id": "147", + "$id": "215", "json": { - "$id": "148", + "$id": "216", "name": "requiredInt" } } }, { - "$id": "149", + "$id": "217", "kind": "property", "name": "requiredCollection", "serializedName": "requiredCollection", "doc": "Required collection of enums", "type": { - "$id": "150", + "$id": "218", "kind": "array", "name": "ArrayStringFixedEnum", "valueType": { @@ -1281,24 +1851,24 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.requiredCollection", "serializationOptions": { - "$id": "151", + "$id": "219", "json": { - "$id": "152", + "$id": "220", "name": "requiredCollection" } } }, { - "$id": "153", + "$id": "221", "kind": "property", "name": "requiredDictionary", "serializedName": "requiredDictionary", "doc": "Required dictionary of enums", "type": { - "$id": "154", + "$id": "222", "kind": "dict", "keyType": { - "$id": "155", + "$id": "223", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1316,21 +1886,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.requiredDictionary", "serializationOptions": { - "$id": "156", + "$id": "224", "json": { - "$id": "157", + "$id": "225", "name": "requiredDictionary" } } }, { - "$id": "158", + "$id": "226", "kind": "property", "name": "requiredModel", "serializedName": "requiredModel", "doc": "Required model", "type": { - "$ref": "84" + "$ref": "162" }, "optional": false, "readOnly": false, @@ -1339,15 +1909,15 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.requiredModel", "serializationOptions": { - "$id": "159", + "$id": "227", "json": { - "$id": "160", + "$id": "228", "name": "requiredModel" } } }, { - "$id": "161", + "$id": "229", "kind": "property", "name": "intExtensibleEnum", "serializedName": "intExtensibleEnum", @@ -1362,21 +1932,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.intExtensibleEnum", "serializationOptions": { - "$id": "162", + "$id": "230", "json": { - "$id": "163", + "$id": "231", "name": "intExtensibleEnum" } } }, { - "$id": "164", + "$id": "232", "kind": "property", "name": "intExtensibleEnumCollection", "serializedName": "intExtensibleEnumCollection", "doc": "this is a collection of int based extensible enum", "type": { - "$id": "165", + "$id": "233", "kind": "array", "name": "ArrayIntExtensibleEnum", "valueType": { @@ -1392,15 +1962,15 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.intExtensibleEnumCollection", "serializationOptions": { - "$id": "166", + "$id": "234", "json": { - "$id": "167", + "$id": "235", "name": "intExtensibleEnumCollection" } } }, { - "$id": "168", + "$id": "236", "kind": "property", "name": "floatExtensibleEnum", "serializedName": "floatExtensibleEnum", @@ -1415,21 +1985,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.floatExtensibleEnum", "serializationOptions": { - "$id": "169", + "$id": "237", "json": { - "$id": "170", + "$id": "238", "name": "floatExtensibleEnum" } } }, { - "$id": "171", + "$id": "239", "kind": "property", "name": "floatExtensibleEnumCollection", "serializedName": "floatExtensibleEnumCollection", "doc": "this is a collection of float based extensible enum", "type": { - "$id": "172", + "$id": "240", "kind": "array", "name": "ArrayFloatExtensibleEnum", "valueType": { @@ -1445,15 +2015,15 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.floatExtensibleEnumCollection", "serializationOptions": { - "$id": "173", + "$id": "241", "json": { - "$id": "174", + "$id": "242", "name": "floatExtensibleEnumCollection" } } }, { - "$id": "175", + "$id": "243", "kind": "property", "name": "floatFixedEnum", "serializedName": "floatFixedEnum", @@ -1468,21 +2038,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.floatFixedEnum", "serializationOptions": { - "$id": "176", + "$id": "244", "json": { - "$id": "177", + "$id": "245", "name": "floatFixedEnum" } } }, { - "$id": "178", + "$id": "246", "kind": "property", "name": "floatFixedEnumCollection", "serializedName": "floatFixedEnumCollection", "doc": "this is a collection of float based fixed enum", "type": { - "$id": "179", + "$id": "247", "kind": "array", "name": "ArrayFloatFixedEnum", "valueType": { @@ -1498,15 +2068,15 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.floatFixedEnumCollection", "serializationOptions": { - "$id": "180", + "$id": "248", "json": { - "$id": "181", + "$id": "249", "name": "floatFixedEnumCollection" } } }, { - "$id": "182", + "$id": "250", "kind": "property", "name": "intFixedEnum", "serializedName": "intFixedEnum", @@ -1521,21 +2091,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.intFixedEnum", "serializationOptions": { - "$id": "183", + "$id": "251", "json": { - "$id": "184", + "$id": "252", "name": "intFixedEnum" } } }, { - "$id": "185", + "$id": "253", "kind": "property", "name": "intFixedEnumCollection", "serializedName": "intFixedEnumCollection", "doc": "this is a collection of int based fixed enum", "type": { - "$id": "186", + "$id": "254", "kind": "array", "name": "ArrayIntFixedEnum", "valueType": { @@ -1551,15 +2121,15 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.intFixedEnumCollection", "serializationOptions": { - "$id": "187", + "$id": "255", "json": { - "$id": "188", + "$id": "256", "name": "intFixedEnumCollection" } } }, { - "$id": "189", + "$id": "257", "kind": "property", "name": "stringFixedEnum", "serializedName": "stringFixedEnum", @@ -1574,21 +2144,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.stringFixedEnum", "serializationOptions": { - "$id": "190", + "$id": "258", "json": { - "$id": "191", + "$id": "259", "name": "stringFixedEnum" } } }, { - "$id": "192", + "$id": "260", "kind": "property", "name": "requiredUnknown", "serializedName": "requiredUnknown", "doc": "required unknown", "type": { - "$id": "193", + "$id": "261", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1601,21 +2171,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.requiredUnknown", "serializationOptions": { - "$id": "194", + "$id": "262", "json": { - "$id": "195", + "$id": "263", "name": "requiredUnknown" } } }, { - "$id": "196", + "$id": "264", "kind": "property", "name": "optionalUnknown", "serializedName": "optionalUnknown", "doc": "optional unknown", "type": { - "$id": "197", + "$id": "265", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1628,31 +2198,31 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.optionalUnknown", "serializationOptions": { - "$id": "198", + "$id": "266", "json": { - "$id": "199", + "$id": "267", "name": "optionalUnknown" } } }, { - "$id": "200", + "$id": "268", "kind": "property", "name": "requiredRecordUnknown", "serializedName": "requiredRecordUnknown", "doc": "required record of unknown", "type": { - "$id": "201", + "$id": "269", "kind": "dict", "keyType": { - "$id": "202", + "$id": "270", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "203", + "$id": "271", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1667,21 +2237,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.requiredRecordUnknown", "serializationOptions": { - "$id": "204", + "$id": "272", "json": { - "$id": "205", + "$id": "273", "name": "requiredRecordUnknown" } } }, { - "$id": "206", + "$id": "274", "kind": "property", "name": "optionalRecordUnknown", "serializedName": "optionalRecordUnknown", "doc": "optional record of unknown", "type": { - "$ref": "201" + "$ref": "269" }, "optional": true, "readOnly": false, @@ -1690,21 +2260,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.optionalRecordUnknown", "serializationOptions": { - "$id": "207", + "$id": "275", "json": { - "$id": "208", + "$id": "276", "name": "optionalRecordUnknown" } } }, { - "$id": "209", + "$id": "277", "kind": "property", "name": "readOnlyRequiredRecordUnknown", "serializedName": "readOnlyRequiredRecordUnknown", "doc": "required readonly record of unknown", "type": { - "$ref": "201" + "$ref": "269" }, "optional": false, "readOnly": true, @@ -1713,21 +2283,21 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.readOnlyRequiredRecordUnknown", "serializationOptions": { - "$id": "210", + "$id": "278", "json": { - "$id": "211", + "$id": "279", "name": "readOnlyRequiredRecordUnknown" } } }, { - "$id": "212", + "$id": "280", "kind": "property", "name": "readOnlyOptionalRecordUnknown", "serializedName": "readOnlyOptionalRecordUnknown", "doc": "optional readonly record of unknown", "type": { - "$ref": "201" + "$ref": "269" }, "optional": true, "readOnly": true, @@ -1736,9 +2306,9 @@ "decorators": [], "crossLanguageDefinitionId": "NewProjectTypeSpec.RoundTripModel.readOnlyOptionalRecordUnknown", "serializationOptions": { - "$id": "213", + "$id": "281", "json": { - "$id": "214", + "$id": "282", "name": "readOnlyOptionalRecordUnknown" } } @@ -1748,37 +2318,37 @@ ], "clients": [ { - "$id": "215", + "$id": "283", "kind": "client", "name": "NewProjectTypeSpecClient", "namespace": "Azure.NewProject.TypeSpec", "doc": "This is a sample typespec project.", "methods": [ { - "$id": "216", + "$id": "284", "kind": "basic", "name": "topAction", "accessibility": "public", "apiVersions": [], "doc": "top level method", "operation": { - "$id": "217", + "$id": "285", "name": "topAction", "resourceName": "NewProjectTypeSpec", "doc": "top level method", "accessibility": "public", "parameters": [ { - "$id": "218", + "$id": "286", "name": "action", "nameInRequest": "action", "type": { - "$id": "219", + "$id": "287", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "220", + "$id": "288", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1798,24 +2368,11 @@ "skipUrlEncoding": false }, { - "$id": "221", + "$id": "289", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "222", - "kind": "constant", - "name": "topActionContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "223", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -1830,12 +2387,12 @@ ], "responses": [ { - "$id": "224", + "$id": "290", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "162" }, "headers": [], "isErrorResponse": false, @@ -1855,16 +2412,16 @@ }, "parameters": [ { - "$id": "225", + "$id": "291", "name": "action", "nameInRequest": "action", "type": { - "$id": "226", + "$id": "292", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "227", + "$id": "293", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1884,11 +2441,11 @@ "skipUrlEncoding": false }, { - "$id": "228", + "$id": "294", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "222" + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -1902,9 +2459,9 @@ } ], "response": { - "$id": "229", + "$id": "295", "type": { - "$ref": "84" + "$ref": "162" } }, "isOverride": false, @@ -1913,38 +2470,25 @@ "crossLanguageDefinitionId": "NewProjectTypeSpec.topAction" }, { - "$id": "230", + "$id": "296", "kind": "basic", "name": "topAction2", "accessibility": "public", "apiVersions": [], "doc": "top level method2", "operation": { - "$id": "231", + "$id": "297", "name": "topAction2", "resourceName": "NewProjectTypeSpec", "doc": "top level method2", "accessibility": "public", "parameters": [ { - "$id": "232", + "$id": "298", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "233", - "kind": "constant", - "name": "topAction2ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "234", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -1959,12 +2503,12 @@ ], "responses": [ { - "$id": "235", + "$id": "299", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "162" }, "headers": [], "isErrorResponse": false, @@ -1984,11 +2528,11 @@ }, "parameters": [ { - "$id": "236", + "$id": "300", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "233" + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -2002,9 +2546,9 @@ } ], "response": { - "$id": "237", + "$id": "301", "type": { - "$ref": "84" + "$ref": "162" } }, "isOverride": false, @@ -2013,39 +2557,26 @@ "crossLanguageDefinitionId": "NewProjectTypeSpec.topAction2" }, { - "$id": "238", + "$id": "302", "kind": "basic", "name": "patchAction", "accessibility": "public", "apiVersions": [], "doc": "top level patch", "operation": { - "$id": "239", + "$id": "303", "name": "patchAction", "resourceName": "NewProjectTypeSpec", "doc": "top level patch", "accessibility": "public", "parameters": [ { - "$id": "240", + "$id": "304", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "241", - "kind": "constant", - "name": "patchActionContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "242", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -2058,24 +2589,11 @@ "skipUrlEncoding": false }, { - "$id": "243", + "$id": "305", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "244", - "kind": "constant", - "name": "patchActionContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "245", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -2088,11 +2606,11 @@ "skipUrlEncoding": false }, { - "$id": "246", + "$id": "306", "name": "body", "nameInRequest": "body", "type": { - "$ref": "84" + "$ref": "162" }, "location": "Body", "isApiVersion": false, @@ -2107,12 +2625,12 @@ ], "responses": [ { - "$id": "247", + "$id": "307", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "162" }, "headers": [], "isErrorResponse": false, @@ -2135,11 +2653,11 @@ }, "parameters": [ { - "$id": "248", + "$id": "308", "name": "body", "nameInRequest": "body", "type": { - "$ref": "84" + "$ref": "162" }, "location": "Body", "isApiVersion": false, @@ -2152,12 +2670,12 @@ "skipUrlEncoding": false }, { - "$id": "249", + "$id": "309", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "241" + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -2170,11 +2688,11 @@ "skipUrlEncoding": false }, { - "$id": "250", + "$id": "310", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "244" + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -2188,9 +2706,9 @@ } ], "response": { - "$id": "251", + "$id": "311", "type": { - "$ref": "84" + "$ref": "162" } }, "isOverride": false, @@ -2199,39 +2717,26 @@ "crossLanguageDefinitionId": "NewProjectTypeSpec.patchAction" }, { - "$id": "252", + "$id": "312", "kind": "basic", "name": "anonymousBody", "accessibility": "public", "apiVersions": [], "doc": "body parameter without body decorator", "operation": { - "$id": "253", + "$id": "313", "name": "anonymousBody", "resourceName": "NewProjectTypeSpec", "doc": "body parameter without body decorator", "accessibility": "public", "parameters": [ { - "$id": "254", + "$id": "314", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "255", - "kind": "constant", - "name": "anonymousBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "256", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -2244,24 +2749,11 @@ "skipUrlEncoding": false }, { - "$id": "257", + "$id": "315", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "258", - "kind": "constant", - "name": "anonymousBodyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "259", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -2274,11 +2766,11 @@ "skipUrlEncoding": false }, { - "$id": "260", + "$id": "316", "name": "thing", "nameInRequest": "thing", "type": { - "$ref": "84" + "$ref": "162" }, "location": "Body", "isApiVersion": false, @@ -2293,12 +2785,12 @@ ], "responses": [ { - "$id": "261", + "$id": "317", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "162" }, "headers": [], "isErrorResponse": false, @@ -2321,12 +2813,12 @@ }, "parameters": [ { - "$id": "262", + "$id": "318", "name": "name", "nameInRequest": "name", "doc": "name of the Thing", "type": { - "$id": "263", + "$id": "319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2343,12 +2835,12 @@ "skipUrlEncoding": false }, { - "$id": "264", + "$id": "320", "name": "requiredUnion", "nameInRequest": "requiredUnion", "doc": "required Union", "type": { - "$ref": "90" + "$ref": "168" }, "location": "Body", "isApiVersion": false, @@ -2361,12 +2853,12 @@ "skipUrlEncoding": false }, { - "$id": "265", + "$id": "321", "name": "requiredLiteralString", "nameInRequest": "requiredLiteralString", "doc": "required literal string", "type": { - "$ref": "98" + "$ref": "84" }, "location": "Body", "isApiVersion": false, @@ -2379,12 +2871,12 @@ "skipUrlEncoding": false }, { - "$id": "266", + "$id": "322", "name": "requiredLiteralInt", "nameInRequest": "requiredLiteralInt", "doc": "required literal int", "type": { - "$ref": "102" + "$ref": "85" }, "location": "Body", "isApiVersion": false, @@ -2397,12 +2889,12 @@ "skipUrlEncoding": false }, { - "$id": "267", + "$id": "323", "name": "requiredLiteralFloat", "nameInRequest": "requiredLiteralFloat", "doc": "required literal float", "type": { - "$ref": "106" + "$ref": "86" }, "location": "Body", "isApiVersion": false, @@ -2415,12 +2907,12 @@ "skipUrlEncoding": false }, { - "$id": "268", + "$id": "324", "name": "requiredLiteralBool", "nameInRequest": "requiredLiteralBool", "doc": "required literal bool", "type": { - "$ref": "110" + "$ref": "87" }, "location": "Body", "isApiVersion": false, @@ -2433,12 +2925,12 @@ "skipUrlEncoding": false }, { - "$id": "269", + "$id": "325", "name": "optionalLiteralString", "nameInRequest": "optionalLiteralString", "doc": "optional literal string", "type": { - "$ref": "115" + "$ref": "89" }, "location": "Body", "isApiVersion": false, @@ -2451,12 +2943,12 @@ "skipUrlEncoding": false }, { - "$id": "270", + "$id": "326", "name": "optionalLiteralInt", "nameInRequest": "optionalLiteralInt", "doc": "optional literal int", "type": { - "$ref": "119" + "$ref": "90" }, "location": "Body", "isApiVersion": false, @@ -2469,12 +2961,12 @@ "skipUrlEncoding": false }, { - "$id": "271", + "$id": "327", "name": "optionalLiteralFloat", "nameInRequest": "optionalLiteralFloat", "doc": "optional literal float", "type": { - "$ref": "123" + "$ref": "91" }, "location": "Body", "isApiVersion": false, @@ -2487,12 +2979,12 @@ "skipUrlEncoding": false }, { - "$id": "272", + "$id": "328", "name": "optionalLiteralBool", "nameInRequest": "optionalLiteralBool", "doc": "optional literal bool", "type": { - "$ref": "127" + "$ref": "92" }, "location": "Body", "isApiVersion": false, @@ -2505,12 +2997,12 @@ "skipUrlEncoding": false }, { - "$id": "273", + "$id": "329", "name": "requiredBadDescription", "nameInRequest": "requiredBadDescription", "doc": "description with xml <|endoftext|>", "type": { - "$id": "274", + "$id": "330", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2527,12 +3019,12 @@ "skipUrlEncoding": false }, { - "$id": "275", + "$id": "331", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "255" + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -2545,11 +3037,11 @@ "skipUrlEncoding": false }, { - "$id": "276", + "$id": "332", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "258" + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -2563,9 +3055,9 @@ } ], "response": { - "$id": "277", + "$id": "333", "type": { - "$ref": "84" + "$ref": "162" } }, "isOverride": false, @@ -2574,39 +3066,26 @@ "crossLanguageDefinitionId": "NewProjectTypeSpec.anonymousBody" }, { - "$id": "278", + "$id": "334", "kind": "basic", "name": "friendlyModel", "accessibility": "public", "apiVersions": [], "doc": "Model can have its friendly name", "operation": { - "$id": "279", + "$id": "335", "name": "friendlyModel", "resourceName": "NewProjectTypeSpec", "doc": "Model can have its friendly name", "accessibility": "public", "parameters": [ { - "$id": "280", + "$id": "336", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "281", - "kind": "constant", - "name": "friendlyModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "282", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -2619,24 +3098,11 @@ "skipUrlEncoding": false }, { - "$id": "283", + "$id": "337", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "284", - "kind": "constant", - "name": "friendlyModelContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "285", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -2649,11 +3115,11 @@ "skipUrlEncoding": false }, { - "$id": "286", + "$id": "338", "name": "friend", "nameInRequest": "friend", "type": { - "$ref": "135" + "$ref": "203" }, "location": "Body", "isApiVersion": false, @@ -2668,12 +3134,12 @@ ], "responses": [ { - "$id": "287", + "$id": "339", "statusCodes": [ 200 ], "bodyType": { - "$ref": "135" + "$ref": "203" }, "headers": [], "isErrorResponse": false, @@ -2696,12 +3162,12 @@ }, "parameters": [ { - "$id": "288", + "$id": "340", "name": "name", "nameInRequest": "name", "doc": "name of the NotFriend", "type": { - "$id": "289", + "$id": "341", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2718,12 +3184,12 @@ "skipUrlEncoding": false }, { - "$id": "290", + "$id": "342", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "281" + "$ref": "122" }, "location": "Header", "isApiVersion": false, @@ -2736,11 +3202,11 @@ "skipUrlEncoding": false }, { - "$id": "291", + "$id": "343", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "284" + "$ref": "124" }, "location": "Header", "isApiVersion": false, @@ -2754,9 +3220,9 @@ } ], "response": { - "$id": "292", + "$id": "344", "type": { - "$ref": "135" + "$ref": "203" } }, "isOverride": false, @@ -2765,28 +3231,28 @@ "crossLanguageDefinitionId": "NewProjectTypeSpec.friendlyModel" }, { - "$id": "293", + "$id": "345", "kind": "basic", "name": "addTimeHeader", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "294", + "$id": "346", "name": "addTimeHeader", "resourceName": "NewProjectTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "295", + "$id": "347", "name": "repeatabilityFirstSent", "nameInRequest": "Repeatability-First-Sent", "type": { - "$id": "296", + "$id": "348", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "297", + "$id": "349", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2808,7 +3274,7 @@ ], "responses": [ { - "$id": "298", + "$id": "350", "statusCodes": [ 204 ], @@ -2827,16 +3293,16 @@ }, "parameters": [ { - "$id": "299", + "$id": "351", "name": "repeatabilityFirstSent", "nameInRequest": "Repeatability-First-Sent", "type": { - "$id": "300", + "$id": "352", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "301", + "$id": "353", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2857,7 +3323,7 @@ } ], "response": { - "$id": "302" + "$id": "354" }, "isOverride": false, "generateConvenient": false, @@ -2867,11 +3333,11 @@ ], "parameters": [ { - "$id": "303", + "$id": "355", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "304", + "$id": "356", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2888,12 +3354,12 @@ ], "decorators": [ { - "$id": "305", + "$id": "357", "name": "TypeSpec.@service", "arguments": { - "$id": "306", + "$id": "358", "options": { - "$id": "307", + "$id": "359", "title": "hello world" } } @@ -2903,18 +3369,18 @@ "apiVersions": [], "children": [ { - "$id": "308", + "$id": "360", "kind": "client", "name": "Hello", "namespace": "Azure.NewProject.TypeSpec", "methods": [], "parameters": [ { - "$id": "309", + "$id": "361", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "310", + "$id": "362", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -2933,36 +3399,36 @@ "crossLanguageDefinitionId": "NewProjectTypeSpec.Hello", "apiVersions": [], "parent": { - "$ref": "215" + "$ref": "283" }, "children": [ { - "$id": "311", + "$id": "363", "kind": "client", "name": "Demo", "namespace": "Azure.NewProject.TypeSpec", "doc": "Hello world service", "methods": [ { - "$id": "312", + "$id": "364", "kind": "basic", "name": "sayHi", "accessibility": "public", "apiVersions": [], "doc": "Return hi", "operation": { - "$id": "313", + "$id": "365", "name": "sayHi", "resourceName": "Demo", "doc": "Return hi", "accessibility": "public", "parameters": [ { - "$id": "314", + "$id": "366", "name": "headParameter", "nameInRequest": "head-parameter", "type": { - "$id": "315", + "$id": "367", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2979,11 +3445,11 @@ "skipUrlEncoding": false }, { - "$id": "316", + "$id": "368", "name": "queryParameter", "nameInRequest": "queryParameter", "type": { - "$id": "317", + "$id": "369", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3000,11 +3466,11 @@ "skipUrlEncoding": false }, { - "$id": "318", + "$id": "370", "name": "optionalQuery", "nameInRequest": "optionalQuery", "type": { - "$id": "319", + "$id": "371", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3021,24 +3487,11 @@ "skipUrlEncoding": false }, { - "$id": "320", + "$id": "372", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "321", - "kind": "constant", - "name": "sayHiContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "322", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -3053,12 +3506,12 @@ ], "responses": [ { - "$id": "323", + "$id": "373", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "162" }, "headers": [], "isErrorResponse": false, @@ -3078,11 +3531,11 @@ }, "parameters": [ { - "$id": "324", + "$id": "374", "name": "headParameter", "nameInRequest": "head-parameter", "type": { - "$id": "325", + "$id": "375", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3099,11 +3552,11 @@ "skipUrlEncoding": false }, { - "$id": "326", + "$id": "376", "name": "queryParameter", "nameInRequest": "queryParameter", "type": { - "$id": "327", + "$id": "377", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3120,11 +3573,11 @@ "skipUrlEncoding": false }, { - "$id": "328", + "$id": "378", "name": "optionalQuery", "nameInRequest": "optionalQuery", "type": { - "$id": "329", + "$id": "379", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3141,11 +3594,11 @@ "skipUrlEncoding": false }, { - "$id": "330", + "$id": "380", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "321" + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -3159,9 +3612,9 @@ } ], "response": { - "$id": "331", + "$id": "381", "type": { - "$ref": "84" + "$ref": "162" } }, "isOverride": false, @@ -3172,11 +3625,11 @@ ], "parameters": [ { - "$id": "332", + "$id": "382", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "333", + "$id": "383", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -3195,35 +3648,35 @@ "crossLanguageDefinitionId": "NewProjectTypeSpec.Hello.Demo", "apiVersions": [], "parent": { - "$ref": "308" + "$ref": "360" } }, { - "$id": "334", + "$id": "384", "kind": "client", "name": "Demo2", "namespace": "Azure.NewProject.TypeSpec", "methods": [ { - "$id": "335", + "$id": "385", "kind": "basic", "name": "helloAgain", "accessibility": "public", "apiVersions": [], "doc": "Return hi again", "operation": { - "$id": "336", + "$id": "386", "name": "helloAgain", "resourceName": "Demo2", "doc": "Return hi again", "accessibility": "public", "parameters": [ { - "$id": "337", + "$id": "387", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "338", + "$id": "388", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3240,24 +3693,11 @@ "skipUrlEncoding": false }, { - "$id": "339", + "$id": "389", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "340", - "kind": "constant", - "name": "HelloAgainRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "341", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -3270,11 +3710,11 @@ "skipUrlEncoding": false }, { - "$id": "342", + "$id": "390", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "343", + "$id": "391", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3291,24 +3731,11 @@ "skipUrlEncoding": false }, { - "$id": "344", + "$id": "392", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "345", - "kind": "constant", - "name": "helloAgainContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "346", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -3321,11 +3748,11 @@ "skipUrlEncoding": false }, { - "$id": "347", + "$id": "393", "name": "action", "nameInRequest": "action", "type": { - "$ref": "140" + "$ref": "208" }, "location": "Body", "isApiVersion": false, @@ -3340,12 +3767,12 @@ ], "responses": [ { - "$id": "348", + "$id": "394", "statusCodes": [ 200 ], "bodyType": { - "$ref": "140" + "$ref": "208" }, "headers": [], "isErrorResponse": false, @@ -3368,11 +3795,11 @@ }, "parameters": [ { - "$id": "349", + "$id": "395", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "350", + "$id": "396", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3389,11 +3816,11 @@ "skipUrlEncoding": false }, { - "$id": "351", + "$id": "397", "name": "action", "nameInRequest": "action", "type": { - "$ref": "140" + "$ref": "208" }, "location": "Body", "isApiVersion": false, @@ -3406,24 +3833,11 @@ "skipUrlEncoding": false }, { - "$id": "352", + "$id": "398", "name": "contentType", "nameInRequest": "content-type", "type": { - "$id": "353", - "kind": "constant", - "name": "HelloAgainRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "354", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -3436,11 +3850,11 @@ "skipUrlEncoding": false }, { - "$id": "355", + "$id": "399", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "356", + "$id": "400", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3457,11 +3871,11 @@ "skipUrlEncoding": false }, { - "$id": "357", + "$id": "401", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "345" + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -3475,9 +3889,9 @@ } ], "response": { - "$id": "358", + "$id": "402", "type": { - "$ref": "140" + "$ref": "208" } }, "isOverride": false, @@ -3486,25 +3900,25 @@ "crossLanguageDefinitionId": "NewProjectTypeSpec.Hello.Demo2.helloAgain" }, { - "$id": "359", + "$id": "403", "kind": "basic", "name": "noContentType", "accessibility": "public", "apiVersions": [], "doc": "Return hi again", "operation": { - "$id": "360", + "$id": "404", "name": "noContentType", "resourceName": "Demo2", "doc": "Return hi again", "accessibility": "public", "parameters": [ { - "$id": "361", + "$id": "405", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "362", + "$id": "406", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3521,11 +3935,11 @@ "skipUrlEncoding": false }, { - "$id": "363", + "$id": "407", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "364", + "$id": "408", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3542,25 +3956,12 @@ "skipUrlEncoding": false }, { - "$id": "365", + "$id": "409", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "366", - "kind": "constant", - "name": "noContentTypeContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "367", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -3573,24 +3974,11 @@ "skipUrlEncoding": false }, { - "$id": "368", + "$id": "410", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "369", - "kind": "constant", - "name": "noContentTypeContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "370", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -3603,11 +3991,11 @@ "skipUrlEncoding": false }, { - "$id": "371", + "$id": "411", "name": "action", "nameInRequest": "action", "type": { - "$ref": "140" + "$ref": "208" }, "location": "Body", "isApiVersion": false, @@ -3622,12 +4010,12 @@ ], "responses": [ { - "$id": "372", + "$id": "412", "statusCodes": [ 200 ], "bodyType": { - "$ref": "140" + "$ref": "208" }, "headers": [], "isErrorResponse": false, @@ -3650,11 +4038,11 @@ }, "parameters": [ { - "$id": "373", + "$id": "413", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "374", + "$id": "414", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3671,11 +4059,11 @@ "skipUrlEncoding": false }, { - "$id": "375", + "$id": "415", "name": "action", "nameInRequest": "action", "type": { - "$ref": "140" + "$ref": "208" }, "location": "Body", "isApiVersion": false, @@ -3688,11 +4076,11 @@ "skipUrlEncoding": false }, { - "$id": "376", + "$id": "416", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "377", + "$id": "417", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3709,12 +4097,12 @@ "skipUrlEncoding": false }, { - "$id": "378", + "$id": "418", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "366" + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -3727,11 +4115,11 @@ "skipUrlEncoding": false }, { - "$id": "379", + "$id": "419", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "369" + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -3745,9 +4133,9 @@ } ], "response": { - "$id": "380", + "$id": "420", "type": { - "$ref": "140" + "$ref": "208" } }, "isOverride": false, @@ -3756,39 +4144,26 @@ "crossLanguageDefinitionId": "NewProjectTypeSpec.Hello.Demo2.noContentType" }, { - "$id": "381", + "$id": "421", "kind": "basic", "name": "createLiteral", "accessibility": "public", "apiVersions": [], "doc": "Create with literal value", "operation": { - "$id": "382", + "$id": "422", "name": "createLiteral", "resourceName": "Demo2", "doc": "Create with literal value", "accessibility": "public", "parameters": [ { - "$id": "383", + "$id": "423", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "384", - "kind": "constant", - "name": "createLiteralContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "385", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -3801,24 +4176,11 @@ "skipUrlEncoding": false }, { - "$id": "386", + "$id": "424", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "387", - "kind": "constant", - "name": "createLiteralContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "388", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -3831,11 +4193,11 @@ "skipUrlEncoding": false }, { - "$id": "389", + "$id": "425", "name": "body", "nameInRequest": "body", "type": { - "$ref": "84" + "$ref": "162" }, "location": "Body", "isApiVersion": false, @@ -3850,12 +4212,12 @@ ], "responses": [ { - "$id": "390", + "$id": "426", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "162" }, "headers": [], "isErrorResponse": false, @@ -3878,11 +4240,11 @@ }, "parameters": [ { - "$id": "391", + "$id": "427", "name": "body", "nameInRequest": "body", "type": { - "$ref": "84" + "$ref": "162" }, "location": "Body", "isApiVersion": false, @@ -3895,12 +4257,12 @@ "skipUrlEncoding": false }, { - "$id": "392", + "$id": "428", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "384" + "$ref": "138" }, "location": "Header", "isApiVersion": false, @@ -3913,11 +4275,11 @@ "skipUrlEncoding": false }, { - "$id": "393", + "$id": "429", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "387" + "$ref": "140" }, "location": "Header", "isApiVersion": false, @@ -3931,9 +4293,9 @@ } ], "response": { - "$id": "394", + "$id": "430", "type": { - "$ref": "84" + "$ref": "162" } }, "isOverride": false, @@ -3942,38 +4304,25 @@ "crossLanguageDefinitionId": "NewProjectTypeSpec.Hello.Demo2.createLiteral" }, { - "$id": "395", + "$id": "431", "kind": "basic", "name": "helloLiteral", "accessibility": "public", "apiVersions": [], "doc": "Send literal parameters", "operation": { - "$id": "396", + "$id": "432", "name": "helloLiteral", "resourceName": "Demo2", "doc": "Send literal parameters", "accessibility": "public", "parameters": [ { - "$id": "397", + "$id": "433", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "398", - "kind": "constant", - "name": "HelloLiteralRequestP1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "399", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "test", - "decorators": [] + "$ref": "142" }, "location": "Header", "isApiVersion": false, @@ -3986,24 +4335,11 @@ "skipUrlEncoding": false }, { - "$id": "400", + "$id": "434", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "401", - "kind": "constant", - "name": "ThingRequiredLiteralInt2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "402", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "value": 123, - "decorators": [] + "$ref": "144" }, "location": "Path", "isApiVersion": false, @@ -4016,24 +4352,11 @@ "skipUrlEncoding": false }, { - "$id": "403", + "$id": "435", "name": "p3", "nameInRequest": "p3", "type": { - "$id": "404", - "kind": "constant", - "name": "ThingOptionalLiteralBool2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "405", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "146" }, "location": "Query", "isApiVersion": false, @@ -4046,24 +4369,11 @@ "skipUrlEncoding": false }, { - "$id": "406", + "$id": "436", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "407", - "kind": "constant", - "name": "helloLiteralContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "408", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "148" }, "location": "Header", "isApiVersion": false, @@ -4078,12 +4388,12 @@ ], "responses": [ { - "$id": "409", + "$id": "437", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "162" }, "headers": [], "isErrorResponse": false, @@ -4103,24 +4413,11 @@ }, "parameters": [ { - "$id": "410", + "$id": "438", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "411", - "kind": "constant", - "name": "HelloLiteralRequestP11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "412", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "test", - "decorators": [] + "$ref": "150" }, "location": "Header", "isApiVersion": false, @@ -4133,24 +4430,11 @@ "skipUrlEncoding": false }, { - "$id": "413", + "$id": "439", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "414", - "kind": "constant", - "name": "ThingRequiredLiteralInt3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "415", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "value": 123, - "decorators": [] + "$ref": "152" }, "location": "Path", "isApiVersion": false, @@ -4163,24 +4447,11 @@ "skipUrlEncoding": false }, { - "$id": "416", + "$id": "440", "name": "p3", "nameInRequest": "p3", "type": { - "$id": "417", - "kind": "constant", - "name": "ThingOptionalLiteralBool3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "418", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "154" }, "location": "Query", "isApiVersion": false, @@ -4193,11 +4464,11 @@ "skipUrlEncoding": false }, { - "$id": "419", + "$id": "441", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "407" + "$ref": "148" }, "location": "Header", "isApiVersion": false, @@ -4211,9 +4482,9 @@ } ], "response": { - "$id": "420", + "$id": "442", "type": { - "$ref": "84" + "$ref": "162" } }, "isOverride": false, @@ -4224,11 +4495,11 @@ ], "parameters": [ { - "$id": "421", + "$id": "443", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "422", + "$id": "444", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4247,51 +4518,38 @@ "crossLanguageDefinitionId": "NewProjectTypeSpec.Hello.Demo2", "apiVersions": [], "parent": { - "$ref": "308" + "$ref": "360" } } ] }, { - "$id": "423", + "$id": "445", "kind": "client", "name": "EnumTest", "namespace": "Azure.NewProject.TypeSpec", "methods": [ { - "$id": "424", + "$id": "446", "kind": "basic", "name": "getUnknownValue", "accessibility": "public", "apiVersions": [], "doc": "create extensible enum", "operation": { - "$id": "425", + "$id": "447", "name": "getUnknownValue", "resourceName": "EnumTest", "doc": "create extensible enum", "accessibility": "public", "parameters": [ { - "$id": "426", + "$id": "448", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$id": "427", - "kind": "constant", - "name": "getUnknownValueContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "428", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -4304,7 +4562,7 @@ "skipUrlEncoding": false }, { - "$id": "429", + "$id": "449", "name": "input", "nameInRequest": "input", "type": { @@ -4323,7 +4581,7 @@ ], "responses": [ { - "$id": "430", + "$id": "450", "statusCodes": [ 204 ], @@ -4345,7 +4603,7 @@ }, "parameters": [ { - "$id": "431", + "$id": "451", "name": "input", "nameInRequest": "input", "type": { @@ -4362,12 +4620,12 @@ "skipUrlEncoding": false }, { - "$id": "432", + "$id": "452", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$ref": "427" + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -4381,7 +4639,7 @@ } ], "response": { - "$id": "433" + "$id": "453" }, "isOverride": false, "generateConvenient": false, @@ -4391,11 +4649,11 @@ ], "parameters": [ { - "$id": "434", + "$id": "454", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "435", + "$id": "455", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4414,49 +4672,36 @@ "crossLanguageDefinitionId": "NewProjectTypeSpec.EnumTest", "apiVersions": [], "parent": { - "$ref": "215" + "$ref": "283" } }, { - "$id": "436", + "$id": "456", "kind": "client", "name": "ProtocolAndConvenient", "namespace": "Azure.NewProject.TypeSpec", "methods": [ { - "$id": "437", + "$id": "457", "kind": "basic", "name": "internalProtocol", "accessibility": "public", "apiVersions": [], "doc": "When set protocol false and convenient true, then the protocol method should be internal", "operation": { - "$id": "438", + "$id": "458", "name": "internalProtocol", "resourceName": "ProtocolAndConvenient", "doc": "When set protocol false and convenient true, then the protocol method should be internal", "accessibility": "public", "parameters": [ { - "$id": "439", + "$id": "459", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "440", - "kind": "constant", - "name": "internalProtocolContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "441", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -4469,24 +4714,11 @@ "skipUrlEncoding": false }, { - "$id": "442", + "$id": "460", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "443", - "kind": "constant", - "name": "internalProtocolContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "444", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -4499,11 +4731,11 @@ "skipUrlEncoding": false }, { - "$id": "445", + "$id": "461", "name": "body", "nameInRequest": "body", "type": { - "$ref": "84" + "$ref": "162" }, "location": "Body", "isApiVersion": false, @@ -4518,12 +4750,12 @@ ], "responses": [ { - "$id": "446", + "$id": "462", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "162" }, "headers": [], "isErrorResponse": false, @@ -4546,11 +4778,11 @@ }, "parameters": [ { - "$id": "447", + "$id": "463", "name": "body", "nameInRequest": "body", "type": { - "$ref": "84" + "$ref": "162" }, "location": "Body", "isApiVersion": false, @@ -4563,12 +4795,12 @@ "skipUrlEncoding": false }, { - "$id": "448", + "$id": "464", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "440" + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -4581,11 +4813,11 @@ "skipUrlEncoding": false }, { - "$id": "449", + "$id": "465", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "443" + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -4599,9 +4831,9 @@ } ], "response": { - "$id": "450", + "$id": "466", "type": { - "$ref": "84" + "$ref": "162" } }, "isOverride": false, @@ -4610,14 +4842,14 @@ "crossLanguageDefinitionId": "NewProjectTypeSpec.ProtocolAndConvenient.internalProtocol" }, { - "$id": "451", + "$id": "467", "kind": "basic", "name": "stillConvenient", "accessibility": "public", "apiVersions": [], "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", "operation": { - "$id": "452", + "$id": "468", "name": "stillConvenient", "resourceName": "ProtocolAndConvenient", "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", @@ -4625,7 +4857,7 @@ "parameters": [], "responses": [ { - "$id": "453", + "$id": "469", "statusCodes": [ 204 ], @@ -4644,7 +4876,7 @@ }, "parameters": [], "response": { - "$id": "454" + "$id": "470" }, "isOverride": false, "generateConvenient": true, @@ -4654,11 +4886,11 @@ ], "parameters": [ { - "$id": "455", + "$id": "471", "name": "firstTestTypeSpecUrl", "nameInRequest": "firstTestTypeSpecUrl", "type": { - "$id": "456", + "$id": "472", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4677,22 +4909,22 @@ "crossLanguageDefinitionId": "NewProjectTypeSpec.ProtocolAndConvenient", "apiVersions": [], "parent": { - "$ref": "215" + "$ref": "283" } } ] } ], "auth": { - "$id": "457", + "$id": "473", "oAuth2": { - "$id": "458", + "$id": "474", "scopes": [ "https://api.example.com/.default" ] }, "apiKey": { - "$id": "459", + "$id": "475", "name": "x-ms-api-key", "in": "header" } diff --git a/test/UnbrandedProjects/Customized-TypeSpec/tspCodeModel.json b/test/UnbrandedProjects/Customized-TypeSpec/tspCodeModel.json index db9f9b56662..cd9fcf65acd 100644 --- a/test/UnbrandedProjects/Customized-TypeSpec/tspCodeModel.json +++ b/test/UnbrandedProjects/Customized-TypeSpec/tspCodeModel.json @@ -235,9 +235,723 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "24", + "kind": "constant", + "name": "ThingRequiredLiteralString", + "namespace": "CustomizedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "6" + }, + "value": "accept", + "decorators": [] + }, + { + "$id": "25", + "kind": "constant", + "name": "ThingRequiredLiteralInt", + "namespace": "CustomizedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "9" + }, + "value": 123, + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "ThingRequiredLiteralFloat", + "namespace": "CustomizedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "12" + }, + "value": 1.23, + "decorators": [] + }, + { + "$id": "27", + "kind": "constant", + "name": "ThingRequiredLiteralBool", + "namespace": "CustomizedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$id": "28", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": false, + "decorators": [] + }, + { + "$id": "29", + "kind": "constant", + "name": "ThingOptionalLiteralString", + "namespace": "CustomizedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "15" + }, + "value": "reject", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "ThingOptionalLiteralInt", + "namespace": "CustomizedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "18" + }, + "value": 456, + "decorators": [] + }, + { + "$id": "31", + "kind": "constant", + "name": "ThingOptionalLiteralFloat", + "namespace": "CustomizedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "21" + }, + "value": 4.56, + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "ThingOptionalLiteralBool", + "namespace": "CustomizedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$id": "33", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "sayHiContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "HelloAgainRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "helloAgainContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "HelloAgainRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "42", + "kind": "constant", + "name": "noContentTypeContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "44", + "kind": "constant", + "name": "noContentTypeContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "46", + "kind": "constant", + "name": "helloDemo2ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "48", + "kind": "constant", + "name": "createLiteralContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "50", + "kind": "constant", + "name": "createLiteralContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "52", + "kind": "constant", + "name": "HelloLiteralRequestP1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "test", + "decorators": [] + }, + { + "$id": "54", + "kind": "constant", + "name": "ThingRequiredLiteralInt1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "55", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 123, + "decorators": [] + }, + { + "$id": "56", + "kind": "constant", + "name": "ThingOptionalLiteralBool1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "57", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "58", + "kind": "constant", + "name": "helloLiteralContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "60", + "kind": "constant", + "name": "HelloLiteralRequestP11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "test", + "decorators": [] + }, + { + "$id": "62", + "kind": "constant", + "name": "ThingRequiredLiteralInt2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "63", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 123, + "decorators": [] + }, + { + "$id": "64", + "kind": "constant", + "name": "ThingOptionalLiteralBool2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "65", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "66", + "kind": "constant", + "name": "topActionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "68", + "kind": "constant", + "name": "topAction2ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "70", + "kind": "constant", + "name": "patchActionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "72", + "kind": "constant", + "name": "patchActionContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "74", + "kind": "constant", + "name": "anonymousBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "76", + "kind": "constant", + "name": "anonymousBodyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "78", + "kind": "constant", + "name": "ThingRequiredLiteralString1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "accept", + "decorators": [] + }, + { + "$id": "80", + "kind": "constant", + "name": "ThingRequiredLiteralInt3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "81", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 123, + "decorators": [] + }, + { + "$id": "82", + "kind": "constant", + "name": "ThingRequiredLiteralFloat1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "83", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "value": 1.23, + "decorators": [] + }, + { + "$id": "84", + "kind": "constant", + "name": "ThingRequiredLiteralBool1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "85", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": false, + "decorators": [] + }, + { + "$id": "86", + "kind": "constant", + "name": "ThingOptionalLiteralString1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "reject", + "decorators": [] + }, + { + "$id": "88", + "kind": "constant", + "name": "ThingOptionalLiteralInt1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "89", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 456, + "decorators": [] + }, + { + "$id": "90", + "kind": "constant", + "name": "ThingOptionalLiteralFloat1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "91", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "value": 4.56, + "decorators": [] + }, + { + "$id": "92", + "kind": "constant", + "name": "ThingOptionalLiteralBool3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "93", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "94", + "kind": "constant", + "name": "friendlyModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "96", + "kind": "constant", + "name": "friendlyModelContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "98", + "kind": "constant", + "name": "projectedNameModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "100", + "kind": "constant", + "name": "projectedNameModelContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "102", + "kind": "constant", + "name": "returnsAnonymousModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "104", + "kind": "constant", + "name": "GetUnknownValueResponse6", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "Sunday", + "decorators": [] + }, + { + "$id": "106", + "kind": "constant", + "name": "internalProtocolContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "107", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "108", + "kind": "constant", + "name": "internalProtocolContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "109", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "110", "kind": "model", "name": "Thing", "namespace": "CustomizedTypeSpec", @@ -247,13 +961,13 @@ "decorators": [], "properties": [ { - "$id": "25", + "$id": "111", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the Thing", "type": { - "$id": "26", + "$id": "112", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -266,37 +980,37 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.Thing.name", "serializationOptions": { - "$id": "27", + "$id": "113", "json": { - "$id": "28", + "$id": "114", "name": "name" } } }, { - "$id": "29", + "$id": "115", "kind": "property", "name": "requiredUnion", "serializedName": "requiredUnion", "doc": "required Union", "type": { - "$id": "30", + "$id": "116", "kind": "union", "name": "ThingRequiredUnion", "variantTypes": [ { - "$id": "31", + "$id": "117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "32", + "$id": "118", "kind": "array", "name": "Array", "valueType": { - "$id": "33", + "$id": "119", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -306,7 +1020,7 @@ "decorators": [] }, { - "$id": "34", + "$id": "120", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -323,30 +1037,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.Thing.requiredUnion", "serializationOptions": { - "$id": "35", + "$id": "121", "json": { - "$id": "36", + "$id": "122", "name": "requiredUnion" } } }, { - "$id": "37", + "$id": "123", "kind": "property", "name": "requiredLiteralString", "serializedName": "requiredLiteralString", "doc": "required literal string", "type": { - "$id": "38", - "kind": "constant", - "name": "ThingRequiredLiteralString", - "namespace": "CustomizedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "6" - }, - "value": "accept", - "decorators": [] + "$ref": "24" }, "optional": false, "readOnly": false, @@ -355,30 +1060,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.Thing.requiredLiteralString", "serializationOptions": { - "$id": "39", + "$id": "124", "json": { - "$id": "40", + "$id": "125", "name": "requiredLiteralString" } } }, { - "$id": "41", + "$id": "126", "kind": "property", "name": "requiredLiteralInt", "serializedName": "requiredLiteralInt", "doc": "required literal int", "type": { - "$id": "42", - "kind": "constant", - "name": "ThingRequiredLiteralInt", - "namespace": "CustomizedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "9" - }, - "value": 123, - "decorators": [] + "$ref": "25" }, "optional": false, "readOnly": false, @@ -387,30 +1083,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.Thing.requiredLiteralInt", "serializationOptions": { - "$id": "43", + "$id": "127", "json": { - "$id": "44", + "$id": "128", "name": "requiredLiteralInt" } } }, { - "$id": "45", + "$id": "129", "kind": "property", "name": "requiredLiteralFloat", "serializedName": "requiredLiteralFloat", "doc": "required literal float", "type": { - "$id": "46", - "kind": "constant", - "name": "ThingRequiredLiteralFloat", - "namespace": "CustomizedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "12" - }, - "value": 1.23, - "decorators": [] + "$ref": "26" }, "optional": false, "readOnly": false, @@ -419,34 +1106,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.Thing.requiredLiteralFloat", "serializationOptions": { - "$id": "47", + "$id": "130", "json": { - "$id": "48", + "$id": "131", "name": "requiredLiteralFloat" } } }, { - "$id": "49", + "$id": "132", "kind": "property", "name": "requiredLiteralBool", "serializedName": "requiredLiteralBool", "doc": "required literal bool", "type": { - "$id": "50", - "kind": "constant", - "name": "ThingRequiredLiteralBool", - "namespace": "CustomizedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$id": "51", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": false, - "decorators": [] + "$ref": "27" }, "optional": false, "readOnly": false, @@ -455,30 +1129,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.Thing.requiredLiteralBool", "serializationOptions": { - "$id": "52", + "$id": "133", "json": { - "$id": "53", + "$id": "134", "name": "requiredLiteralBool" } } }, { - "$id": "54", + "$id": "135", "kind": "property", "name": "optionalLiteralString", "serializedName": "optionalLiteralString", "doc": "optional literal string", "type": { - "$id": "55", - "kind": "constant", - "name": "ThingOptionalLiteralString", - "namespace": "CustomizedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "15" - }, - "value": "reject", - "decorators": [] + "$ref": "29" }, "optional": true, "readOnly": false, @@ -487,30 +1152,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.Thing.optionalLiteralString", "serializationOptions": { - "$id": "56", + "$id": "136", "json": { - "$id": "57", + "$id": "137", "name": "optionalLiteralString" } } }, { - "$id": "58", + "$id": "138", "kind": "property", "name": "optionalLiteralInt", "serializedName": "optionalLiteralInt", "doc": "optional literal int", "type": { - "$id": "59", - "kind": "constant", - "name": "ThingOptionalLiteralInt", - "namespace": "CustomizedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "18" - }, - "value": 456, - "decorators": [] + "$ref": "30" }, "optional": true, "readOnly": false, @@ -519,30 +1175,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.Thing.optionalLiteralInt", "serializationOptions": { - "$id": "60", + "$id": "139", "json": { - "$id": "61", + "$id": "140", "name": "optionalLiteralInt" } } }, { - "$id": "62", + "$id": "141", "kind": "property", "name": "optionalLiteralFloat", "serializedName": "optionalLiteralFloat", "doc": "optional literal float", "type": { - "$id": "63", - "kind": "constant", - "name": "ThingOptionalLiteralFloat", - "namespace": "CustomizedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "21" - }, - "value": 4.56, - "decorators": [] + "$ref": "31" }, "optional": true, "readOnly": false, @@ -551,34 +1198,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.Thing.optionalLiteralFloat", "serializationOptions": { - "$id": "64", + "$id": "142", "json": { - "$id": "65", + "$id": "143", "name": "optionalLiteralFloat" } } }, { - "$id": "66", + "$id": "144", "kind": "property", "name": "optionalLiteralBool", "serializedName": "optionalLiteralBool", "doc": "optional literal bool", "type": { - "$id": "67", - "kind": "constant", - "name": "ThingOptionalLiteralBool", - "namespace": "CustomizedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$id": "68", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "32" }, "optional": true, "readOnly": false, @@ -587,21 +1221,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.Thing.optionalLiteralBool", "serializationOptions": { - "$id": "69", + "$id": "145", "json": { - "$id": "70", + "$id": "146", "name": "optionalLiteralBool" } } }, { - "$id": "71", + "$id": "147", "kind": "property", "name": "requiredBadDescription", "serializedName": "requiredBadDescription", "doc": "description with xml <|endoftext|>", "type": { - "$id": "72", + "$id": "148", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -614,28 +1248,28 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.Thing.requiredBadDescription", "serializationOptions": { - "$id": "73", + "$id": "149", "json": { - "$id": "74", + "$id": "150", "name": "requiredBadDescription" } } }, { - "$id": "75", + "$id": "151", "kind": "property", "name": "optionalNullableList", "serializedName": "optionalNullableList", "doc": "optional nullable collection", "type": { - "$id": "76", + "$id": "152", "kind": "nullable", "type": { - "$id": "77", + "$id": "153", "kind": "array", "name": "Array1", "valueType": { - "$id": "78", + "$id": "154", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -653,24 +1287,24 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.Thing.optionalNullableList", "serializationOptions": { - "$id": "79", + "$id": "155", "json": { - "$id": "80", + "$id": "156", "name": "optionalNullableList" } } }, { - "$id": "81", + "$id": "157", "kind": "property", "name": "requiredNullableList", "serializedName": "requiredNullableList", "doc": "required nullable collection", "type": { - "$id": "82", + "$id": "158", "kind": "nullable", "type": { - "$ref": "77" + "$ref": "153" }, "namespace": "" }, @@ -681,9 +1315,9 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.Thing.requiredNullableList", "serializationOptions": { - "$id": "83", + "$id": "159", "json": { - "$id": "84", + "$id": "160", "name": "requiredNullableList" } } @@ -691,7 +1325,7 @@ ] }, { - "$id": "85", + "$id": "161", "kind": "model", "name": "RoundTripModel", "namespace": "CustomizedTypeSpec", @@ -701,13 +1335,13 @@ "decorators": [], "properties": [ { - "$id": "86", + "$id": "162", "kind": "property", "name": "requiredString", "serializedName": "requiredString", "doc": "Required string, illustrating a reference type property.", "type": { - "$id": "87", + "$id": "163", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -720,21 +1354,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.RoundTripModel.requiredString", "serializationOptions": { - "$id": "88", + "$id": "164", "json": { - "$id": "89", + "$id": "165", "name": "requiredString" } } }, { - "$id": "90", + "$id": "166", "kind": "property", "name": "requiredInt", "serializedName": "requiredInt", "doc": "Required int, illustrating a value type property.", "type": { - "$id": "91", + "$id": "167", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -747,21 +1381,21 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.RoundTripModel.requiredInt", "serializationOptions": { - "$id": "92", + "$id": "168", "json": { - "$id": "93", + "$id": "169", "name": "requiredInt" } } }, { - "$id": "94", + "$id": "170", "kind": "property", "name": "requiredReadonlyInt", "serializedName": "requiredReadonlyInt", "doc": "Required readonly int", "type": { - "$id": "95", + "$id": "171", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -774,9 +1408,9 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.RoundTripModel.requiredReadonlyInt", "serializationOptions": { - "$id": "96", + "$id": "172", "json": { - "$id": "97", + "$id": "173", "name": "requiredReadonlyInt" } } @@ -784,7 +1418,7 @@ ] }, { - "$id": "98", + "$id": "174", "kind": "model", "name": "ModelWithFormat", "namespace": "CustomizedTypeSpec", @@ -793,13 +1427,13 @@ "decorators": [], "properties": [ { - "$id": "99", + "$id": "175", "kind": "property", "name": "sourceUrl", "serializedName": "sourceUrl", "doc": "url format", "type": { - "$id": "100", + "$id": "176", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -812,26 +1446,26 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.ModelWithFormat.sourceUrl", "serializationOptions": { - "$id": "101", + "$id": "177", "json": { - "$id": "102", + "$id": "178", "name": "sourceUrl" } } }, { - "$id": "103", + "$id": "179", "kind": "property", "name": "guid", "serializedName": "guid", "doc": "uuid format", "type": { - "$id": "104", + "$id": "180", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "105", + "$id": "181", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -846,9 +1480,9 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.ModelWithFormat.guid", "serializationOptions": { - "$id": "106", + "$id": "182", "json": { - "$id": "107", + "$id": "183", "name": "guid" } } @@ -856,7 +1490,7 @@ ] }, { - "$id": "108", + "$id": "184", "kind": "model", "name": "Friend", "namespace": "CustomizedTypeSpec", @@ -866,13 +1500,13 @@ "decorators": [], "properties": [ { - "$id": "109", + "$id": "185", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the NotFriend", "type": { - "$id": "110", + "$id": "186", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -885,20 +1519,20 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.NotFriend.name", "serializationOptions": { - "$id": "111", + "$id": "187", "json": { - "$id": "112", + "$id": "188", "name": "name" } } }, { - "$id": "113", + "$id": "189", "kind": "property", "name": "format", "serializedName": "format", "type": { - "$ref": "98" + "$ref": "174" }, "optional": true, "readOnly": false, @@ -907,9 +1541,9 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.NotFriend.format", "serializationOptions": { - "$id": "114", + "$id": "190", "json": { - "$id": "115", + "$id": "191", "name": "format" } } @@ -917,7 +1551,7 @@ ] }, { - "$id": "116", + "$id": "192", "kind": "model", "name": "ProjectedModel", "namespace": "CustomizedTypeSpec", @@ -927,13 +1561,13 @@ "decorators": [], "properties": [ { - "$id": "117", + "$id": "193", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the ModelWithProjectedName", "type": { - "$id": "118", + "$id": "194", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -946,9 +1580,9 @@ "decorators": [], "crossLanguageDefinitionId": "CustomizedTypeSpec.ModelWithProjectedName.name", "serializationOptions": { - "$id": "119", + "$id": "195", "json": { - "$id": "120", + "$id": "196", "name": "name" } } @@ -956,7 +1590,7 @@ ] }, { - "$id": "121", + "$id": "197", "kind": "model", "name": "ReturnsAnonymousModelResponse", "namespace": "CustomizedTypeSpec", @@ -968,14 +1602,14 @@ ], "clients": [ { - "$id": "122", + "$id": "198", "kind": "client", "name": "CustomizedTypeSpecClient", "namespace": "CustomizedTypeSpec", "doc": "This is a sample typespec project.", "methods": [ { - "$id": "123", + "$id": "199", "kind": "basic", "name": "sayHi", "accessibility": "public", @@ -984,18 +1618,18 @@ ], "doc": "Return hi", "operation": { - "$id": "124", + "$id": "200", "name": "sayHi", "resourceName": "CustomizedTypeSpec", "doc": "Return hi", "accessibility": "public", "parameters": [ { - "$id": "125", + "$id": "201", "name": "headParameter", "nameInRequest": "head-parameter", "type": { - "$id": "126", + "$id": "202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1012,11 +1646,11 @@ "skipUrlEncoding": false }, { - "$id": "127", + "$id": "203", "name": "queryParameter", "nameInRequest": "queryParameter", "type": { - "$id": "128", + "$id": "204", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1033,11 +1667,11 @@ "skipUrlEncoding": false }, { - "$id": "129", + "$id": "205", "name": "optionalQuery", "nameInRequest": "optionalQuery", "type": { - "$id": "130", + "$id": "206", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1054,24 +1688,11 @@ "skipUrlEncoding": false }, { - "$id": "131", + "$id": "207", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "132", - "kind": "constant", - "name": "sayHiContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "133", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -1086,12 +1707,12 @@ ], "responses": [ { - "$id": "134", + "$id": "208", "statusCodes": [ 200 ], "bodyType": { - "$ref": "24" + "$ref": "110" }, "headers": [], "isErrorResponse": false, @@ -1111,11 +1732,11 @@ }, "parameters": [ { - "$id": "135", + "$id": "209", "name": "headParameter", "nameInRequest": "head-parameter", "type": { - "$id": "136", + "$id": "210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1132,11 +1753,11 @@ "skipUrlEncoding": false }, { - "$id": "137", + "$id": "211", "name": "queryParameter", "nameInRequest": "queryParameter", "type": { - "$id": "138", + "$id": "212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1153,11 +1774,11 @@ "skipUrlEncoding": false }, { - "$id": "139", + "$id": "213", "name": "optionalQuery", "nameInRequest": "optionalQuery", "type": { - "$id": "140", + "$id": "214", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1174,11 +1795,11 @@ "skipUrlEncoding": false }, { - "$id": "141", + "$id": "215", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "132" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -1192,9 +1813,9 @@ } ], "response": { - "$id": "142", + "$id": "216", "type": { - "$ref": "24" + "$ref": "110" } }, "isOverride": false, @@ -1203,7 +1824,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.sayHi" }, { - "$id": "143", + "$id": "217", "kind": "basic", "name": "helloAgain", "accessibility": "public", @@ -1212,18 +1833,18 @@ ], "doc": "Return hi again", "operation": { - "$id": "144", + "$id": "218", "name": "helloAgain", "resourceName": "CustomizedTypeSpec", "doc": "Return hi again", "accessibility": "public", "parameters": [ { - "$id": "145", + "$id": "219", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "146", + "$id": "220", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1240,24 +1861,11 @@ "skipUrlEncoding": false }, { - "$id": "147", + "$id": "221", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "148", - "kind": "constant", - "name": "HelloAgainRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "149", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "36" }, "location": "Header", "isApiVersion": false, @@ -1270,11 +1878,11 @@ "skipUrlEncoding": false }, { - "$id": "150", + "$id": "222", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "151", + "$id": "223", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1291,24 +1899,11 @@ "skipUrlEncoding": false }, { - "$id": "152", + "$id": "224", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "153", - "kind": "constant", - "name": "helloAgainContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "154", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -1321,11 +1916,11 @@ "skipUrlEncoding": false }, { - "$id": "155", + "$id": "225", "name": "action", "nameInRequest": "action", "type": { - "$ref": "85" + "$ref": "161" }, "location": "Body", "isApiVersion": false, @@ -1340,12 +1935,12 @@ ], "responses": [ { - "$id": "156", + "$id": "226", "statusCodes": [ 200 ], "bodyType": { - "$ref": "85" + "$ref": "161" }, "headers": [], "isErrorResponse": false, @@ -1368,11 +1963,11 @@ }, "parameters": [ { - "$id": "157", + "$id": "227", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "158", + "$id": "228", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1389,11 +1984,11 @@ "skipUrlEncoding": false }, { - "$id": "159", + "$id": "229", "name": "action", "nameInRequest": "action", "type": { - "$ref": "85" + "$ref": "161" }, "location": "Body", "isApiVersion": false, @@ -1406,24 +2001,11 @@ "skipUrlEncoding": false }, { - "$id": "160", + "$id": "230", "name": "contentType", - "nameInRequest": "content-type", - "type": { - "$id": "161", - "kind": "constant", - "name": "HelloAgainRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "162", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "nameInRequest": "content-type", + "type": { + "$ref": "40" }, "location": "Header", "isApiVersion": false, @@ -1436,11 +2018,11 @@ "skipUrlEncoding": false }, { - "$id": "163", + "$id": "231", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "164", + "$id": "232", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1457,11 +2039,11 @@ "skipUrlEncoding": false }, { - "$id": "165", + "$id": "233", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "153" + "$ref": "38" }, "location": "Header", "isApiVersion": false, @@ -1475,9 +2057,9 @@ } ], "response": { - "$id": "166", + "$id": "234", "type": { - "$ref": "85" + "$ref": "161" } }, "isOverride": false, @@ -1486,7 +2068,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.helloAgain" }, { - "$id": "167", + "$id": "235", "kind": "basic", "name": "noContentType", "accessibility": "public", @@ -1495,18 +2077,18 @@ ], "doc": "Return hi again", "operation": { - "$id": "168", + "$id": "236", "name": "noContentType", "resourceName": "CustomizedTypeSpec", "doc": "Return hi again", "accessibility": "public", "parameters": [ { - "$id": "169", + "$id": "237", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "170", + "$id": "238", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1523,11 +2105,11 @@ "skipUrlEncoding": false }, { - "$id": "171", + "$id": "239", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "172", + "$id": "240", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1544,25 +2126,12 @@ "skipUrlEncoding": false }, { - "$id": "173", + "$id": "241", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "174", - "kind": "constant", - "name": "noContentTypeContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "175", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -1575,24 +2144,11 @@ "skipUrlEncoding": false }, { - "$id": "176", + "$id": "242", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "177", - "kind": "constant", - "name": "noContentTypeContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "178", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -1605,11 +2161,11 @@ "skipUrlEncoding": false }, { - "$id": "179", + "$id": "243", "name": "action", "nameInRequest": "action", "type": { - "$ref": "85" + "$ref": "161" }, "location": "Body", "isApiVersion": false, @@ -1624,12 +2180,12 @@ ], "responses": [ { - "$id": "180", + "$id": "244", "statusCodes": [ 200 ], "bodyType": { - "$ref": "85" + "$ref": "161" }, "headers": [], "isErrorResponse": false, @@ -1652,11 +2208,11 @@ }, "parameters": [ { - "$id": "181", + "$id": "245", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "182", + "$id": "246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1673,11 +2229,11 @@ "skipUrlEncoding": false }, { - "$id": "183", + "$id": "247", "name": "action", "nameInRequest": "action", "type": { - "$ref": "85" + "$ref": "161" }, "location": "Body", "isApiVersion": false, @@ -1690,11 +2246,11 @@ "skipUrlEncoding": false }, { - "$id": "184", + "$id": "248", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "185", + "$id": "249", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1711,12 +2267,12 @@ "skipUrlEncoding": false }, { - "$id": "186", + "$id": "250", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "174" + "$ref": "42" }, "location": "Header", "isApiVersion": false, @@ -1729,11 +2285,11 @@ "skipUrlEncoding": false }, { - "$id": "187", + "$id": "251", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "177" + "$ref": "44" }, "location": "Header", "isApiVersion": false, @@ -1747,9 +2303,9 @@ } ], "response": { - "$id": "188", + "$id": "252", "type": { - "$ref": "85" + "$ref": "161" } }, "isOverride": false, @@ -1758,7 +2314,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.noContentType" }, { - "$id": "189", + "$id": "253", "kind": "basic", "name": "helloDemo2", "accessibility": "public", @@ -1767,31 +2323,18 @@ ], "doc": "Return hi in demo2", "operation": { - "$id": "190", + "$id": "254", "name": "helloDemo2", "resourceName": "CustomizedTypeSpec", "doc": "Return hi in demo2", "accessibility": "public", "parameters": [ { - "$id": "191", + "$id": "255", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "192", - "kind": "constant", - "name": "helloDemo2ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "193", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -1806,12 +2349,12 @@ ], "responses": [ { - "$id": "194", + "$id": "256", "statusCodes": [ 200 ], "bodyType": { - "$ref": "24" + "$ref": "110" }, "headers": [], "isErrorResponse": false, @@ -1831,11 +2374,11 @@ }, "parameters": [ { - "$id": "195", + "$id": "257", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "192" + "$ref": "46" }, "location": "Header", "isApiVersion": false, @@ -1849,9 +2392,9 @@ } ], "response": { - "$id": "196", + "$id": "258", "type": { - "$ref": "24" + "$ref": "110" } }, "isOverride": false, @@ -1860,7 +2403,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.helloDemo2" }, { - "$id": "197", + "$id": "259", "kind": "basic", "name": "createLiteral", "accessibility": "public", @@ -1869,32 +2412,19 @@ ], "doc": "Create with literal value", "operation": { - "$id": "198", + "$id": "260", "name": "createLiteral", "resourceName": "CustomizedTypeSpec", "doc": "Create with literal value", "accessibility": "public", "parameters": [ { - "$id": "199", + "$id": "261", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "200", - "kind": "constant", - "name": "createLiteralContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "201", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -1907,24 +2437,11 @@ "skipUrlEncoding": false }, { - "$id": "202", + "$id": "262", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "203", - "kind": "constant", - "name": "createLiteralContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "204", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -1937,11 +2454,11 @@ "skipUrlEncoding": false }, { - "$id": "205", + "$id": "263", "name": "body", "nameInRequest": "body", "type": { - "$ref": "24" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -1956,12 +2473,12 @@ ], "responses": [ { - "$id": "206", + "$id": "264", "statusCodes": [ 200 ], "bodyType": { - "$ref": "24" + "$ref": "110" }, "headers": [], "isErrorResponse": false, @@ -1984,11 +2501,11 @@ }, "parameters": [ { - "$id": "207", + "$id": "265", "name": "body", "nameInRequest": "body", "type": { - "$ref": "24" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -2001,12 +2518,12 @@ "skipUrlEncoding": false }, { - "$id": "208", + "$id": "266", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "200" + "$ref": "48" }, "location": "Header", "isApiVersion": false, @@ -2019,11 +2536,11 @@ "skipUrlEncoding": false }, { - "$id": "209", + "$id": "267", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "203" + "$ref": "50" }, "location": "Header", "isApiVersion": false, @@ -2037,9 +2554,9 @@ } ], "response": { - "$id": "210", + "$id": "268", "type": { - "$ref": "24" + "$ref": "110" } }, "isOverride": false, @@ -2048,7 +2565,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.createLiteral" }, { - "$id": "211", + "$id": "269", "kind": "basic", "name": "helloLiteral", "accessibility": "public", @@ -2057,31 +2574,18 @@ ], "doc": "Send literal parameters", "operation": { - "$id": "212", + "$id": "270", "name": "helloLiteral", "resourceName": "CustomizedTypeSpec", "doc": "Send literal parameters", "accessibility": "public", "parameters": [ { - "$id": "213", + "$id": "271", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "214", - "kind": "constant", - "name": "HelloLiteralRequestP1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "215", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "test", - "decorators": [] + "$ref": "52" }, "location": "Header", "isApiVersion": false, @@ -2094,24 +2598,11 @@ "skipUrlEncoding": false }, { - "$id": "216", + "$id": "272", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "217", - "kind": "constant", - "name": "ThingRequiredLiteralInt1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "218", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "value": 123, - "decorators": [] + "$ref": "54" }, "location": "Path", "isApiVersion": false, @@ -2124,24 +2615,11 @@ "skipUrlEncoding": false }, { - "$id": "219", + "$id": "273", "name": "p3", "nameInRequest": "p3", "type": { - "$id": "220", - "kind": "constant", - "name": "ThingOptionalLiteralBool1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "221", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "56" }, "location": "Query", "isApiVersion": false, @@ -2154,24 +2632,11 @@ "skipUrlEncoding": false }, { - "$id": "222", + "$id": "274", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "223", - "kind": "constant", - "name": "helloLiteralContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "224", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -2186,12 +2651,12 @@ ], "responses": [ { - "$id": "225", + "$id": "275", "statusCodes": [ 200 ], "bodyType": { - "$ref": "24" + "$ref": "110" }, "headers": [], "isErrorResponse": false, @@ -2211,24 +2676,11 @@ }, "parameters": [ { - "$id": "226", + "$id": "276", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "227", - "kind": "constant", - "name": "HelloLiteralRequestP11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "228", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "test", - "decorators": [] + "$ref": "60" }, "location": "Header", "isApiVersion": false, @@ -2241,24 +2693,11 @@ "skipUrlEncoding": false }, { - "$id": "229", + "$id": "277", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "230", - "kind": "constant", - "name": "ThingRequiredLiteralInt2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "231", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "value": 123, - "decorators": [] + "$ref": "62" }, "location": "Path", "isApiVersion": false, @@ -2271,24 +2710,11 @@ "skipUrlEncoding": false }, { - "$id": "232", + "$id": "278", "name": "p3", "nameInRequest": "p3", "type": { - "$id": "233", - "kind": "constant", - "name": "ThingOptionalLiteralBool2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "234", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "64" }, "location": "Query", "isApiVersion": false, @@ -2301,11 +2727,11 @@ "skipUrlEncoding": false }, { - "$id": "235", + "$id": "279", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "223" + "$ref": "58" }, "location": "Header", "isApiVersion": false, @@ -2319,9 +2745,9 @@ } ], "response": { - "$id": "236", + "$id": "280", "type": { - "$ref": "24" + "$ref": "110" } }, "isOverride": false, @@ -2330,7 +2756,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.helloLiteral" }, { - "$id": "237", + "$id": "281", "kind": "basic", "name": "topAction", "accessibility": "public", @@ -2339,23 +2765,23 @@ ], "doc": "top level method", "operation": { - "$id": "238", + "$id": "282", "name": "topAction", "resourceName": "CustomizedTypeSpec", "doc": "top level method", "accessibility": "public", "parameters": [ { - "$id": "239", + "$id": "283", "name": "action", "nameInRequest": "action", "type": { - "$id": "240", + "$id": "284", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "241", + "$id": "285", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2375,24 +2801,11 @@ "skipUrlEncoding": false }, { - "$id": "242", + "$id": "286", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "243", - "kind": "constant", - "name": "topActionContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "244", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -2407,12 +2820,12 @@ ], "responses": [ { - "$id": "245", + "$id": "287", "statusCodes": [ 200 ], "bodyType": { - "$ref": "24" + "$ref": "110" }, "headers": [], "isErrorResponse": false, @@ -2432,16 +2845,16 @@ }, "parameters": [ { - "$id": "246", + "$id": "288", "name": "action", "nameInRequest": "action", "type": { - "$id": "247", + "$id": "289", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "248", + "$id": "290", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2461,11 +2874,11 @@ "skipUrlEncoding": false }, { - "$id": "249", + "$id": "291", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "243" + "$ref": "66" }, "location": "Header", "isApiVersion": false, @@ -2479,9 +2892,9 @@ } ], "response": { - "$id": "250", + "$id": "292", "type": { - "$ref": "24" + "$ref": "110" } }, "isOverride": false, @@ -2490,7 +2903,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.topAction" }, { - "$id": "251", + "$id": "293", "kind": "basic", "name": "topAction2", "accessibility": "public", @@ -2499,31 +2912,18 @@ ], "doc": "top level method2", "operation": { - "$id": "252", + "$id": "294", "name": "topAction2", "resourceName": "CustomizedTypeSpec", "doc": "top level method2", "accessibility": "public", "parameters": [ { - "$id": "253", + "$id": "295", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "254", - "kind": "constant", - "name": "topAction2ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "255", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -2538,12 +2938,12 @@ ], "responses": [ { - "$id": "256", + "$id": "296", "statusCodes": [ 200 ], "bodyType": { - "$ref": "24" + "$ref": "110" }, "headers": [], "isErrorResponse": false, @@ -2563,11 +2963,11 @@ }, "parameters": [ { - "$id": "257", + "$id": "297", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "254" + "$ref": "68" }, "location": "Header", "isApiVersion": false, @@ -2581,9 +2981,9 @@ } ], "response": { - "$id": "258", + "$id": "298", "type": { - "$ref": "24" + "$ref": "110" } }, "isOverride": false, @@ -2592,7 +2992,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.topAction2" }, { - "$id": "259", + "$id": "299", "kind": "basic", "name": "patchAction", "accessibility": "public", @@ -2601,32 +3001,19 @@ ], "doc": "top level patch", "operation": { - "$id": "260", + "$id": "300", "name": "patchAction", "resourceName": "CustomizedTypeSpec", "doc": "top level patch", "accessibility": "public", "parameters": [ { - "$id": "261", + "$id": "301", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "262", - "kind": "constant", - "name": "patchActionContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "263", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -2639,24 +3026,11 @@ "skipUrlEncoding": false }, { - "$id": "264", + "$id": "302", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "265", - "kind": "constant", - "name": "patchActionContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "266", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -2669,11 +3043,11 @@ "skipUrlEncoding": false }, { - "$id": "267", + "$id": "303", "name": "body", "nameInRequest": "body", "type": { - "$ref": "24" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -2688,12 +3062,12 @@ ], "responses": [ { - "$id": "268", + "$id": "304", "statusCodes": [ 200 ], "bodyType": { - "$ref": "24" + "$ref": "110" }, "headers": [], "isErrorResponse": false, @@ -2716,11 +3090,11 @@ }, "parameters": [ { - "$id": "269", + "$id": "305", "name": "body", "nameInRequest": "body", "type": { - "$ref": "24" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -2733,12 +3107,12 @@ "skipUrlEncoding": false }, { - "$id": "270", + "$id": "306", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "262" + "$ref": "70" }, "location": "Header", "isApiVersion": false, @@ -2751,11 +3125,11 @@ "skipUrlEncoding": false }, { - "$id": "271", + "$id": "307", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "265" + "$ref": "72" }, "location": "Header", "isApiVersion": false, @@ -2769,9 +3143,9 @@ } ], "response": { - "$id": "272", + "$id": "308", "type": { - "$ref": "24" + "$ref": "110" } }, "isOverride": false, @@ -2780,7 +3154,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.patchAction" }, { - "$id": "273", + "$id": "309", "kind": "basic", "name": "anonymousBody", "accessibility": "public", @@ -2789,32 +3163,19 @@ ], "doc": "body parameter without body decorator", "operation": { - "$id": "274", + "$id": "310", "name": "anonymousBody", "resourceName": "CustomizedTypeSpec", "doc": "body parameter without body decorator", "accessibility": "public", "parameters": [ { - "$id": "275", + "$id": "311", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "276", - "kind": "constant", - "name": "anonymousBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "277", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -2827,24 +3188,11 @@ "skipUrlEncoding": false }, { - "$id": "278", + "$id": "312", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "279", - "kind": "constant", - "name": "anonymousBodyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "280", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -2857,11 +3205,11 @@ "skipUrlEncoding": false }, { - "$id": "281", + "$id": "313", "name": "thing", "nameInRequest": "thing", "type": { - "$ref": "24" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -2876,12 +3224,12 @@ ], "responses": [ { - "$id": "282", + "$id": "314", "statusCodes": [ 200 ], "bodyType": { - "$ref": "24" + "$ref": "110" }, "headers": [], "isErrorResponse": false, @@ -2904,12 +3252,12 @@ }, "parameters": [ { - "$id": "283", + "$id": "315", "name": "name", "nameInRequest": "name", "doc": "name of the Thing", "type": { - "$id": "284", + "$id": "316", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2926,12 +3274,12 @@ "skipUrlEncoding": false }, { - "$id": "285", + "$id": "317", "name": "requiredUnion", "nameInRequest": "requiredUnion", "doc": "required Union", "type": { - "$ref": "30" + "$ref": "116" }, "location": "Body", "isApiVersion": false, @@ -2944,12 +3292,12 @@ "skipUrlEncoding": false }, { - "$id": "286", + "$id": "318", "name": "requiredLiteralString", "nameInRequest": "requiredLiteralString", "doc": "required literal string", "type": { - "$ref": "38" + "$ref": "24" }, "location": "Body", "isApiVersion": false, @@ -2962,12 +3310,12 @@ "skipUrlEncoding": false }, { - "$id": "287", + "$id": "319", "name": "requiredLiteralInt", "nameInRequest": "requiredLiteralInt", "doc": "required literal int", "type": { - "$ref": "42" + "$ref": "25" }, "location": "Body", "isApiVersion": false, @@ -2980,12 +3328,12 @@ "skipUrlEncoding": false }, { - "$id": "288", + "$id": "320", "name": "requiredLiteralFloat", "nameInRequest": "requiredLiteralFloat", "doc": "required literal float", "type": { - "$ref": "46" + "$ref": "26" }, "location": "Body", "isApiVersion": false, @@ -2998,12 +3346,12 @@ "skipUrlEncoding": false }, { - "$id": "289", + "$id": "321", "name": "requiredLiteralBool", "nameInRequest": "requiredLiteralBool", "doc": "required literal bool", "type": { - "$ref": "50" + "$ref": "27" }, "location": "Body", "isApiVersion": false, @@ -3016,12 +3364,12 @@ "skipUrlEncoding": false }, { - "$id": "290", + "$id": "322", "name": "optionalLiteralString", "nameInRequest": "optionalLiteralString", "doc": "optional literal string", "type": { - "$ref": "55" + "$ref": "29" }, "location": "Body", "isApiVersion": false, @@ -3034,12 +3382,12 @@ "skipUrlEncoding": false }, { - "$id": "291", + "$id": "323", "name": "optionalLiteralInt", "nameInRequest": "optionalLiteralInt", "doc": "optional literal int", "type": { - "$ref": "59" + "$ref": "30" }, "location": "Body", "isApiVersion": false, @@ -3052,12 +3400,12 @@ "skipUrlEncoding": false }, { - "$id": "292", + "$id": "324", "name": "optionalLiteralFloat", "nameInRequest": "optionalLiteralFloat", "doc": "optional literal float", "type": { - "$ref": "63" + "$ref": "31" }, "location": "Body", "isApiVersion": false, @@ -3070,12 +3418,12 @@ "skipUrlEncoding": false }, { - "$id": "293", + "$id": "325", "name": "optionalLiteralBool", "nameInRequest": "optionalLiteralBool", "doc": "optional literal bool", "type": { - "$ref": "67" + "$ref": "32" }, "location": "Body", "isApiVersion": false, @@ -3088,12 +3436,12 @@ "skipUrlEncoding": false }, { - "$id": "294", + "$id": "326", "name": "requiredBadDescription", "nameInRequest": "requiredBadDescription", "doc": "description with xml <|endoftext|>", "type": { - "$id": "295", + "$id": "327", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3110,12 +3458,12 @@ "skipUrlEncoding": false }, { - "$id": "296", + "$id": "328", "name": "optionalNullableList", "nameInRequest": "optionalNullableList", "doc": "optional nullable collection", "type": { - "$ref": "76" + "$ref": "152" }, "location": "Body", "isApiVersion": false, @@ -3128,12 +3476,12 @@ "skipUrlEncoding": false }, { - "$id": "297", + "$id": "329", "name": "requiredNullableList", "nameInRequest": "requiredNullableList", "doc": "required nullable collection", "type": { - "$ref": "82" + "$ref": "158" }, "location": "Body", "isApiVersion": false, @@ -3146,12 +3494,12 @@ "skipUrlEncoding": false }, { - "$id": "298", + "$id": "330", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "276" + "$ref": "74" }, "location": "Header", "isApiVersion": false, @@ -3164,11 +3512,11 @@ "skipUrlEncoding": false }, { - "$id": "299", + "$id": "331", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "279" + "$ref": "76" }, "location": "Header", "isApiVersion": false, @@ -3182,9 +3530,9 @@ } ], "response": { - "$id": "300", + "$id": "332", "type": { - "$ref": "24" + "$ref": "110" } }, "isOverride": false, @@ -3193,7 +3541,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.anonymousBody" }, { - "$id": "301", + "$id": "333", "kind": "basic", "name": "friendlyModel", "accessibility": "public", @@ -3202,32 +3550,19 @@ ], "doc": "Model can have its friendly name", "operation": { - "$id": "302", + "$id": "334", "name": "friendlyModel", "resourceName": "CustomizedTypeSpec", "doc": "Model can have its friendly name", "accessibility": "public", "parameters": [ { - "$id": "303", + "$id": "335", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "304", - "kind": "constant", - "name": "friendlyModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "305", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -3240,24 +3575,11 @@ "skipUrlEncoding": false }, { - "$id": "306", + "$id": "336", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "307", - "kind": "constant", - "name": "friendlyModelContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "308", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -3270,11 +3592,11 @@ "skipUrlEncoding": false }, { - "$id": "309", + "$id": "337", "name": "friend", "nameInRequest": "friend", "type": { - "$ref": "108" + "$ref": "184" }, "location": "Body", "isApiVersion": false, @@ -3289,12 +3611,12 @@ ], "responses": [ { - "$id": "310", + "$id": "338", "statusCodes": [ 200 ], "bodyType": { - "$ref": "108" + "$ref": "184" }, "headers": [], "isErrorResponse": false, @@ -3317,12 +3639,12 @@ }, "parameters": [ { - "$id": "311", + "$id": "339", "name": "name", "nameInRequest": "name", "doc": "name of the NotFriend", "type": { - "$id": "312", + "$id": "340", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3339,11 +3661,11 @@ "skipUrlEncoding": false }, { - "$id": "313", + "$id": "341", "name": "format", "nameInRequest": "format", "type": { - "$ref": "98" + "$ref": "174" }, "location": "Body", "isApiVersion": false, @@ -3356,12 +3678,12 @@ "skipUrlEncoding": false }, { - "$id": "314", + "$id": "342", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "304" + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -3374,11 +3696,11 @@ "skipUrlEncoding": false }, { - "$id": "315", + "$id": "343", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "307" + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -3392,9 +3714,9 @@ } ], "response": { - "$id": "316", + "$id": "344", "type": { - "$ref": "108" + "$ref": "184" } }, "isOverride": false, @@ -3403,7 +3725,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.friendlyModel" }, { - "$id": "317", + "$id": "345", "kind": "basic", "name": "addTimeHeader", "accessibility": "public", @@ -3411,22 +3733,22 @@ "2022-05-15-preview" ], "operation": { - "$id": "318", + "$id": "346", "name": "addTimeHeader", "resourceName": "CustomizedTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "319", + "$id": "347", "name": "repeatabilityFirstSent", "nameInRequest": "Repeatability-First-Sent", "type": { - "$id": "320", + "$id": "348", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "321", + "$id": "349", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3448,7 +3770,7 @@ ], "responses": [ { - "$id": "322", + "$id": "350", "statusCodes": [ 204 ], @@ -3467,16 +3789,16 @@ }, "parameters": [ { - "$id": "323", + "$id": "351", "name": "repeatabilityFirstSent", "nameInRequest": "Repeatability-First-Sent", "type": { - "$id": "324", + "$id": "352", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "325", + "$id": "353", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3497,7 +3819,7 @@ } ], "response": { - "$id": "326" + "$id": "354" }, "isOverride": false, "generateConvenient": false, @@ -3505,7 +3827,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.addTimeHeader" }, { - "$id": "327", + "$id": "355", "kind": "basic", "name": "projectedNameModel", "accessibility": "public", @@ -3514,32 +3836,19 @@ ], "doc": "Model can have its projected name", "operation": { - "$id": "328", + "$id": "356", "name": "projectedNameModel", "resourceName": "CustomizedTypeSpec", "doc": "Model can have its projected name", "accessibility": "public", "parameters": [ { - "$id": "329", + "$id": "357", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "330", - "kind": "constant", - "name": "projectedNameModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "331", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -3552,24 +3861,11 @@ "skipUrlEncoding": false }, { - "$id": "332", + "$id": "358", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "333", - "kind": "constant", - "name": "projectedNameModelContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "334", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -3582,11 +3878,11 @@ "skipUrlEncoding": false }, { - "$id": "335", + "$id": "359", "name": "projectedModel", "nameInRequest": "projectedModel", "type": { - "$ref": "116" + "$ref": "192" }, "location": "Body", "isApiVersion": false, @@ -3601,12 +3897,12 @@ ], "responses": [ { - "$id": "336", + "$id": "360", "statusCodes": [ 200 ], "bodyType": { - "$ref": "116" + "$ref": "192" }, "headers": [], "isErrorResponse": false, @@ -3629,12 +3925,12 @@ }, "parameters": [ { - "$id": "337", + "$id": "361", "name": "name", "nameInRequest": "name", "doc": "name of the ModelWithProjectedName", "type": { - "$id": "338", + "$id": "362", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3651,12 +3947,12 @@ "skipUrlEncoding": false }, { - "$id": "339", + "$id": "363", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "330" + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -3669,11 +3965,11 @@ "skipUrlEncoding": false }, { - "$id": "340", + "$id": "364", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "333" + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -3687,9 +3983,9 @@ } ], "response": { - "$id": "341", + "$id": "365", "type": { - "$ref": "116" + "$ref": "192" } }, "isOverride": false, @@ -3698,7 +3994,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.projectedNameModel" }, { - "$id": "342", + "$id": "366", "kind": "basic", "name": "returnsAnonymousModel", "accessibility": "public", @@ -3707,31 +4003,18 @@ ], "doc": "return anonymous model", "operation": { - "$id": "343", + "$id": "367", "name": "returnsAnonymousModel", "resourceName": "CustomizedTypeSpec", "doc": "return anonymous model", "accessibility": "public", "parameters": [ { - "$id": "344", + "$id": "368", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "345", - "kind": "constant", - "name": "returnsAnonymousModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "346", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -3746,12 +4029,12 @@ ], "responses": [ { - "$id": "347", + "$id": "369", "statusCodes": [ 200 ], "bodyType": { - "$ref": "121" + "$ref": "197" }, "headers": [], "isErrorResponse": false, @@ -3771,11 +4054,11 @@ }, "parameters": [ { - "$id": "348", + "$id": "370", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "345" + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -3789,9 +4072,9 @@ } ], "response": { - "$id": "349", + "$id": "371", "type": { - "$ref": "121" + "$ref": "197" } }, "isOverride": false, @@ -3800,7 +4083,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.returnsAnonymousModel" }, { - "$id": "350", + "$id": "372", "kind": "basic", "name": "getUnknownValue", "accessibility": "public", @@ -3809,18 +4092,18 @@ ], "doc": "get extensible enum", "operation": { - "$id": "351", + "$id": "373", "name": "getUnknownValue", "resourceName": "CustomizedTypeSpec", "doc": "get extensible enum", "accessibility": "public", "parameters": [ { - "$id": "352", + "$id": "374", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "353", + "$id": "375", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3839,25 +4122,12 @@ ], "responses": [ { - "$id": "354", + "$id": "376", "statusCodes": [ 200 ], "bodyType": { - "$id": "355", - "kind": "constant", - "name": "GetUnknownValueResponse6", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "356", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "Sunday", - "decorators": [] + "$ref": "104" }, "headers": [], "isErrorResponse": false, @@ -3884,11 +4154,11 @@ }, "parameters": [ { - "$id": "357", + "$id": "377", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "353" + "$ref": "375" }, "location": "Header", "isApiVersion": false, @@ -3902,9 +4172,9 @@ } ], "response": { - "$id": "358", + "$id": "378", "type": { - "$ref": "355" + "$ref": "104" } }, "isOverride": false, @@ -3913,7 +4183,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.getUnknownValue" }, { - "$id": "359", + "$id": "379", "kind": "basic", "name": "internalProtocol", "accessibility": "public", @@ -3922,32 +4192,19 @@ ], "doc": "When set protocol false and convenient true, then the protocol method should be internal", "operation": { - "$id": "360", + "$id": "380", "name": "internalProtocol", "resourceName": "CustomizedTypeSpec", "doc": "When set protocol false and convenient true, then the protocol method should be internal", "accessibility": "public", "parameters": [ { - "$id": "361", + "$id": "381", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "362", - "kind": "constant", - "name": "internalProtocolContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "363", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -3960,24 +4217,11 @@ "skipUrlEncoding": false }, { - "$id": "364", + "$id": "382", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "365", - "kind": "constant", - "name": "internalProtocolContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "366", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -3990,11 +4234,11 @@ "skipUrlEncoding": false }, { - "$id": "367", + "$id": "383", "name": "body", "nameInRequest": "body", "type": { - "$ref": "24" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -4009,12 +4253,12 @@ ], "responses": [ { - "$id": "368", + "$id": "384", "statusCodes": [ 200 ], "bodyType": { - "$ref": "24" + "$ref": "110" }, "headers": [], "isErrorResponse": false, @@ -4037,11 +4281,11 @@ }, "parameters": [ { - "$id": "369", + "$id": "385", "name": "body", "nameInRequest": "body", "type": { - "$ref": "24" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -4054,12 +4298,12 @@ "skipUrlEncoding": false }, { - "$id": "370", + "$id": "386", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "362" + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -4072,11 +4316,11 @@ "skipUrlEncoding": false }, { - "$id": "371", + "$id": "387", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "365" + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -4090,9 +4334,9 @@ } ], "response": { - "$id": "372", + "$id": "388", "type": { - "$ref": "24" + "$ref": "110" } }, "isOverride": false, @@ -4101,7 +4345,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.internalProtocol" }, { - "$id": "373", + "$id": "389", "kind": "basic", "name": "stillConvenient", "accessibility": "public", @@ -4110,7 +4354,7 @@ ], "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", "operation": { - "$id": "374", + "$id": "390", "name": "stillConvenient", "resourceName": "CustomizedTypeSpec", "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", @@ -4118,7 +4362,7 @@ "parameters": [], "responses": [ { - "$id": "375", + "$id": "391", "statusCodes": [ 204 ], @@ -4137,7 +4381,7 @@ }, "parameters": [], "response": { - "$id": "376" + "$id": "392" }, "isOverride": false, "generateConvenient": true, @@ -4145,7 +4389,7 @@ "crossLanguageDefinitionId": "CustomizedTypeSpec.stillConvenient" }, { - "$id": "377", + "$id": "393", "kind": "basic", "name": "headAsBoolean", "accessibility": "public", @@ -4154,18 +4398,18 @@ ], "doc": "head as boolean.", "operation": { - "$id": "378", + "$id": "394", "name": "headAsBoolean", "resourceName": "CustomizedTypeSpec", "doc": "head as boolean.", "accessibility": "public", "parameters": [ { - "$id": "379", + "$id": "395", "name": "id", "nameInRequest": "id", "type": { - "$id": "380", + "$id": "396", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4184,7 +4428,7 @@ ], "responses": [ { - "$id": "381", + "$id": "397", "statusCodes": [ 204 ], @@ -4203,11 +4447,11 @@ }, "parameters": [ { - "$id": "382", + "$id": "398", "name": "id", "nameInRequest": "id", "type": { - "$id": "383", + "$id": "399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4225,7 +4469,7 @@ } ], "response": { - "$id": "384" + "$id": "400" }, "isOverride": false, "generateConvenient": true, @@ -4235,11 +4479,11 @@ ], "parameters": [ { - "$id": "385", + "$id": "401", "name": "unbrandedTypeSpecUrl", "nameInRequest": "unbrandedTypeSpecUrl", "type": { - "$id": "386", + "$id": "402", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -4256,12 +4500,12 @@ ], "decorators": [ { - "$id": "387", + "$id": "403", "name": "TypeSpec.@service", "arguments": { - "$id": "388", + "$id": "404", "options": { - "$id": "389", + "$id": "405", "title": "hello world" } } @@ -4274,9 +4518,9 @@ } ], "auth": { - "$id": "390", + "$id": "406", "apiKey": { - "$id": "391", + "$id": "407", "name": "my-api-key", "in": "header" } diff --git a/test/UnbrandedProjects/NoDocsUnbranded-TypeSpec/tspCodeModel.json b/test/UnbrandedProjects/NoDocsUnbranded-TypeSpec/tspCodeModel.json index da45639d1fa..fc05ca19131 100644 --- a/test/UnbrandedProjects/NoDocsUnbranded-TypeSpec/tspCodeModel.json +++ b/test/UnbrandedProjects/NoDocsUnbranded-TypeSpec/tspCodeModel.json @@ -196,9 +196,131 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "20", + "kind": "constant", + "name": "ThingRequiredLiteralString", + "namespace": "NoDocsUnbrandedTypeSpec", + "usage": "Output,Json", + "valueType": { + "$ref": "2" + }, + "value": "accept", + "decorators": [] + }, + { + "$id": "21", + "kind": "constant", + "name": "ThingRequiredLiteralInt", + "namespace": "NoDocsUnbrandedTypeSpec", + "usage": "Output,Json", + "valueType": { + "$ref": "5" + }, + "value": 123, + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "ThingRequiredLiteralFloat", + "namespace": "NoDocsUnbrandedTypeSpec", + "usage": "Output,Json", + "valueType": { + "$ref": "8" + }, + "value": 1.23, + "decorators": [] + }, + { + "$id": "23", + "kind": "constant", + "name": "ThingRequiredLiteralBool", + "namespace": "NoDocsUnbrandedTypeSpec", + "usage": "Output,Json", + "valueType": { + "$id": "24", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": false, + "decorators": [] + }, + { + "$id": "25", + "kind": "constant", + "name": "ThingOptionalLiteralString", + "namespace": "NoDocsUnbrandedTypeSpec", + "usage": "Output,Json", + "valueType": { + "$ref": "11" + }, + "value": "reject", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "ThingOptionalLiteralInt", + "namespace": "NoDocsUnbrandedTypeSpec", + "usage": "Output,Json", + "valueType": { + "$ref": "14" + }, + "value": 456, + "decorators": [] + }, + { + "$id": "27", + "kind": "constant", + "name": "ThingOptionalLiteralFloat", + "namespace": "NoDocsUnbrandedTypeSpec", + "usage": "Output,Json", + "valueType": { + "$ref": "17" + }, + "value": 4.56, + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "ThingOptionalLiteralBool", + "namespace": "NoDocsUnbrandedTypeSpec", + "usage": "Output,Json", + "valueType": { + "$id": "29", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "sayHiContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "32", "kind": "model", "name": "Thing", "namespace": "NoDocsUnbrandedTypeSpec", @@ -208,13 +330,13 @@ "decorators": [], "properties": [ { - "$id": "21", + "$id": "33", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the Thing", "type": { - "$id": "22", + "$id": "34", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -227,37 +349,37 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsUnbrandedTypeSpec.Thing.name", "serializationOptions": { - "$id": "23", + "$id": "35", "json": { - "$id": "24", + "$id": "36", "name": "name" } } }, { - "$id": "25", + "$id": "37", "kind": "property", "name": "requiredUnion", "serializedName": "requiredUnion", "doc": "required Union", "type": { - "$id": "26", + "$id": "38", "kind": "union", "name": "ThingRequiredUnion", "variantTypes": [ { - "$id": "27", + "$id": "39", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "28", + "$id": "40", "kind": "array", "name": "Array", "valueType": { - "$id": "29", + "$id": "41", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -267,7 +389,7 @@ "decorators": [] }, { - "$id": "30", + "$id": "42", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -284,30 +406,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsUnbrandedTypeSpec.Thing.requiredUnion", "serializationOptions": { - "$id": "31", + "$id": "43", "json": { - "$id": "32", + "$id": "44", "name": "requiredUnion" } } }, { - "$id": "33", + "$id": "45", "kind": "property", "name": "requiredLiteralString", "serializedName": "requiredLiteralString", "doc": "required literal string", "type": { - "$id": "34", - "kind": "constant", - "name": "ThingRequiredLiteralString", - "namespace": "NoDocsUnbrandedTypeSpec", - "usage": "Output,Json", - "valueType": { - "$ref": "2" - }, - "value": "accept", - "decorators": [] + "$ref": "20" }, "optional": false, "readOnly": false, @@ -316,30 +429,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsUnbrandedTypeSpec.Thing.requiredLiteralString", "serializationOptions": { - "$id": "35", + "$id": "46", "json": { - "$id": "36", + "$id": "47", "name": "requiredLiteralString" } } }, { - "$id": "37", + "$id": "48", "kind": "property", "name": "requiredLiteralInt", "serializedName": "requiredLiteralInt", "doc": "required literal int", "type": { - "$id": "38", - "kind": "constant", - "name": "ThingRequiredLiteralInt", - "namespace": "NoDocsUnbrandedTypeSpec", - "usage": "Output,Json", - "valueType": { - "$ref": "5" - }, - "value": 123, - "decorators": [] + "$ref": "21" }, "optional": false, "readOnly": false, @@ -348,30 +452,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsUnbrandedTypeSpec.Thing.requiredLiteralInt", "serializationOptions": { - "$id": "39", + "$id": "49", "json": { - "$id": "40", + "$id": "50", "name": "requiredLiteralInt" } } }, { - "$id": "41", + "$id": "51", "kind": "property", "name": "requiredLiteralFloat", "serializedName": "requiredLiteralFloat", "doc": "required literal float", "type": { - "$id": "42", - "kind": "constant", - "name": "ThingRequiredLiteralFloat", - "namespace": "NoDocsUnbrandedTypeSpec", - "usage": "Output,Json", - "valueType": { - "$ref": "8" - }, - "value": 1.23, - "decorators": [] + "$ref": "22" }, "optional": false, "readOnly": false, @@ -380,34 +475,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsUnbrandedTypeSpec.Thing.requiredLiteralFloat", "serializationOptions": { - "$id": "43", + "$id": "52", "json": { - "$id": "44", + "$id": "53", "name": "requiredLiteralFloat" } } }, { - "$id": "45", + "$id": "54", "kind": "property", "name": "requiredLiteralBool", "serializedName": "requiredLiteralBool", "doc": "required literal bool", "type": { - "$id": "46", - "kind": "constant", - "name": "ThingRequiredLiteralBool", - "namespace": "NoDocsUnbrandedTypeSpec", - "usage": "Output,Json", - "valueType": { - "$id": "47", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": false, - "decorators": [] + "$ref": "23" }, "optional": false, "readOnly": false, @@ -416,30 +498,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsUnbrandedTypeSpec.Thing.requiredLiteralBool", "serializationOptions": { - "$id": "48", + "$id": "55", "json": { - "$id": "49", + "$id": "56", "name": "requiredLiteralBool" } } }, { - "$id": "50", + "$id": "57", "kind": "property", "name": "optionalLiteralString", "serializedName": "optionalLiteralString", "doc": "optional literal string", "type": { - "$id": "51", - "kind": "constant", - "name": "ThingOptionalLiteralString", - "namespace": "NoDocsUnbrandedTypeSpec", - "usage": "Output,Json", - "valueType": { - "$ref": "11" - }, - "value": "reject", - "decorators": [] + "$ref": "25" }, "optional": true, "readOnly": false, @@ -448,30 +521,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsUnbrandedTypeSpec.Thing.optionalLiteralString", "serializationOptions": { - "$id": "52", + "$id": "58", "json": { - "$id": "53", + "$id": "59", "name": "optionalLiteralString" } } }, { - "$id": "54", + "$id": "60", "kind": "property", "name": "optionalLiteralInt", "serializedName": "optionalLiteralInt", "doc": "optional literal int", "type": { - "$id": "55", - "kind": "constant", - "name": "ThingOptionalLiteralInt", - "namespace": "NoDocsUnbrandedTypeSpec", - "usage": "Output,Json", - "valueType": { - "$ref": "14" - }, - "value": 456, - "decorators": [] + "$ref": "26" }, "optional": true, "readOnly": false, @@ -480,30 +544,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsUnbrandedTypeSpec.Thing.optionalLiteralInt", "serializationOptions": { - "$id": "56", + "$id": "61", "json": { - "$id": "57", + "$id": "62", "name": "optionalLiteralInt" } } }, { - "$id": "58", + "$id": "63", "kind": "property", "name": "optionalLiteralFloat", "serializedName": "optionalLiteralFloat", "doc": "optional literal float", "type": { - "$id": "59", - "kind": "constant", - "name": "ThingOptionalLiteralFloat", - "namespace": "NoDocsUnbrandedTypeSpec", - "usage": "Output,Json", - "valueType": { - "$ref": "17" - }, - "value": 4.56, - "decorators": [] + "$ref": "27" }, "optional": true, "readOnly": false, @@ -512,34 +567,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsUnbrandedTypeSpec.Thing.optionalLiteralFloat", "serializationOptions": { - "$id": "60", + "$id": "64", "json": { - "$id": "61", + "$id": "65", "name": "optionalLiteralFloat" } } }, { - "$id": "62", + "$id": "66", "kind": "property", "name": "optionalLiteralBool", "serializedName": "optionalLiteralBool", "doc": "optional literal bool", "type": { - "$id": "63", - "kind": "constant", - "name": "ThingOptionalLiteralBool", - "namespace": "NoDocsUnbrandedTypeSpec", - "usage": "Output,Json", - "valueType": { - "$id": "64", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "28" }, "optional": true, "readOnly": false, @@ -548,21 +590,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsUnbrandedTypeSpec.Thing.optionalLiteralBool", "serializationOptions": { - "$id": "65", + "$id": "67", "json": { - "$id": "66", + "$id": "68", "name": "optionalLiteralBool" } } }, { - "$id": "67", + "$id": "69", "kind": "property", "name": "requiredBadDescription", "serializedName": "requiredBadDescription", "doc": "description with xml <|endoftext|>", "type": { - "$id": "68", + "$id": "70", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -575,28 +617,28 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsUnbrandedTypeSpec.Thing.requiredBadDescription", "serializationOptions": { - "$id": "69", + "$id": "71", "json": { - "$id": "70", + "$id": "72", "name": "requiredBadDescription" } } }, { - "$id": "71", + "$id": "73", "kind": "property", "name": "optionalNullableList", "serializedName": "optionalNullableList", "doc": "optional nullable collection", "type": { - "$id": "72", + "$id": "74", "kind": "nullable", "type": { - "$id": "73", + "$id": "75", "kind": "array", "name": "Array1", "valueType": { - "$id": "74", + "$id": "76", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -614,24 +656,24 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsUnbrandedTypeSpec.Thing.optionalNullableList", "serializationOptions": { - "$id": "75", + "$id": "77", "json": { - "$id": "76", + "$id": "78", "name": "optionalNullableList" } } }, { - "$id": "77", + "$id": "79", "kind": "property", "name": "requiredNullableList", "serializedName": "requiredNullableList", "doc": "required nullable collection", "type": { - "$id": "78", + "$id": "80", "kind": "nullable", "type": { - "$ref": "73" + "$ref": "75" }, "namespace": "" }, @@ -642,9 +684,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoDocsUnbrandedTypeSpec.Thing.requiredNullableList", "serializationOptions": { - "$id": "79", + "$id": "81", "json": { - "$id": "80", + "$id": "82", "name": "requiredNullableList" } } @@ -654,32 +696,32 @@ ], "clients": [ { - "$id": "81", + "$id": "83", "kind": "client", "name": "NoDocsUnbrandedTypeSpecClient", "namespace": "NoDocsUnbrandedTypeSpec", "doc": "This is a sample typespec project.", "methods": [ { - "$id": "82", + "$id": "84", "kind": "basic", "name": "sayHi", "accessibility": "public", "apiVersions": [], "doc": "Return hi", "operation": { - "$id": "83", + "$id": "85", "name": "sayHi", "resourceName": "NoDocsUnbrandedTypeSpec", "doc": "Return hi", "accessibility": "public", "parameters": [ { - "$id": "84", + "$id": "86", "name": "headParameter", "nameInRequest": "head-parameter", "type": { - "$id": "85", + "$id": "87", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -696,11 +738,11 @@ "skipUrlEncoding": false }, { - "$id": "86", + "$id": "88", "name": "queryParameter", "nameInRequest": "queryParameter", "type": { - "$id": "87", + "$id": "89", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -717,11 +759,11 @@ "skipUrlEncoding": false }, { - "$id": "88", + "$id": "90", "name": "optionalQuery", "nameInRequest": "optionalQuery", "type": { - "$id": "89", + "$id": "91", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -738,24 +780,11 @@ "skipUrlEncoding": false }, { - "$id": "90", + "$id": "92", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "91", - "kind": "constant", - "name": "sayHiContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "92", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -775,7 +804,7 @@ 200 ], "bodyType": { - "$ref": "20" + "$ref": "32" }, "headers": [], "isErrorResponse": false, @@ -862,7 +891,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "91" + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -878,7 +907,7 @@ "response": { "$id": "101", "type": { - "$ref": "20" + "$ref": "32" } }, "isOverride": false, diff --git a/test/UnbrandedProjects/NoTest-TypeSpec/tspCodeModel.json b/test/UnbrandedProjects/NoTest-TypeSpec/tspCodeModel.json index 9540a6c5530..7d43d6cf293 100644 --- a/test/UnbrandedProjects/NoTest-TypeSpec/tspCodeModel.json +++ b/test/UnbrandedProjects/NoTest-TypeSpec/tspCodeModel.json @@ -196,9 +196,163 @@ "decorators": [] } ], - "models": [ + "constants": [ { "$id": "20", + "kind": "constant", + "name": "ThingRequiredLiteralString", + "namespace": "NoTestTypeSpec", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "2" + }, + "value": "accept", + "decorators": [] + }, + { + "$id": "21", + "kind": "constant", + "name": "ThingRequiredLiteralInt", + "namespace": "NoTestTypeSpec", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "5" + }, + "value": 123, + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "ThingRequiredLiteralFloat", + "namespace": "NoTestTypeSpec", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "8" + }, + "value": 1.23, + "decorators": [] + }, + { + "$id": "23", + "kind": "constant", + "name": "ThingRequiredLiteralBool", + "namespace": "NoTestTypeSpec", + "usage": "Input,Output,Json", + "valueType": { + "$id": "24", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": false, + "decorators": [] + }, + { + "$id": "25", + "kind": "constant", + "name": "ThingOptionalLiteralString", + "namespace": "NoTestTypeSpec", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "11" + }, + "value": "reject", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "ThingOptionalLiteralInt", + "namespace": "NoTestTypeSpec", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "14" + }, + "value": 456, + "decorators": [] + }, + { + "$id": "27", + "kind": "constant", + "name": "ThingOptionalLiteralFloat", + "namespace": "NoTestTypeSpec", + "usage": "Input,Output,Json", + "valueType": { + "$ref": "17" + }, + "value": 4.56, + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "ThingOptionalLiteralBool", + "namespace": "NoTestTypeSpec", + "usage": "Input,Output,Json", + "valueType": { + "$id": "29", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "sayHiContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "sayHelloContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "sayHelloContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "36", "kind": "model", "name": "Thing", "namespace": "NoTestTypeSpec", @@ -208,13 +362,13 @@ "decorators": [], "properties": [ { - "$id": "21", + "$id": "37", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the Thing", "type": { - "$id": "22", + "$id": "38", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -227,37 +381,37 @@ "decorators": [], "crossLanguageDefinitionId": "NoTestTypeSpec.Thing.name", "serializationOptions": { - "$id": "23", + "$id": "39", "json": { - "$id": "24", + "$id": "40", "name": "name" } } }, { - "$id": "25", + "$id": "41", "kind": "property", "name": "requiredUnion", "serializedName": "requiredUnion", "doc": "required Union", "type": { - "$id": "26", + "$id": "42", "kind": "union", "name": "ThingRequiredUnion", "variantTypes": [ { - "$id": "27", + "$id": "43", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "28", + "$id": "44", "kind": "array", "name": "Array", "valueType": { - "$id": "29", + "$id": "45", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -267,7 +421,7 @@ "decorators": [] }, { - "$id": "30", + "$id": "46", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -284,30 +438,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoTestTypeSpec.Thing.requiredUnion", "serializationOptions": { - "$id": "31", + "$id": "47", "json": { - "$id": "32", + "$id": "48", "name": "requiredUnion" } } }, { - "$id": "33", + "$id": "49", "kind": "property", "name": "requiredLiteralString", "serializedName": "requiredLiteralString", "doc": "required literal string", "type": { - "$id": "34", - "kind": "constant", - "name": "ThingRequiredLiteralString", - "namespace": "NoTestTypeSpec", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "2" - }, - "value": "accept", - "decorators": [] + "$ref": "20" }, "optional": false, "readOnly": false, @@ -316,30 +461,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoTestTypeSpec.Thing.requiredLiteralString", "serializationOptions": { - "$id": "35", + "$id": "50", "json": { - "$id": "36", + "$id": "51", "name": "requiredLiteralString" } } }, { - "$id": "37", + "$id": "52", "kind": "property", "name": "requiredLiteralInt", "serializedName": "requiredLiteralInt", "doc": "required literal int", "type": { - "$id": "38", - "kind": "constant", - "name": "ThingRequiredLiteralInt", - "namespace": "NoTestTypeSpec", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "5" - }, - "value": 123, - "decorators": [] + "$ref": "21" }, "optional": false, "readOnly": false, @@ -348,30 +484,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoTestTypeSpec.Thing.requiredLiteralInt", "serializationOptions": { - "$id": "39", + "$id": "53", "json": { - "$id": "40", + "$id": "54", "name": "requiredLiteralInt" } } }, { - "$id": "41", + "$id": "55", "kind": "property", "name": "requiredLiteralFloat", "serializedName": "requiredLiteralFloat", "doc": "required literal float", "type": { - "$id": "42", - "kind": "constant", - "name": "ThingRequiredLiteralFloat", - "namespace": "NoTestTypeSpec", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "8" - }, - "value": 1.23, - "decorators": [] + "$ref": "22" }, "optional": false, "readOnly": false, @@ -380,34 +507,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoTestTypeSpec.Thing.requiredLiteralFloat", "serializationOptions": { - "$id": "43", + "$id": "56", "json": { - "$id": "44", + "$id": "57", "name": "requiredLiteralFloat" } } }, { - "$id": "45", + "$id": "58", "kind": "property", "name": "requiredLiteralBool", "serializedName": "requiredLiteralBool", "doc": "required literal bool", "type": { - "$id": "46", - "kind": "constant", - "name": "ThingRequiredLiteralBool", - "namespace": "NoTestTypeSpec", - "usage": "Input,Output,Json", - "valueType": { - "$id": "47", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": false, - "decorators": [] + "$ref": "23" }, "optional": false, "readOnly": false, @@ -416,30 +530,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoTestTypeSpec.Thing.requiredLiteralBool", "serializationOptions": { - "$id": "48", + "$id": "59", "json": { - "$id": "49", + "$id": "60", "name": "requiredLiteralBool" } } }, { - "$id": "50", + "$id": "61", "kind": "property", "name": "optionalLiteralString", "serializedName": "optionalLiteralString", "doc": "optional literal string", "type": { - "$id": "51", - "kind": "constant", - "name": "ThingOptionalLiteralString", - "namespace": "NoTestTypeSpec", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "11" - }, - "value": "reject", - "decorators": [] + "$ref": "25" }, "optional": true, "readOnly": false, @@ -448,30 +553,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoTestTypeSpec.Thing.optionalLiteralString", "serializationOptions": { - "$id": "52", + "$id": "62", "json": { - "$id": "53", + "$id": "63", "name": "optionalLiteralString" } } }, { - "$id": "54", + "$id": "64", "kind": "property", "name": "optionalLiteralInt", "serializedName": "optionalLiteralInt", "doc": "optional literal int", "type": { - "$id": "55", - "kind": "constant", - "name": "ThingOptionalLiteralInt", - "namespace": "NoTestTypeSpec", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "14" - }, - "value": 456, - "decorators": [] + "$ref": "26" }, "optional": true, "readOnly": false, @@ -480,30 +576,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoTestTypeSpec.Thing.optionalLiteralInt", "serializationOptions": { - "$id": "56", + "$id": "65", "json": { - "$id": "57", + "$id": "66", "name": "optionalLiteralInt" } } }, { - "$id": "58", + "$id": "67", "kind": "property", "name": "optionalLiteralFloat", "serializedName": "optionalLiteralFloat", "doc": "optional literal float", "type": { - "$id": "59", - "kind": "constant", - "name": "ThingOptionalLiteralFloat", - "namespace": "NoTestTypeSpec", - "usage": "Input,Output,Json", - "valueType": { - "$ref": "17" - }, - "value": 4.56, - "decorators": [] + "$ref": "27" }, "optional": true, "readOnly": false, @@ -512,34 +599,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoTestTypeSpec.Thing.optionalLiteralFloat", "serializationOptions": { - "$id": "60", + "$id": "68", "json": { - "$id": "61", + "$id": "69", "name": "optionalLiteralFloat" } } }, { - "$id": "62", + "$id": "70", "kind": "property", "name": "optionalLiteralBool", "serializedName": "optionalLiteralBool", "doc": "optional literal bool", "type": { - "$id": "63", - "kind": "constant", - "name": "ThingOptionalLiteralBool", - "namespace": "NoTestTypeSpec", - "usage": "Input,Output,Json", - "valueType": { - "$id": "64", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "28" }, "optional": true, "readOnly": false, @@ -548,21 +622,21 @@ "decorators": [], "crossLanguageDefinitionId": "NoTestTypeSpec.Thing.optionalLiteralBool", "serializationOptions": { - "$id": "65", + "$id": "71", "json": { - "$id": "66", + "$id": "72", "name": "optionalLiteralBool" } } }, { - "$id": "67", + "$id": "73", "kind": "property", "name": "requiredBadDescription", "serializedName": "requiredBadDescription", "doc": "description with xml <|endoftext|>", "type": { - "$id": "68", + "$id": "74", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -575,28 +649,28 @@ "decorators": [], "crossLanguageDefinitionId": "NoTestTypeSpec.Thing.requiredBadDescription", "serializationOptions": { - "$id": "69", + "$id": "75", "json": { - "$id": "70", + "$id": "76", "name": "requiredBadDescription" } } }, { - "$id": "71", + "$id": "77", "kind": "property", "name": "optionalNullableList", "serializedName": "optionalNullableList", "doc": "optional nullable collection", "type": { - "$id": "72", + "$id": "78", "kind": "nullable", "type": { - "$id": "73", + "$id": "79", "kind": "array", "name": "Array1", "valueType": { - "$id": "74", + "$id": "80", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -614,24 +688,24 @@ "decorators": [], "crossLanguageDefinitionId": "NoTestTypeSpec.Thing.optionalNullableList", "serializationOptions": { - "$id": "75", + "$id": "81", "json": { - "$id": "76", + "$id": "82", "name": "optionalNullableList" } } }, { - "$id": "77", + "$id": "83", "kind": "property", "name": "requiredNullableList", "serializedName": "requiredNullableList", "doc": "required nullable collection", "type": { - "$id": "78", + "$id": "84", "kind": "nullable", "type": { - "$ref": "73" + "$ref": "79" }, "namespace": "" }, @@ -642,9 +716,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoTestTypeSpec.Thing.requiredNullableList", "serializationOptions": { - "$id": "79", + "$id": "85", "json": { - "$id": "80", + "$id": "86", "name": "requiredNullableList" } } @@ -652,7 +726,7 @@ ] }, { - "$id": "81", + "$id": "87", "kind": "model", "name": "DerivedThing", "namespace": "NoTestTypeSpec", @@ -660,16 +734,16 @@ "usage": "Input,Output,Json", "decorators": [], "baseModel": { - "$ref": "20" + "$ref": "36" }, "properties": [ { - "$id": "82", + "$id": "88", "kind": "property", "name": "myProperty", "serializedName": "myProperty", "type": { - "$id": "83", + "$id": "89", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -682,9 +756,9 @@ "decorators": [], "crossLanguageDefinitionId": "NoTestTypeSpec.DerivedThing.myProperty", "serializationOptions": { - "$id": "84", + "$id": "90", "json": { - "$id": "85", + "$id": "91", "name": "myProperty" } } @@ -694,32 +768,32 @@ ], "clients": [ { - "$id": "86", + "$id": "92", "kind": "client", "name": "NoTestTypeSpecClient", "namespace": "NoTestTypeSpec", "doc": "This is a sample typespec project.", "methods": [ { - "$id": "87", + "$id": "93", "kind": "basic", "name": "sayHi", "accessibility": "public", "apiVersions": [], "doc": "Return hi", "operation": { - "$id": "88", + "$id": "94", "name": "sayHi", "resourceName": "NoTestTypeSpec", "doc": "Return hi", "accessibility": "public", "parameters": [ { - "$id": "89", + "$id": "95", "name": "headParameter", "nameInRequest": "head-parameter", "type": { - "$id": "90", + "$id": "96", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -736,11 +810,11 @@ "skipUrlEncoding": false }, { - "$id": "91", + "$id": "97", "name": "queryParameter", "nameInRequest": "queryParameter", "type": { - "$id": "92", + "$id": "98", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -757,11 +831,11 @@ "skipUrlEncoding": false }, { - "$id": "93", + "$id": "99", "name": "optionalQuery", "nameInRequest": "optionalQuery", "type": { - "$id": "94", + "$id": "100", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -778,24 +852,11 @@ "skipUrlEncoding": false }, { - "$id": "95", + "$id": "101", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "96", - "kind": "constant", - "name": "sayHiContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "97", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -810,12 +871,12 @@ ], "responses": [ { - "$id": "98", + "$id": "102", "statusCodes": [ 200 ], "bodyType": { - "$ref": "20" + "$ref": "36" }, "headers": [], "isErrorResponse": false, @@ -835,11 +896,11 @@ }, "parameters": [ { - "$id": "99", + "$id": "103", "name": "headParameter", "nameInRequest": "head-parameter", "type": { - "$id": "100", + "$id": "104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -856,11 +917,11 @@ "skipUrlEncoding": false }, { - "$id": "101", + "$id": "105", "name": "queryParameter", "nameInRequest": "queryParameter", "type": { - "$id": "102", + "$id": "106", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -877,11 +938,11 @@ "skipUrlEncoding": false }, { - "$id": "103", + "$id": "107", "name": "optionalQuery", "nameInRequest": "optionalQuery", "type": { - "$id": "104", + "$id": "108", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -898,11 +959,11 @@ "skipUrlEncoding": false }, { - "$id": "105", + "$id": "109", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "96" + "$ref": "30" }, "location": "Header", "isApiVersion": false, @@ -916,9 +977,9 @@ } ], "response": { - "$id": "106", + "$id": "110", "type": { - "$ref": "20" + "$ref": "36" } }, "isOverride": false, @@ -927,39 +988,26 @@ "crossLanguageDefinitionId": "NoTestTypeSpec.sayHi" }, { - "$id": "107", + "$id": "111", "kind": "basic", "name": "sayHello", "accessibility": "public", "apiVersions": [], "doc": "Return hello", "operation": { - "$id": "108", + "$id": "112", "name": "sayHello", "resourceName": "NoTestTypeSpec", "doc": "Return hello", "accessibility": "public", "parameters": [ { - "$id": "109", + "$id": "113", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "110", - "kind": "constant", - "name": "sayHelloContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "111", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -972,24 +1020,11 @@ "skipUrlEncoding": false }, { - "$id": "112", + "$id": "114", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "113", - "kind": "constant", - "name": "sayHelloContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "114", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -1006,7 +1041,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "81" + "$ref": "87" }, "location": "Body", "isApiVersion": false, @@ -1026,7 +1061,7 @@ 200 ], "bodyType": { - "$ref": "81" + "$ref": "87" }, "headers": [], "isErrorResponse": false, @@ -1053,7 +1088,7 @@ "name": "body", "nameInRequest": "body", "type": { - "$ref": "81" + "$ref": "87" }, "location": "Body", "isApiVersion": false, @@ -1071,7 +1106,7 @@ "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "110" + "$ref": "32" }, "location": "Header", "isApiVersion": false, @@ -1088,7 +1123,7 @@ "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "113" + "$ref": "34" }, "location": "Header", "isApiVersion": false, @@ -1104,7 +1139,7 @@ "response": { "$id": "120", "type": { - "$ref": "81" + "$ref": "87" } }, "isOverride": false, diff --git a/test/UnbrandedProjects/Unbranded-TypeSpec/tspCodeModel.json b/test/UnbrandedProjects/Unbranded-TypeSpec/tspCodeModel.json index 25e599fdd66..5d2c33ef590 100644 --- a/test/UnbrandedProjects/Unbranded-TypeSpec/tspCodeModel.json +++ b/test/UnbrandedProjects/Unbranded-TypeSpec/tspCodeModel.json @@ -767,9 +767,755 @@ "decorators": [] } ], + "constants": [ + { + "$id": "84", + "kind": "constant", + "name": "ThingRequiredLiteralString", + "namespace": "UnbrandedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "66" + }, + "value": "accept", + "decorators": [] + }, + { + "$id": "85", + "kind": "constant", + "name": "ThingRequiredLiteralInt", + "namespace": "UnbrandedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "69" + }, + "value": 123, + "decorators": [] + }, + { + "$id": "86", + "kind": "constant", + "name": "ThingRequiredLiteralFloat", + "namespace": "UnbrandedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "72" + }, + "value": 1.23, + "decorators": [] + }, + { + "$id": "87", + "kind": "constant", + "name": "ThingRequiredLiteralBool", + "namespace": "UnbrandedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$id": "88", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": false, + "decorators": [] + }, + { + "$id": "89", + "kind": "constant", + "name": "ThingOptionalLiteralString", + "namespace": "UnbrandedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "75" + }, + "value": "reject", + "decorators": [] + }, + { + "$id": "90", + "kind": "constant", + "name": "ThingOptionalLiteralInt", + "namespace": "UnbrandedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "78" + }, + "value": 456, + "decorators": [] + }, + { + "$id": "91", + "kind": "constant", + "name": "ThingOptionalLiteralFloat", + "namespace": "UnbrandedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$ref": "81" + }, + "value": 4.56, + "decorators": [] + }, + { + "$id": "92", + "kind": "constant", + "name": "ThingOptionalLiteralBool", + "namespace": "UnbrandedTypeSpec", + "usage": "Input,Output,Spread,Json", + "valueType": { + "$id": "93", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "94", + "kind": "constant", + "name": "sayHiContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "96", + "kind": "constant", + "name": "HelloAgainRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "98", + "kind": "constant", + "name": "helloAgainContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "100", + "kind": "constant", + "name": "HelloAgainRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "102", + "kind": "constant", + "name": "noContentTypeContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "104", + "kind": "constant", + "name": "noContentTypeContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "106", + "kind": "constant", + "name": "helloDemo2ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "107", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "108", + "kind": "constant", + "name": "createLiteralContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "109", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "110", + "kind": "constant", + "name": "createLiteralContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "112", + "kind": "constant", + "name": "HelloLiteralRequestP1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "test", + "decorators": [] + }, + { + "$id": "114", + "kind": "constant", + "name": "ThingRequiredLiteralInt1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "115", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 123, + "decorators": [] + }, + { + "$id": "116", + "kind": "constant", + "name": "ThingOptionalLiteralBool1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "117", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "118", + "kind": "constant", + "name": "helloLiteralContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "119", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "120", + "kind": "constant", + "name": "HelloLiteralRequestP11", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "121", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "test", + "decorators": [] + }, + { + "$id": "122", + "kind": "constant", + "name": "ThingRequiredLiteralInt2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "123", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 123, + "decorators": [] + }, + { + "$id": "124", + "kind": "constant", + "name": "ThingOptionalLiteralBool2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "125", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "126", + "kind": "constant", + "name": "topActionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "128", + "kind": "constant", + "name": "topAction2ContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "130", + "kind": "constant", + "name": "patchActionContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "132", + "kind": "constant", + "name": "patchActionContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "134", + "kind": "constant", + "name": "anonymousBodyContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "136", + "kind": "constant", + "name": "anonymousBodyContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "138", + "kind": "constant", + "name": "ThingRequiredLiteralString1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "accept", + "decorators": [] + }, + { + "$id": "140", + "kind": "constant", + "name": "ThingRequiredLiteralInt3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "141", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 123, + "decorators": [] + }, + { + "$id": "142", + "kind": "constant", + "name": "ThingRequiredLiteralFloat1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "143", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "value": 1.23, + "decorators": [] + }, + { + "$id": "144", + "kind": "constant", + "name": "ThingRequiredLiteralBool1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "145", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": false, + "decorators": [] + }, + { + "$id": "146", + "kind": "constant", + "name": "ThingOptionalLiteralString1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "147", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "reject", + "decorators": [] + }, + { + "$id": "148", + "kind": "constant", + "name": "ThingOptionalLiteralInt1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "149", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "value": 456, + "decorators": [] + }, + { + "$id": "150", + "kind": "constant", + "name": "ThingOptionalLiteralFloat1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "151", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "value": 4.56, + "decorators": [] + }, + { + "$id": "152", + "kind": "constant", + "name": "ThingOptionalLiteralBool3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "153", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "value": true, + "decorators": [] + }, + { + "$id": "154", + "kind": "constant", + "name": "friendlyModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "155", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "156", + "kind": "constant", + "name": "friendlyModelContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "157", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "158", + "kind": "constant", + "name": "projectedNameModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "160", + "kind": "constant", + "name": "projectedNameModelContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "162", + "kind": "constant", + "name": "returnsAnonymousModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "163", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "164", + "kind": "constant", + "name": "createUnknownValueContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "165", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "text/plain", + "decorators": [] + }, + { + "$id": "166", + "kind": "constant", + "name": "internalProtocolContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "167", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "168", + "kind": "constant", + "name": "internalProtocolContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "169", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "170", + "kind": "constant", + "name": "handleArrayContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "171", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "172", + "kind": "constant", + "name": "handleArrayContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "173", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], "models": [ { - "$id": "84", + "$id": "174", "kind": "model", "name": "Thing", "namespace": "UnbrandedTypeSpec", @@ -779,13 +1525,13 @@ "decorators": [], "properties": [ { - "$id": "85", + "$id": "175", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the Thing", "type": { - "$id": "86", + "$id": "176", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -798,37 +1544,37 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.Thing.name", "serializationOptions": { - "$id": "87", + "$id": "177", "json": { - "$id": "88", + "$id": "178", "name": "name" } } }, { - "$id": "89", + "$id": "179", "kind": "property", "name": "requiredUnion", "serializedName": "requiredUnion", "doc": "required Union", "type": { - "$id": "90", + "$id": "180", "kind": "union", "name": "ThingRequiredUnion", "variantTypes": [ { - "$id": "91", + "$id": "181", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "92", + "$id": "182", "kind": "array", "name": "Array", "valueType": { - "$id": "93", + "$id": "183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -838,7 +1584,7 @@ "decorators": [] }, { - "$id": "94", + "$id": "184", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -855,30 +1601,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.Thing.requiredUnion", "serializationOptions": { - "$id": "95", + "$id": "185", "json": { - "$id": "96", + "$id": "186", "name": "requiredUnion" } } }, { - "$id": "97", + "$id": "187", "kind": "property", "name": "requiredLiteralString", "serializedName": "requiredLiteralString", "doc": "required literal string", "type": { - "$id": "98", - "kind": "constant", - "name": "ThingRequiredLiteralString", - "namespace": "UnbrandedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "66" - }, - "value": "accept", - "decorators": [] + "$ref": "84" }, "optional": false, "readOnly": false, @@ -887,30 +1624,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.Thing.requiredLiteralString", "serializationOptions": { - "$id": "99", + "$id": "188", "json": { - "$id": "100", + "$id": "189", "name": "requiredLiteralString" } } }, { - "$id": "101", + "$id": "190", "kind": "property", "name": "requiredLiteralInt", "serializedName": "requiredLiteralInt", "doc": "required literal int", "type": { - "$id": "102", - "kind": "constant", - "name": "ThingRequiredLiteralInt", - "namespace": "UnbrandedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "69" - }, - "value": 123, - "decorators": [] + "$ref": "85" }, "optional": false, "readOnly": false, @@ -919,30 +1647,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.Thing.requiredLiteralInt", "serializationOptions": { - "$id": "103", + "$id": "191", "json": { - "$id": "104", + "$id": "192", "name": "requiredLiteralInt" } } }, { - "$id": "105", + "$id": "193", "kind": "property", "name": "requiredLiteralFloat", "serializedName": "requiredLiteralFloat", "doc": "required literal float", "type": { - "$id": "106", - "kind": "constant", - "name": "ThingRequiredLiteralFloat", - "namespace": "UnbrandedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "72" - }, - "value": 1.23, - "decorators": [] + "$ref": "86" }, "optional": false, "readOnly": false, @@ -951,34 +1670,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.Thing.requiredLiteralFloat", "serializationOptions": { - "$id": "107", + "$id": "194", "json": { - "$id": "108", + "$id": "195", "name": "requiredLiteralFloat" } } }, { - "$id": "109", + "$id": "196", "kind": "property", "name": "requiredLiteralBool", "serializedName": "requiredLiteralBool", "doc": "required literal bool", "type": { - "$id": "110", - "kind": "constant", - "name": "ThingRequiredLiteralBool", - "namespace": "UnbrandedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$id": "111", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": false, - "decorators": [] + "$ref": "87" }, "optional": false, "readOnly": false, @@ -987,30 +1693,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.Thing.requiredLiteralBool", "serializationOptions": { - "$id": "112", + "$id": "197", "json": { - "$id": "113", + "$id": "198", "name": "requiredLiteralBool" } } }, { - "$id": "114", + "$id": "199", "kind": "property", "name": "optionalLiteralString", "serializedName": "optionalLiteralString", "doc": "optional literal string", "type": { - "$id": "115", - "kind": "constant", - "name": "ThingOptionalLiteralString", - "namespace": "UnbrandedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "75" - }, - "value": "reject", - "decorators": [] + "$ref": "89" }, "optional": true, "readOnly": false, @@ -1019,30 +1716,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.Thing.optionalLiteralString", "serializationOptions": { - "$id": "116", + "$id": "200", "json": { - "$id": "117", + "$id": "201", "name": "optionalLiteralString" } } }, { - "$id": "118", + "$id": "202", "kind": "property", "name": "optionalLiteralInt", "serializedName": "optionalLiteralInt", "doc": "optional literal int", "type": { - "$id": "119", - "kind": "constant", - "name": "ThingOptionalLiteralInt", - "namespace": "UnbrandedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "78" - }, - "value": 456, - "decorators": [] + "$ref": "90" }, "optional": true, "readOnly": false, @@ -1051,30 +1739,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.Thing.optionalLiteralInt", "serializationOptions": { - "$id": "120", + "$id": "203", "json": { - "$id": "121", + "$id": "204", "name": "optionalLiteralInt" } } }, { - "$id": "122", + "$id": "205", "kind": "property", "name": "optionalLiteralFloat", "serializedName": "optionalLiteralFloat", "doc": "optional literal float", "type": { - "$id": "123", - "kind": "constant", - "name": "ThingOptionalLiteralFloat", - "namespace": "UnbrandedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$ref": "81" - }, - "value": 4.56, - "decorators": [] + "$ref": "91" }, "optional": true, "readOnly": false, @@ -1083,34 +1762,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.Thing.optionalLiteralFloat", "serializationOptions": { - "$id": "124", + "$id": "206", "json": { - "$id": "125", + "$id": "207", "name": "optionalLiteralFloat" } } }, { - "$id": "126", + "$id": "208", "kind": "property", "name": "optionalLiteralBool", "serializedName": "optionalLiteralBool", "doc": "optional literal bool", "type": { - "$id": "127", - "kind": "constant", - "name": "ThingOptionalLiteralBool", - "namespace": "UnbrandedTypeSpec", - "usage": "Input,Output,Spread,Json", - "valueType": { - "$id": "128", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "92" }, "optional": true, "readOnly": false, @@ -1119,21 +1785,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.Thing.optionalLiteralBool", "serializationOptions": { - "$id": "129", + "$id": "209", "json": { - "$id": "130", + "$id": "210", "name": "optionalLiteralBool" } } }, { - "$id": "131", + "$id": "211", "kind": "property", "name": "requiredBadDescription", "serializedName": "requiredBadDescription", "doc": "description with xml <|endoftext|>", "type": { - "$id": "132", + "$id": "212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1146,28 +1812,28 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.Thing.requiredBadDescription", "serializationOptions": { - "$id": "133", + "$id": "213", "json": { - "$id": "134", + "$id": "214", "name": "requiredBadDescription" } } }, { - "$id": "135", + "$id": "215", "kind": "property", "name": "optionalNullableList", "serializedName": "optionalNullableList", "doc": "optional nullable collection", "type": { - "$id": "136", + "$id": "216", "kind": "nullable", "type": { - "$id": "137", + "$id": "217", "kind": "array", "name": "Array1", "valueType": { - "$id": "138", + "$id": "218", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1185,24 +1851,24 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.Thing.optionalNullableList", "serializationOptions": { - "$id": "139", + "$id": "219", "json": { - "$id": "140", + "$id": "220", "name": "optionalNullableList" } } }, { - "$id": "141", + "$id": "221", "kind": "property", "name": "requiredNullableList", "serializedName": "requiredNullableList", "doc": "required nullable collection", "type": { - "$id": "142", + "$id": "222", "kind": "nullable", "type": { - "$ref": "137" + "$ref": "217" }, "namespace": "" }, @@ -1213,9 +1879,9 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.Thing.requiredNullableList", "serializationOptions": { - "$id": "143", + "$id": "223", "json": { - "$id": "144", + "$id": "224", "name": "requiredNullableList" } } @@ -1223,7 +1889,7 @@ ] }, { - "$id": "145", + "$id": "225", "kind": "model", "name": "RoundTripModel", "namespace": "UnbrandedTypeSpec", @@ -1233,13 +1899,13 @@ "decorators": [], "properties": [ { - "$id": "146", + "$id": "226", "kind": "property", "name": "requiredString", "serializedName": "requiredString", "doc": "Required string, illustrating a reference type property.", "type": { - "$id": "147", + "$id": "227", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1252,21 +1918,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.requiredString", "serializationOptions": { - "$id": "148", + "$id": "228", "json": { - "$id": "149", + "$id": "229", "name": "requiredString" } } }, { - "$id": "150", + "$id": "230", "kind": "property", "name": "requiredInt", "serializedName": "requiredInt", "doc": "Required int, illustrating a value type property.", "type": { - "$id": "151", + "$id": "231", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1279,21 +1945,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.requiredInt", "serializationOptions": { - "$id": "152", + "$id": "232", "json": { - "$id": "153", + "$id": "233", "name": "requiredInt" } } }, { - "$id": "154", + "$id": "234", "kind": "property", "name": "requiredCollection", "serializedName": "requiredCollection", "doc": "Required collection of enums", "type": { - "$id": "155", + "$id": "235", "kind": "array", "name": "ArrayStringFixedEnum", "valueType": { @@ -1309,24 +1975,24 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.requiredCollection", "serializationOptions": { - "$id": "156", + "$id": "236", "json": { - "$id": "157", + "$id": "237", "name": "requiredCollection" } } }, { - "$id": "158", + "$id": "238", "kind": "property", "name": "requiredDictionary", "serializedName": "requiredDictionary", "doc": "Required dictionary of enums", "type": { - "$id": "159", + "$id": "239", "kind": "dict", "keyType": { - "$id": "160", + "$id": "240", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1344,21 +2010,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.requiredDictionary", "serializationOptions": { - "$id": "161", + "$id": "241", "json": { - "$id": "162", + "$id": "242", "name": "requiredDictionary" } } }, { - "$id": "163", + "$id": "243", "kind": "property", "name": "requiredModel", "serializedName": "requiredModel", "doc": "Required model", "type": { - "$ref": "84" + "$ref": "174" }, "optional": false, "readOnly": false, @@ -1367,15 +2033,15 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.requiredModel", "serializationOptions": { - "$id": "164", + "$id": "244", "json": { - "$id": "165", + "$id": "245", "name": "requiredModel" } } }, { - "$id": "166", + "$id": "246", "kind": "property", "name": "intExtensibleEnum", "serializedName": "intExtensibleEnum", @@ -1390,21 +2056,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.intExtensibleEnum", "serializationOptions": { - "$id": "167", + "$id": "247", "json": { - "$id": "168", + "$id": "248", "name": "intExtensibleEnum" } } }, { - "$id": "169", + "$id": "249", "kind": "property", "name": "intExtensibleEnumCollection", "serializedName": "intExtensibleEnumCollection", "doc": "this is a collection of int based extensible enum", "type": { - "$id": "170", + "$id": "250", "kind": "array", "name": "ArrayIntExtensibleEnum", "valueType": { @@ -1420,15 +2086,15 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.intExtensibleEnumCollection", "serializationOptions": { - "$id": "171", + "$id": "251", "json": { - "$id": "172", + "$id": "252", "name": "intExtensibleEnumCollection" } } }, { - "$id": "173", + "$id": "253", "kind": "property", "name": "floatExtensibleEnum", "serializedName": "floatExtensibleEnum", @@ -1443,21 +2109,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.floatExtensibleEnum", "serializationOptions": { - "$id": "174", + "$id": "254", "json": { - "$id": "175", + "$id": "255", "name": "floatExtensibleEnum" } } }, { - "$id": "176", + "$id": "256", "kind": "property", "name": "floatExtensibleEnumCollection", "serializedName": "floatExtensibleEnumCollection", "doc": "this is a collection of float based extensible enum", "type": { - "$id": "177", + "$id": "257", "kind": "array", "name": "ArrayFloatExtensibleEnum", "valueType": { @@ -1473,15 +2139,15 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.floatExtensibleEnumCollection", "serializationOptions": { - "$id": "178", + "$id": "258", "json": { - "$id": "179", + "$id": "259", "name": "floatExtensibleEnumCollection" } } }, { - "$id": "180", + "$id": "260", "kind": "property", "name": "floatFixedEnum", "serializedName": "floatFixedEnum", @@ -1496,21 +2162,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.floatFixedEnum", "serializationOptions": { - "$id": "181", + "$id": "261", "json": { - "$id": "182", + "$id": "262", "name": "floatFixedEnum" } } }, { - "$id": "183", + "$id": "263", "kind": "property", "name": "floatFixedEnumCollection", "serializedName": "floatFixedEnumCollection", "doc": "this is a collection of float based fixed enum", "type": { - "$id": "184", + "$id": "264", "kind": "array", "name": "ArrayFloatFixedEnum", "valueType": { @@ -1526,15 +2192,15 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.floatFixedEnumCollection", "serializationOptions": { - "$id": "185", + "$id": "265", "json": { - "$id": "186", + "$id": "266", "name": "floatFixedEnumCollection" } } }, { - "$id": "187", + "$id": "267", "kind": "property", "name": "intFixedEnum", "serializedName": "intFixedEnum", @@ -1549,21 +2215,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.intFixedEnum", "serializationOptions": { - "$id": "188", + "$id": "268", "json": { - "$id": "189", + "$id": "269", "name": "intFixedEnum" } } }, { - "$id": "190", + "$id": "270", "kind": "property", "name": "intFixedEnumCollection", "serializedName": "intFixedEnumCollection", "doc": "this is a collection of int based fixed enum", "type": { - "$id": "191", + "$id": "271", "kind": "array", "name": "ArrayIntFixedEnum", "valueType": { @@ -1579,15 +2245,15 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.intFixedEnumCollection", "serializationOptions": { - "$id": "192", + "$id": "272", "json": { - "$id": "193", + "$id": "273", "name": "intFixedEnumCollection" } } }, { - "$id": "194", + "$id": "274", "kind": "property", "name": "stringFixedEnum", "serializedName": "stringFixedEnum", @@ -1602,21 +2268,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.stringFixedEnum", "serializationOptions": { - "$id": "195", + "$id": "275", "json": { - "$id": "196", + "$id": "276", "name": "stringFixedEnum" } } }, { - "$id": "197", + "$id": "277", "kind": "property", "name": "requiredUnknown", "serializedName": "requiredUnknown", "doc": "required unknown", "type": { - "$id": "198", + "$id": "278", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1629,21 +2295,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.requiredUnknown", "serializationOptions": { - "$id": "199", + "$id": "279", "json": { - "$id": "200", + "$id": "280", "name": "requiredUnknown" } } }, { - "$id": "201", + "$id": "281", "kind": "property", "name": "optionalUnknown", "serializedName": "optionalUnknown", "doc": "optional unknown", "type": { - "$id": "202", + "$id": "282", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1656,31 +2322,31 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.optionalUnknown", "serializationOptions": { - "$id": "203", + "$id": "283", "json": { - "$id": "204", + "$id": "284", "name": "optionalUnknown" } } }, { - "$id": "205", + "$id": "285", "kind": "property", "name": "requiredRecordUnknown", "serializedName": "requiredRecordUnknown", "doc": "required record of unknown", "type": { - "$id": "206", + "$id": "286", "kind": "dict", "keyType": { - "$id": "207", + "$id": "287", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "208", + "$id": "288", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1695,21 +2361,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.requiredRecordUnknown", "serializationOptions": { - "$id": "209", + "$id": "289", "json": { - "$id": "210", + "$id": "290", "name": "requiredRecordUnknown" } } }, { - "$id": "211", + "$id": "291", "kind": "property", "name": "optionalRecordUnknown", "serializedName": "optionalRecordUnknown", "doc": "optional record of unknown", "type": { - "$ref": "206" + "$ref": "286" }, "optional": true, "readOnly": false, @@ -1718,21 +2384,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.optionalRecordUnknown", "serializationOptions": { - "$id": "212", + "$id": "292", "json": { - "$id": "213", + "$id": "293", "name": "optionalRecordUnknown" } } }, { - "$id": "214", + "$id": "294", "kind": "property", "name": "readOnlyRequiredRecordUnknown", "serializedName": "readOnlyRequiredRecordUnknown", "doc": "required readonly record of unknown", "type": { - "$ref": "206" + "$ref": "286" }, "optional": false, "readOnly": true, @@ -1741,21 +2407,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.readOnlyRequiredRecordUnknown", "serializationOptions": { - "$id": "215", + "$id": "295", "json": { - "$id": "216", + "$id": "296", "name": "readOnlyRequiredRecordUnknown" } } }, { - "$id": "217", + "$id": "297", "kind": "property", "name": "readOnlyOptionalRecordUnknown", "serializedName": "readOnlyOptionalRecordUnknown", "doc": "optional readonly record of unknown", "type": { - "$ref": "206" + "$ref": "286" }, "optional": true, "readOnly": true, @@ -1764,21 +2430,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.readOnlyOptionalRecordUnknown", "serializationOptions": { - "$id": "218", + "$id": "298", "json": { - "$id": "219", + "$id": "299", "name": "readOnlyOptionalRecordUnknown" } } }, { - "$id": "220", + "$id": "300", "kind": "property", "name": "modelWithRequiredNullable", "serializedName": "modelWithRequiredNullable", "doc": "this is a model with required nullable properties", "type": { - "$id": "221", + "$id": "301", "kind": "model", "name": "ModelWithRequiredNullableProperties", "namespace": "UnbrandedTypeSpec", @@ -1788,16 +2454,16 @@ "decorators": [], "properties": [ { - "$id": "222", + "$id": "302", "kind": "property", "name": "requiredNullablePrimitive", "serializedName": "requiredNullablePrimitive", "doc": "required nullable primitive type", "type": { - "$id": "223", + "$id": "303", "kind": "nullable", "type": { - "$id": "224", + "$id": "304", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1812,21 +2478,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.ModelWithRequiredNullableProperties.requiredNullablePrimitive", "serializationOptions": { - "$id": "225", + "$id": "305", "json": { - "$id": "226", + "$id": "306", "name": "requiredNullablePrimitive" } } }, { - "$id": "227", + "$id": "307", "kind": "property", "name": "requiredExtensibleEnum", "serializedName": "requiredExtensibleEnum", "doc": "required nullable extensible enum type", "type": { - "$id": "228", + "$id": "308", "kind": "nullable", "type": { "$ref": "10" @@ -1840,21 +2506,21 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.ModelWithRequiredNullableProperties.requiredExtensibleEnum", "serializationOptions": { - "$id": "229", + "$id": "309", "json": { - "$id": "230", + "$id": "310", "name": "requiredExtensibleEnum" } } }, { - "$id": "231", + "$id": "311", "kind": "property", "name": "requiredFixedEnum", "serializedName": "requiredFixedEnum", "doc": "required nullable fixed enum type", "type": { - "$id": "232", + "$id": "312", "kind": "nullable", "type": { "$ref": "2" @@ -1868,9 +2534,9 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.ModelWithRequiredNullableProperties.requiredFixedEnum", "serializationOptions": { - "$id": "233", + "$id": "313", "json": { - "$id": "234", + "$id": "314", "name": "requiredFixedEnum" } } @@ -1884,9 +2550,9 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.RoundTripModel.modelWithRequiredNullable", "serializationOptions": { - "$id": "235", + "$id": "315", "json": { - "$id": "236", + "$id": "316", "name": "modelWithRequiredNullable" } } @@ -1894,10 +2560,10 @@ ] }, { - "$ref": "221" + "$ref": "301" }, { - "$id": "237", + "$id": "317", "kind": "model", "name": "Friend", "namespace": "UnbrandedTypeSpec", @@ -1907,13 +2573,13 @@ "decorators": [], "properties": [ { - "$id": "238", + "$id": "318", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the NotFriend", "type": { - "$id": "239", + "$id": "319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1926,9 +2592,9 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.NotFriend.name", "serializationOptions": { - "$id": "240", + "$id": "320", "json": { - "$id": "241", + "$id": "321", "name": "name" } } @@ -1936,7 +2602,7 @@ ] }, { - "$id": "242", + "$id": "322", "kind": "model", "name": "ProjectedModel", "namespace": "UnbrandedTypeSpec", @@ -1946,13 +2612,13 @@ "decorators": [], "properties": [ { - "$id": "243", + "$id": "323", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the ModelWithProjectedName", "type": { - "$id": "244", + "$id": "324", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1965,9 +2631,9 @@ "decorators": [], "crossLanguageDefinitionId": "UnbrandedTypeSpec.ModelWithProjectedName.name", "serializationOptions": { - "$id": "245", + "$id": "325", "json": { - "$id": "246", + "$id": "326", "name": "name" } } @@ -1975,7 +2641,7 @@ ] }, { - "$id": "247", + "$id": "327", "kind": "model", "name": "ReturnsAnonymousModelResponse", "namespace": "UnbrandedTypeSpec", @@ -1987,32 +2653,32 @@ ], "clients": [ { - "$id": "248", + "$id": "328", "kind": "client", "name": "UnbrandedTypeSpecClient", "namespace": "UnbrandedTypeSpec", "doc": "This is a sample typespec project.", "methods": [ { - "$id": "249", + "$id": "329", "kind": "basic", "name": "sayHi", "accessibility": "public", "apiVersions": [], "doc": "Return hi", "operation": { - "$id": "250", + "$id": "330", "name": "sayHi", "resourceName": "UnbrandedTypeSpec", "doc": "Return hi", "accessibility": "public", "parameters": [ { - "$id": "251", + "$id": "331", "name": "headParameter", "nameInRequest": "head-parameter", "type": { - "$id": "252", + "$id": "332", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2029,11 +2695,11 @@ "skipUrlEncoding": false }, { - "$id": "253", + "$id": "333", "name": "queryParameter", "nameInRequest": "queryParameter", "type": { - "$id": "254", + "$id": "334", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2050,11 +2716,11 @@ "skipUrlEncoding": false }, { - "$id": "255", + "$id": "335", "name": "optionalQuery", "nameInRequest": "optionalQuery", "type": { - "$id": "256", + "$id": "336", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2071,24 +2737,11 @@ "skipUrlEncoding": false }, { - "$id": "257", + "$id": "337", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "258", - "kind": "constant", - "name": "sayHiContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "259", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -2103,12 +2756,12 @@ ], "responses": [ { - "$id": "260", + "$id": "338", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "174" }, "headers": [], "isErrorResponse": false, @@ -2128,11 +2781,11 @@ }, "parameters": [ { - "$id": "261", + "$id": "339", "name": "headParameter", "nameInRequest": "head-parameter", "type": { - "$id": "262", + "$id": "340", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2149,11 +2802,11 @@ "skipUrlEncoding": false }, { - "$id": "263", + "$id": "341", "name": "queryParameter", "nameInRequest": "queryParameter", "type": { - "$id": "264", + "$id": "342", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2170,11 +2823,11 @@ "skipUrlEncoding": false }, { - "$id": "265", + "$id": "343", "name": "optionalQuery", "nameInRequest": "optionalQuery", "type": { - "$id": "266", + "$id": "344", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2191,11 +2844,11 @@ "skipUrlEncoding": false }, { - "$id": "267", + "$id": "345", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "258" + "$ref": "94" }, "location": "Header", "isApiVersion": false, @@ -2209,9 +2862,9 @@ } ], "response": { - "$id": "268", + "$id": "346", "type": { - "$ref": "84" + "$ref": "174" } }, "isOverride": false, @@ -2220,25 +2873,25 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.sayHi" }, { - "$id": "269", + "$id": "347", "kind": "basic", "name": "helloAgain", "accessibility": "public", "apiVersions": [], "doc": "Return hi again", "operation": { - "$id": "270", + "$id": "348", "name": "helloAgain", "resourceName": "UnbrandedTypeSpec", "doc": "Return hi again", "accessibility": "public", "parameters": [ { - "$id": "271", + "$id": "349", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "272", + "$id": "350", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2255,24 +2908,11 @@ "skipUrlEncoding": false }, { - "$id": "273", + "$id": "351", "name": "contentType", "nameInRequest": "Content-Type", "type": { - "$id": "274", - "kind": "constant", - "name": "HelloAgainRequestContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "275", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "96" }, "location": "Header", "isApiVersion": false, @@ -2285,11 +2925,11 @@ "skipUrlEncoding": false }, { - "$id": "276", + "$id": "352", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "277", + "$id": "353", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2306,24 +2946,11 @@ "skipUrlEncoding": false }, { - "$id": "278", + "$id": "354", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "279", - "kind": "constant", - "name": "helloAgainContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "280", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -2336,11 +2963,11 @@ "skipUrlEncoding": false }, { - "$id": "281", + "$id": "355", "name": "action", "nameInRequest": "action", "type": { - "$ref": "145" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -2355,12 +2982,12 @@ ], "responses": [ { - "$id": "282", + "$id": "356", "statusCodes": [ 200 ], "bodyType": { - "$ref": "145" + "$ref": "225" }, "headers": [], "isErrorResponse": false, @@ -2383,11 +3010,11 @@ }, "parameters": [ { - "$id": "283", + "$id": "357", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "284", + "$id": "358", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2404,11 +3031,11 @@ "skipUrlEncoding": false }, { - "$id": "285", + "$id": "359", "name": "action", "nameInRequest": "action", "type": { - "$ref": "145" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -2421,24 +3048,11 @@ "skipUrlEncoding": false }, { - "$id": "286", + "$id": "360", "name": "contentType", - "nameInRequest": "content-type", - "type": { - "$id": "287", - "kind": "constant", - "name": "HelloAgainRequestContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "288", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "nameInRequest": "content-type", + "type": { + "$ref": "100" }, "location": "Header", "isApiVersion": false, @@ -2451,11 +3065,11 @@ "skipUrlEncoding": false }, { - "$id": "289", + "$id": "361", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "290", + "$id": "362", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2472,11 +3086,11 @@ "skipUrlEncoding": false }, { - "$id": "291", + "$id": "363", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "279" + "$ref": "98" }, "location": "Header", "isApiVersion": false, @@ -2490,9 +3104,9 @@ } ], "response": { - "$id": "292", + "$id": "364", "type": { - "$ref": "145" + "$ref": "225" } }, "isOverride": false, @@ -2501,25 +3115,25 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.helloAgain" }, { - "$id": "293", + "$id": "365", "kind": "basic", "name": "noContentType", "accessibility": "public", "apiVersions": [], "doc": "Return hi again", "operation": { - "$id": "294", + "$id": "366", "name": "noContentType", "resourceName": "UnbrandedTypeSpec", "doc": "Return hi again", "accessibility": "public", "parameters": [ { - "$id": "295", + "$id": "367", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "296", + "$id": "368", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2536,11 +3150,11 @@ "skipUrlEncoding": false }, { - "$id": "297", + "$id": "369", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "298", + "$id": "370", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2557,25 +3171,12 @@ "skipUrlEncoding": false }, { - "$id": "299", + "$id": "371", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "300", - "kind": "constant", - "name": "noContentTypeContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "301", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -2588,24 +3189,11 @@ "skipUrlEncoding": false }, { - "$id": "302", + "$id": "372", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "303", - "kind": "constant", - "name": "noContentTypeContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "304", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -2618,11 +3206,11 @@ "skipUrlEncoding": false }, { - "$id": "305", + "$id": "373", "name": "action", "nameInRequest": "action", "type": { - "$ref": "145" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -2637,12 +3225,12 @@ ], "responses": [ { - "$id": "306", + "$id": "374", "statusCodes": [ 200 ], "bodyType": { - "$ref": "145" + "$ref": "225" }, "headers": [], "isErrorResponse": false, @@ -2665,11 +3253,11 @@ }, "parameters": [ { - "$id": "307", + "$id": "375", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "308", + "$id": "376", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2686,11 +3274,11 @@ "skipUrlEncoding": false }, { - "$id": "309", + "$id": "377", "name": "action", "nameInRequest": "action", "type": { - "$ref": "145" + "$ref": "225" }, "location": "Body", "isApiVersion": false, @@ -2703,11 +3291,11 @@ "skipUrlEncoding": false }, { - "$id": "310", + "$id": "378", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "311", + "$id": "379", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2724,12 +3312,12 @@ "skipUrlEncoding": false }, { - "$id": "312", + "$id": "380", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "300" + "$ref": "102" }, "location": "Header", "isApiVersion": false, @@ -2742,11 +3330,11 @@ "skipUrlEncoding": false }, { - "$id": "313", + "$id": "381", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "303" + "$ref": "104" }, "location": "Header", "isApiVersion": false, @@ -2760,9 +3348,9 @@ } ], "response": { - "$id": "314", + "$id": "382", "type": { - "$ref": "145" + "$ref": "225" } }, "isOverride": false, @@ -2771,38 +3359,25 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.noContentType" }, { - "$id": "315", + "$id": "383", "kind": "basic", "name": "helloDemo2", "accessibility": "public", "apiVersions": [], "doc": "Return hi in demo2", "operation": { - "$id": "316", + "$id": "384", "name": "helloDemo2", "resourceName": "UnbrandedTypeSpec", "doc": "Return hi in demo2", "accessibility": "public", "parameters": [ { - "$id": "317", + "$id": "385", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "318", - "kind": "constant", - "name": "helloDemo2ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "319", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -2817,12 +3392,12 @@ ], "responses": [ { - "$id": "320", + "$id": "386", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "174" }, "headers": [], "isErrorResponse": false, @@ -2842,11 +3417,11 @@ }, "parameters": [ { - "$id": "321", + "$id": "387", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "318" + "$ref": "106" }, "location": "Header", "isApiVersion": false, @@ -2860,9 +3435,9 @@ } ], "response": { - "$id": "322", + "$id": "388", "type": { - "$ref": "84" + "$ref": "174" } }, "isOverride": false, @@ -2871,39 +3446,26 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.helloDemo2" }, { - "$id": "323", + "$id": "389", "kind": "basic", "name": "createLiteral", "accessibility": "public", "apiVersions": [], "doc": "Create with literal value", "operation": { - "$id": "324", + "$id": "390", "name": "createLiteral", "resourceName": "UnbrandedTypeSpec", "doc": "Create with literal value", "accessibility": "public", "parameters": [ { - "$id": "325", + "$id": "391", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "326", - "kind": "constant", - "name": "createLiteralContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "327", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -2916,24 +3478,11 @@ "skipUrlEncoding": false }, { - "$id": "328", + "$id": "392", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "329", - "kind": "constant", - "name": "createLiteralContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "330", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -2946,11 +3495,11 @@ "skipUrlEncoding": false }, { - "$id": "331", + "$id": "393", "name": "body", "nameInRequest": "body", "type": { - "$ref": "84" + "$ref": "174" }, "location": "Body", "isApiVersion": false, @@ -2965,12 +3514,12 @@ ], "responses": [ { - "$id": "332", + "$id": "394", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "174" }, "headers": [], "isErrorResponse": false, @@ -2993,11 +3542,11 @@ }, "parameters": [ { - "$id": "333", + "$id": "395", "name": "body", "nameInRequest": "body", "type": { - "$ref": "84" + "$ref": "174" }, "location": "Body", "isApiVersion": false, @@ -3010,12 +3559,12 @@ "skipUrlEncoding": false }, { - "$id": "334", + "$id": "396", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "326" + "$ref": "108" }, "location": "Header", "isApiVersion": false, @@ -3028,11 +3577,11 @@ "skipUrlEncoding": false }, { - "$id": "335", + "$id": "397", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "329" + "$ref": "110" }, "location": "Header", "isApiVersion": false, @@ -3046,9 +3595,9 @@ } ], "response": { - "$id": "336", + "$id": "398", "type": { - "$ref": "84" + "$ref": "174" } }, "isOverride": false, @@ -3057,38 +3606,25 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.createLiteral" }, { - "$id": "337", + "$id": "399", "kind": "basic", "name": "helloLiteral", "accessibility": "public", "apiVersions": [], "doc": "Send literal parameters", "operation": { - "$id": "338", + "$id": "400", "name": "helloLiteral", "resourceName": "UnbrandedTypeSpec", "doc": "Send literal parameters", "accessibility": "public", "parameters": [ { - "$id": "339", + "$id": "401", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "340", - "kind": "constant", - "name": "HelloLiteralRequestP1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "341", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "test", - "decorators": [] + "$ref": "112" }, "location": "Header", "isApiVersion": false, @@ -3101,24 +3637,11 @@ "skipUrlEncoding": false }, { - "$id": "342", + "$id": "402", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "343", - "kind": "constant", - "name": "ThingRequiredLiteralInt1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "344", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "value": 123, - "decorators": [] + "$ref": "114" }, "location": "Path", "isApiVersion": false, @@ -3131,24 +3654,11 @@ "skipUrlEncoding": false }, { - "$id": "345", + "$id": "403", "name": "p3", "nameInRequest": "p3", "type": { - "$id": "346", - "kind": "constant", - "name": "ThingOptionalLiteralBool1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "347", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "116" }, "location": "Query", "isApiVersion": false, @@ -3161,24 +3671,11 @@ "skipUrlEncoding": false }, { - "$id": "348", + "$id": "404", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "349", - "kind": "constant", - "name": "helloLiteralContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "350", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -3193,12 +3690,12 @@ ], "responses": [ { - "$id": "351", + "$id": "405", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "174" }, "headers": [], "isErrorResponse": false, @@ -3218,24 +3715,11 @@ }, "parameters": [ { - "$id": "352", + "$id": "406", "name": "p1", "nameInRequest": "p1", "type": { - "$id": "353", - "kind": "constant", - "name": "HelloLiteralRequestP11", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "354", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "test", - "decorators": [] + "$ref": "120" }, "location": "Header", "isApiVersion": false, @@ -3248,24 +3732,11 @@ "skipUrlEncoding": false }, { - "$id": "355", + "$id": "407", "name": "p2", "nameInRequest": "p2", "type": { - "$id": "356", - "kind": "constant", - "name": "ThingRequiredLiteralInt2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "357", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "value": 123, - "decorators": [] + "$ref": "122" }, "location": "Path", "isApiVersion": false, @@ -3278,24 +3749,11 @@ "skipUrlEncoding": false }, { - "$id": "358", + "$id": "408", "name": "p3", "nameInRequest": "p3", "type": { - "$id": "359", - "kind": "constant", - "name": "ThingOptionalLiteralBool2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "360", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "value": true, - "decorators": [] + "$ref": "124" }, "location": "Query", "isApiVersion": false, @@ -3308,11 +3766,11 @@ "skipUrlEncoding": false }, { - "$id": "361", + "$id": "409", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "349" + "$ref": "118" }, "location": "Header", "isApiVersion": false, @@ -3326,9 +3784,9 @@ } ], "response": { - "$id": "362", + "$id": "410", "type": { - "$ref": "84" + "$ref": "174" } }, "isOverride": false, @@ -3337,30 +3795,30 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.helloLiteral" }, { - "$id": "363", + "$id": "411", "kind": "basic", "name": "topAction", "accessibility": "public", "apiVersions": [], "doc": "top level method", "operation": { - "$id": "364", + "$id": "412", "name": "topAction", "resourceName": "UnbrandedTypeSpec", "doc": "top level method", "accessibility": "public", "parameters": [ { - "$id": "365", + "$id": "413", "name": "action", "nameInRequest": "action", "type": { - "$id": "366", + "$id": "414", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "367", + "$id": "415", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3380,24 +3838,11 @@ "skipUrlEncoding": false }, { - "$id": "368", + "$id": "416", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "369", - "kind": "constant", - "name": "topActionContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "370", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -3412,12 +3857,12 @@ ], "responses": [ { - "$id": "371", + "$id": "417", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "174" }, "headers": [], "isErrorResponse": false, @@ -3437,16 +3882,16 @@ }, "parameters": [ { - "$id": "372", + "$id": "418", "name": "action", "nameInRequest": "action", "type": { - "$id": "373", + "$id": "419", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "374", + "$id": "420", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3466,11 +3911,11 @@ "skipUrlEncoding": false }, { - "$id": "375", + "$id": "421", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "369" + "$ref": "126" }, "location": "Header", "isApiVersion": false, @@ -3484,9 +3929,9 @@ } ], "response": { - "$id": "376", + "$id": "422", "type": { - "$ref": "84" + "$ref": "174" } }, "isOverride": false, @@ -3495,38 +3940,25 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.topAction" }, { - "$id": "377", + "$id": "423", "kind": "basic", "name": "topAction2", "accessibility": "public", "apiVersions": [], "doc": "top level method2", "operation": { - "$id": "378", + "$id": "424", "name": "topAction2", "resourceName": "UnbrandedTypeSpec", "doc": "top level method2", "accessibility": "public", "parameters": [ { - "$id": "379", + "$id": "425", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "380", - "kind": "constant", - "name": "topAction2ContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "381", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -3541,12 +3973,12 @@ ], "responses": [ { - "$id": "382", + "$id": "426", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "174" }, "headers": [], "isErrorResponse": false, @@ -3566,11 +3998,11 @@ }, "parameters": [ { - "$id": "383", + "$id": "427", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "380" + "$ref": "128" }, "location": "Header", "isApiVersion": false, @@ -3584,9 +4016,9 @@ } ], "response": { - "$id": "384", + "$id": "428", "type": { - "$ref": "84" + "$ref": "174" } }, "isOverride": false, @@ -3595,39 +4027,26 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.topAction2" }, { - "$id": "385", + "$id": "429", "kind": "basic", "name": "patchAction", "accessibility": "public", "apiVersions": [], "doc": "top level patch", "operation": { - "$id": "386", + "$id": "430", "name": "patchAction", "resourceName": "UnbrandedTypeSpec", "doc": "top level patch", "accessibility": "public", "parameters": [ { - "$id": "387", + "$id": "431", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "388", - "kind": "constant", - "name": "patchActionContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "389", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -3640,24 +4059,11 @@ "skipUrlEncoding": false }, { - "$id": "390", + "$id": "432", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "391", - "kind": "constant", - "name": "patchActionContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "392", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -3670,11 +4076,11 @@ "skipUrlEncoding": false }, { - "$id": "393", + "$id": "433", "name": "body", "nameInRequest": "body", "type": { - "$ref": "84" + "$ref": "174" }, "location": "Body", "isApiVersion": false, @@ -3689,12 +4095,12 @@ ], "responses": [ { - "$id": "394", + "$id": "434", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "174" }, "headers": [], "isErrorResponse": false, @@ -3717,11 +4123,11 @@ }, "parameters": [ { - "$id": "395", + "$id": "435", "name": "body", "nameInRequest": "body", "type": { - "$ref": "84" + "$ref": "174" }, "location": "Body", "isApiVersion": false, @@ -3734,12 +4140,12 @@ "skipUrlEncoding": false }, { - "$id": "396", + "$id": "436", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "388" + "$ref": "130" }, "location": "Header", "isApiVersion": false, @@ -3752,11 +4158,11 @@ "skipUrlEncoding": false }, { - "$id": "397", + "$id": "437", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "391" + "$ref": "132" }, "location": "Header", "isApiVersion": false, @@ -3770,9 +4176,9 @@ } ], "response": { - "$id": "398", + "$id": "438", "type": { - "$ref": "84" + "$ref": "174" } }, "isOverride": false, @@ -3781,39 +4187,26 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.patchAction" }, { - "$id": "399", + "$id": "439", "kind": "basic", "name": "anonymousBody", "accessibility": "public", "apiVersions": [], "doc": "body parameter without body decorator", "operation": { - "$id": "400", + "$id": "440", "name": "anonymousBody", "resourceName": "UnbrandedTypeSpec", "doc": "body parameter without body decorator", "accessibility": "public", "parameters": [ { - "$id": "401", + "$id": "441", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "402", - "kind": "constant", - "name": "anonymousBodyContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "403", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -3826,24 +4219,11 @@ "skipUrlEncoding": false }, { - "$id": "404", + "$id": "442", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "405", - "kind": "constant", - "name": "anonymousBodyContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "406", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -3856,11 +4236,11 @@ "skipUrlEncoding": false }, { - "$id": "407", + "$id": "443", "name": "thing", "nameInRequest": "thing", "type": { - "$ref": "84" + "$ref": "174" }, "location": "Body", "isApiVersion": false, @@ -3875,12 +4255,12 @@ ], "responses": [ { - "$id": "408", + "$id": "444", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "174" }, "headers": [], "isErrorResponse": false, @@ -3903,12 +4283,12 @@ }, "parameters": [ { - "$id": "409", + "$id": "445", "name": "name", "nameInRequest": "name", "doc": "name of the Thing", "type": { - "$id": "410", + "$id": "446", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3925,12 +4305,12 @@ "skipUrlEncoding": false }, { - "$id": "411", + "$id": "447", "name": "requiredUnion", "nameInRequest": "requiredUnion", "doc": "required Union", "type": { - "$ref": "90" + "$ref": "180" }, "location": "Body", "isApiVersion": false, @@ -3943,12 +4323,12 @@ "skipUrlEncoding": false }, { - "$id": "412", + "$id": "448", "name": "requiredLiteralString", "nameInRequest": "requiredLiteralString", "doc": "required literal string", "type": { - "$ref": "98" + "$ref": "84" }, "location": "Body", "isApiVersion": false, @@ -3961,12 +4341,12 @@ "skipUrlEncoding": false }, { - "$id": "413", + "$id": "449", "name": "requiredLiteralInt", "nameInRequest": "requiredLiteralInt", "doc": "required literal int", "type": { - "$ref": "102" + "$ref": "85" }, "location": "Body", "isApiVersion": false, @@ -3979,12 +4359,12 @@ "skipUrlEncoding": false }, { - "$id": "414", + "$id": "450", "name": "requiredLiteralFloat", "nameInRequest": "requiredLiteralFloat", "doc": "required literal float", "type": { - "$ref": "106" + "$ref": "86" }, "location": "Body", "isApiVersion": false, @@ -3997,12 +4377,12 @@ "skipUrlEncoding": false }, { - "$id": "415", + "$id": "451", "name": "requiredLiteralBool", "nameInRequest": "requiredLiteralBool", "doc": "required literal bool", "type": { - "$ref": "110" + "$ref": "87" }, "location": "Body", "isApiVersion": false, @@ -4015,12 +4395,12 @@ "skipUrlEncoding": false }, { - "$id": "416", + "$id": "452", "name": "optionalLiteralString", "nameInRequest": "optionalLiteralString", "doc": "optional literal string", "type": { - "$ref": "115" + "$ref": "89" }, "location": "Body", "isApiVersion": false, @@ -4033,12 +4413,12 @@ "skipUrlEncoding": false }, { - "$id": "417", + "$id": "453", "name": "optionalLiteralInt", "nameInRequest": "optionalLiteralInt", "doc": "optional literal int", "type": { - "$ref": "119" + "$ref": "90" }, "location": "Body", "isApiVersion": false, @@ -4051,12 +4431,12 @@ "skipUrlEncoding": false }, { - "$id": "418", + "$id": "454", "name": "optionalLiteralFloat", "nameInRequest": "optionalLiteralFloat", "doc": "optional literal float", "type": { - "$ref": "123" + "$ref": "91" }, "location": "Body", "isApiVersion": false, @@ -4069,12 +4449,12 @@ "skipUrlEncoding": false }, { - "$id": "419", + "$id": "455", "name": "optionalLiteralBool", "nameInRequest": "optionalLiteralBool", "doc": "optional literal bool", "type": { - "$ref": "127" + "$ref": "92" }, "location": "Body", "isApiVersion": false, @@ -4087,12 +4467,12 @@ "skipUrlEncoding": false }, { - "$id": "420", + "$id": "456", "name": "requiredBadDescription", "nameInRequest": "requiredBadDescription", "doc": "description with xml <|endoftext|>", "type": { - "$id": "421", + "$id": "457", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4109,12 +4489,12 @@ "skipUrlEncoding": false }, { - "$id": "422", + "$id": "458", "name": "optionalNullableList", "nameInRequest": "optionalNullableList", "doc": "optional nullable collection", "type": { - "$ref": "136" + "$ref": "216" }, "location": "Body", "isApiVersion": false, @@ -4127,12 +4507,12 @@ "skipUrlEncoding": false }, { - "$id": "423", + "$id": "459", "name": "requiredNullableList", "nameInRequest": "requiredNullableList", "doc": "required nullable collection", "type": { - "$ref": "142" + "$ref": "222" }, "location": "Body", "isApiVersion": false, @@ -4145,12 +4525,12 @@ "skipUrlEncoding": false }, { - "$id": "424", + "$id": "460", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "402" + "$ref": "134" }, "location": "Header", "isApiVersion": false, @@ -4163,11 +4543,11 @@ "skipUrlEncoding": false }, { - "$id": "425", + "$id": "461", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "405" + "$ref": "136" }, "location": "Header", "isApiVersion": false, @@ -4181,9 +4561,9 @@ } ], "response": { - "$id": "426", + "$id": "462", "type": { - "$ref": "84" + "$ref": "174" } }, "isOverride": false, @@ -4192,39 +4572,26 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.anonymousBody" }, { - "$id": "427", + "$id": "463", "kind": "basic", "name": "friendlyModel", "accessibility": "public", "apiVersions": [], "doc": "Model can have its friendly name", "operation": { - "$id": "428", + "$id": "464", "name": "friendlyModel", "resourceName": "UnbrandedTypeSpec", "doc": "Model can have its friendly name", "accessibility": "public", "parameters": [ { - "$id": "429", + "$id": "465", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "430", - "kind": "constant", - "name": "friendlyModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "431", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "154" }, "location": "Header", "isApiVersion": false, @@ -4237,24 +4604,11 @@ "skipUrlEncoding": false }, { - "$id": "432", + "$id": "466", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "433", - "kind": "constant", - "name": "friendlyModelContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "434", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -4267,11 +4621,11 @@ "skipUrlEncoding": false }, { - "$id": "435", + "$id": "467", "name": "friend", "nameInRequest": "friend", "type": { - "$ref": "237" + "$ref": "317" }, "location": "Body", "isApiVersion": false, @@ -4286,12 +4640,12 @@ ], "responses": [ { - "$id": "436", + "$id": "468", "statusCodes": [ 200 ], "bodyType": { - "$ref": "237" + "$ref": "317" }, "headers": [], "isErrorResponse": false, @@ -4314,12 +4668,12 @@ }, "parameters": [ { - "$id": "437", + "$id": "469", "name": "name", "nameInRequest": "name", "doc": "name of the NotFriend", "type": { - "$id": "438", + "$id": "470", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4336,12 +4690,12 @@ "skipUrlEncoding": false }, { - "$id": "439", + "$id": "471", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "430" + "$ref": "154" }, "location": "Header", "isApiVersion": false, @@ -4354,11 +4708,11 @@ "skipUrlEncoding": false }, { - "$id": "440", + "$id": "472", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "433" + "$ref": "156" }, "location": "Header", "isApiVersion": false, @@ -4372,9 +4726,9 @@ } ], "response": { - "$id": "441", + "$id": "473", "type": { - "$ref": "237" + "$ref": "317" } }, "isOverride": false, @@ -4383,28 +4737,28 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.friendlyModel" }, { - "$id": "442", + "$id": "474", "kind": "basic", "name": "addTimeHeader", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "443", + "$id": "475", "name": "addTimeHeader", "resourceName": "UnbrandedTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "444", + "$id": "476", "name": "repeatabilityFirstSent", "nameInRequest": "Repeatability-First-Sent", "type": { - "$id": "445", + "$id": "477", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "446", + "$id": "478", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4426,7 +4780,7 @@ ], "responses": [ { - "$id": "447", + "$id": "479", "statusCodes": [ 204 ], @@ -4445,16 +4799,16 @@ }, "parameters": [ { - "$id": "448", + "$id": "480", "name": "repeatabilityFirstSent", "nameInRequest": "Repeatability-First-Sent", "type": { - "$id": "449", + "$id": "481", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "450", + "$id": "482", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4475,7 +4829,7 @@ } ], "response": { - "$id": "451" + "$id": "483" }, "isOverride": false, "generateConvenient": false, @@ -4483,39 +4837,26 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.addTimeHeader" }, { - "$id": "452", + "$id": "484", "kind": "basic", "name": "projectedNameModel", "accessibility": "public", "apiVersions": [], "doc": "Model can have its projected name", "operation": { - "$id": "453", + "$id": "485", "name": "projectedNameModel", "resourceName": "UnbrandedTypeSpec", "doc": "Model can have its projected name", "accessibility": "public", "parameters": [ { - "$id": "454", + "$id": "486", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "455", - "kind": "constant", - "name": "projectedNameModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "456", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -4528,24 +4869,11 @@ "skipUrlEncoding": false }, { - "$id": "457", + "$id": "487", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "458", - "kind": "constant", - "name": "projectedNameModelContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "459", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -4558,11 +4886,11 @@ "skipUrlEncoding": false }, { - "$id": "460", + "$id": "488", "name": "projectedModel", "nameInRequest": "projectedModel", "type": { - "$ref": "242" + "$ref": "322" }, "location": "Body", "isApiVersion": false, @@ -4577,12 +4905,12 @@ ], "responses": [ { - "$id": "461", + "$id": "489", "statusCodes": [ 200 ], "bodyType": { - "$ref": "242" + "$ref": "322" }, "headers": [], "isErrorResponse": false, @@ -4605,12 +4933,12 @@ }, "parameters": [ { - "$id": "462", + "$id": "490", "name": "name", "nameInRequest": "name", "doc": "name of the ModelWithProjectedName", "type": { - "$id": "463", + "$id": "491", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4627,12 +4955,12 @@ "skipUrlEncoding": false }, { - "$id": "464", + "$id": "492", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "455" + "$ref": "158" }, "location": "Header", "isApiVersion": false, @@ -4645,11 +4973,11 @@ "skipUrlEncoding": false }, { - "$id": "465", + "$id": "493", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "458" + "$ref": "160" }, "location": "Header", "isApiVersion": false, @@ -4663,9 +4991,9 @@ } ], "response": { - "$id": "466", + "$id": "494", "type": { - "$ref": "242" + "$ref": "322" } }, "isOverride": false, @@ -4674,38 +5002,25 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.projectedNameModel" }, { - "$id": "467", + "$id": "495", "kind": "basic", "name": "returnsAnonymousModel", "accessibility": "public", "apiVersions": [], "doc": "return anonymous model", "operation": { - "$id": "468", + "$id": "496", "name": "returnsAnonymousModel", "resourceName": "UnbrandedTypeSpec", "doc": "return anonymous model", "accessibility": "public", "parameters": [ { - "$id": "469", + "$id": "497", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "470", - "kind": "constant", - "name": "returnsAnonymousModelContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "471", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "162" }, "location": "Header", "isApiVersion": false, @@ -4720,12 +5035,12 @@ ], "responses": [ { - "$id": "472", + "$id": "498", "statusCodes": [ 200 ], "bodyType": { - "$ref": "247" + "$ref": "327" }, "headers": [], "isErrorResponse": false, @@ -4745,11 +5060,11 @@ }, "parameters": [ { - "$id": "473", + "$id": "499", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "470" + "$ref": "162" }, "location": "Header", "isApiVersion": false, @@ -4763,9 +5078,9 @@ } ], "response": { - "$id": "474", + "$id": "500", "type": { - "$ref": "247" + "$ref": "327" } }, "isOverride": false, @@ -4774,39 +5089,26 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.returnsAnonymousModel" }, { - "$id": "475", + "$id": "501", "kind": "basic", "name": "createUnknownValue", "accessibility": "public", "apiVersions": [], "doc": "create extensible enum", "operation": { - "$id": "476", + "$id": "502", "name": "createUnknownValue", "resourceName": "UnbrandedTypeSpec", "doc": "create extensible enum", "accessibility": "public", "parameters": [ { - "$id": "477", + "$id": "503", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$id": "478", - "kind": "constant", - "name": "createUnknownValueContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "479", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "text/plain", - "decorators": [] + "$ref": "164" }, "location": "Header", "isApiVersion": false, @@ -4819,7 +5121,7 @@ "skipUrlEncoding": false }, { - "$id": "480", + "$id": "504", "name": "input", "nameInRequest": "input", "type": { @@ -4838,7 +5140,7 @@ ], "responses": [ { - "$id": "481", + "$id": "505", "statusCodes": [ 204 ], @@ -4860,7 +5162,7 @@ }, "parameters": [ { - "$id": "482", + "$id": "506", "name": "input", "nameInRequest": "input", "type": { @@ -4877,12 +5179,12 @@ "skipUrlEncoding": false }, { - "$id": "483", + "$id": "507", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are text/plain", "type": { - "$ref": "478" + "$ref": "164" }, "location": "Header", "isApiVersion": false, @@ -4896,7 +5198,7 @@ } ], "response": { - "$id": "484" + "$id": "508" }, "isOverride": false, "generateConvenient": false, @@ -4904,39 +5206,26 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.createUnknownValue" }, { - "$id": "485", + "$id": "509", "kind": "basic", "name": "internalProtocol", "accessibility": "public", "apiVersions": [], "doc": "When set protocol false and convenient true, then the protocol method should be internal", "operation": { - "$id": "486", + "$id": "510", "name": "internalProtocol", "resourceName": "UnbrandedTypeSpec", "doc": "When set protocol false and convenient true, then the protocol method should be internal", "accessibility": "public", "parameters": [ { - "$id": "487", + "$id": "511", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "488", - "kind": "constant", - "name": "internalProtocolContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "489", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "166" }, "location": "Header", "isApiVersion": false, @@ -4949,24 +5238,11 @@ "skipUrlEncoding": false }, { - "$id": "490", + "$id": "512", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "491", - "kind": "constant", - "name": "internalProtocolContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "492", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "168" }, "location": "Header", "isApiVersion": false, @@ -4979,11 +5255,11 @@ "skipUrlEncoding": false }, { - "$id": "493", + "$id": "513", "name": "body", "nameInRequest": "body", "type": { - "$ref": "84" + "$ref": "174" }, "location": "Body", "isApiVersion": false, @@ -4998,12 +5274,12 @@ ], "responses": [ { - "$id": "494", + "$id": "514", "statusCodes": [ 200 ], "bodyType": { - "$ref": "84" + "$ref": "174" }, "headers": [], "isErrorResponse": false, @@ -5026,11 +5302,11 @@ }, "parameters": [ { - "$id": "495", + "$id": "515", "name": "body", "nameInRequest": "body", "type": { - "$ref": "84" + "$ref": "174" }, "location": "Body", "isApiVersion": false, @@ -5043,12 +5319,12 @@ "skipUrlEncoding": false }, { - "$id": "496", + "$id": "516", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "488" + "$ref": "166" }, "location": "Header", "isApiVersion": false, @@ -5061,11 +5337,11 @@ "skipUrlEncoding": false }, { - "$id": "497", + "$id": "517", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "491" + "$ref": "168" }, "location": "Header", "isApiVersion": false, @@ -5079,9 +5355,9 @@ } ], "response": { - "$id": "498", + "$id": "518", "type": { - "$ref": "84" + "$ref": "174" } }, "isOverride": false, @@ -5090,14 +5366,14 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.internalProtocol" }, { - "$id": "499", + "$id": "519", "kind": "basic", "name": "stillConvenient", "accessibility": "public", "apiVersions": [], "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", "operation": { - "$id": "500", + "$id": "520", "name": "stillConvenient", "resourceName": "UnbrandedTypeSpec", "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", @@ -5105,7 +5381,7 @@ "parameters": [], "responses": [ { - "$id": "501", + "$id": "521", "statusCodes": [ 204 ], @@ -5124,7 +5400,7 @@ }, "parameters": [], "response": { - "$id": "502" + "$id": "522" }, "isOverride": false, "generateConvenient": true, @@ -5132,25 +5408,25 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.stillConvenient" }, { - "$id": "503", + "$id": "523", "kind": "basic", "name": "headAsBoolean", "accessibility": "public", "apiVersions": [], "doc": "head as boolean.", "operation": { - "$id": "504", + "$id": "524", "name": "headAsBoolean", "resourceName": "UnbrandedTypeSpec", "doc": "head as boolean.", "accessibility": "public", "parameters": [ { - "$id": "505", + "$id": "525", "name": "id", "nameInRequest": "id", "type": { - "$id": "506", + "$id": "526", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5169,7 +5445,7 @@ ], "responses": [ { - "$id": "507", + "$id": "527", "statusCodes": [ 204 ], @@ -5188,11 +5464,11 @@ }, "parameters": [ { - "$id": "508", + "$id": "528", "name": "id", "nameInRequest": "id", "type": { - "$id": "509", + "$id": "529", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5210,7 +5486,7 @@ } ], "response": { - "$id": "510" + "$id": "530" }, "isOverride": false, "generateConvenient": true, @@ -5218,39 +5494,26 @@ "crossLanguageDefinitionId": "UnbrandedTypeSpec.headAsBoolean" }, { - "$id": "511", + "$id": "531", "kind": "basic", "name": "handleArray", "accessibility": "public", "apiVersions": [], "doc": "head as boolean.", "operation": { - "$id": "512", + "$id": "532", "name": "handleArray", "resourceName": "UnbrandedTypeSpec", "doc": "head as boolean.", "accessibility": "public", "parameters": [ { - "$id": "513", + "$id": "533", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$id": "514", - "kind": "constant", - "name": "handleArrayContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "515", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "170" }, "location": "Header", "isApiVersion": false, @@ -5263,24 +5526,11 @@ "skipUrlEncoding": false }, { - "$id": "516", + "$id": "534", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "517", - "kind": "constant", - "name": "handleArrayContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "518", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] + "$ref": "172" }, "location": "Header", "isApiVersion": false, @@ -5293,11 +5543,11 @@ "skipUrlEncoding": false }, { - "$id": "519", + "$id": "535", "name": "body", "nameInRequest": "body", "type": { - "$ref": "92" + "$ref": "182" }, "location": "Body", "isApiVersion": false, @@ -5312,12 +5562,12 @@ ], "responses": [ { - "$id": "520", + "$id": "536", "statusCodes": [ 200 ], "bodyType": { - "$ref": "92" + "$ref": "182" }, "headers": [], "isErrorResponse": false, @@ -5340,11 +5590,11 @@ }, "parameters": [ { - "$id": "521", + "$id": "537", "name": "body", "nameInRequest": "body", "type": { - "$ref": "92" + "$ref": "182" }, "location": "Body", "isApiVersion": false, @@ -5357,12 +5607,12 @@ "skipUrlEncoding": false }, { - "$id": "522", + "$id": "538", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "514" + "$ref": "170" }, "location": "Header", "isApiVersion": false, @@ -5375,11 +5625,11 @@ "skipUrlEncoding": false }, { - "$id": "523", + "$id": "539", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "517" + "$ref": "172" }, "location": "Header", "isApiVersion": false, @@ -5393,9 +5643,9 @@ } ], "response": { - "$id": "524", + "$id": "540", "type": { - "$ref": "92" + "$ref": "182" } }, "isOverride": false, @@ -5406,11 +5656,11 @@ ], "parameters": [ { - "$id": "525", + "$id": "541", "name": "unbrandedTypeSpecUrl", "nameInRequest": "unbrandedTypeSpecUrl", "type": { - "$id": "526", + "$id": "542", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5427,12 +5677,12 @@ ], "decorators": [ { - "$id": "527", + "$id": "543", "name": "TypeSpec.@service", "arguments": { - "$id": "528", + "$id": "544", "options": { - "$id": "529", + "$id": "545", "title": "hello world" } } @@ -5443,9 +5693,9 @@ } ], "auth": { - "$id": "530", + "$id": "546", "apiKey": { - "$id": "531", + "$id": "547", "name": "my-api-key", "in": "header" }